mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
some fix to courgette theme
This commit is contained in:
parent
21f50d5a08
commit
f4fbfaa7cb
11 changed files with 94 additions and 50 deletions
|
@ -1,6 +1,6 @@
|
|||
<header>
|
||||
<h1>
|
||||
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/img/logo.png" alt="logo poche" />{% endblock %}
|
||||
{% if view == 'home' %}{% block logo %}<img src="{{ poche_url }}/themes/{{ constant('DEFAULT_THEME') }}/img/logo.svg" alt="logo poche" />{% endblock %}
|
||||
{% elseif view == 'fav' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Favoris</span></a>
|
||||
{% elseif view == 'archive' %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }} <span>Archive</span></a>
|
||||
{% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
<div class="row">
|
||||
<label class="col w150p" for="theme">{% trans "Theme:" %}</label>
|
||||
<select class="col" id="theme" name="theme">
|
||||
{% for theme in themes %}
|
||||
<option value="{{ theme.name }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option>
|
||||
{% for key, theme in themes %}
|
||||
<option value="{{ key }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
|
8
themes/courgette/img/logo.svg
Normal file
8
themes/courgette/img/logo.svg
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="64" height="64">
|
||||
<circle cx="32" cy="32" r="29.5" style="fill:#000" />
|
||||
<path d="m 16,18 33,0 0,26 -16.5,6 -16.5,-6 z" fill="#fff" />
|
||||
<rect width="9" height="2.5" x="17.5" y="24.5" fill="#000" />
|
||||
<rect width="9" height="2.5" x="28" y="24.5" fill="#000" />
|
||||
<rect width="9" height="2.5" x="38.5" y="24.5" fill="#000" />
|
||||
</svg>
|
After Width: | Height: | Size: 444 B |
3
themes/courgette/theme.ini
Normal file
3
themes/courgette/theme.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
name = Courgette
|
||||
description = Responsive black and white theme especially adapted to smartphones.
|
||||
requirements[] = default
|
2
themes/dark/theme.ini
Normal file
2
themes/dark/theme.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = Dark
|
||||
requirements[] = default
|
|
@ -49,8 +49,8 @@
|
|||
<div class="row">
|
||||
<label class="col w150p" for="theme">{% trans "Theme:" %}</label>
|
||||
<select class="col" id="theme" name="theme">
|
||||
{% for theme in themes %}
|
||||
<option value="{{ theme.name }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option>
|
||||
{% for key, theme in themes %}
|
||||
<option value="{{ key }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
|
|
1
themes/default/theme.ini
Normal file
1
themes/default/theme.ini
Normal file
|
@ -0,0 +1 @@
|
|||
name = Default
|
2
themes/dmagenta/theme.ini
Normal file
2
themes/dmagenta/theme.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = Dark Magenta
|
||||
requirements[] = default
|
2
themes/solarized-dark/theme.ini
Normal file
2
themes/solarized-dark/theme.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = Dark Solarized
|
||||
requirements[] = default
|
2
themes/solarized/theme.ini
Normal file
2
themes/solarized/theme.ini
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = Solarized
|
||||
requirements[] = default
|
Loading…
Add table
Add a link
Reference in a new issue