20/07
This commit is contained in:
parent
eb86f6470b
commit
fe74fd89ff
2 changed files with 21 additions and 46 deletions
|
@ -4,35 +4,17 @@
|
|||
<title>Moneroj.net - Profile</title>
|
||||
|
||||
<style>
|
||||
.login_page {
|
||||
margin: 0 auto 25px;
|
||||
}
|
||||
|
||||
.form {
|
||||
position: relative;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
z-index: 1;
|
||||
background: #313030;
|
||||
margin: 20px 20px 20px 20px;
|
||||
max-width: 100%;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
border-radius: 20px
|
||||
}
|
||||
|
||||
.form input {
|
||||
font-family: "Roboto", Sans-serif;
|
||||
outline: 0;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
margin: 0 0 10px;
|
||||
padding: 5px;
|
||||
font-size: 14px;
|
||||
border-radius: 5px
|
||||
}
|
||||
|
||||
.form button {
|
||||
font-family: "Roboto", Sans-serif;
|
||||
outline: 0;
|
||||
|
@ -62,9 +44,6 @@
|
|||
text-decoration: none
|
||||
}
|
||||
|
||||
.form .register_form {
|
||||
display: none
|
||||
}
|
||||
</style>
|
||||
|
||||
{% endblock header %}
|
||||
|
@ -79,29 +58,25 @@
|
|||
<h3>Write and submit your articles for approval.</h3>
|
||||
</div>
|
||||
|
||||
<div class="col-xl-3 d-flex form flex-column justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<h1><i class="bx bx-user" style="color: #ffffff"></i></h1>
|
||||
<p class="message">You are currently:
|
||||
<br>
|
||||
<br>
|
||||
{% 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 %}
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-xl-2 form">
|
||||
<h1><i class="bx bx-user" style="color: #ffffff"></i></h1>
|
||||
<p class="message">You are currently:
|
||||
<br>
|
||||
<br>
|
||||
{% 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 %}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-xl-3 d-flex form flex-column justify-content-center">
|
||||
<div class="col-md-12">
|
||||
<h1><i class="bx bx-pen" style="color: #ffffff"></i></h1>
|
||||
<p class="message">Write new article:</p><br>
|
||||
<a href="{% url 'articles:new_article' %}"><button type="submit">Write</button></a>
|
||||
</div>
|
||||
<div class="col-xl-3 form">
|
||||
<h1><i class="bx bx-pen" style="color: #ffffff"></i></h1>
|
||||
<p class="message">Write new article:</p><br>
|
||||
<a href="{% url 'articles:new_article' %}"><button type="submit">Write</button></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue