dark scheme

This commit is contained in:
Daniel Tsvetkov 2021-02-22 13:33:57 +01:00
parent e15c27d741
commit 9470a18f6b
5 changed files with 126 additions and 68 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-07-08 14:25+0200\n"
"POT-Creation-Date: 2021-02-22 13:30+0100\n"
"PO-Revision-Date: 2020-07-08 14:25+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: bg\n"
@ -23,15 +23,11 @@ msgid "Project"
msgstr "PiSquared Блог"
#: webapp/templates/navigation.html:1
msgid "Home"
msgstr "Начало"
#: webapp/templates/navigation.html:5
msgid "Logout"
msgid "PiSquared Blog"
msgstr ""
#: webapp/templates/navigation.html:7
msgid "Login"
#: webapp/templates/navigation.html:2
msgid "Index"
msgstr ""
#: webapp/templates/blog_post/_create.html:5
@ -45,10 +41,31 @@ msgstr ""
#: webapp/templates/blog_post/_get.html:6
#: webapp/templates/blog_post/_table.html:8
#: webapp/templates/blog_post/_update.html:13
msgid "title"
msgstr ""
#: webapp/templates/blog_post/_create.html:19
#: webapp/templates/blog_post/_get.html:9
#: webapp/templates/blog_post/_table.html:11
#: webapp/templates/blog_post/_update.html:21
msgid "body"
msgstr ""
#: webapp/templates/blog_post/_table.html:10
#: webapp/templates/blog_post/_create.html:25
#: webapp/templates/blog_post/_get.html:12
#: webapp/templates/blog_post/_table.html:14
#: webapp/templates/blog_post/_update.html:27
msgid "created_dt"
msgstr ""
#: webapp/templates/blog_post/_create.html:32
#: webapp/templates/blog_post/_get.html:15
#: webapp/templates/blog_post/_table.html:17
#: webapp/templates/blog_post/_update.html:35
msgid "updated_dt"
msgstr ""
#: webapp/templates/blog_post/_table.html:19
msgid "Actions"
msgstr ""
@ -64,17 +81,9 @@ msgstr ""
msgid "Create"
msgstr ""
#: webapp/templates/blog_post/get.html:4
msgid "list"
msgstr ""
#: webapp/templates/blog_post/get.html:6
msgid "edit"
msgstr ""
#: webapp/templates/blog_post/get.html:7
msgid "delete"
msgstr ""
#: webapp/templates/blog_post/get_single.html:2
msgid "Created on"
msgstr "Създаден на"
#: webapp/templates/blog_post/list.html:4
#: webapp/templates/blog_post/search.html:4
@ -90,3 +99,21 @@ msgstr ""
msgid "Edit"
msgstr ""
#~ msgid "Home"
#~ msgstr "Начало"
#~ msgid "Logout"
#~ msgstr ""
#~ msgid "Login"
#~ msgstr ""
#~ msgid "list"
#~ msgstr ""
#~ msgid "edit"
#~ msgstr ""
#~ msgid "delete"
#~ msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-07-08 14:25+0200\n"
"POT-Creation-Date: 2021-02-22 13:30+0100\n"
"PO-Revision-Date: 2020-07-08 14:25+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
@ -23,15 +23,11 @@ msgid "Project"
msgstr "PiSquared Blog"
#: webapp/templates/navigation.html:1
msgid "Home"
msgid "PiSquared Blog"
msgstr ""
#: webapp/templates/navigation.html:5
msgid "Logout"
msgstr ""
#: webapp/templates/navigation.html:7
msgid "Login"
#: webapp/templates/navigation.html:2
msgid "Index"
msgstr ""
#: webapp/templates/blog_post/_create.html:5
@ -45,10 +41,31 @@ msgstr ""
#: webapp/templates/blog_post/_get.html:6
#: webapp/templates/blog_post/_table.html:8
#: webapp/templates/blog_post/_update.html:13
msgid "title"
msgstr ""
#: webapp/templates/blog_post/_create.html:19
#: webapp/templates/blog_post/_get.html:9
#: webapp/templates/blog_post/_table.html:11
#: webapp/templates/blog_post/_update.html:21
msgid "body"
msgstr ""
#: webapp/templates/blog_post/_table.html:10
#: webapp/templates/blog_post/_create.html:25
#: webapp/templates/blog_post/_get.html:12
#: webapp/templates/blog_post/_table.html:14
#: webapp/templates/blog_post/_update.html:27
msgid "created_dt"
msgstr ""
#: webapp/templates/blog_post/_create.html:32
#: webapp/templates/blog_post/_get.html:15
#: webapp/templates/blog_post/_table.html:17
#: webapp/templates/blog_post/_update.html:35
msgid "updated_dt"
msgstr ""
#: webapp/templates/blog_post/_table.html:19
msgid "Actions"
msgstr ""
@ -64,16 +81,8 @@ msgstr ""
msgid "Create"
msgstr ""
#: webapp/templates/blog_post/get.html:4
msgid "list"
msgstr ""
#: webapp/templates/blog_post/get.html:6
msgid "edit"
msgstr ""
#: webapp/templates/blog_post/get.html:7
msgid "delete"
#: webapp/templates/blog_post/get_single.html:2
msgid "Created on"
msgstr ""
#: webapp/templates/blog_post/list.html:4
@ -90,3 +99,21 @@ msgstr ""
msgid "Edit"
msgstr ""
#~ msgid "Home"
#~ msgstr ""
#~ msgid "Logout"
#~ msgstr ""
#~ msgid "Login"
#~ msgstr ""
#~ msgid "list"
#~ msgstr ""
#~ msgid "edit"
#~ msgstr ""
#~ msgid "delete"
#~ msgstr ""

