remove id in listing
This commit is contained in:
parent
413c058ffc
commit
62c7f69395
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-commands">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Nom</th>
|
||||
<th>Script</th>
|
||||
<th>Admin obligatoire</th>
|
||||
|
@ -52,7 +51,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($commands as $command) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($command['id']); ?></td>
|
||||
<td><?php $this->s($command['name']); ?></td>
|
||||
<td><?php $this->s($command['script']); ?></td>
|
||||
<td><?php echo $command['admin'] ? 'Oui' : 'Non' ; ?></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-groupes">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Nom</th>
|
||||
<th>Condition</th>
|
||||
<th style="width:5%;">Sélectionner</th>
|
||||
|
@ -51,7 +50,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($groups as $group) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($group['id']); ?></td>
|
||||
<td><?php $this->s($group['name']); ?></td>
|
||||
<td><?php $this->s($group['condition']); ?></td>
|
||||
<td><input type="checkbox" name="ids[]" value="<?php $this->s($group['id']); ?>"></td>
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-contacts">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Nom</th>
|
||||
<th>Numéro</th>
|
||||
<th style="width:5%;">Sélectionner</th>
|
||||
|
@ -53,7 +52,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($contacts as $contact) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($contact['id']); ?></td>
|
||||
<td><?php $this->s($contact['name']); ?></td>
|
||||
<td><?php echo(\controllers\internals\Tool::phone_link($contact['number'])); ?></td>
|
||||
<td><input type="checkbox" name="ids[]" value="<?php $this->s($contact['id']); ?>"></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-events">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Type</th>
|
||||
<th>Date</th>
|
||||
<th>Texte</th>
|
||||
|
@ -52,7 +51,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($events as $event) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($event['id']); ?></td>
|
||||
<td><span class="fa fa-fw <?php echo \controllers\internals\Tool::event_type_to_icon($event['type']); ?>"></span></td>
|
||||
<td><?php $this->s($event['at']); ?></td>
|
||||
<td><?php $this->s($event['text']); ?></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-groupes">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Nom</th>
|
||||
<th>Nombre de contacts</th>
|
||||
<th style="width:5%;">Sélectionner</th>
|
||||
|
@ -51,7 +50,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($groups as $group) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($group['id']); ?></td>
|
||||
<td><?php $this->s($group['name']); ?></td>
|
||||
<td><?php $this->s($group['nb_contacts']); ?></td>
|
||||
<td><input type="checkbox" name="ids[]" value="<?php $this->s($group['id']); ?>"></td>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<a href="javascript:;" data-toggle="collapse" data-target="#smss"><i class="fa fa-fw fa-envelope"></i> SMS <i class="fa fa-fw fa-caret-down"></i></a>
|
||||
<ul id="smss" class="collapse <?php echo in_array($page, array('scheduleds', 'sendeds', 'receiveds')) ? 'in' : ''; ?>">
|
||||
<ul id="smss" class="collapse <?php echo in_array($page, array('scheduleds', 'sendeds', 'receiveds', 'receiveds_unread')) ? 'in' : ''; ?>">
|
||||
<li <?php echo $page == 'scheduleds' ? 'class="active"' : ''; ?>>
|
||||
<a href="<?php echo \descartes\Router::url('Scheduled', 'list'); ?>"><i class="fa fa-fw fa-send"></i> Nouveau SMS</a>
|
||||
</li>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-phones">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Numéro</th>
|
||||
<th>Adaptateur</th>
|
||||
<th style="width:5%;">Sélectionner</th>
|
||||
|
@ -51,7 +50,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($phones as $phone) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($phone['id']); ?></td>
|
||||
<td><?php $this->s(\controllers\internals\Tool::phone_format($phone['number'])); ?></td>
|
||||
<td><?php $this->s($phone['adapter']); ?></td>
|
||||
<td><input type="checkbox" value="<?php $this->s($phone['id']); ?>" name="ids[]"></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-receiveds">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>De</th>
|
||||
<th>À</th>
|
||||
<th>Message</th>
|
||||
|
@ -55,7 +54,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($receiveds as $received) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($received['id']); ?></td>
|
||||
<td class="no-wrap"><?php echo(\controllers\internals\Tool::phone_link($received['origin'])); ?></td>
|
||||
<td class="no-wrap"><?php echo(\controllers\internals\Tool::phone_link($received['destination'])); ?></td>
|
||||
<td><?php $this->s($received['text']); ?></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-receiveds">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>De</th>
|
||||
<th>À</th>
|
||||
<th>Message</th>
|
||||
|
@ -55,7 +54,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($receiveds as $received) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($received['id']); ?></td>
|
||||
<td class="no-wrap"><?php echo(\controllers\internals\Tool::phone_link($received['origin'])); ?></td>
|
||||
<td class="no-wrap"><?php echo(\controllers\internals\Tool::phone_link($received['destination'])); ?></td>
|
||||
<td><?php $this->s($received['text']); ?></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-scheduleds">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Date</th>
|
||||
<th>Contenu</th>
|
||||
<th style="width:5%;">Sélectionner</th>
|
||||
|
@ -51,7 +50,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($scheduleds as $scheduled) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($scheduled['id']); ?></td>
|
||||
<td><?php $this->s($scheduled['at']); ?></td>
|
||||
<td><?php $this->s($scheduled['text']); ?></td>
|
||||
<td><input type="checkbox" name="ids[]" value="<?php $this->s($scheduled['id']); ?>"></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-sendeds">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>De</th>
|
||||
<th>À</th>
|
||||
<th>Message</th>
|
||||
|
@ -56,7 +55,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($sendeds as $sended) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($sended['id']); ?></td>
|
||||
<td class="no-wrap"><?php echo(\controllers\internals\Tool::phone_link($sended['origin'])); ?></td>
|
||||
<td class="no-wrap"><?php echo(\controllers\internals\Tool::phone_link($sended['destination'])); ?></td>
|
||||
<td><?php $this->s($sended['text']); ?></td>
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-smsstop">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Numéro</th>
|
||||
<?php if ($_SESSION['user']['admin']) { ?><th>Sélectionner</th><?php } ?>
|
||||
</tr>
|
||||
|
@ -50,7 +49,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($smsstops as $smsstop) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($smsstop['id']); ?></td>
|
||||
<td><?php echo(\controllers\internals\Tool::phone_link($smsstop['number'])); ?></td>
|
||||
<?php if ($_SESSION['user']['admin']) { ?>
|
||||
<td><input name="ids[]" type="checkbox" value="<?php $this->s($smsstop['id']); ?>"></td>
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-users">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Email</th>
|
||||
<th>Admin</th>
|
||||
<th>Status</th>
|
||||
|
@ -49,7 +48,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($users as $user) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($user['id']); ?></td>
|
||||
<td><?php $this->s($user['email']); ?></td>
|
||||
<td><?php $this->s($user['admin']); ?></td>
|
||||
<td><?php $this->s($user['status']); ?></td>
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
<table class="table table-bordered table-hover table-striped" id="table-webhooks">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>Url</th>
|
||||
<th>Type de webhook</th>
|
||||
<th style="width:5%;">Sélectionner</th>
|
||||
|
@ -49,7 +48,6 @@
|
|||
<tbody>
|
||||
<?php foreach ($webhooks as $webhook) { ?>
|
||||
<tr>
|
||||
<td><?php $this->s($webhook['id']); ?></td>
|
||||
<td><?php $this->s($webhook['url']); ?></td>
|
||||
<td><?php $this->s($webhook['type'] == 'send_sms' ? 'Envoi de SMS' : 'Reception de SMS'); ?></td>
|
||||
<td><input type="checkbox" name="ids[]" value="<?php $this->s($webhook['id']); ?>"></td>
|
||||
|
|
Loading…
Reference in New Issue