-
Notifications
You must be signed in to change notification settings - Fork 0
/
preferencias.html
143 lines (119 loc) · 4.15 KB
/
preferencias.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="author" content="Equipe Expresso Livre" />
<meta name="keywords" content="rest, json, javascript" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="./css/estilo.css">
<title>.: Expresso :.</title>
</head>
<body>
<!-- menu -->
<div id="menu" class="left"></div>
<!-- fim menu -->
<div id="page" class="left">
<header class="top">
<ul class="left topButtons">
<li><a href="#" class="menu">Menu</a></li>
</ul>
<ul class="right topButtons">
<li><a href="#" class="contextMenu">Menu de contexto</a></li>
</ul>
<div id="contextMenu" class="hidden">
<ul>
<li><a href="#">Contexto 1</a></li>
<li><a href="#">Contexto 2</a></li>
<li><a href="#">Contexto 3</a></li>
</ul>
</div>
</header>
<div class="main">
<div id="content" class="left">
<h2 id="contentTitle" class="ellipsis50">Preferências</h2>
<div id="wrapper" class="container">
<div id="scroller">
<dl id="settingsList">
<dt>Conta de e-mail</dt>
<dd>
<ul>
<li>[email protected]</li>
<li><input type="checkbox" class="check css-checkbox" id="login_automatico" /><label for="login_automatico" class="css-label"></label>Login automático</li>
<li><a href="./templates/preferencias-alterar-senha.ejs">Alterar senha</a></li>
</ul>
</dd>
<dt>Outras configurações</dt>
<dd>
<ul>
<li><a href="./templates/preferencias-resultados-por-pagina.ejs">Resultados por página</a></li>
</ul>
</dd>
<dt>Escrever mensagens</dt>
<dd>
<ul>
<li><a href="./templates/preferencias-assinatura-email.ejs">Assinatura de e-mail</a></li>
</ul>
</dd>
<dt>Expresso</dt>
<dd>
<ul>
<li><a href="./templates/preferencias-suporte-sugestoes.ejs">Suporte / Sugestões</a></li>
<li><a href="./templates/preferencias-sobre-o-expresso.ejs">Sobre o Expresso</a></li>
<li><a href="./templates/preferencias-creditos.ejs">Créditos</a></li>
</ul>
</dd>
</dl>
</div>
</div>
</div>
<div id="contentDetail" class="left">
<h2 id="contentDetailTitle"></h2>
<div id="wrapperDetail" class="container">
<div id="scrollerDetail"></div>
</div>
</div>
</div>
</div>
<script type="application/javascript" src="./plugins/jquery/jquery-1.9.1.js"></script>
<script type="application/javascript" src="./plugins/ejs/ejs.js"></script>
<script type="application/javascript" src="./plugins/iscroll/src/iscroll.js"></script>
<script type="text/javascript" src="./plugins/dotdotdot/jquery.dotdotdot.js"></script>
<script type="application/javascript" src="./js/jquery.touchwipe.min.js"></script>
<script type="application/javascript" src="./js/general.js"></script>
<script type="text/javascript">
jQuery(function($)
{
$('#menu').html(new EJS({url: './templates/menu.ejs'}).render());
$('#menu #mainMenu li').removeClass('selected');
$('#menu #mainMenu li.settings').addClass('selected');
$('#settingsList a').on('click', function ()
{
var template = $(this).prop('href');
var title,
panel;
if ($('body').hasClass('smartphone'))
{
panel = $('#scroller');
title = $('#contentTitle');
}
else
{
panel = $('#scrollerDetail');
title = $('#contentDetailTitle');
}
panel.html(new EJS({url: template}).render());
title.text($(this).text());
scrollerRefresh();
return false;
});
});
</script>
</body>
</html>