switch to a dark theme

This commit is contained in:
j3d1 2021-03-28 23:31:39 +02:00
parent 61c4d70402
commit 73046dd6a7
5 changed files with 15 additions and 11 deletions

File diff suppressed because one or more lines are too long

View file

@ -12,7 +12,7 @@
<title>Multimail</title> <title>Multimail</title>
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
<link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> <link href="{% static 'multimail/css/bootstrap.min.css' %}" rel="stylesheet">
<!-- Custom styles for this template --> <!-- Custom styles for this template -->
<link href="{% static 'multimail/css/simple-sidebar.css' %}" rel="stylesheet"> <link href="{% static 'multimail/css/simple-sidebar.css' %}" rel="stylesheet">
@ -25,15 +25,15 @@
<div class="d-flex" id="wrapper"> <div class="d-flex" id="wrapper">
<!-- Sidebar --> <!-- Sidebar -->
<div class="bg-light border-right" id="sidebar-wrapper"> <div class="bg-dark border-right" id="sidebar-wrapper">
<div class="sidebar-heading"> <div class="sidebar-heading">
<a href="{% url 'multimail:index' %}" class="link-unstyled">Multimail</a> <a href="{% url 'multimail:index' %}" class="link-unstyled">Multimail</a>
</div> </div>
<div class="list-group list-group-flush"> <div class="list-group list-group-flush">
<a href="{% url 'multimail:domains' %}" class="list-group-item list-group-item-action bg-light">Domains</a> <a href="{% url 'multimail:domains' %}" class="list-group-item list-group-item-action bg-dark">Domains</a>
<a href="{% url 'multimail:mailboxes' %}" <a href="{% url 'multimail:mailboxes' %}"
class="list-group-item list-group-item-action bg-light">Mailboxes</a> class="list-group-item list-group-item-action bg-dark">Mailboxes</a>
<a href="{% url 'multimail:aliases' %}" class="list-group-item list-group-item-action bg-light">Aliases</a> <a href="{% url 'multimail:aliases' %}" class="list-group-item list-group-item-action bg-dark">Aliases</a>
</div> </div>
</div> </div>
<!-- /#sidebar-wrapper --> <!-- /#sidebar-wrapper -->
@ -41,7 +41,7 @@
<!-- Page Content --> <!-- Page Content -->
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom"> <nav class="navbar navbar-expand-lg navbar-dark bg-dark border-bottom">
<button class="btn btn-link btn-lg" id="menu-toggle"><i class="fas fa-bars"></i></button> <button class="btn btn-link btn-lg" id="menu-toggle"><i class="fas fa-bars"></i></button>
<button class="navbar-toggler btn btn-link btn-lg" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" <button class="navbar-toggler btn btn-link btn-lg" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
@ -84,7 +84,7 @@
<!-- Bootstrap core JavaScript --> <!-- Bootstrap core JavaScript -->
<script src="{% static 'vendor/jquery/jquery.slim.min.js' %}"></script> <script src="{% static 'vendor/jquery/jquery.slim.min.js' %}"></script>
<script src="{% static 'vendor/bootstrap/js/bootstrap.bundle.min.js' %}"></script> <script src="{% static 'vendor/bootstrap/js/bootstrap.bundle.min.js' %}"></script>
<!-- Menu Toggle Script --> <!-- Menu Toggle Script -->
<script> <script>

View file

@ -11,7 +11,7 @@
<table class="table table-striped btn-table mb-0"> <table class="table table-striped btn-table mb-0">
{% if domain.mailboxes %} {% if domain.mailboxes %}
<thead> <thead>
<tr> <tr class="bg-dark">
<th scope="col">Mailboxes</th> <th scope="col">Mailboxes</th>
<th scope="col"></th> <th scope="col"></th>
</tr> </tr>
@ -37,7 +37,7 @@
{% endif %} {% endif %}
{% if domain.aliases %} {% if domain.aliases %}
<tbody> <tbody>
<tr class="bg-white"> <tr class="bg-dark">
<th scope="col">Aliases</th> <th scope="col">Aliases</th>
<th scope="col"></th> <th scope="col"></th>
</tr> </tr>

View file

@ -12,7 +12,7 @@
<title>Multimail</title> <title>Multimail</title>
<!-- Bootstrap core CSS --> <!-- Bootstrap core CSS -->
<link href="{% static 'vendor/bootstrap/css/bootstrap.min.css' %}" rel="stylesheet"> <link href="{% static 'multimail/css/bootstrap.min.css' %}" rel="stylesheet">
<!-- Custom styles for this template --> <!-- Custom styles for this template -->
<link href="{% static 'multimail/css/simple-sidebar.css' %}" rel="stylesheet"> <link href="{% static 'multimail/css/simple-sidebar.css' %}" rel="stylesheet">
@ -23,7 +23,7 @@
<div class="container" style="height:100vh;"> <div class="container" style="height:100vh;">
<div class="row h-100 justify-content-center align-items-center"> <div class="row h-100 justify-content-center align-items-center">
<div class="card col-6"> <div class="card col-6 bg-dark">
<article class="card-body"> <article class="card-body">
<h4 class="card-title text-center mb-4 mt-1">Sign in</h4> <h4 class="card-title text-center mb-4 mt-1">Sign in</h4>
<hr> <hr>

View file

@ -14,8 +14,11 @@ function run_update(){
echo run autoupdate in $(pwd) echo run autoupdate in $(pwd)
git pull git pull
cd backend cd backend
source venv/bin/activate
pip3 install -r requirements.txt
python3 manage.py migrate python3 manage.py migrate
python3 manage.py collectstatic --noinput python3 manage.py collectstatic --noinput
echo done
} }
run_update | prefix_date >> $DIR/update.log run_update | prefix_date >> $DIR/update.log