Просмотр исходного кода

refactoring code: added spacers

Serghey Rodin 13 лет назад
Родитель
Сommit
f42db82272

+ 3 - 3
web/templates/admin/list_backup.html

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

+ 3 - 3
web/templates/admin/list_cron.html

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

+ 3 - 3
web/templates/admin/list_db.html

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

+ 3 - 3
web/templates/admin/list_dns.html

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

+ 4 - 4
web/templates/admin/list_dns_rec.html

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

+ 3 - 3
web/templates/admin/list_ip.html

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

+ 4 - 4
web/templates/admin/list_log.html

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

+ 3 - 3
web/templates/admin/list_mail.html

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

+ 3 - 3
web/templates/admin/list_mail_acc.html

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

+ 2 - 2
web/templates/admin/list_packages.html

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

+ 2 - 2
web/templates/admin/list_stats.html

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

+ 1 - 1
web/templates/admin/list_web.html

@@ -237,5 +237,5 @@
                             </tr>
                         </table>
                     </form>
-                    <?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
+                    <?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
                     <?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:138px\"><tr><td></td></tr></table>"; ?>

+ 2 - 1
web/templates/login.html

@@ -40,6 +40,7 @@
                 text-align: left;
                 vertical-align:top;
                 padding: 0 0 10px 40px;
+                color: #333;
             }
 
             .login-text1 {
@@ -146,7 +147,7 @@
                                         </tr>
                                         <tr>
                                             <td>
-                                                <p class="login-text1">Password <a tabindex="5" class="forgot" href="/reset/" >forgot passwor</a></p>
+                                                <p class="login-text1">Password <a tabindex="5" class="forgot" href="/reset/" >forgot password</a></p>
                                             </td>
                                         </tr>
                                         <tr>

+ 1 - 0
web/templates/reset_1.html

@@ -40,6 +40,7 @@
                 text-align: left;
                 vertical-align:top;
                 padding: 0 0 10px 40px;
+                color: #333;
             }
 
             .login-text1 {

+ 1 - 0
web/templates/reset_2.html

@@ -40,6 +40,7 @@
                 text-align: left;
                 vertical-align:top;
                 padding: 0 0 10px 40px;
+                color: #333;
             }
 
             .login-text1 {

+ 1 - 0
web/templates/reset_3.html

@@ -40,6 +40,7 @@
                 text-align: left;
                 vertical-align:top;
                 padding: 0 0 10px 40px;
+                color: #333;
             }
 
             .login-text1 {

+ 3 - 3
web/templates/user/list_cron.html

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

+ 3 - 3
web/templates/user/list_db.html

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

+ 3 - 3
web/templates/user/list_dns.html

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

+ 4 - 4
web/templates/user/list_dns_rec.html

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

+ 3 - 3
web/templates/user/list_mail.html

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

+ 3 - 3
web/templates/user/list_mail_acc.html

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

+ 2 - 1
web/templates/user/list_web.html

@@ -213,5 +213,6 @@
                             </tr>
                         </table>
                     </form>
-                    <?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:279px\"><tr><td></td></tr></table>"; ?>
+
+                    <?php if ($i == 0) echo "<table class=\"data-spacer\" style=\"height:300px\"><tr><td></td></tr></table>"; ?>
                     <?php if ($i == 1) echo "<table class=\"data-spacer\" style=\"height:138px\"><tr><td></td></tr></table>"; ?>