Revision 13858d75 astakos/im/templates/base.html

b/astakos/im/templates/base.html
1
<!DOCTYPE html>
2
<html>
1
<!doctype html>
2
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
3
<!--[if IE 7 ]>    <html lang="en" class="no-js ie7"> <![endif]-->
4
<!--[if IE 8 ]>    <html lang="en" class="no-js ie8"> <![endif]-->
5
<!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
3 6
<head>
4
  <meta charset="utf-8" />
5
  <title>{{ title|default:"Astakos Login" }}</title>
6
  <link rel="stylesheet" href="/im/static/bootstrap.css">
7
  <script src="/im/static/jquery.js"></script>
8
  <script src="/im/static/jquery.tablesorter.js"></script>
9
  <script src="/im/static/main.js"></script>
10
  {% block head %}{% endblock %}
11
</head>
12
<body>
13
  <div class="container">
14
    <div style="padding: 5px 0px 0px 0px">
15
      <img src="/im/static/banner.png" width="900" height="200">
16
    </div>
17
    {% block title %}{% endblock %}
7
  {% block starthead %}{% endblock starthead %}
8
  <meta charset="UTF-8">
9
  
10
  <meta http-equiv="X-UA-Compatible" content="{{ resource.meta.compatibility }}">
11
  
12
  <title>
13
     {% block page.title %}{% endblock %} / GRNET Cloud Accounts 
14
  </title>
15
  
16
  <meta name="description" content="">
17
  <meta name="author" content="">
18
  <meta name="viewport" content="">
18 19
    
19
    {% if messages %}
20
    <ul class="messages">
21
        {% for message in messages %}
22
        <li{% if message.tags %} class="alert-message.{{ message.tags }}"{% endif %}>{{ message }}</li>
23
        {% endfor %}
24
    </ul>
25
    {% endif %}
20
  {% block page.js %}
21
  <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
22
  <!--[if lt IE 9]>
23
    <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
24
  <![endif]-->
25
  {% endblock %}
26
  
27
  {% block page.favicons %}
28
  <link rel="shortcut icon" href="">
29
  <link rel="apple-touch-icon" href="">
30
  {% endblock page.favicons %}
31

  
32
  {% block page.css %}
33
      <link href='http://fonts.googleapis.com/css?family=Antic' 
34
        rel='stylesheet' type='text/css'>
35
      <link rel="stylesheet" href="{{ IM_MEDIA_URL }}css/styles.css" 
36
        type='text/css'>
37
  {% endblock page.css %}
38

  
39
  {% block headjs %}
40
      <script src="{{ IM_MEDIA_URL }}js/modernizr-2.0.6.js"
41
          type="text/javascript"></script>
42
      <script src="{{ IM_MEDIA_URL }}js/jquery.js" 
43
          type="text/javascript"></script>
44
      <script src="{{ IM_MEDIA_URL }}js/jquery.infieldlabel.js" 
45
          type="text/javascript"></script>
46
      <script src="{{ IM_MEDIA_URL }}js/bootstrap-tooltip.js" 
47
          type="text/javascript"></script>
48
      <script src="{{ IM_MEDIA_URL }}js/form-errors.js" 
49
          type="text/javascript"></script>
50
  {% endblock headjs %}
51
  {% block endhead %}{% endblock endhead %}
26 52

  
27
    {% block tabs %}{% endblock %}
53
  <script type="text/javascript">
54
      $(document).ready(function() {
55
          $("form.innerlabels label").inFieldLabels();
56
          $("form input").attr('autocomplete', 'off');
57
          $("form .form-row").formErrors();
58
      })
59
  </script>
60
</head>
61

  
62
<body>
63
    <div class='container'>
64
        <div class='header'>
65
            <div class="mainlogo">
66
                <h1>accounts</h1>
67
            </div>
68
            
69
            <ul class="mainnav inline quicknav">
70
                {% block page.quicknav.items %}
71
                    <li class="{% block signup_class %}{% endblock %}">
72
                        <a href="{% url astakos.im.views.index %}">Login</a>
73
                    </li>
74
                    <li class="{% block signin_class %}{% endblock %}">
75
                        <a href="{% url astakos.im.views.signup %}">Sign up</a>
76
                    </li>
77
                {% endblock %}
78
            </ul>
28 79

  
29
    {% block body %}{% endblock %}
30
  </div>
80
            {% block page.nav %}
81
            <ul class="mainnav inline">
82
                {% block page.nav.items %}
83
                {% endblock %}
84
            </ul>
85
            {% endblock %}
86
        </div>
87
        <div class="page">
88
            {% block page.body %}
89
                <div class="maincol">
90
                    {% block body %}
91
                    {% endblock %}
92
                </div>
93
            {% endblock %}
94
        </div>
95
    </div>
96
    <div class="footer">
97
    </div>
31 98
</body>
32 99
</html>

Also available in: Unified diff