some cosmetic changes

This commit is contained in:
jojkhan
2022-11-16 16:24:21 +05:00
parent 903b12d5f8
commit edb5ec45a5
2 changed files with 20 additions and 9 deletions

View File

@@ -14,6 +14,7 @@
display: inline-block; display: inline-block;
width: 32px; width: 32px;
height: 19px; height: 19px;
border-radius: 10%;
} }
.switch input { .switch input {
@@ -32,6 +33,7 @@
background-color: #ccc; background-color: #ccc;
-webkit-transition: .4s; -webkit-transition: .4s;
transition: .4s; transition: .4s;
border-radius: 10%;
} }
.slider:before { .slider:before {
@@ -44,6 +46,7 @@
background-color: white; background-color: white;
-webkit-transition: .4s; -webkit-transition: .4s;
transition: .4s; transition: .4s;
border-radius: 20%;
} }
input:checked + .slider { input:checked + .slider {

View File

@@ -6,7 +6,7 @@
{% load static %} {% load static %}
{% get_current_language as LANGUAGE_CODE %} {% get_current_language as LANGUAGE_CODE %}
<!-- Current language: {{ LANGUAGE_CODE }} --> <!-- Current language: {{ LANGUAGE_CODE }} -->
<style> <style>
.switch { .switch {
margin-top: 7px; margin-top: 7px;
margin-left: 12px; margin-left: 12px;
@@ -14,6 +14,7 @@
display: inline-block; display: inline-block;
width: 32px; width: 32px;
height: 19px; height: 19px;
border-radius: 10%;
} }
.switch input { .switch input {
@@ -32,6 +33,7 @@
background-color: #ccc; background-color: #ccc;
-webkit-transition: .4s; -webkit-transition: .4s;
transition: .4s; transition: .4s;
border-radius: 10%;
} }
.slider:before { .slider:before {
@@ -44,14 +46,16 @@
background-color: white; background-color: white;
-webkit-transition: .4s; -webkit-transition: .4s;
transition: .4s; transition: .4s;
border-radius: 20%;
} }
input:checked + .slider { input:checked + .slider {
background-color: #2196F3; background-color: #2196F3;
} }
input:focus + .slider { input:focus + .slider {
box-shadow: 0 0 1px #2196F3; box-shadow: 0 0 2px #2196F3;
} }
input:checked + .slider:before { input:checked + .slider:before {
@@ -69,7 +73,6 @@
</div> </div>
<div ng-controller="createWebsite" class="panel"> <div ng-controller="createWebsite" class="panel">
<div class="panel-body"> <div class="panel-body">
<h3 class="content-box-header"> <h3 class="content-box-header">
@@ -103,17 +106,20 @@
</div> </div>
</div> </div>
{# My Work #} {# My Work #}
<div ng-hide="installationDetailsForm" class="form-group"> <div ng-hide="installationDetailsForm" class="form-group">
<label class="col-sm-3 control-label" style="margin-bottom: 15px">{% trans "Test Domain" %}</label> <label class="col-sm-3 control-label"
style="margin-bottom: 15px">{% trans "Test Domain" %}</label>
<label class="switch my-3"> <label class="switch my-3">
<input type="checkbox" checked id="myCheck" onclick="website_create_checkbox_function()" style="margin-top: 10px"> <input type="checkbox" checked id="myCheck" onclick="website_create_checkbox_function()"
style="margin-top: 10px">
<span class="slider"></span> <span class="slider"></span>
</label> </label>
<br><br> <br><br>
<div id="Website_Create_Test_Domain" class="tabcontent" style="border: none;margin-left: 10px"> <div id="Website_Create_Test_Domain" class="tabcontent"
style="border: none;margin-left: 10px">
<div ng-hide="installationDetailsForm" class="form-group" <div ng-hide="installationDetailsForm" class="form-group"
ng-if="{{ test_domain_data }} == 1 "> ng-if="{{ test_domain_data }} == 1 ">
<label class="col-sm-3 control-label">{% trans "Domain Name" %}</label> <label class="col-sm-3 control-label">{% trans "Domain Name" %}</label>
@@ -141,13 +147,15 @@
class="current-pack">{% trans "Invalid Domain (Note: You don't need to add 'http' or 'https')" %}</div> class="current-pack">{% trans "Invalid Domain (Note: You don't need to add 'http' or 'https')" %}</div>
</div> </div>
<div ng-if="{{ test_domain_data }} == 0 "> <div ng-if="{{ test_domain_data }} == 0 ">
<center>Looks like you have not subscripted to temporary domain feature, <a href="https://go.cyberpanel.net/TempDomain">click here</a> <center>Looks like you have not subscripted to temporary domain feature, <a
href="https://go.cyberpanel.net/TempDomain">click here</a>
for more details. for more details.
</center> </center>
</div> </div>
</div> </div>
<div id="Website_Create_Own_Domain" class="tabcontent" style="border: none;display: none;margin-left: 10px"> <div id="Website_Create_Own_Domain" class="tabcontent"
style="border: none;display: none;margin-left: 10px">
<div ng-hide="installationDetailsForm" class="form-group"> <div ng-hide="installationDetailsForm" class="form-group">
<label class="col-sm-3 control-label">{% trans "Domain Name" %}</label> <label class="col-sm-3 control-label">{% trans "Domain Name" %}</label>