Browse Source

Updated base template to change color

1Mike21 1 year ago
parent
commit
23f1947fe2

+ 2 - 0
.gitignore

@@ -2,6 +2,8 @@
 env/
 venv/
 #module
+webservice_running/
+design_template/
 tickets/
 metaservicesynced/
 openlocal/

+ 1 - 1
SharixAdmin/templates/SharixAdmin/auth.html

@@ -26,7 +26,7 @@
                     {% trans 'Please, enter the correct phone number and password.' %}
                 </div>
             {% endif %}
-            <button class="w-100 btn btn-lg" type="submit" style="background-color: #479FF8; color: white;">{% trans 'Login' %}</button>
+            <button class="w-100 btn btn-primary btn-lg" type="submit">{% trans 'Login' %}</button>
             <p class="mt-5 mb-3 text-muted">© 2022</p>
           </form>
     </div>

+ 1 - 0
SharixAdmin/templates/SharixAdmin/base.html

@@ -7,6 +7,7 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <link rel="shortcut icon" href="{% static 'SharixAdmin/img/logo.svg' %}"/>
     <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
+    <link type="text/css" href="{% static 'design_template/colors.css' %}" rel="stylesheet" />
     <title>{{ title }}</title>
 </head>
 <body style="min-width: 1050px;">