blob: 50749cbe9824de841a0360e7dbdd53226c11315c (
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
99
100
101
102
103
|
{% 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>{% block pagetitle %}{% endblock %}TKNotes</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="TKNote taking for writers">
<meta property="og:description" content="TkNote taking for writers">
<meta property="og:site_name" content="TKNotes">
<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="">
<script async src="/media/js/main.min.js?{%now "u"%}"></script>
</head>
<body class="{% block bodyclass %}{% endblock %}">
<div class="head-wrapper">
<header>
<nav class="left">
<ul>{% if not request.user.is_anonymous %}
<li><a class="circle plus" href="{%url 'notes:create' %}" title="Add a new note">New</a></li>
<li><a href="{%url 'notes:list' %}" title="View all your notes">Notes</a></li>
<li><a id="notebook-menu-link" href="{%url 'notebooks:list' %}" title="view your notebooks">Notebooks</a>
<div id="notebooks-menu" class="dropmenu">
<ul id="notebooks-menu-list" class="list-style-none vertical">
{% for object in user.profile.get_notebook_list %}
<li><a href="{{object.get_absolute_url}}" title="view all notes in the notebook {{object.name}}"><span class="color-box" style="background-color: {{object.color_rgb}}"></span>{{object}}</a>
{% endfor %}
<li class="menu-divider">
<a href="{% url 'notebooks:list' %}">Edit/Add Notebook</a>
</li></ul>
</div>
</li>{%else%}
<li><a href="/" title="">Home</a></li>{%endif%}
</ul>
</nav>
<div class="logo"></div>
<nav class="right {% if request.user.is_anonymous %}nologin{% endif %}">
<ul>
<li><a href="{% url 'forum:topic-list' %}" title="View the TKNote Forum">Forum</a></li>
<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="/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">{% csrf_token %}
<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>© 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%}
{% block jsinclude %}{%endblock%}
<script>
document.addEventListener("DOMContentLoaded", function () {
{% block jsdomready %}{%endblock%}
// Notebook menu
});
</script>
</body>
|