-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
145 lines (128 loc) · 5.49 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Zero Knowledge Documents</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<!-- CSS -->
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href="zenpen/css/style.css" rel="stylesheet">
<link href="zenpen/css/fonts.css" rel="stylesheet">
<!-- LIBS -->
<script src="zenpen/js/libs/head.min.js"></script>
<script src="zenpen/js/libs/FileSaver.min.js"></script>
<script src="zenpen/js/libs/Blob.js"></script>
<script src="zenpen/js/libs/fullScreen.js"></script>
</head>
<body>
<a href="https://github.com/rajatkhanduja/ZeroKnowledgeDocuments/"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/567c3a48d796e2fc06ea80409cc9dd82bf714434/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png"></a>
<div class="container-fluid">
<img id="loadingInfo" src="images/ajax-loader.gif" />
<div class="row-fluid">
<div class="span6 offset3">
<div class="page-header">
<h1>Zero Knowledge Documents</h1>
</div>
<!-- breadcrumbs -->
<div class="row-fluid">
<ul class="breadcrumb" id="navigation">
<li class="pull-right inline"><button class="btn btn-small pull-right" id="parentDirectory"><i class="icon-arrow-up"></i></button></li>
<li>Home<span class="divider">/</span></li>
</ul>
</div>
<!-- controls -->
<div class="row-fluid">
<button class="btn" id="reloadDir"><i class="icon-refresh"></i> Refresh </button>
<div class="btn-group pull-right">
<button id="newFile" class="btn"><i class="icon-plus"></i> Add New File</button>
<button id="newDir" class="btn"><i class="icon-plus"></i> Add New folder</button>
</div>
</div>
<!-- file browser -->
<div class="row-fluid">
<div id="tableContainer" class="margin-top">
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Modified</th>
</tr>
</thead>
<tbody id="file_browser"></tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!--editor-->
<div class='zen-editor'>
<div class="text-options">
<div class="options">
<span class="no-overflow">
<span class="lengthen ui-inputs">
<button class="url useicons"></button>
<input class="url-input" type="text" placeholder="Type or Paste URL here"/>
<button class="bold">b</button>
<button class="italic">i</button>
<button class="quote">”</button>
</span>
</span>
</div>
</div>
<div class='buttons'>
<!-- password -->
<div class="control-group">
<label class="control-label" for="key">Password:</label>
<div class="controls">
<input type="password" id="key" />
</div>
</div>
<!-- password confirmation -->
<div class="control-group">
<label class="control-label" for="verify_key">Password confirmation:</label>
<div class="controls">
<input type="password" id="verify_key" />
</div>
</div><button id='saveFileButton' class='btn btn-large btn-success'>Save</button>
<button id='closeButton' class='btn btn-large btn-danger' id='cancelButton'>Close</button>
</div>
<section>
<header contenteditable="true" class="header" id="newFileName">
</header>
<article contenteditable="true" class="content" id="fileContent">
</article>
</section>
</div>
<!-- JS -->
<script type="text/javascript">
// Load required scripts.
head.js(
"zenpen/js/utils.js",
"zenpen/js/ui.js",
"zenpen/js/editor.js",
function(){
// Initiate ZenPen
editor.init();
ui.init();
}
);
</script>
<!-- Loading scripts at the end -->
<!-- ui libs -->
<script type="application/javascript" src="underscore-min.js"></script>
<script type="application/javascript" src="jquery-1.10.2.min.js"></script>
<script type="application/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<!-- other libs -->
<script type="application/javascript" src="sjcl.js"></script>
<script type="application/javascript" src="dropbox.js"> </script>
<!-- our code -->
<script type="application/javascript" src="tpl.js"></script>
<script type="application/javascript" src="modal.js"></script>
<script type="application/javascript" src="utilityFunctions.js"></script>
<script type="application/javascript" src="main.js"> </script>
</body>
</html>