diff --git a/websiteFunctions/templates/websiteFunctions/WPsitesList.html b/websiteFunctions/templates/websiteFunctions/WPsitesList.html index 5fd531d2e..ff5a18100 100644 --- a/websiteFunctions/templates/websiteFunctions/WPsitesList.html +++ b/websiteFunctions/templates/websiteFunctions/WPsitesList.html @@ -1,6 +1,6 @@ {% extends "baseTemplate/index.html" %} {% load i18n %} -{% block title %}{% trans "WordPress Sites - CyberPanel" %}{% endblock %} +{% block title %}{% trans "WordPress Toolkit - CyberPanel" %}{% endblock %} {% block content %} {% load static %} @@ -81,151 +81,290 @@ border-radius: 0px 20px 20px 0px; } + .wp-site-card { + background: white; + border: 1px solid #e0e0e0; + border-radius: 8px; + margin-bottom: 20px; + box-shadow: 0 2px 4px rgba(0,0,0,0.05); + } + + .wp-site-header { + padding: 15px; + border-bottom: 1px solid #f0f0f0; + display: flex; + align-items: center; + justify-content: space-between; + } + + .wp-site-content { + padding: 20px; + } + + .wp-site-preview { + width: 200px; + height: 150px; + object-fit: cover; + border-radius: 4px; + border: 1px solid #e0e0e0; + float: left; + margin-right: 20px; + } + + .wp-site-info { + margin-left: 220px; + } + + .status-section { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 20px; + margin-bottom: 20px; + } + + .tools-section { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 20px; + } + + .status-item, .tool-item { + display: flex; + align-items: center; + justify-content: space-between; + padding: 8px; + background: #f8f9fa; + border-radius: 4px; + } + + .toggle-switch { + position: relative; + display: inline-block; + width: 50px; + height: 24px; + } + + .toggle-switch input { + opacity: 0; + width: 0; + height: 0; + } + + .slider { + position: absolute; + cursor: pointer; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: #ccc; + transition: .4s; + border-radius: 24px; + } + + .slider:before { + position: absolute; + content: ""; + height: 16px; + width: 16px; + left: 4px; + bottom: 4px; + background-color: white; + transition: .4s; + border-radius: 50%; + } + + input:checked + .slider { + background-color: #2196F3; + } + + input:checked + .slider:before { + transform: translateX(26px); + } + + .action-buttons { + display: flex; + gap: 10px; + } + + .btn-tool { + padding: 5px 10px; + border: 1px solid #ddd; + border-radius: 4px; + background: white; + color: #333; + text-decoration: none; + font-size: 12px; + } + + .btn-tool:hover { + background: #f8f9fa; + } + + .warning-badge { + background: #ffc107; + color: #000; + padding: 2px 8px; + border-radius: 12px; + font-size: 12px; + } + + .top-actions { + margin-bottom: 20px; + display: flex; + justify-content: space-between; + align-items: center; + } + + .search-box { + padding: 8px; + border: 1px solid #ddd; + border-radius: 4px; + width: 300px; + }
-
-

{% trans "List WordPress Websites" %} - {% trans "Create WordPress Website" %} - {% trans "Scan WordPress " %} -

- -

{% trans "On this page you can launch, list, modify and delete Wordpress Sites from your server." %}

+
+

WordPress Toolkit {% if help_url %}Help{% endif %}

+
+ + Install WordPress +
- - - - - - - - - - - - - {% for sub in wpsite %} - - - - - - - - - - - {% endfor %} - - -
WordPress Site TitleLoginDomainAction
- -

{{ sub.title }}

-
- -
- - - - - Visit - - - - -
- - - - + + {% endblock %}