Skip to content

Commit d2fa61c

Browse files
committed
commit from Dmitry Malishev: select checkbox on click
1 parent 2389621 commit d2fa61c

23 files changed

+50
-31
lines changed

web/templates/admin/list_backup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<tr class="data-row">
7777
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
7878
<table class="data-col1">
79-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="backup[]" value="<?php echo $key ?>" ></td></tr>
79+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="backup[]" value="<?php echo $key ?>" ></td></tr>
8080
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
8181
<tr><td class="data-active"><b><?php print __('active');?></b></td></tr>
8282
</table>

web/templates/admin/list_backup_detail.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<tr class="data-row">
7676
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
7777
<table class="data-col1">
78-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="web[]" value="<?php echo $key ?>" ></td></tr>
78+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="web[]" value="<?php echo $key ?>" ></td></tr>
7979
</table>
8080
</td>
8181
<td class="data-dotted" width="830px" style="vertical-align:top;">
@@ -112,7 +112,7 @@
112112
<tr class="data-row">
113113
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
114114
<table class="data-col1">
115-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="dns[]" value="<?php echo $key ?>" ></td></tr>
115+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="dns[]" value="<?php echo $key ?>" ></td></tr>
116116
</table>
117117
</td>
118118
<td class="data-dotted" width="830px" style="vertical-align:top;">
@@ -149,7 +149,7 @@
149149
<tr class="data-row">
150150
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
151151
<table class="data-col1">
152-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="mail[]" value="<?php echo $key ?>" ></td></tr>
152+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="mail[]" value="<?php echo $key ?>" ></td></tr>
153153
</table>
154154
</td>
155155
<td class="data-dotted" width="830px" style="vertical-align:top;">
@@ -186,7 +186,7 @@
186186
<tr class="data-row">
187187
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
188188
<table class="data-col1">
189-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="db[]" value="<?php echo $key ?>" ></td></tr>
189+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="db[]" value="<?php echo $key ?>" ></td></tr>
190190
</table>
191191
</td>
192192
<td class="data-dotted" width="830px" style="vertical-align:top;">
@@ -223,7 +223,7 @@
223223
<tr class="data-row">
224224
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
225225
<table class="data-col1">
226-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="cron[]" value="<?php echo 'yes' ?>" ></td></tr>
226+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="cron[]" value="<?php echo 'yes' ?>" ></td></tr>
227227
</table>
228228
</td>
229229
<td class="data-dotted" width="830px" style="vertical-align:top;">
@@ -260,7 +260,7 @@
260260
<tr class="data-row">
261261
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
262262
<table class="data-col1">
263-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="udir[]" value="<?php echo $key ?>" ></td></tr>
263+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="udir[]" value="<?php echo $key ?>" ></td></tr>
264264
</table>
265265
</td>
266266
<td class="data-dotted" width="830px" style="vertical-align:top;">

web/templates/admin/list_cron.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<tr class="data-row">
4949
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
5050
<table class="data-col1">
51-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="job[]" value="<?php echo $data[$key]['JOB'] ?>" ></td></tr>
51+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="job[]" value="<?php echo $data[$key]['JOB'] ?>" ></td></tr>
5252
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
5353
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
5454
</table>

web/templates/admin/list_db.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<tr class="data-row">
5353
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
5454
<table class="data-col1">
55-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="database[]" value="<?php echo $key ?>" ></td></tr>
55+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="database[]" value="<?php echo $key ?>" ></td></tr>
5656
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
5757
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
5858
</table>

web/templates/admin/list_dns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<tr class="data-row">
4747
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
4848
<table class="data-col1">
49-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
49+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
5050
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
5151
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status) ?></b></td></tr>
5252
</table>

web/templates/admin/list_dns_rec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<tr class="data-row">
5555
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
5656
<table class="data-col1">
57-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="record[]" value="<?php echo $data[$key]['ID']?>" > <input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
57+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="record[]" value="<?php echo $data[$key]['ID']?>" > <input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
5858
<tr><td></td></tr>
5959
</table>
6060
</td>

web/templates/admin/list_ip.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<tr class="data-row">
6464
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
6565
<table class="data-col1">
66-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="ip[]" value="<?php echo $key ?>"></td></tr>
66+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="ip[]" value="<?php echo $key ?>"></td></tr>
6767
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
6868
<tr><td class="data-active"><b><?php print __('active');?></b></td></tr>
6969
</table>

web/templates/admin/list_mail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<tr class="data-row">
5050
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
5151
<table class="data-col1">
52-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
52+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="domain[]" value="<?php echo "$key" ?>" ></td></tr>
5353
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
5454
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
5555
</table>

web/templates/admin/list_mail_acc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<tr class="data-row">
5757
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
5858
<table class="data-col1">
59-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="account[]" value="<?php echo $key?>" ><input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
59+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="account[]" value="<?php echo $key?>" ><input type="hidden" name="domain" value="<?php echo $_GET['domain'] ?>" ></td></tr>
6060
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
6161
<tr><td class="data-<?php echo $status ?>"><b><?php echo __($status); ?></b></td></tr>
6262
</table>

web/templates/admin/list_packages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<tr class="data-row">
3838
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">
3939
<table class="data-col1">
40-
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" name="package[]" value="<?php echo $key ?>"></td></tr>
40+
<tr><td style="padding: 18 0 4 18;"><input type="checkbox" class="ch-toggle" name="package[]" value="<?php echo $key ?>"></td></tr>
4141
<tr><td><a class="data-date" title="<?php echo $data[$key]['DATE']." ".$data[$key]['TIME'] ?>"><?php echo strftime("%d %b %Y", strtotime($data[$key]['DATE'])) ?></td></tr>
4242
</table>
4343
</td>

0 commit comments

Comments
 (0)