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:
Andrej Karpathy
2021-11-26 11:07:16 -08:00
parent dc55146e03
commit 54157c6e9c
6 changed files with 86 additions and 27 deletions
+3
View File
@@ -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 %}
+2
View File
@@ -65,8 +65,10 @@ var gvars = {{ gvars | tojson }};
</div>
</div>
{% if user %}
<div id="tagwrap">
</div>
{% endif %}
<div id="wrap">
</div>
+13
View File
@@ -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 %}