mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
Remove SECURITY_INSTALLATION.md and implement SSL reconciliation features in manageSSL module. Add new views and URLs for SSL reconciliation, enhance mobile responsiveness in templates, and update SSL utilities for improved functionality. Update upgrade script for scheduled SSL reconciliation tasks.
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a title="{% trans 'Cancel' %}" ng-click="hideDomainCreationForm()" href="">
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5"></h3>
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -169,7 +169,7 @@
|
||||
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a title="{% trans 'Close' %}" ng-click="hideListDomains()" href="">
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5"></h3>
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -963,7 +963,7 @@
|
||||
<div ng-hide="fetchedConfigsData" class="form-group">
|
||||
<div style="margin-bottom: 1%;" class="col-sm-offset-11 col-sm-1">
|
||||
<a ng-click="hideconfigbtn()" href=""><h3
|
||||
class="glyph-icon icon-close text-danger mt-5"></h3></a>
|
||||
class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3></a>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<textarea ng-model="configData" rows="20" class="form-control"></textarea>
|
||||
@@ -1019,7 +1019,7 @@
|
||||
<div ng-hide="fetchedRewriteRules" class="form-group">
|
||||
<div style="margin-bottom: 1%;" class="col-sm-offset-11 col-sm-1">
|
||||
<a ng-click="hideRewriteRulesbtn()" href=""><h3
|
||||
class="glyph-icon icon-close text-danger mt-5"></h3></a>
|
||||
class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3></a>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<textarea ng-model="rewriteRules" rows="10" class="form-control"></textarea>
|
||||
@@ -1059,7 +1059,7 @@
|
||||
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a title="{% trans 'Cancel' %}" ng-click="hideChangePHPMaster()"
|
||||
href=""><h3 class="glyph-icon icon-close text-danger mt-5"></h3></a>
|
||||
href=""><h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -403,6 +403,170 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* Mobile Responsive Styles */
|
||||
@media (max-width: 768px) {
|
||||
.page-wrapper {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.page-container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#page-title {
|
||||
padding: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#page-title h1 {
|
||||
font-size: 1.5rem !important;
|
||||
}
|
||||
|
||||
#page-title p {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
|
||||
/* Table improvements for mobile */
|
||||
.table-responsive {
|
||||
border: none;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.table {
|
||||
font-size: 14px !important;
|
||||
min-width: 600px;
|
||||
}
|
||||
|
||||
.table th, .table td {
|
||||
padding: 8px 6px !important;
|
||||
font-size: 13px !important;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Hide less important columns on mobile */
|
||||
.table .d-none-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Button improvements for mobile */
|
||||
.btn {
|
||||
font-size: 16px !important;
|
||||
padding: 12px 20px !important;
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-group .btn {
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Form improvements for mobile */
|
||||
.form-horizontal .form-group {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.form-horizontal .control-label {
|
||||
text-align: left !important;
|
||||
margin-bottom: 5px;
|
||||
font-size: 16px !important;
|
||||
}
|
||||
|
||||
.form-horizontal .col-sm-3,
|
||||
.form-horizontal .col-sm-6,
|
||||
.form-horizontal .col-sm-9 {
|
||||
width: 100% !important;
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
.form-control, input, textarea, select {
|
||||
font-size: 16px !important;
|
||||
padding: 12px 16px !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Modal improvements for mobile */
|
||||
.modal-dialog {
|
||||
margin: 10px;
|
||||
width: calc(100% - 20px);
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
padding: 20px 15px;
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
font-size: 1.25rem !important;
|
||||
}
|
||||
|
||||
/* Card improvements for mobile */
|
||||
.card {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.card-body {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.card-title {
|
||||
font-size: 1.125rem !important;
|
||||
}
|
||||
|
||||
.card-text {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
/* Extra small devices */
|
||||
.page-wrapper {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#page-title {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
#page-title h1 {
|
||||
font-size: 1.25rem !important;
|
||||
}
|
||||
|
||||
.table th, .table td {
|
||||
padding: 6px 4px !important;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
|
||||
/* Hide even more columns on very small screens */
|
||||
.table .d-none-mobile-sm {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.btn {
|
||||
font-size: 14px !important;
|
||||
padding: 10px 15px !important;
|
||||
}
|
||||
|
||||
.form-control, input, textarea, select {
|
||||
font-size: 16px !important;
|
||||
padding: 10px 14px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Dark mode specific adjustments */
|
||||
[data-theme="dark"] body {
|
||||
background: var(--bg-primary);
|
||||
|
||||
@@ -629,6 +629,107 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* Additional mobile improvements */
|
||||
@media (max-width: 768px) {
|
||||
.cyberpanel-website-page {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/* Improve table responsiveness */
|
||||
.table-responsive {
|
||||
border: none;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.table {
|
||||
font-size: 14px !important;
|
||||
min-width: 600px;
|
||||
}
|
||||
|
||||
.table th, .table td {
|
||||
padding: 8px 6px !important;
|
||||
font-size: 13px !important;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Hide less important columns on mobile */
|
||||
.table .d-none-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Improve form layout on mobile */
|
||||
.form-horizontal .form-group {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.form-horizontal .control-label {
|
||||
text-align: left !important;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.form-horizontal .col-sm-3,
|
||||
.form-horizontal .col-sm-6,
|
||||
.form-horizontal .col-sm-9 {
|
||||
width: 100% !important;
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
/* Improve button layout */
|
||||
.btn-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.btn-group .btn {
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Improve modal on mobile */
|
||||
.modal-dialog {
|
||||
margin: 5px;
|
||||
width: calc(100% - 10px);
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
/* Improve close button visibility */
|
||||
.glyph-icon.icon-close {
|
||||
font-size: 20px !important;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
/* Extra small devices */
|
||||
.cyberpanel-website-page {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.table th, .table td {
|
||||
padding: 6px 4px !important;
|
||||
font-size: 12px !important;
|
||||
}
|
||||
|
||||
/* Hide even more columns on very small screens */
|
||||
.table .d-none-mobile-sm {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.btn {
|
||||
font-size: 14px !important;
|
||||
padding: 10px 15px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Modal and Form Modal Styling for Rewrite Rules */
|
||||
.form-horizontal.bordered-row {
|
||||
background: var(--bg-secondary, white);
|
||||
@@ -1562,7 +1663,7 @@
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a ng-click="hidelogsbtn()" href="">
|
||||
<!--img src="/static/images/close-32.png"-->
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5"></h3>
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
@@ -1607,7 +1708,7 @@
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a ng-click="hideErrorLogsbtn()" href="">
|
||||
<!--img src="/static/images/close-32.png"-->
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5"></h3>
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
@@ -1671,7 +1772,7 @@
|
||||
</div>
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a title="{% trans 'Cancel' %}" ng-click="hideDomainCreationForm()" href="">
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5"></h3>
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1828,7 +1929,7 @@
|
||||
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a title="{% trans 'Close' %}" ng-click="hideListDomains()" href="">
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5"></h3>
|
||||
<h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -2119,7 +2220,7 @@
|
||||
|
||||
<div style="margin-bottom: 1%;" class=" col-sm-1">
|
||||
<a title="{% trans 'Cancel' %}" ng-click="hideChangePHPMaster()"
|
||||
href=""><h3 class="glyph-icon icon-close text-danger mt-5"></h3></a>
|
||||
href=""><h3 class="glyph-icon icon-close text-danger mt-5" style="font-size: 24px; cursor: pointer;">×</h3></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user