aboutsummaryrefslogtreecommitdiff
path: root/design/templates/base.html
blob: bb5471713869b78a76787777e6132b075545413c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{% load static %}<!DOCTYPE html>
<!--[if lt IE 8]>   <html class="lte8"> <![endif]-->
<!--[if IE 8]>     <html class="ie8 lte8"> <![endif]-->
<!--[if IE 9]>     <html class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"><!--<![endif]-->
<head>
<title>Note</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="Note taking for writers">
<meta property="og:description" content="Note taking for writers">
<meta property="og:site_name" content="Notes">
<meta property="og:image" content="">
<link rel="stylesheet" href="/media/screenv1.css?{%now "u"%}" type="text/css">
{% block extrastyles %}{%endblock%}
<link rel="icon" type="image/png" href="">
<!--<link rel="manifest" href="/webmanifest.json">-->
<link rel="apple-touch-icon" sizes="256x256" href="">
</head>
<body class="{% block bodyclass %}{% endblock %}">
    <div class="head-wrapper">
    <header>
    <nav class="left">
        <ul>{% if not request.user.is_anonymous %}
            <li><a href="{%url 'notes:note-list' user.username %}">Notes</a></li>
            <li><a id="notebook-menu-link" href="{%url 'notes:notebook-list' user.username %}" title="view notebooks">Notebooks</a>
                <div id="notebooks-menu" class="dropmenu">
                    <ul id="notebooks-menu-list" class="list-style-none vertical">{% for obj in user.profile.get_notebook_list %}
                        <li><a href="{{obj.get_absolute_url}}">{{obj}}</a></li>
                        {% endfor %}</ul>
                </div>
            </li>{%else%}
            <li><a href="/" title="">Home</a></li>{%endif%}
        </ul>
    </nav>
    <div class="logo"></div>
    <nav class="right">
        <ul>
            <li><a href="{% url 'pages' slug='tour' %}" title="">Tour</a></li>
            <li><a href="{% url 'pages' slug='howto' %}" title="">How to</a></li>{% if not request.user.is_anonymous %}
            <li><a id="account-menu" href="{% url 'settings' %}" title="">Account</a>
            <div id="user-menu" class="dropmenu" tabindex="-1">
                    <ul id="user-menu-list" class="list-style-none vertical">
                        <li><a href="/users/luxagraf/" class="">Your Notes</a></li>
                        <li><a href="/settings/" class="">Account settings</a></li>
                        <li><a href="/plans/" class="">Subscription plans</a></li>
                    </ul>
                    <ul class="menu-divider list-style-none">
                        <li>
                            <form action="/logout/" method="post">
                                <input type="hidden" name="a" value="3">
                                <button type="submit" value="Log out" class="btn-link">Log out</button>
                            </form>
                        </li>
                    </ul>
                </div>
            </li>{% else %}
            <li><a href="{% url 'login' %}" title="" id="overlay-trigger" data-element="#js-overlay-content">Login</a></li>
            <li><a href="{% url 'django_registration_register' %}" title="" class="btn">Get Started</a></li>{% endif %}
        </ul>
    </nav>
    </header>
    </div>
    <div class="wrapper">
        {%comment%}<ul class="breadcrumb" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
            <li>
                <a href="/" title="home" itemprop="url"><span itemprop="title">Home</span></a>
            </li>
            {% block breadcrumbs %}{% endblock %}
        </ul>{%endcomment%}
{% block content %}
{% endblock %}
    </div>
    <footer>
        <p>&copy; Arkhangelsk Software. Problems or questions? Contact <a href="{% url 'pages' slug='terms-of-service' %}" title="">support@notes.tld</a>.</p> 
    <nav>
        <ul>
            <li><a href="{% url 'pages' slug='terms-of-service' %}" title="">Terms of Service</a></li>
            <li><a href="{% url 'pages' slug='privacy' %}" title="">Privacy</a></li>
            <li><a href="{% url 'pages' slug='about' %}" title="">About</a></li>
            <li><a href="{% url 'pages' slug='faq' %}" title="">FAQ</a></li>
            <li><a href="{% url 'pages' slug='resources' %}" title="">Resources</a></li>
            <li><a href="{% url 'pages' slug='security' %}" title="">Security</a></li>
        </ul>
    </nav>
    </footer>
    {% block extra %}
    {%endblock%}
<script async src="/media/js/package.min.js"></script>
{% block jsinclude %}{%endblock%}
<script>


document.addEventListener("DOMContentLoaded", function () {
    {% block jsdomready %}{%endblock%}
    // Notebook menu
});
</script>
</body>