aboutsummaryrefslogtreecommitdiff
path: root/design/templates/base.html
blob: 6b6ef8cdd27ec04dc94b6c8248aa8b266b7b98f4 (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
<!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}}" type="text/css">
<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>
            <li><a href="/" title="">Home</a></li>
        </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 href="{% url 'settings' %}" title="">Account</a></li>
            <li><a href="{% url 'logout' %}" title="">Log out</a></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">
{% block content %}
{% endblock %}
    </div>
    <footer>
        <p>&copy; Luxagraf 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>
<script>
// Waiting for the DOM to load
document.addEventListener("DOMContentLoaded", function () {
  // Select your overlay trigger
  var trigger = document.querySelector('#overlay-trigger');
  trigger.addEventListener('click', function(e){
    e.preventDefault();
    novicell.overlay.create({
      'selector': trigger.getAttribute('data-element'),
      'class': 'selector-overlay',
      "onCreate": function() { console.log('created'); },
      "onLoaded": function() { console.log('loaded'); },
      "onDestroy": function() { console.log('Destroyed'); }
    });
  });
});
</script>
</body>