From fe74fd89ff0e43f371cceb23dd9824ceb864e952 Mon Sep 17 00:00:00 2001 From: anon Date: Wed, 20 Jul 2022 23:33:38 -0300 Subject: [PATCH] 20/07 --- articles/templates/articles/write.html | 61 ++++++++------------------ moneropro/settings.py | 6 +-- 2 files changed, 21 insertions(+), 46 deletions(-) diff --git a/articles/templates/articles/write.html b/articles/templates/articles/write.html index d588ffd..9ecb71e 100644 --- a/articles/templates/articles/write.html +++ b/articles/templates/articles/write.html @@ -4,35 +4,17 @@ Moneroj.net - Profile {% endblock header %} @@ -79,29 +58,25 @@

Write and submit your articles for approval.

-
-
-

-

You are currently: -
-
- {% if request.user.profile.type == 'user' %} - User / writer - {% elif request.user.profile.type == 'editor' %} - Editor and writer - {% elif request.user.profile.type == 'admin' %} - Administrator - {% endif %} -

-
+
+

+

You are currently: +
+
+ {% if request.user.profile.type == 'user' %} + User / writer + {% elif request.user.profile.type == 'editor' %} + Editor and writer + {% elif request.user.profile.type == 'admin' %} + Administrator + {% endif %} +

-
-
-

-

Write new article:


- -
+
+

+

Write new article:


+
diff --git a/moneropro/settings.py b/moneropro/settings.py index 520af3f..89cc1c1 100644 --- a/moneropro/settings.py +++ b/moneropro/settings.py @@ -32,9 +32,9 @@ STATICFILES_DIRS = [ SECRET_KEY = 'dafsdasdfasfa7sdfs9d7das7f9as7df8ad43525fsffdssdg455$$###77saf9df79as79s' # SECURITY WARNING: don't run with debug turned on in production! -#DEBUG = True -DEBUG = False -STATIC_ROOT = "/var/www/moneropro/static/" +DEBUG = True +#DEBUG = False +#STATIC_ROOT = "/var/www/moneropro/static/" ALLOWED_HOSTS = ['www.moneroj.net', 'localhost', '127.0.0.1', 'moneroj.net', 'ilt7jgmfro76wgrtt6752lvfnhcz6wk5sjqhyvntjixygp3cwpvr4nad.onion']