Added slate theme

This commit is contained in:
Socks 2018-03-28 03:47:47 +01:00
parent 637b8f4482
commit c949e1db95
3 changed files with 17 additions and 0 deletions

12
static/slate.css Normal file

File diff suppressed because one or more lines are too long

View file

@ -10,6 +10,7 @@
{% if theme=="darkly" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'darkly.css') }}" />{% endif %} {% if theme=="darkly" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'darkly.css') }}" />{% endif %}
{% if theme=="cyborg" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'cyborg.css') }}" />{% endif %} {% if theme=="cyborg" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'cyborg.css') }}" />{% endif %}
{% if theme=="materia" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'materia.css') }}" />{% endif %} {% if theme=="materia" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'materia.css') }}" />{% endif %}
{% if theme=="slate" %}<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename = 'slate.css') }}" />{% endif %}
<title>{{ title }} - Tweeder</title> <title>{{ title }} - Tweeder</title>
</head> </head>
<body> <body>

View file

@ -75,6 +75,10 @@
<input type="radio" id="customRadioInline4" name="theme" value="materia" class="custom-control-input" {% if theme=="materia" %}checked{% endif %}> <input type="radio" id="customRadioInline4" name="theme" value="materia" class="custom-control-input" {% if theme=="materia" %}checked{% endif %}>
<label class="custom-control-label" for="customRadioInline4">Materia</label> <label class="custom-control-label" for="customRadioInline4">Materia</label>
</div> </div>
<div class="custom-control custom-radio custom-control-inline">
<input type="radio" id="customRadioInline5" name="theme" value="slate" class="custom-control-input" {% if theme=="slate" %}checked{% endif %}>
<label class="custom-control-label" for="customRadioInline5">slate</label>
</div>
</div> </div>
<button type="submit" class="btn btn-primary">Save</button> <button type="submit" class="btn btn-primary">Save</button>