-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathindex.html
166 lines (145 loc) · 8.33 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Miu</title>
<link rel="stylesheet" type="text/css" href="resource/css/main.css">
<link rel="stylesheet" type="text/css" href="resource/css/miu.css">
<link rel="stylesheet" type="text/css" href="resource/css/ghostdown.css">
<link rel="stylesheet" type="text/css" href="resource/fonts/icon/style.css">
<link rel="stylesheet" type="text/css" href="lib/hint.css/hint.min.css">
<link rel="stylesheet" type="text/css" href="lib/sweetalert/lib/sweet-alert.css">
<link rel="stylesheet" type="text/css" href="node_modules/highlight.js/styles/github.css">
</head>
<body ng-app="Miu">
<div class="sketch"></div>
<div class="override" style="display:none"></div>
<div class="wrap">
<header class="header unselectable">
<span class="icon-menu" id="settings-trigger"></span>
<div class="fl cps">
<a href="javascript:;" data-hint="Hide to tray" onclick="closeWindow()" class="osx-window-btn red hint--bottom hint--rounded"></a>
<a href="javascript:;" data-hint="Minimize" onclick="miniWindow()" class="osx-window-btn yellow hint--bottom hint--rounded"></a>
<a href="javascript:;" data-hint="Maximize" onclick="maxWindow()" class="osx-window-btn green hint--bottom hint--rounded"></a>
<div class="control">
<ul style="margin-left:20px" class="topControl">
<li id="file-action" class="topAction">
<a href="#" id="file-action-href" class="topActionHref">
<b>{{ 'NAV.file.title' | translate }}</b>
</a>
</li>
<!--
<li id="tool-action" class="topAction"><a href="#" id="tool-action-href" class="topActionHref">
<b>工具</b>
</a>
<ul class="tool-dropdown topDropdown">
<li><span id="html-trigger">转换为 HTML</span></li>
<li><span id="pdf-trigger">转换为 PDF</span></li>
<li><span id="doc-trigger">转换为 DOC</span></li>
</ul>
</li>
-->
<input type="file" id="open_file" accept=".md,.markdown">
<input style="display:none" type="file" id="save_file" accept=".md,.markdown" nwsaveas>
<input style="display:none" type="file" id="save_html" accept=".html" nwsaveas>
<input style="display:none" type="file" id="save_pdf" nwsaveas accept=".pdf">
<input style="display:none" type="file" id="save_doc" accept=".doc" nwsaveas>
<input style="display:none" type="file" id="savenew_file" accept=".md" nwsaveas>
<li>
<a href="javascript:;" id="about-trigger">{{ 'NAV.about' | translate }}</a>
</li>
</ul>
</div>
</div>
<!--<a href="javascript:;" onclick="fullScreen()" class="full">无扰</a>-->
<div class="fr opts">
<span class="entry-word-count fl">0 Words</span>
<a href="javascript:;" class="hint--left hint--rounded" onclick="fullScreen()" data-hint="Fullscreen"><span class="icon-fullscreen expand"></span></a>
</div>
<h1 class="current-file" data-save="false" data-sync-open="false">Miu</h1>
</header>
<ul class="dropdown unselectable">
<li><span id="new-trigger">{{ 'NAV.file.option.new' | translate }}</span></li>
<li><span id="open-trigger">{{ 'NAV.file.option.open' | translate }}</span></li>
<li><span id="save-trigger">{{ 'NAV.file.option.save' | translate }}</span></li>
<li><span id="savenew-trigger">{{ 'NAV.file.option.saveas' | translate }}</span></li>
<li><span id="html-trigger">{{ 'NAV.file.option.html' | translate }}</span></li>
<li><span id="github-trigger">Github Gist</span></li>
</ul>
<div class="features">
<section class="editor">
<div class="outer">
<div class="editorwrap">
<section class="entry-markdown">
<section class="entry-markdown-content">
<textarea id="original-file">**123**</textarea>
</section>
</section>
<section class="entry-preview active">
<section class="entry-preview-content">
<div class="rendered-markdown"></div>
</section>
</section>
</div>
</div>
</section>
</div>
</div><!--.wrap-->
<div class="settings unselectable">
<div class="settings-top">
<ul class="settings-tabs">
<div class="settings-sep"></div>
<li class="settings-tab">
<a href="#" class="tabbed">
<span class="icon-setting"></span>
{{ 'SIDEBAR.setting' | translate }}
</a>
</li>
<li class="settings-tab"><a href="#" id="cloud-trigger"><span class="icon-cloud"></span> {{ 'SIDEBAR.cloud.title' | translate }}</a></li>
</ul>
</div>
<div class="settings-body">
<div class="notie gone"></div>
<label class="ios7-switch line-sample" id="colorful-label">
{{ 'SIDEBAR.colorful' | translate }}
<input type="checkbox" id="colorful-check">
<span></span>
</label>
<label class="ios7-switch line-sample" id="css-label" data-open="false">
{{ 'SIDEBAR.customcss' | translate }}
<i class="icon-chevron-right fr"></i>
</label>
<div class="css-label-cont gone">
<div id="css-input-trigger" class="sub-setting left2right">
{{ 'SIDEBAR.preview.title' | translate }} <b></b>
<div>{{ 'SIDEBAR.preview.content' | translate }}</div>
</div>
</div>
<label class="ios7-switch line-sample" data-open="false">
<a href="#" id="auth_url"><div>{{ 'SIDEBAR.github' | translate }}</div></a>
</label>
<div class="github-label-cont gone">
<div class="sub-setting">
<input type="text" id="github-token" placeholder="access_token (Ctrl + C)"> <button id="update-github">{{ 'GLOBAL.save' | translate }}</button>
</div>
</div>
<label class="ios7-switch line-sample" data-open="false" ng-controller="langCtrl" style="padding:0">
<a href="#" class="country" ng-click="changeLanguage('cn')"><img width="25" align="absmiddle" src="resource/img/flag/China.png"> 中文</a>
<a href="#" class="country" ng-click="changeLanguage('en')"><img width="25" align="absmiddle" src="resource/img/flag/USA.png"> English</a>
<a href="#" class="country" ng-click="changeLanguage('jp')"><img width="25" align="absmiddle" src="resource/img/flag/Japan.png"> 日本语</a>
</label>
</div>
</div>
<script type="text/javascript" src="resource/js/jquery-2.0.3.min.js"></script>
<script src="resource/js/jquery-ui.js"></script>
<script type="text/javascript" src="lib/angular/angular.min.js"></script>
<script type="text/javascript" src="lib/angular-translate/angular-translate.min.js"></script>
<script type="text/javascript" src="resource/js/ghostdown.js"></script>
<script type="text/javascript" src="resource/js/jquery.ghostdown.js"></script>
<script type="text/javascript" src="lib/simpleStorage/simpleStorage.js"></script>
<script type="text/javascript" src="resource/js/app.js"></script>
<script type="text/javascript" src="resource/js/i18n.js"></script>
<script type="text/javascript" src="lib/sweetalert/lib/sweet-alert.js"></script>
<input type="file" class="gone" id="css-input" accept=".css">
</body>
</html>