-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (69 loc) · 3.37 KB
/
index.html
File metadata and controls
82 lines (69 loc) · 3.37 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>StickNote</title>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/app.css">
<link rel="stylesheet" href="js/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.css">
</head>
<body>
<div data-role="page">
<div data-role="header">
<h1>StickNote</h1>
<div data-role="controlgroup" data-type="horizontal">
<a href="#" id="addNote" data-role="button" data-icon="add">Adicionar</a>
<a href="#" id="viewNotes" data-role="button" data-icon="delete">Ver</a>
</div>
</div>
<div data-role="content">
<div id="result-container">
</div>
<div id="noResults" class="row-fluid hidden">
<div class="well text-center">
<h4>Você ainda não cadastrou nehuma nota!</h4>
</div>
</div>
<div class="row-fluid hidden">
<h3>Adicionar nota</h3>
<form method="GET" id="mainForm">
<img id="fima" src="" alt="Voce nao adicionou uma imagem">
<div class="control-group">
<div class="controls">
<input name="titulo" class="input-block-level" type='text' placeholder="Título" required>
</div>
</div>
<div class="control-group">
<div class="controls">
<textarea name="conteudo" class="input-block-level" rows="4" placeholder="Conteúdo" required></textarea>
</div>
</div>
<input type="hidden" name="imgurl" value=""/>
<button id="aaf">Adicionar foto</button>
<div id="dd">
<button type="submit" data-icon="check">Salvar</button>
<a data-role="button" data-icon="delete" class="cancel">Cancelar</a>
</div>
</form>
</div>
<div id="result-struct" class="hidden">
<div class="well well-small nota">
<div class="btn-group pull-right">
<!--<a href="#" data-id="#id#" title="Editar" class="btn edit"><i class="icon-pencil"></i></a>-->
<a href="#" class="pull-right delete" data-id="#id#" data-role="button" data-icon="delete" data-iconpos="notext"></a>
</div>
<h3><em>#titulo#</em></h3>
<p>#conteudo#</p>
<img src="#src#"></img>
</div>
</div>
</div>
<div data-role="footer"></div>
</div>
<script src="cordova.js"></script>
<script src="js/jquery-2.0.3.min.js"></script>
<script src="js/jquery.mobile-1.3.1/jquery.mobile-1.3.1.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>