Skip to content

Commit f42db82

Browse files
committed
refactoring code: added spacers
1 parent 34ca6ac commit f42db82

23 files changed

+60
-55
lines changed

web/templates/admin/list_backup.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,6 @@
238238
</table>
239239
</form>
240240

241-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
242-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:153px\"><tr><td></td></tr></table>"; ?>
243-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:17px\"><tr><td></td></tr></table>"; ?>
241+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
242+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:174px\"><tr><td></td></tr></table>"; ?>
243+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:38px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_cron.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,6 @@
215215
</table>
216216
</form>
217217

218-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
219-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:172px\"><tr><td></td></tr></table>"; ?>
220-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:55px\"><tr><td></td></tr></table>"; ?>
218+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
219+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:193px\"><tr><td></td></tr></table>"; ?>
220+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:76px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_db.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,6 @@
196196
</table>
197197
</form>
198198

199-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
200-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:166px\"><tr><td></td></tr></table>"; ?>
201-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:43px\"><tr><td></td></tr></table>"; ?>
199+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
200+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:187px\"><tr><td></td></tr></table>"; ?>
201+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:64px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_dns.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,6 @@
182182
</table>
183183
</form>
184184

185-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
186-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:157px\"><tr><td></td></tr></table>"; ?>
187-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:25px\"><tr><td></td></tr></table>"; ?>
185+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
186+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:178px\"><tr><td></td></tr></table>"; ?>
187+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:46px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_dns_rec.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
</table>
144144
</form>
145145

146-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
147-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:196px\"><tr><td></td></tr></table>"; ?>
148-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:103px\"><tr><td></td></tr></table>"; ?>
149-
<?php if ($i == 3) echo "<table class=\"data-spacer\" style=\"height:10px\"><tr><td></td></tr></table>"; ?>
146+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
147+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:217px\"><tr><td></td></tr></table>"; ?>
148+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:124px\"><tr><td></td></tr></table>"; ?>
149+
<?php if ($i == 3) echo "<table class=\"data-spacer\" style=\"height:31px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_ip.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,6 @@
160160
</table>
161161
</form>
162162

163-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
164-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:173px\"><tr><td></td></tr></table>"; ?>
165-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:57px\"><tr><td></td></tr></table>"; ?>
163+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
164+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:194px\"><tr><td></td></tr></table>"; ?>
165+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:78px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_log.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
</table>
7272
</form>
7373

74-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
75-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:216px\"><tr><td></td></tr></table>"; ?>
76-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:125px\"><tr><td></td></tr></table>"; ?>
77-
<?php if ($i == 3) echo "<table class=\"data-spacer\" style=\"height:34px\"><tr><td></td></tr></table>"; ?>
74+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:2300px\"><tr><td></td></tr></table>"; ?>
75+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:233px\"><tr><td></td></tr></table>"; ?>
76+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:156px\"><tr><td></td></tr></table>"; ?>
77+
<?php if ($i == 3) echo "<table class=\"data-spacer\" style=\"height:79px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_mail.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,6 @@
209209
</table>
210210
</form>
211211

212-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
213-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:166px\"><tr><td></td></tr></table>"; ?>
214-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:43px\"><tr><td></td></tr></table>"; ?>
212+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
213+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:187px\"><tr><td></td></tr></table>"; ?>
214+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:64px\"><tr><td></td></tr></table>"; ?>

web/templates/admin/list_mail_acc.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
</table>
192192

193193
</form>
194-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
195-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:173px\"><tr><td></td></tr></table>"; ?>
196-
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:57px\"><tr><td></td></tr></table>"; ?>
194+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
195+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:194px\"><tr><td></td></tr></table>"; ?>
196+
<?php if ($i == 2) echo "<table class=\"data-spacer\" style=\"height:78px\"><tr><td></td></tr></table>"; ?>
197197

web/templates/admin/list_packages.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,5 +238,5 @@
238238
</table>
239239
</form>
240240

241-
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
242-
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:123px\"><tr><td></td></tr></table>"; ?>
241+
<?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
242+
<?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:117px\"><tr><td></td></tr></table>"; ?>

0 commit comments

Comments
 (0)