-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.html
272 lines (257 loc) · 16.6 KB
/
app.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!DOCTYPE html>
<html ng-app="sikre">
<head itemscope itemtype="//schema.org/WebPage">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, width=device-width">
<title>Sikre: The secure password tool</title>
<meta name="description" content="Sikre is an online password vault for storing your passwords. It features high security encryption systems and it's open source." />
<meta name="keywords" content="sikre, passwords, storing, security encryption, high security, security encryption systems, systems open, encryption systems, vault, online, open, systems, security, source, high, password, features, encryption" />
<!-- Schema.org markup for Google+ -->
<meta itemprop="name " content="Sikre: The secure password tool">
<meta itemprop="description " content="Sikre is an online password vault for storing your passwords. It features high security encryption systems and it's open source.">
<meta itemprop="image " content=" {{social_image}} ">
<!-- Twitter Card data -->
<meta name="twitter:card " content="Sikre is an online password vault for storing your passwords. It features high security encryption systems and it's open source.">
<meta name="twitter:site " content=" ">
<meta name="twitter:title " content="Sikre: The secure password tool">
<meta name="twitter:description " content="Sikre is an online password vault for storing your passwords. It features high security encryption systems and it's open source.">
<meta name="twitter:creator " content="">
<!-- Twitter summary card with large image must be at least 280x150px -->
<meta name="twitter:image:src " content=" {{social_image}} ">
<!-- Open Graph data -->
<meta property="og:title " content="Sikre: The secure password tool" />
<meta property="og:type " content=" " />
<meta property="og:url " content=" {{site_url}} " />
<meta property="og:image " content=" {{social_image}} " />
<meta property="og:description " content="Sikre is an online password vault for storing your passwords. It features high security encryption systems and it's open source." />
<meta property="og:site_name " content=" " />
<meta property="fb:admins " content="Facebook numberic ID" />
<link rel="icon" type="image/png" href="/static/images/favicon.png" />
<!-- Stylesheets -->
<link async rel="stylesheet" href="/static/css/app.css" type="text/css" />
<!-- <link rel="stylesheet" href="/static/css/fonts.css" type="text/css" /> -->
<link async href='//fonts.googleapis.com/css?family=Roboto:400,300,100|Signika:400' rel='stylesheet' type='text/css'>
<!-- Header JS -->
<!--<script src="/static/js/modernizr.min.js"></script>-->
</head>
<body>
<div class="row">
<div id="askMstrPwd" class="reveal-modal medium" data-reveal>
<form>
<div class="row">
<div class="small-12 large-12 columns">
<input id="mstrPwdval" type="text" placeholder="Type your master password to unlock">
<button id="submitPwd" class="button tiny">Authorize</button>
</div>
</div>
</form>
<a class="close-reveal-modal">×</a>
</div>
</div>
<div class="row">
<div id="addItem" class="reveal-modal medium" data-reveal>
<p class="lead">Create new...</p>
<ul class="tabs addmodal" data-tab role="tablist">
<li class="tab-title active" role="presentational" ><a href="#panel998-1" role="tab" tabindex="0" aria-selected="true" controls="panel998-1">Category</a></li>
<li class="tab-title" role="presentational" ><a href="#panel998-2" role="tab" tabindex="0"aria-selected="false" controls="panel998-2">Item</a></li>
</ul>
<div class="tabs-content">
<section role="tabpanel" aria-hidden="false" class="content active" id="panel998-1">
<form name="newGroup" ng-controller="CategoriesCtrl" data-abide>
<div class="row">
<div class="small-12 large-12 columns">
<label>Name
<input type="text" placeholder="Insert a name here" name="name" ng-model="category.name" required>
</label>
<small class="error">This field is required</small>
</div>
</div>
<button class="button tiny" ng-click="addcategory(category)">Save</button>
</form>
</section>
<section role="tabpanel" aria-hidden="true" class="content" id="panel998-2">
<form name="newItem" ng-controller="ItemsCtrl" data-abide>
<div class="row">
<div class="small-12 large-12 columns">
<label>Name
<input type="text" placeholder="Insert a name here" name="name" ng-model="item.name" required>
</label>
<small class="error">This field is required</small>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Description
<textarea rows="5" placeholder="Insert the description" name="description" ng-model="item.description"></textarea>
</label>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Category <span data-tooltip aria-haspopup="true" class="has-tip" title="Select the category that this item will belong to."><i class="fi-info"></i></span>
<select ng-model="item.category" ng-options="category.name for category in categoryList track by category.id" ng-init="getitemcategories()" ng-click="getitemcategories()" name="category" required>
<option value="">-- choose category --</option>
</select>
</label>
<small class="error">Select a category where to put the item</small>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Tags
<input type="text" placeholder="Insert your tags, separated by a comma with no spaces" name="tags" ng-model="item.tags">
</label>
</div>
</div>
<input type="submit" class="button tiny" ng-click="additem(item)" value="Save" />
</form>
</section>
</div>
<a class="close-reveal-modal">×</a>
</div>
</div>
<div class="row">
<div id="addObject" class="reveal-modal medium" data-reveal>
<p class="lead">Create a new service</p>
<form id="newService" ng-controller="ServiceCtrl" data-abide>
<div class="row">
<div class="small-12 large-12 columns">
<label>Service name
<input type="text" placeholder="Insert a name here (optional)" name="name" ng-model="service.name" required>
</label>
<small class="error">This field is required</small>
</div>
<input id="serviceItem" type="text" class="hidden" name="item" ng-model="service.item" />
</div>
<ul class="tabs addmodal" data-tab role="tablist">
<li class="tab-title active" role="presentational" ><a href="#panel99-1" role="tab" tabindex="0" aria-selected="true" controls="panel99-1">SSH Key</a></li>
<li class="tab-title" role="presentational" ><a href="#panel99-2" role="tab" tabindex="0"aria-selected="false" controls="panel99-2">SSL file</a></li>
<li class="tab-title" role="presentational"><a href="#panel99-3" role="tab" tabindex="0" aria-selected="false" controls="panel99-3">Password</a></li>
</ul>
<div class="tabs-content">
<section role="tabpanel" aria-hidden="false" class="content active" id="panel99-1">
<div class="row">
<div class="small-12 large-12 columns">
<label>Title
<input type="text" placeholder="Insert a name for your key here" name="ssh_title" ng-model="service.ssh_title">
</label>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Private Key
<textarea rows="5" placeholder="Insert the contents of your key files here" name="ssh_private" ng-model="service.ssh_private"></textarea>
</label>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Public Key
<textarea rows="5" placeholder="Insert the contents of your public key here" name="ssh_public" ng-model="service.ssh_public"></textarea>
</label>
</div>
</div>
</section>
<section role="tabpanel" aria-hidden="true" class="content" id="panel99-2">
<div class="row">
<div class="small-12 large-12 columns">
<label>Title
<input type="text" placeholder="Insert a name for your SSL file here" name="ssl_title" ng-model="service.ssl_title">
</label>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>SSL file (.pfx, .cer, .crt, .key and .rsa extensions allowed)
<input type="file" id="fileselect" name="fileselect[]" multiple="multiple" />
</label>
</div>
</div>
</section>
<section role="tabpanel" aria-hidden="true" class="content" id="panel99-3">
<div class="row">
<div class="small-12 large-12 columns">
<div class="row collapse">
<label>URL / IP / Hostname</label>
<div class="small-9 columns">
<input type="text" placeholder="Insert an URL, IP address or hostname" name="url" ng-model="service.url" />
</div>
<div class="small-3 columns">
<span class="postfix">
<input type="text" placeholder="Port" name="port" ng-model="service.port" />
</span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Username
<input type="text" placeholder="Username" name="username" ng-model="service.username" />
</label>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Password
<input type="text" placeholder="Password" name="password" ng-model="service.password" />
</label>
</div>
</div>
<div class="row">
<div class="small-12 large-12 columns">
<label>Extra information
<textarea rows="5" placeholder="Write here any extra information that you want to add" name="extra" ng-model="service.extra"></textarea>
</label>
</div>
</div>
</section>
</div>
<button class="button tiny" ng-click="addservice(service)">Save</button>
<a class="close-reveal-modal">×</a>
</form>
</div>
</div>
<div class="off-canvas-wrap" ng-controller="CategoriesCtrl" data-offcanvas>
<div class="inner-wrap">
<nav class="tab-bar">
<section class="left-small">
<a class="left-off-canvas-toggle" href="#" ng-click="getcategories()">
<i class="fi-list-thumbnails"></i>
</a>
</section>
<section class="middle tab-bar-section">
<button href="#" class="button tiny additem" data-reveal-id="addItem"><i class="fi-plus"></i></button>
<div class="large-4 small-9 columns">
<input type="text" class="radius" style="margin-top: 4px" ng-model="itemFilter" ng-click="getAllItems()" placeholder="Search...">
</div>
<h1 class="title">SIKR.IO</h1>
</section>
</nav>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list" ng-controller="AuthCtrl">
<li><label>Me</label></li>
<li ng-if="isAuthenticated()"><a href="#" ng-click="getProfile()">Profile</a></li>
<li ng-if="!isAuthenticated()"><a href="/login.html">Login</a></li>
<li ng-if="isAuthenticated()"><a href="#" ng-click="logout()">Logout</a></li>
</ul>
<ul class="off-canvas-list">
<li ng-init="getcategories()"><label>Categories</label></li>
<li ng-repeat="category in categoryList">
<a href="#" ng-click="getItems(category.id)">{{ category.name }}</a>
</li>
<li><a href="#" ng-click="getAllItems()">Show all</a></li>
</ul>
<div class="off-canvas-footer">
© 2014-2015 <a href="http://clione.io" target="_blank">Clione Software</a><br>
</div>
</aside>
<section class="main-section" item-list></section>
<section class="main-section" profile-edit></section>
<a class="exit-off-canvas"></a>
</div>
</div>
<!-- Footer JS -->
<script async src="/static/js/app.js"></script>
</body>
</html>