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>
|
<title>Moneroj.net - Profile</title>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.login_page {
|
|
||||||
margin: 0 auto 25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.form {
|
.form {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: 20px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
margin-left: 20px;
|
|
||||||
margin-right: 20px;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: #313030;
|
background: #313030;
|
||||||
|
margin: 20px 20px 20px 20px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 20px
|
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 {
|
.form button {
|
||||||
font-family: "Roboto", Sans-serif;
|
font-family: "Roboto", Sans-serif;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
@ -62,9 +44,6 @@
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
}
|
}
|
||||||
|
|
||||||
.form .register_form {
|
|
||||||
display: none
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
{% endblock header %}
|
{% endblock header %}
|
||||||
|
@ -79,29 +58,25 @@
|
||||||
<h3>Write and submit your articles for approval.</h3>
|
<h3>Write and submit your articles for approval.</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xl-3 d-flex form flex-column justify-content-center">
|
<div class="col-xl-2 form">
|
||||||
<div class="col-md-12">
|
<h1><i class="bx bx-user" style="color: #ffffff"></i></h1>
|
||||||
<h1><i class="bx bx-user" style="color: #ffffff"></i></h1>
|
<p class="message">You are currently:
|
||||||
<p class="message">You are currently:
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
{% if request.user.profile.type == 'user' %}
|
||||||
{% if request.user.profile.type == 'user' %}
|
User / writer
|
||||||
User / writer
|
{% elif request.user.profile.type == 'editor' %}
|
||||||
{% elif request.user.profile.type == 'editor' %}
|
Editor and writer
|
||||||
Editor and writer
|
{% elif request.user.profile.type == 'admin' %}
|
||||||
{% elif request.user.profile.type == 'admin' %}
|
Administrator
|
||||||
Administrator
|
{% endif %}
|
||||||
{% endif %}
|
</p>
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xl-3 d-flex form flex-column justify-content-center">
|
<div class="col-xl-3 form">
|
||||||
<div class="col-md-12">
|
<h1><i class="bx bx-pen" style="color: #ffffff"></i></h1>
|
||||||
<h1><i class="bx bx-pen" style="color: #ffffff"></i></h1>
|
<p class="message">Write new article:</p><br>
|
||||||
<p class="message">Write new article:</p><br>
|
<a href="{% url 'articles:new_article' %}"><button type="submit">Write</button></a>
|
||||||
<a href="{% url 'articles:new_article' %}"><button type="submit">Write</button></a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -32,9 +32,9 @@ STATICFILES_DIRS = [
|
||||||
SECRET_KEY = 'dafsdasdfasfa7sdfs9d7das7f9as7df8ad43525fsffdssdg455$$###77saf9df79as79s'
|
SECRET_KEY = 'dafsdasdfasfa7sdfs9d7das7f9as7df8ad43525fsffdssdg455$$###77saf9df79as79s'
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
#DEBUG = True
|
DEBUG = True
|
||||||
DEBUG = False
|
#DEBUG = False
|
||||||
STATIC_ROOT = "/var/www/moneropro/static/"
|
#STATIC_ROOT = "/var/www/moneropro/static/"
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['www.moneroj.net', 'localhost', '127.0.0.1', 'moneroj.net', 'ilt7jgmfro76wgrtt6752lvfnhcz6wk5sjqhyvntjixygp3cwpvr4nad.onion']
|
ALLOWED_HOSTS = ['www.moneroj.net', 'localhost', '127.0.0.1', 'moneroj.net', 'ilt7jgmfro76wgrtt6752lvfnhcz6wk5sjqhyvntjixygp3cwpvr4nad.onion']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue