Merge pull request #3086 from tinect/cleanupCode

small cleanup
master
André Peters 2019-10-23 22:13:12 +02:00 committed by GitHub
commit bfb000b2c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 30 deletions

View File

@ -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;
}

View File

@ -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;

View File

@ -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;
}
}

View File

@ -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 {

View File

@ -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 {

View File

@ -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;
}

View File

@ -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;
}
}

View File

@ -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