base.html 1.76 KB
Newer Older
onny's avatar
onny committed
1
2
3
4
5
<!DOCTYPE html>
{% load staticfiles %}
<html lang="en">
<head>
    <meta charset="UTF-8">
onny's avatar
onny committed
6
	  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
    <link rel="shortcut icon" href="{% static 'img/favicon.ico' %}" type="image/x-icon" />
onny's avatar
onny committed
8
    <link rel="stylesheet" href="{% static 'css/main.css' %}">
9
    <title>openArt</title>
onny's avatar
onny committed
10
</head>
onny's avatar
onny committed
11
<body>
onny's avatar
onny committed
12

onny's avatar
onny committed
13
  <content id="app">
14
15
    <header>
        <div>
onny's avatar
onny committed
16
17
18
19
20
21
22
23
24
25
26
27
28
29
          <div class='logo'>
            <b><a href="/">[[ apptitle ]]</a></b>
            <br>
            <small>Tech demo 0.1</small>
          </div>
          <div class='search'>
            <input type='text'>
          </div>
          <div class='lang'>
            <b>EN</b>
          </div>
          <div class='login'>
            <b><a href='/login'>SIGN IN</a></b>
          </div>
30
31
32
33
34
        </div>
    </header>
      <div id="sidebar">
        <a href="/artists">Artists</a><br>
        <a href="/projects">Projects</a><br>
onny's avatar
onny committed
35
36
37
        <a href="/entries">Entries</a><br>
        <a href="/media">Media</a><br><br>
        {% if authenticated %}
38
        <a href="/add">Add</a><br>
onny's avatar
onny committed
39
        {% endif %}
40
41
42
43
44
45
46
47
48
49
50
51
      </div>
        <main>
          {% block jobs %}
          {% endblock %}
        </main>
      <footer>
          <div>
            openArt
            <br>
            <small>Tech demo 0.1</small>
          </div>
      </footer>
onny's avatar
onny committed
52
  </content>
onny's avatar
onny committed
53

onny's avatar
onny committed
54
55
    <!-- <script type="text/javascript" src="{% static 'js/vue-2.6.10.min.js' %}"></script> -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
onny's avatar
onny committed
56
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
onny's avatar
onny committed
57
    <script type="text/javascript" src="{% static 'js/vue-resource-1.5.1.min.js' %}"></script>
onny's avatar
onny committed
58
    <script type="text/javascript" src="{% static 'js/main.js' %}"></script>
onny's avatar
onny committed
59
</body>
onny's avatar
onny committed
60
</html>