View File

@ -1,14 +1,14 @@
# Translations template for PROJECT.
# Copyright (C) 2020 ORGANIZATION
# Copyright (C) 2021 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2020-07-08 14:25+0200\n"
"POT-Creation-Date: 2021-02-22 13:30+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -22,15 +22,11 @@ msgid "Project"
msgstr ""
#: webapp/templates/navigation.html:1
msgid "Home"
msgid "PiSquared Blog"
msgstr ""
#: webapp/templates/navigation.html:5
msgid "Logout"
msgstr ""
#: webapp/templates/navigation.html:7
msgid "Login"
#: webapp/templates/navigation.html:2
msgid "Index"
msgstr ""
#: webapp/templates/blog_post/_create.html:5
@ -44,10 +40,31 @@ msgstr ""
#: webapp/templates/blog_post/_get.html:6
#: webapp/templates/blog_post/_table.html:8
#: webapp/templates/blog_post/_update.html:13
msgid "title"
msgstr ""
#: webapp/templates/blog_post/_create.html:19
#: webapp/templates/blog_post/_get.html:9
#: webapp/templates/blog_post/_table.html:11
#: webapp/templates/blog_post/_update.html:21
msgid "body"
msgstr ""
#: webapp/templates/blog_post/_table.html:10
#: webapp/templates/blog_post/_create.html:25
#: webapp/templates/blog_post/_get.html:12
#: webapp/templates/blog_post/_table.html:14
#: webapp/templates/blog_post/_update.html:27
msgid "created_dt"
msgstr ""
#: webapp/templates/blog_post/_create.html:32
#: webapp/templates/blog_post/_get.html:15
#: webapp/templates/blog_post/_table.html:17
#: webapp/templates/blog_post/_update.html:35
msgid "updated_dt"
msgstr ""
#: webapp/templates/blog_post/_table.html:19
msgid "Actions"
msgstr ""
@ -63,16 +80,8 @@ msgstr ""
msgid "Create"
msgstr ""
#: webapp/templates/blog_post/get.html:4
msgid "list"
msgstr ""
#: webapp/templates/blog_post/get.html:6
msgid "edit"
msgstr ""
#: webapp/templates/blog_post/get.html:7
msgid "delete"
#: webapp/templates/blog_post/get_single.html:2
msgid "Created on"
msgstr ""
#: webapp/templates/blog_post/list.html:4

View File

@ -8,9 +8,9 @@
<style type="text/css">
body {
font-family: "Open Sans", Arial, sans-serif;
color: #444;
color: #ddd;
padding: 0 1em;
background-color:white;
background-color:#222;
}
main {
@ -21,15 +21,10 @@
nav {
position: fixed;
top: 0;
background: white;
width: 100%;
}
@media (min-width: 1400px) {
main {
margin: 0 150px;
}
aside {
position: fixed;
top: 0;

View File

@ -1,2 +1,2 @@
<a href="{{ url_for('home') }}">{{ _("Home") }}</a> |
<a href="{{ url_for('home') }}">{{ _("PiSquared Blog") }}</a> |
<a href="{{ url_for('index') }}">{{ _("Index") }}</a>