-
Notifications
You must be signed in to change notification settings - Fork 2
/
editNote.html
62 lines (53 loc) · 2.6 KB
/
editNote.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Edit Note</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<script src="js/sugar-1.3.9-custom.min.js"></script>
<!-- Weinre loading for testing purpouses:-->
<!--<script src="http://192.168.43.238:8009/target/target-script-min.js"></script>-->
<!---->
<script src="/webinos.js"></script>
<script src="js/webinosManager.js"></script>
<script src="js/dataManager.js"></script>
<script src="js/fileManager.js"></script>
<script src="js/graphicalManager.js"></script>
</head>
<body>
<div data-role="page">
<div data-role="header" data-theme="b" data-position="fixed">
<a href="index.html" data-role="button" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
<div data-role="controlgroup" data-type="horizontal" class="ui-btn-right">
<a href="#" data-role="button" data-icon="camera" data-iconpos="notext" onclick ="addImage()">Add an image</a>
<a href="#" data-role="button" data-icon="text" data-iconpos="notext" onclick="addText()">Add text</a>
</div>
<h1 id="noteTitle" onclick="askTitle('existing')">Some test note</h1>
</div><!-- /header -->
<div class="notificationArea">
</div>
<div data-role="content">
<div id="noteContent">
</div>
<fieldset class="ui-grid-a">
<div class="ui-block-a"><a href="./index.html" data-role="button" data-theme="c">Discard</a></div>
<div class="ui-block-b"><a href="./index.html" data-role="button" data-theme="b" onclick="saveNote(this);">Save</a></div>
</fieldset>
</div><!-- /content -->
<div data-role="popup" id="titlePopup" data-theme="a" class="ui-corner-all ui-popup ui-body-a ui-overlay-shadow" aria-disabled="false" data-disabled="false" data-shadow="true" data-corners="true" data-transition="none" data-position-to="origin">
<form>
<div style="padding:10px 20px;">
<h3>Insert a title</h3>
<label for="un" class="ui-hidden-accessible ui-input-text">Title:</label>
<input type="text" name="title" id="un" value="" placeholder="title" data-theme="a" class="ui-input-text ui-body-a ui-corner-all ui-shadow-inset">
<button onclick="titleEdited(this, event);" data-theme="b" class="ui-btn-hidden" aria-disabled="false">Set title</button>
</div>
</form>
</div>
</div><!-- /page -->
</body>
</html>