NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

small cleanup

74e8dad1
tinect <[email protected]> 7 years ago
data/web/css/build/008-mailcow.css | 11 ++++++++---
 data/web/css/site/admin.css        |  4 ++--
 data/web/css/site/debug.css        |  4 ++--
 data/web/css/site/edit.css         |  2 +-
 data/web/css/site/mailbox.css      |  2 +-
 data/web/css/site/quarantine.css   |  7 +++----
 data/web/css/site/user.css         |  7 +++----
 data/web/inc/footer.inc.php        | 23 ++++++++++-------------
 8 files changed, 30 insertions(+), 30 deletions(-)

Diff

diff --git a/data/web/css/build/008-mailcow.css b/data/web/css/build/008-mailcow.css
index 902a644c..7016d0d7 100644
--- a/data/web/css/build/008-mailcow.css
+++ b/data/web/css/build/008-mailcow.css
@@ -81,7 +81,7 @@
     transform: rotate(359deg);
   }
 }
-pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;}
+pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;}
 .footable-sortable {
   -webkit-user-select: none;  
   -moz-user-select: none;    
@@ -104,11 +104,11 @@ body {
   max-width: 550px;
   z-index: 2000;
 }
-.input-group-sm .btn { margin-top: 0px !important }
+.input-group-sm .btn { margin-top: 0 !important }
 legend {
   -webkit-user-select: none;
   -moz-user-select: none;
-  -ms-user-select: none
+  -ms-user-select: none;
   -o-user-select: none;
   user-select: none;
   font-size: 12pt;
@@ -172,4 +172,9 @@ nav .glyphicon {
 .progress-bar {
   font-size: 12px;
   line-height: 14px;
+}
+.footer {
+  margin-top: 100px;
+  margin-bottom: 20px;
+  color: #959595;
 }
\ No newline at end of file
diff --git a/data/web/css/site/admin.css b/data/web/css/site/admin.css
index 33708376..5eae5228 100644
--- a/data/web/css/site/admin.css
+++ b/data/web/css/site/admin.css
@@ -5,7 +5,7 @@ table.footable>tbody>tr.footable-empty>td {
 .pagination a {
   text-decoration: none !important;
 }
-.panel panel-default {
+.panel.panel-default {
   overflow: visible !important;
 }
 .table-responsive {
@@ -66,7 +66,7 @@ body.modal-open {
   z-index: 1;
 }
 .table-condensed .input-sm {
-  width: 100%!important;  
+  width: 100%!important;
 }
 .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
   padding: 3px;
diff --git a/data/web/css/site/debug.css b/data/web/css/site/debug.css
index 89eaf41a..eddca9c4 100644
--- a/data/web/css/site/debug.css
+++ b/data/web/css/site/debug.css
@@ -5,7 +5,7 @@ table.footable>tbody>tr.footable-empty>td {
 .pagination a {
   text-decoration: none !important;
 }
-.panel panel-default {
+.panel.panel-default {
   overflow: visible !important;
 }
 .table-responsive {
@@ -44,4 +44,4 @@ tbody {
 .container-indicator {
   width: 15px;
   height: 15px;
-}
\ No newline at end of file
+}
diff --git a/data/web/css/site/edit.css b/data/web/css/site/edit.css
index 07d4e745..fb61b0c9 100644
--- a/data/web/css/site/edit.css
+++ b/data/web/css/site/edit.css
@@ -5,7 +5,7 @@ table.footable>tbody>tr.footable-empty>td {
 .pagination a {
   text-decoration: none !important;
 }
-.panel panel-default {
+.panel.panel-default {
   overflow: visible !important;
 }
 .table-responsive {
diff --git a/data/web/css/site/mailbox.css b/data/web/css/site/mailbox.css
index 63c26c5f..173095a9 100644
--- a/data/web/css/site/mailbox.css
+++ b/data/web/css/site/mailbox.css
@@ -5,7 +5,7 @@ table.footable>tbody>tr.footable-empty>td {
 .pagination a {
   text-decoration: none !important;
 }
-.panel panel-default {
+.panel.panel-default {
   overflow: visible !important;
 }
 .table-responsive {
diff --git a/data/web/css/site/quarantine.css b/data/web/css/site/quarantine.css
index 0da349ad..b51fc0fe 100644
--- a/data/web/css/site/quarantine.css
+++ b/data/web/css/site/quarantine.css
@@ -7,7 +7,7 @@ table.footable>tbody>tr.footable-empty>td {
   text-decoration: none !important;
 }
 
-.panel panel-default {
+.panel.panel-default {
   overflow: visible !important;
 }
 
@@ -71,9 +71,9 @@ span#qid_detail_score {
 
 span.rspamd-symbol {
   display: inline-block;
-  margin: 2px 6px 2px 0px;
+  margin: 2px 6px 2px 0;
   border-radius: 4px;
-  padding: 0px 7px;
+  padding: 0 7px;
 }
 
 span.rspamd-symbol.positive {
@@ -103,7 +103,6 @@ span.mail-address-item {
   border-radius: 4px;
   border: 1px solid #ccc;
   padding: 2px 7px;
-  margin-right: 7px;
   display: inline-block;
   margin: 2px 6px 2px 0;
 }
diff --git a/data/web/css/site/user.css b/data/web/css/site/user.css
index 62428d0c..e0dffe05 100644
--- a/data/web/css/site/user.css
+++ b/data/web/css/site/user.css
@@ -5,7 +5,7 @@ table.footable>tbody>tr.footable-empty>td {
 .pagination a {
   text-decoration: none !important;
 }
-.panel panel-default {
+.panel.panel-default {
   overflow: visible !important;
 }
 .table-responsive {
@@ -25,7 +25,7 @@ table.footable>tbody>tr.footable-empty>td {
 }
 .mass-actions-user {
   user-select: none;
-  padding:10px 0 10px 0;
+  padding:10px 0;
 }
 .inputMissingAttr {
   border-color: #FF4136;
@@ -33,7 +33,6 @@ table.footable>tbody>tr.footable-empty>td {
 #logText {
   white-space: pre-wrap;
   white-space: -moz-pre-wrap;
-  white-space: -pre-wrap;
   white-space: -o-pre-wrap;
   word-wrap: break-word;
 }
@@ -47,4 +46,4 @@ table tbody tr {
 
 table tbody tr td input[type="checkbox"] {
   cursor: pointer;
-}
\ No newline at end of file
+}
diff --git a/data/web/inc/footer.inc.php b/data/web/inc/footer.inc.php
index 9fec2b69..99663434 100644
--- a/data/web/inc/footer.inc.php
+++ b/data/web/inc/footer.inc.php
@@ -1,10 +1,7 @@
 <?php
 require_once $_SERVER['DOCUMENT_ROOT'] . '/modals/footer.php';
 logger();
-?>
-<div style="margin-bottom: 100px;"></div>
 
-<?php
 $hash = $js_minifier->getDataHash();
 $JSPath = '/tmp/' . $hash . '.js';
 if(!file_exists($JSPath)) {
@@ -165,7 +162,7 @@ $(document).ready(function() {
   });
 
   // Reload after session timeout
-  var session_lifetime = <?=(intval($SESSION_LIFETIME) * 1000) + 15000;?>;
+  var session_lifetime = <?=((int)$SESSION_LIFETIME * 1000) + 15000;?>;
   <?php
   if (isset($_SESSION['mailcow_cc_username'])):
   ?>
@@ -183,16 +180,16 @@ $(document).ready(function() {
   }
 });
 </script>
-<?php
-if (!empty($UI_TEXTS['ui_footer'])):
-?>
-  <div class="container" style="margin-bottom:20px;color:#959595;">
-  <hr>
-    <?=$UI_TEXTS['ui_footer'];?>
+
+  <div class="container footer">
+    <?php
+    if (!empty($UI_TEXTS['ui_footer'])):
+    ?>
+     <hr><?=$UI_TEXTS['ui_footer'];?>
+    <?php
+    endif;
+    ?>
   </div>
-<?php
-endif;
-?>
 </body>
 </html>
 <?php