forked from cmllr/Paste.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (69 loc) · 3.47 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
<html ng-app="Paste.js" ng-controller="ServiceController">
<head>
<title> {{ APP.NAME }} - {{ DocumentMeta.Title }}</title>
<script type="text/javascript" src="./Lib/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="./Lib/angular.min.js"></script>
<script type="text/javascript" src="./Core/paste.js"></script>
<script type="text/javascript" language="javascript" src="./Lib/jquery.sparkline.min.js"></script>
<link rel="stylesheet" type="text/css" href="./Style/Style.css">
<link rel="stylesheet" type="text/css" href="./Lib/foundation-icons/foundation-icons.css">
</head>
<body>
<script type="text/javascript">
jQuery.noConflict();
</script>
<p id="status" ng-init="getUrlParameters()"></p>
<div id="parentNav">
<ul>
<li>
<a id="AppName" href="index.html"><span id="AppName">Paste.js</span></a>
</li>
<li>
<a href="" ng-click="toggleDownloadBox()"><i class="fi-share"></i> SHARE</a>
</li>
<li>
<a ng-class="!DocumentMeta.DownloadGuid || textChanged ? 'disabled' : ''" ng-href="./Core/datalayer.php?pad={{DocumentMeta.DownloadGuid}}&task=0x7"><i class="fi-download"></i> DOWNLOAD</a>
</li>
<li>
<a ng-href="index.html" data-target="_blank"><i class="fi-asterisk"></i> NEW PAD</a>
</li>
<li>
<a href="" ng-click="toggleInfoBox()"><i class="fi-info"></i> INFO</a>
</li>
<li>{{DocumentMeta.isReadOnly === true ? "READONLY" : ""}}</li>
</ul>
<div id="tooltip" class="centerText">
<div ng-show="tooltip.download" id="download">
<div>
<p ng-show="willDeletePad">This pad will be deleteted within {{ PadDeletionDuration }} days.</p>
<a class="share" ng-show="isSaving">saving...</a>
<a class="share" ng-hide="isSaving" ng-href="index.html?pad={{DocumentMeta.ReadOnlyGuid}}"><i class="fi-clipboard-notes"></i> readonly pad</a>
<a class="share" ng-hide="DocumentMeta.isReadOnly || isSaving" ng-href="index.html?epad={{DocumentMeta.EditableGuid}}"><i class="fi-pencil"></i> editable pad</a>
</div>
</div>
<div ng-show="tooltip.error">
There was an error while saving your document.
<p>
Please inform the software administrator about following message:
<p id="quote">
{{ DocumentMeta.ErrorMessage }}
</p>
</div>
<div ng-show="tooltip.information">
<h1 class="centerText logoFont">{{ APP.VERSION }}</h1>
<p>Open source, <a href="http://opensource.org/licenses/MIT">MIT license</a></p>
</div>
<!--<div ng-show="tooltip.statistics">
<h1 class="centerText">Statistics</h1>
<p>Created pads (last 7 days)</p>
<div id="stats"></div>
</div>-->
<div id="statusText">
<i class="fa fa-hdd-o"></i> {{StatusText}}
</div>
</div>
<!--<p class="centerText" id="isSavingHint">saving...</p>-->
</div>
<textarea data-auto-grow ng-readonly="DocumentMeta.isReadOnly" id="editor" ng-click="hideTooltip()" ng-trim="false" ng-model="DocumentMeta.Content" ng-change="setTitle()" placeholder="Write here"></textarea>
</body>
</html>