summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-12-29 22:03:38 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-12-29 22:03:38 +0100
commit9045d3022b3a25c4d092daf603c77e6384d4f658 (patch)
treeda2a172ed1b4b4bee326be727683b7d86d0c37f9
parent9b163de27cfbe632319404c18ae8539eb79c094a (diff)
theme: add descriptions
-rw-r--r--public_html/extra/data.py5
-rw-r--r--public_html/extra/templates/theme.html3
-rw-r--r--public_html/extra/templates/themes.html3
3 files changed, 10 insertions, 1 deletions
diff --git a/public_html/extra/data.py b/public_html/extra/data.py
index 59295eb..a207876 100644
--- a/public_html/extra/data.py
+++ b/public_html/extra/data.py
@@ -3,13 +3,15 @@ THEMES = {
3 'theme_id': 'arc-dark', 3 'theme_id': 'arc-dark',
4 'name': 'Arc Dark', 4 'name': 'Arc Dark',
5 'author': 'LeBlue', 5 'author': 'LeBlue',
6 'description': 'Arc theme for enlightenment.',
6 'version': 1 7 'version': 1
7 }, 8 },
8 'blingbling': { 9 'blingbling': {
9 'theme_id': 'blingbling', 10 'theme_id': 'blingbling',
10 'name': 'Bling', 11 'name': 'Bling',
11 'author': 'netstar', 12 'author': 'netstar',
12 'version': 3 13 'description': 'The theme used while e17 was in development.',
14 'version': 2
13 }, 15 },
14 'detourious': { 16 'detourious': {
15 'theme_id': 'detourious', 17 'theme_id': 'detourious',
@@ -21,6 +23,7 @@ THEMES = {
21 'theme_id': 'eflemettary', 23 'theme_id': 'eflemettary',
22 'name': 'Eflemettary', 24 'name': 'Eflemettary',
23 'author': 'NikaWhite, rimmed, FurryMad and LordDrew', 25 'author': 'NikaWhite, rimmed, FurryMad and LordDrew',
26 'description': 'A theme written and designed with eflete',
24 'version': 1, 27 'version': 1,
25 } 28 }
26} 29}
diff --git a/public_html/extra/templates/theme.html b/public_html/extra/templates/theme.html
index 2476c97..ac8b5a6 100644
--- a/public_html/extra/templates/theme.html
+++ b/public_html/extra/templates/theme.html
@@ -8,6 +8,9 @@
8<ul class="theme-meta"> 8<ul class="theme-meta">
9 <li>Author: {{ theme['author'] }}</li> 9 <li>Author: {{ theme['author'] }}</li>
10 <li>Version: {{ theme['version'] }}</li> 10 <li>Version: {{ theme['version'] }}</li>
11 {% if theme['description'] %}
12 <li>Description: {{ theme['description'] }}</li>
13 {% endif %}
11</ul> 14</ul>
12 15
13<br /><br /> 16<br /><br />
diff --git a/public_html/extra/templates/themes.html b/public_html/extra/templates/themes.html
index a0ca205..d65eef1 100644
--- a/public_html/extra/templates/themes.html
+++ b/public_html/extra/templates/themes.html
@@ -11,6 +11,9 @@
11 <li><a href="{{ theme_id }}">{{ themes[theme_id].name }}</a></li> 11 <li><a href="{{ theme_id }}">{{ themes[theme_id].name }}</a></li>
12 <li>Author: {{ themes[theme_id].author }}</li> 12 <li>Author: {{ themes[theme_id].author }}</li>
13 <li>Version: {{ themes[theme_id].version }}</li> 13 <li>Version: {{ themes[theme_id].version }}</li>
14 {% if themes[theme_id].description %}
15 <li>Description: {{ themes[theme_id].description }}</li>
16 {% endif %}
14 </ul> 17 </ul>
15 </li> 18 </li>
16{% endfor %} 19{% endfor %}