2018-05-13 18:18:09 +02:00
|
|
|
{% load static %}
|
|
|
|
|
2018-04-24 00:16:22 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2018-08-30 21:21:51 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>
|
|
|
|
{% block title %}
|
|
|
|
{% if own_acct %}
|
2018-09-03 23:28:45 +02:00
|
|
|
brutaldon ('{{ own_acct.username }}')
|
2018-08-30 21:21:51 +02:00
|
|
|
{% else %}
|
|
|
|
brutaldon
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}</title>
|
|
|
|
{% if not preferences %}
|
|
|
|
<link rel="stylesheet"
|
|
|
|
href="{% static 'css/bulma.min.css' %}">
|
|
|
|
<link rel="stylesheet"
|
|
|
|
href="{% static 'css/fork-awesome.min.css' %}">
|
|
|
|
<link rel="stylesheet" href="{% static "css/brutaldon.css" %}">
|
|
|
|
{% else %}
|
|
|
|
<link rel="stylesheet"
|
|
|
|
href="{% static preferences.theme.main_css %}">
|
|
|
|
<link rel="stylesheet" href="{% static preferences.theme.tweaks_css %}">
|
|
|
|
{% if not preferences.theme.is_brutalist %}
|
|
|
|
<link rel="stylesheet"
|
|
|
|
href="{% static 'css/fork-awesome.min.css' %}">
|
2018-08-31 00:33:20 +02:00
|
|
|
<script type="text/javascript" src="{% static 'js/jquery.min.js' %}"></script>
|
2018-09-03 23:31:51 +02:00
|
|
|
<script type="text/javascript" src="{% static 'js/intercooler.min.js' %}"></script>
|
2018-09-03 23:28:45 +02:00
|
|
|
<script type="text/javascript" src="{% static 'js/brutaldon-enhancements.js' %}"></script>
|
2018-08-30 21:21:51 +02:00
|
|
|
{% block page_scripts %}
|
|
|
|
{% endblock %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2018-07-18 19:33:16 +02:00
|
|
|
{% if own_acct %}
|
2018-08-30 21:21:51 +02:00
|
|
|
<link rel="icon" href="{{ own_acct.avatar_static }}">
|
2018-07-18 19:33:16 +02:00
|
|
|
{% else %}
|
2018-08-30 21:21:51 +02:00
|
|
|
<link rel="icon" href="{% static "images/brutaldon.png" %}" type="image/png">
|
2018-07-18 19:33:16 +02:00
|
|
|
{% endif %}
|
2018-08-30 21:21:51 +02:00
|
|
|
</head>
|
2018-08-31 00:49:12 +02:00
|
|
|
<body class="has-navbar-fixed-top"
|
|
|
|
ic-global-include='{"csrfmiddlewaretoken": "{{ csrf_token }}"}'>
|
2018-08-30 21:21:51 +02:00
|
|
|
{% block navbar %}
|
|
|
|
<nav class="navbar is-fixed-top" role="navigation"
|
|
|
|
aria-label="main navigation">
|
|
|
|
<div class="navbar-brand">
|
|
|
|
<a class="navbar-item" href="{% url "home" %}">
|
|
|
|
{% if own_acct %}
|
|
|
|
<img src="{{ own_acct.avatar_static }}"
|
|
|
|
class="image is-32x32 avatar"
|
2018-09-03 23:28:45 +02:00
|
|
|
alt="Brutaldon ('{{ own_acct.username }}')">
|
2018-08-30 21:21:51 +02:00
|
|
|
{% else %}
|
|
|
|
<img src="{% static "images/brutaldon.png" %}"
|
|
|
|
class="image is-32x32" alt="Brutaldon">
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% if request.session.instance %}
|
|
|
|
{% if request.session.username or request.session.access_token %}
|
|
|
|
<div class="navbar-menu is-active" id="navMenu">
|
|
|
|
<!-- navbar start, navbar end -->
|
|
|
|
<div class="navbar-start">
|
2018-09-03 16:03:27 +02:00
|
|
|
<a href="{% url "home" %}" class="navbar-item"
|
2018-09-03 18:23:38 +02:00
|
|
|
ic-get-from="{% url "home" %}"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-target="#main"
|
|
|
|
ic-select-from-response="#main"
|
|
|
|
ic-push-url="true"
|
2018-09-03 23:28:45 +02:00
|
|
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Home');"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-indicator="#page-load-indicator">
|
2018-08-30 21:21:51 +02:00
|
|
|
<span class="fa fa-home"></span>
|
|
|
|
<span> Home</span>
|
|
|
|
</a>
|
2018-09-03 16:03:27 +02:00
|
|
|
<a class="navbar-item" href="{% url "note" %}"
|
2018-09-03 18:23:38 +02:00
|
|
|
ic-get-from="{% url "note" %}"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-target="#main"
|
|
|
|
ic-select-from-response="#main"
|
|
|
|
ic-push-url="true"
|
2018-09-03 23:28:45 +02:00
|
|
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Notifications');"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-indicator="#page-load-indicator">
|
2018-08-30 21:21:51 +02:00
|
|
|
<span class="fa fa-bell-o"></span>
|
|
|
|
<span > Notifications</span>
|
|
|
|
</a>
|
2018-09-03 16:03:27 +02:00
|
|
|
<a class="navbar-item" href="{% url "local" %}"
|
2018-09-03 18:23:38 +02:00
|
|
|
ic-get-from="{% url "local" %}"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-target="#main"
|
|
|
|
ic-select-from-response="#main"
|
|
|
|
ic-push-url="true"
|
2018-09-03 23:28:45 +02:00
|
|
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Local timeline');"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-indicator="#page-load-indicator">
|
2018-08-30 21:21:51 +02:00
|
|
|
<span class="fa fa-community"></span>
|
|
|
|
<span > Local</span>
|
|
|
|
</a>
|
2018-09-03 16:03:27 +02:00
|
|
|
<a class="navbar-item" href="{% url "fed" %}"
|
2018-09-03 18:23:38 +02:00
|
|
|
ic-get-from="{% url "fed" %}"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-target="#main"
|
|
|
|
ic-select-from-response="#main"
|
|
|
|
ic-push-url="true"
|
2018-09-03 23:28:45 +02:00
|
|
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Federated timeline');"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-indicator="#page-load-indicator">
|
2018-08-30 21:21:51 +02:00
|
|
|
<span class="fa fa-globe"></span>
|
|
|
|
<span > Federated</span>
|
|
|
|
</a>
|
2018-09-03 16:03:27 +02:00
|
|
|
<a class="navbar-item" href="{% url "toot" %}"
|
2018-09-03 18:23:38 +02:00
|
|
|
ic-get-from="{% url "toot" %}"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-target="#main"
|
|
|
|
ic-select-from-response="#main"
|
|
|
|
ic-push-url="true"
|
2018-09-03 23:28:45 +02:00
|
|
|
ic-on-success="afterPage('{{ own_acct.username }}', 'New toot');"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-indicator="#page-load-indicator">
|
2018-08-30 21:21:51 +02:00
|
|
|
<span class="fa fa-edit"> </span>
|
|
|
|
<span > New Toot</span>
|
|
|
|
</a>
|
2018-09-03 16:03:27 +02:00
|
|
|
<a class="navbar-item" href="{% url "search" %}"
|
2018-09-03 18:23:38 +02:00
|
|
|
ic-get-from="{% url "search" %}"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-target="#main"
|
|
|
|
ic-select-from-response="#main"
|
|
|
|
ic-push-url="true"
|
2018-09-03 23:28:45 +02:00
|
|
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Search');"
|
2018-09-03 16:03:27 +02:00
|
|
|
ic-indicator="#page-load-indicator">
|
2018-08-30 21:21:51 +02:00
|
|
|
<span class="fa fa-search"> </span>
|
|
|
|
<span > Search</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="navbar-end" >
|
|
|
|
<a class="navbar-item" href="{% url "settings" %}">
|
|
|
|
<span class="fa fa-gear"></span>
|
|
|
|
<span > Settings</span>
|
|
|
|
</a>
|
|
|
|
<a class="navbar-item" href="{% url "logout" %}">
|
|
|
|
<span class="fa fa-power-off"></span>
|
|
|
|
<span > Log out</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</nav>
|
|
|
|
{% endblock %}
|
2018-09-03 16:03:27 +02:00
|
|
|
<div id="page-load-indicator" class="ic-use-transition"> </div>
|
2018-09-05 03:36:14 +02:00
|
|
|
<section id="main" class="section" ic-history-elt="true">
|
2018-08-30 21:21:51 +02:00
|
|
|
<div class="container">
|
|
|
|
{% block content %}
|
|
|
|
<h1 class="title">
|
|
|
|
Title
|
|
|
|
</h1>
|
|
|
|
<p class="subtitle">
|
|
|
|
Brutaldon is totally a thing.
|
|
|
|
</p>
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
<div class="level">
|
|
|
|
<div class="level-left">
|
|
|
|
<a class="level-item is-size-7" href="{% url "about" %}">
|
|
|
|
About
|
|
|
|
</a>
|
|
|
|
<a class="level-item is-size-7" href="https://github.com/jfmcbrayer/brutaldon">
|
|
|
|
Source
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="level-right">
|
|
|
|
{% if preferences.theme.is_brutalist %}
|
|
|
|
<img class="level-item" src="{% static '/images/lynx.gif' %}"
|
|
|
|
alt="Lynx Now!">
|
|
|
|
<img class="level-item" src="{% static '/images/now9.gif' %}"
|
|
|
|
alt="Netscape Now!">
|
|
|
|
{% endif %}
|
|
|
|
<a class="level-item is-size-7" href="{% url "privacy" %}">
|
|
|
|
Privacy
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
{% if not preferences.theme.is_brutalist %}
|
|
|
|
|
|
|
|
<script type="application/javascript">
|
2018-09-03 23:28:45 +02:00
|
|
|
document.addEventListener('DOMContentLoaded', menuPrepare);
|
2018-08-30 21:21:51 +02:00
|
|
|
</script>
|
|
|
|
{% block page_scripts_inline %}
|
2018-08-28 18:22:20 +02:00
|
|
|
{% endblock %}
|
2018-08-30 21:21:51 +02:00
|
|
|
|
2018-08-28 18:22:20 +02:00
|
|
|
{% endif %}
|
2018-08-30 21:21:51 +02:00
|
|
|
|
|
|
|
</body>
|
2018-04-24 00:16:22 +02:00
|
|
|
</html>
|