forked from mirrors/bookwyrm
tidy templates
This commit is contained in:
parent
027520d923
commit
5bbd6faa8b
2 changed files with 7 additions and 7 deletions
|
@ -39,7 +39,7 @@
|
||||||
{{ user.display_name }}
|
{{ user.display_name }}
|
||||||
{% if user.manually_approves_followers %}
|
{% if user.manually_approves_followers %}
|
||||||
<span class="icon icon-lock is-size-7" title="{% trans 'Locked account' %}">
|
<span class="icon icon-lock is-size-7" title="{% trans 'Locked account' %}">
|
||||||
<span class="is-sr-only">{% trans "Locked account" %}</span>
|
<span class="is-sr-only">{% trans 'Locked account' %}</span>
|
||||||
</span>
|
</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
</a>
|
</a>
|
||||||
<form name="follow" method="post" action="{% url 'follow' %}/?next={% url 'ostatus-success' %}?following={{ user.username }}">
|
<form name="follow" method="post" action="{% url 'follow' %}/?next={% url 'ostatus-success' %}?following={{ user.username }}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input name="user" value={{ user.username }} hidden>
|
<input name="user" value="{{ user.username }}" hidden>
|
||||||
<button class="button is-link" type="submit">{% blocktrans with username=user.display_name %}Follow {{ username }}{% endblocktrans %}</button>
|
<button class="button is-link" type="submit">{% blocktrans with username=user.display_name %}Follow {{ username }}{% endblocktrans %}</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
<head>
|
<head>
|
||||||
<title>{% block title %}{% endblock %}</title>
|
<title>{% block title %}{% endblock %}</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="{% static "css/vendor/bulma.min.css" %}">
|
<link rel="stylesheet" href="{% static 'css/vendor/bulma.min.css' %}">
|
||||||
<link rel="stylesheet" href="{% static "css/vendor/icons.css" %}">
|
<link rel="stylesheet" href="{% static 'css/vendor/icons.css' %}">
|
||||||
<link rel="stylesheet" href="{% static "css/bookwyrm.css" %}">
|
<link rel="stylesheet" href="{% static 'css/bookwyrm.css' %}">
|
||||||
<script>
|
<script>
|
||||||
function closeWindow() {
|
function closeWindow() {
|
||||||
window.close();
|
window.close();
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<nav class="navbar" aria-label="main navigation">
|
<nav class="navbar" aria-label="main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
<img class="image logo navbar-item" src="{% if site.logo_small %}{% get_media_prefix %}{{ site.logo_small }}{% else %}{% static "images/logo-small.png" %}{% endif %}" alt="Home page">
|
<img class="image logo navbar-item" src="{% if site.logo_small %}{% get_media_prefix %}{{ site.logo_small }}{% else %}{% static 'images/logo-small.png' %}{% endif %}" alt="Home page">
|
||||||
<h2 class="navbar-item subtitle">{% block heading %}{% endblock %}</h2>
|
<h2 class="navbar-item subtitle">{% block heading %}{% endblock %}</h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -36,6 +36,6 @@
|
||||||
<script>
|
<script>
|
||||||
var csrf_token = '{{ csrf_token }}';
|
var csrf_token = '{{ csrf_token }}';
|
||||||
</script>
|
</script>
|
||||||
<script src="{% static "js/bookwyrm.js" %}?v={{ js_cache }}"></script>
|
<script src="{% static 'js/bookwyrm.js' %}?v={{ js_cache }}"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue