ok here we go, the beginning of user profiles. for now we assume there is a single hard-coded user root
This commit is contained in:
@@ -18,6 +18,9 @@
|
||||
<body>
|
||||
<div id="header">
|
||||
<a href="/">arxiv-sanity</a>
|
||||
<a href="/profile" id="login-link">
|
||||
{{ user if user else 'login' }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% block content %}
|
||||
|
||||
@@ -65,8 +65,10 @@ var gvars = {{ gvars | tojson }};
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if user %}
|
||||
<div id="tagwrap">
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="wrap">
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block variables %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="wrap">
|
||||
This is where the user gets to log in, or see information about their account if logged in.
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block elements %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user