3ce3fe9 by Anon Ray at 2012-11-23 |
1 |
<!DOCTYPE html> |
|
2 |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> |
|
3 |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> |
|
4 |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> |
|
5 |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> |
4d591c1 by Anon Ray at 2013-01-21 |
6 |
<head> |
|
7 |
<meta charset="utf-8"> |
|
8 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
63c7919 by Anon Ray at 2013-05-30 |
9 |
<title> {{title}} </title> |
4d591c1 by Anon Ray at 2013-01-21 |
10 |
<meta name="description" content=""> |
|
11 |
<meta name="viewport" content="width=device-width"> |
3ce3fe9 by Anon Ray at 2012-11-23 |
12 |
|
4d591c1 by Anon Ray at 2013-01-21 |
13 |
<!-- Place favicon.ico in the root directory --> |
3ce3fe9 by Anon Ray at 2012-11-23 |
14 |
|
aea037e by Anon Ray at 2013-09-06 |
15 |
<link rel="stylesheet" href="{{url_for('static', filename='css/normalize.css')}}"> |
b4df542 by Anon Ray at 2013-09-06 |
16 |
<link rel="stylesheet" href="{{url_for('static', filename='css/bootstrap.css')}}"> |
aea037e by Anon Ray at 2013-09-06 |
17 |
<link rel="stylesheet" href="{{url_for('static', filename='css/mouchak.css')}}"> |
|
18 |
<link rel="stylesheet" href="{{url_for('static', filename='css/main.css')}}"> |
|
19 |
<script src="{{url_for('static', filename='js/lib/modernizr-2.6.1.min.js')}}"></script> |
4d591c1 by Anon Ray at 2013-01-21 |
20 |
</head> |
|
21 |
<body> |
|
22 |
<!--[if lt IE 7]> |
|
23 |
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p> |
|
24 |
<![endif]--> |
3ce3fe9 by Anon Ray at 2012-11-23 |
25 |
|
4d591c1 by Anon Ray at 2013-01-21 |
26 |
<div class="container" id="container"> |
d296833 by Anon Ray at 2013-05-20 |
27 |
<div id="header"> |
|
28 |
<div id="navigation"></div> |
|
29 |
</div> |
4d591c1 by Anon Ray at 2013-01-21 |
30 |
<div id="content-container"></div> |
7a60100 by Anon Ray at 2013-08-23 |
31 |
<div id="footer"> {{ footer|safe }} </div> |
4d591c1 by Anon Ray at 2013-01-21 |
32 |
</div> |
3ce3fe9 by Anon Ray at 2012-11-23 |
33 |
|
4d591c1 by Anon Ray at 2013-01-21 |
34 |
<script> |
|
35 |
//Code to initialize the framework |
|
36 |
window.M = window.M || {}; |
5c2775f by Anon Ray at 2013-09-06 |
37 |
M.MenuURL = function() { return "{{ url_for('updateMenu') }}"}; |
|
38 |
M.PageURL = function() { return "{{ url_for('insertPage') }}"; }; |
4a1fae7 by Anon Ray at 2013-05-09 |
39 |
M.site_content = {{ content|tojson|safe }}; |
4d591c1 by Anon Ray at 2013-01-21 |
40 |
window.onload = function() { |
4a1fae7 by Anon Ray at 2013-05-09 |
41 |
M.init(); |
4d591c1 by Anon Ray at 2013-01-21 |
42 |
}; |
|
43 |
</script> |
|
44 |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> |
aea037e by Anon Ray at 2013-09-06 |
45 |
<script>window.jQuery || document.write('<script src="{{url_for('static', filename='js/lib/jquery-1.8.0.min.js')}}"><\/script>')</script> |
|
46 |
<script src="{{url_for('static', filename='js/lib/underscore.js')}}"></script> |
|
47 |
<script src="{{url_for('static', filename='js/lib/backbone-1.0.0.js')}}"></script> |
|
48 |
<script src="{{url_for('static', filename='js/lib/bootstrap.js')}}"></script> |
|
49 |
<script src="{{url_for('static', filename='js/plugins.js')}}"></script> |
|
50 |
<script src="{{url_for('static', filename='js/mouchak.js')}}"></script> |
|
51 |
<script src="{{url_for('static', filename='js/models.js')}}"></script> |
|
52 |
<script src="{{url_for('static', filename='js/views.js')}}"></script> |
3ce3fe9 by Anon Ray at 2012-11-23 |
53 |
|
4d591c1 by Anon Ray at 2013-01-21 |
54 |
<!-- Underscore templates --> |
|
55 |
<script type="text/template" id="news-template"> |
|
56 |
<div id="feeds"> |
|
57 |
<img src="img/ajax-loader.gif" id="feeds-loader"/> |
|
58 |
</div> |
|
59 |
</script> |
|
60 |
<script type="text/template" id="news-item-template"> |
|
61 |
<div class="news-item-wrapper"> |
|
62 |
<div class="news-title"><%= title %></div> |
|
63 |
<a href="<%= link %>">Read More</a> |
|
64 |
</div> |
|
65 |
</script> |
899c2c7 by Anon Ray at 2013-01-25 |
66 |
|
d296833 by Anon Ray at 2013-05-20 |
67 |
<!-- navigation templates |
|
68 |
the ones with .nav-type can be used interchangbly to render different |
|
69 |
kinds of navigation bar / components |
|
70 |
one can add more |
|
71 |
--> |
|
72 |
<script type="text/template" id="nav-bar-template" class="nav-type"> |
|
73 |
<div class="navbar"> |
|
74 |
<div class="navbar-inner"> |
|
75 |
<!--a class="brand" href="#">Title</a--> |
|
76 |
<ul class="nav"></ul> |
|
77 |
</div> |
|
78 |
</div> |
|
79 |
</script> |
|
80 |
|
|
81 |
<script type="text/template" id="nav-pills-template" class="nav-type"> |
|
82 |
<div class="navigation"> |
899c2c7 by Anon Ray at 2013-01-25 |
83 |
<ul class="nav nav-pills"></ul> |
|
84 |
</div> |
|
85 |
</script> |
d296833 by Anon Ray at 2013-05-20 |
86 |
|
|
87 |
<script type="text/template" id="nav-item-template"> |
|
88 |
<li class="<%= cls %>"> |
|
89 |
<a href="#/<%=page%>"> <%= M.humanReadable(page) %> </a> |
|
90 |
</li> |
|
91 |
</script> |
|
92 |
|
4d591c1 by Anon Ray at 2013-01-21 |
93 |
<script type="text/template" id="nav-dropdown-template"> |
|
94 |
<li class="dropdown"> |
|
95 |
<a class="dropdown-toggle" data-toggle="dropdown" href="#/<%= M.sanitize(name) %>" |
|
96 |
data-target='#'> |
|
97 |
<%= name %> |
|
98 |
<b class="caret"></b> |
|
99 |
</a> |
|
100 |
<ul class="dropdown-menu"> |
|
101 |
<% _.each(list, function(item) { |
|
102 |
%> |
|
103 |
<li><a href="#/<%= M.sanitize(item) %>"> <%= item %> </a></li> |
|
104 |
<% |
|
105 |
}); |
|
106 |
%> |
|
107 |
</ul> |
|
108 |
</li> |
|
109 |
</script> |
899c2c7 by Anon Ray at 2013-01-25 |
110 |
|
4d591c1 by Anon Ray at 2013-01-21 |
111 |
<script type="text/template" id="image-view-template"> |
|
112 |
<div class="img-wrapper"> |
|
113 |
<img src="<%= src %>"> |
|
114 |
</div> |
|
115 |
</script> |
|
116 |
</body> |
3ce3fe9 by Anon Ray at 2012-11-23 |
117 |
</html> |