mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -05:00
adjusting templates to use new css
This commit is contained in:
parent
0a1558df68
commit
51ebfee3a1
@ -31,11 +31,10 @@
|
|||||||
content="A brutalist, web-1.0 web client for Mastodon and Pleroma. Supports text-only browsers like Lynx, older browsers, as well as the latest mainstream browsers. All JavaScript is completely optional and progressively enhances the core application.">
|
content="A brutalist, web-1.0 web client for Mastodon and Pleroma. Supports text-only browsers like Lynx, older browsers, as well as the latest mainstream browsers. All JavaScript is completely optional and progressively enhances the core application.">
|
||||||
<!-- Minified version -->
|
<!-- Minified version -->
|
||||||
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
|
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
|
||||||
|
<link rel="stylesheet" href="{% static 'css/brutal-css.css' %}">
|
||||||
{% if not preferences %}
|
{% if not preferences %}
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="{% static 'css/magnific-popup.css' %}">
|
href="{% static 'css/magnific-popup.css' %}">
|
||||||
<link rel="stylesheet"
|
|
||||||
href="{% static 'css/simple.css' %}">
|
|
||||||
<link rel="stylesheet" href="{% static "css/brutaldon.css" %}">
|
<link rel="stylesheet" href="{% static "css/brutaldon.css" %}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
@ -67,27 +66,24 @@
|
|||||||
{% block navbar %}
|
{% block navbar %}
|
||||||
<nav role="navigation"
|
<nav role="navigation"
|
||||||
aria-label="main navigation">
|
aria-label="main navigation">
|
||||||
<div>
|
<span>
|
||||||
<a href="{% url "home" %}">
|
<a href="{% url "home" %}">
|
||||||
{% if own_acct %}
|
{% if own_acct %}
|
||||||
<img src="{{ own_acct.avatar_static }}"
|
<img class="avatar" src="{{ own_acct.avatar_static }}"
|
||||||
alt="Brutaldon ('{{ own_acct.username }}')">
|
alt="Brutaldon ('{{ own_acct.username }}')">
|
||||||
{% else %}
|
{% else %}
|
||||||
<img loading="lazy" src="{% static "images/brutaldon.png" %}"
|
<img class="avatar" loading="lazy" src="{% static "images/brutaldon.png" %}"
|
||||||
alt="Brutaldon">
|
alt="Brutaldon">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</span>
|
||||||
{% if request.session.active_instance and request.session.active_username %}
|
{% if request.session.active_instance and request.session.active_username %}
|
||||||
<div>
|
|
||||||
<!-- navbar start, navbar end -->
|
<!-- navbar start, navbar end -->
|
||||||
<div>
|
<span>
|
||||||
<a href="{% url "home" %}">
|
<a href="{% url "home" %}">
|
||||||
<span class="fa fa-home"></span>
|
|
||||||
<span>Home</span>
|
<span>Home</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url "note" %}">
|
<a href="{% url "note" %}">
|
||||||
<span class="fa fa-bell"></span>
|
|
||||||
{% if preferences.notifications and not preferences.theme.is_brutalist %}
|
{% if preferences.notifications and not preferences.theme.is_brutalist %}
|
||||||
<span ic-src="{% url 'notes_count' %}"
|
<span ic-src="{% url 'notes_count' %}"
|
||||||
ic-poll="{{ preferences.poll_frequency }}s"
|
ic-poll="{{ preferences.poll_frequency }}s"
|
||||||
@ -109,29 +105,22 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url "local" %}">
|
<a href="{% url "local" %}">
|
||||||
<span class="fa fa-community"></span>
|
|
||||||
<span >Local</span>
|
<span >Local</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url "fed" %}">
|
<a href="{% url "fed" %}">
|
||||||
<span class="fa fa-globe"></span>
|
|
||||||
<span >Federated</span>
|
<span >Federated</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url "toot" %}"
|
<a href="{% url "toot" %}"
|
||||||
<span class="fa fa-edit"> </span>
|
|
||||||
<span >New Toot</span>
|
<span >New Toot</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url "search" %}"
|
<a href="{% url "search" %}"
|
||||||
<span class="fa fa-search"> </span>
|
|
||||||
<span >Search</span>
|
<span >Search</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</span>
|
||||||
<div>
|
|
||||||
<a href="{% url "settings" %}">
|
<a href="{% url "settings" %}">
|
||||||
<span class="fa fa-gear"></span>
|
|
||||||
<span >Settings</span>
|
<span >Settings</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="{% url "accounts" %}">
|
<a href="{% url "accounts" %}">
|
||||||
<span class="fa fa-id-card-o"> </span>
|
|
||||||
<span >Accounts</span>
|
<span >Accounts</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<a href="{% url "user" own_acct.acct %}" >
|
<a href="{% url "user" own_acct.acct %}" >
|
||||||
<img src="{{ own_acct.avatar_static }}" alt="[{{ own_acct.acct }}]">
|
<img class="avatar" src="{{ own_acct.avatar_static }}" alt="[{{ own_acct.acct }}]">
|
||||||
</a>
|
</a>
|
||||||
<input type="submit"
|
<input type="submit"
|
||||||
name="toot" value="Toot">
|
name="toot" value="Toot">
|
||||||
|
@ -123,7 +123,7 @@
|
|||||||
<div >
|
<div >
|
||||||
<div >
|
<div >
|
||||||
<a href="{% url "user" own_acct.acct %}" >
|
<a href="{% url "user" own_acct.acct %}" >
|
||||||
<img src="{{ own_acct.avatar_static }}" alt="[{{ own_acct.acct }}]">
|
<img class="avatar" src="{{ own_acct.avatar_static }}" alt="[{{ own_acct.acct }}]">
|
||||||
</a>
|
</a>
|
||||||
<input type="submit"
|
<input type="submit"
|
||||||
name="toot" value="Toot">
|
name="toot" value="Toot">
|
||||||
|
Loading…
Reference in New Issue
Block a user