-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.html
More file actions
37 lines (37 loc) · 1.15 KB
/
base.html
File metadata and controls
37 lines (37 loc) · 1.15 KB
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
<!DOCTYPE html>
<html>
<head>
<title>{{title}}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<link href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
{% block scriptblock %}
{% endblock %}
</head>
<body>
<div data-role="page" class="type-interior" id="{{pageid}}">
<script type="text/javascript">
$( '#{{pageid}}' ).live( 'pageinit',function(event){
{% block mobileinitblock %}
{% endblock %}
});
</script>
<div data-role="header" data-position="fixed">
{% block header %}
<h1>{{title}}</h1>
<a rel="external" href="{{home_url}}" data-icon="home" data-direction="reverse" class="ui-btn-right jqm-home">{{home}}</a>
{% endblock %}
</div>
<div data-role="contents">
{% block content %}
{% endblock %}
</div>
<div data-role="footer"data-position="fixed">
{% block footer %}
{% endblock %}
</div>
</div>
</body>
</html>