-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpopup.html
89 lines (82 loc) · 3.24 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="lib/jsTabs/tabs.css">
<link rel="stylesheet" href="css/popup.css">
</head>
<body>
<header>
<input id="new_group_name" type="text" autofocus="autofocus" placeholder="{{ p_GroupNameToSave }}" maxlength="37"/>
<a id="new_group" href="" title="{{ p_groupBtn }}">+</a>
<span id="window_actions">
<a href="options.html#help" title="{{ p_helpBtn }}" target="_blank">?</a>
<a href="options.html" title="{{ p_optionsBtn }}" target="_blank">☰</a>
</span>
</header>
<!--Popup windows-->
<div class="popup__overlay" id="edit_group_name">
<div class="popup">
<div class="popup-form__row">
<label for="popup-new_group_name">{{ p_newGroupName_popup }}</label>
<input type="text" class="data" id="popup-new_group_name" value="" maxlength="37"/>
</div>
<input type="button" class="submit_btn" id="save_new_name" value="Ok" />
<input type="button" class="cancel" value="Cancel" />
</div>
</div>
<div class="popup__overlay" id="add_link">
<div class="popup">
<div class="popup-form__row">
<label for="popup-new_group_name">{{ p_addLinkTitle_popup }}</label>
<input type="text" class="data" id="popup-add_link_name" value="" />
</div>
<div class="popup-form__row">
<label for="popup-new_group_name">{{ p_addLinkLink_popup }}</label>
<input type="text" class="data" id="popup-add_link_link" value="" />
</div>
<input type="button" class="submit_btn" id="save_new_link" value="Ok" />
<input type="button" class="cancel" value="Cancel" />
</div>
</div>
<div class="popup__overlay" id="edit_link">
<div class="popup">
<div class="popup-form__row">
<label for="popup-new_group_name">{{ p_addLinkTitle_popup }}</label>
<input type="text" class="data" id="popup-edit_link_name" value="" />
</div>
<div class="popup-form__row">
<label for="popup-new_group_name">{{ p_addLinkLink_popup }}</label>
<input type="text" class="data" id="popup-edit_link_url" value="" />
</div>
<input type="button" class="submit_btn" id="save_edited_link" value="Ok" />
<input type="button" class="cancel" value="Cancel" />
</div>
</div>
<div class="popup__overlay" id="overwrite_group">
<div class="popup">
<div class="popup-form__row">
{{ p_overwriteGroup_popup }}
</div>
<input type="button" class="submit_btn" id="overwrite" value="Ok" />
<input type="button" class="cancel" value="Cancel" />
</div>
</div>
<!--Popup windows END-->
<section id="main_tabs">
<ul class="tabs_nav">
<li><a href="#saved" title="{{ p_synStorageUsage_title }}">{{ p_tabName_Saved }} | </a></li>
<li><a href="#sessions">{{ p_tabName_Sessions }}</a></li>
</ul>
<div class="tabs_content">
<div id="saved"></div>
<div id="sessions"></div>
</div>
</section>
<script src="js/helpers/localizer.js"></script>
<script src="lib/jsTabs/tabs.js"></script>
<script src="js/storage.js"></script>
<script src="js/utils.js"></script>
<script src="js/popup.js"></script>
</body>
</html>