base.html 5.68 KB
Newer Older
1
{% load i18n %}
2
3
4
<!DOCTYPE html>
<html>
<head>
5
<title>{% block title %}eduroam | {{COUNTRY_CODE}}{% endblock %} : {% block currentpagetitle %}{% endblock %}</title>
6
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
7

8
<link href="/static/css/style.css" rel="stylesheet">
9
10
11
12
13
14
15
16


<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link REL="shortcut icon" HREF="/static/img/favicon.ico"> 
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/img/edu144-icon.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/img/edu114-icon.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/img/edu72-icon.png">
<link rel="apple-touch-icon-precomposed" href="/static/img/edu-icon.png">
17
<style type="text/css">
18
body {
19
20
	padding-top: 90px;
	/*padding-bottom: 60px;*/
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
}

.sidebar-nav {
	padding: 9px 0;
}

.headtitle {
	font-family: "Franklin Gothic Demi", "Franklin Gothic",
		"ITC Franklin Gothic", Arial, sans-serif;
	letter-spacing: -1px;
}

#logotitle,#logotitle.a {
	color: #656565;
	font-size: 18px;
	font-weight: bold;
	left: 105px;
	position: relative;
	top: 60px;
	font-family: "Franklin Gothic Demi", "Franklin Gothic",
		"ITC Franklin Gothic", Arial, sans-serif;
	letter-spacing: -1px;
	width: 300px;
}
.navbar .brand { max-height: 40px; overflow: visible;padding-top: 0;padding-bottom: 0; }
46
47
48
49
.dropdown-menu.loginoptions a {
    width: 80px;
    display: inline-table;
}
50
</style>
51
<link href="/static/css/bootstrap-responsive.min.css" rel="stylesheet">
52
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
53
54
55
56
57
58
59
60
61
<script src="/static/js/bootstrap.min.js"></script>
<script type="text/javascript">

  	function setlang(lang){
		$("#langsel").val(lang);
		$("#langform").submit();
	}

</script>
62
{% block extrahead %}{% endblock %}
63
64
</head>
<body>
65

66
<div class="navbar navbar-fixed-top">
67

68
<div class="navbar-inner">
69
70
71
72
73
74
75
76
77
    <div class="container-fluid" style="padding-left: 0px; width: auto;">
    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
        <a class="brand visible-desktop" href="{% block logourl %}{% url index %}{% endblock %}"><img src="/static/img/logo_holder.png" /></a>
        <a class="brand hidden-desktop" href="{% url index %}"><img src="/static/img/logo_small.png" /></a>
        <div class="nav-collapse collapse">
78
    {% block topmenu %}
79
    <ul class="nav">
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
80
        <li {% block hometop %}{% endblock %}>
81
            <a href="{% url index %}">{% trans "Home" %}</a>
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
82
        </li>
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
83
        <li {% block faqtop %}{% endblock %}>
84
85
            <a href="/faq/{{LANGUAGE_CODE}}/">FAQ</a>
        </li>
86
87
88
        
        
        {% include "front/management_dropdown.html" %}
89
90

    </ul>
91
    {% endblock %}
92
93
94
    <ul class="nav pull-right">
         <li class="dropdown pull-right">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">{% trans "Language" %}: {% for lang in LANGUAGES %}{% ifequal LANGUAGE_CODE lang.0 %}{% trans lang.1 %}{% endifequal %}{% endfor %}<b class="caret"></b></a>
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
95
            <ul class="dropdown-menu">
96
97
98
99
100
101
            <form action="{% url django.views.i18n.set_language %}" method="post" style="display:inline;" id="langform">
								{% csrf_token %}
								<input name="next" type="hidden" value="{{ next }}" />
								<input id="langsel" name="language" type="hidden" value="" />
							</form>
            	{% for lang in LANGUAGES %}
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
102
                <li>
103
                    <a class="select_lang" href="#" onclick="setlang('{{ lang.0 }}'); return false;" title="{{lang.1}}">{% trans lang.1 %}{% ifequal LANGUAGE_CODE lang.0 %}  <i class="icon-ok"></i>{% endifequal %}</a>
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
104
                </li>
105
              {% endfor %}
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
106
107
            </ul>
        </li>
108
        <li class="hidden-phone">
109
            <a href="{{DOMAIN_MAIN_URL}}" style="padding: 0px; margin: 0px;"><img src="/static/img/right_logo_small.png"></a>
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
110
        </li>
111
    </ul>
112
        </div>
113
114
115
    </div>    
</div>
</div>
116

117
	{% block content %}
118
119
	<div class="container-fluid">
      <div class="row-fluid">
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
120
        <div class="span2">
121
122
          <div class="well sidebar-nav">
            <ul class="nav nav-list">
Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
123
124
            
              <li {% block homepage %}{% endblock %}><a href="{% url index %}">{% trans "Home" %}</a></li>
125
126
127
128
              <li class="nav-header">{% trans "USERS" %}</li>
              <li {% block whatis %}{% endblock %}><a href="/what/{{LANGUAGE_CODE}}/">{% trans "The service" %}</a></li>
              <li {% block faq %}{% endblock %}><a href="/faq/{{LANGUAGE_CODE}}/">FAQ</a></li>
              <li class="nav-header">{% trans "INSTITUTIONS" %}</li>
129
              <li {% block mgmt %}{% endblock %}><a href="{% url managementPage %}">{% trans "Management" %}</a></li>
130
              <li class="nav-header">{% trans "SERVICE" %}</li>
131
              <li {% block closest %}{% endblock %}><a href="{% url geolocate %}" target="about:blank()">{% trans "Closest eduroam" %}</a></li>
132
              <li {% block world %}{% endblock %}><a href="{% url world %}">{% trans "World eduroam" %}</a></li>
133
              <li {% block participants %}{% endblock %}><a href="{% url participants %}">{% trans "Participants" %}</a></li>
134
             
135
136
            </ul>
          </div><!--/.well -->
137
          <div class="hidden-phone"><img src="/static/img/keep_calm_eduroam_small.png"></div>
138
139
140
        </div><!--/span-->


Leonidas Poulopoulos's avatar
Leonidas Poulopoulos committed
141
142
143
144
145
146
147
148
149
150
		<div class="span10">
			<div class="row-fluid">
				<!--/span-->
				
					{% block subcontent %}
					{% endblock %}
				
				<!--/span-->
			</div><!--/row-->
		</div><!--/span-->
151
152
153
      </div><!--/row-->
    </div><!--/.fluid-container-->
	{% endblock %}
154
	{% include "footer.html" %}
155
</body>
Zenon Mousmoulas's avatar
Zenon Mousmoulas committed
156
</html>