-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
149 lines (144 loc) · 8.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/prism.css">
<title>Paste Code</title>
</head>
<body>
<main>
<div id="library">
<div class="window">
<div class="list">
<!-- Library List -->
</div>
</div>
<div class="add-new">
<a class="add">[save project]</a>
</div>
</div>
<div class="textarea">
<!-- Code editor -->
</div>
<div id="terminal">
<div id="scroll-height" class="scroll terminal"></div>
<!-- Terminal -->
<header>
<div>
<a class="terminal-list" href="https://github.com/ZhengLinLei/paste-code/blob/main/TERMINAL.md">[<span class="mobile-unshow">terminal</span><span class="desktop-unshow"> T </span>]</a>
<a class="terminal-commands" href="https://github.com/ZhengLinLei/paste-code/blob/main/COMMANDS.md">[<span class="mobile-unshow">commands</span><span class="desktop-unshow"> C </span>]</a>
</div>
<div>
<a id="close-t">[close]</a>
</div>
</header>
<main>
<div id="terminal-main" tabindex="0">
<div id="terminal-main-history">
<pre class="welcome">
<span class="token comment"> ___ ___ ___ ___ ___ <span class="token title important"> ___ </span> ___ </span>
<span class="token comment"> /\ \ /\ \ /\ \ /\__\ ___ /\__\ <span class="token title important"> /\ \ </span> /\__\</span>
<span class="token comment"> \:\ \ /::\ \ /::\ \ /::| | /\ \ /::| | <span class="token title important"> /::\ \ </span> /:/ /</span>
<span class="token comment"> \:\ \ /:/\:\ \ /:/\:\ \ /:|:| | \:\ \ /:|:| | <span class="token title important"> /:/\:\ \ </span> /:/ / </span>
<span class="token comment"> /::\ \ /::\~\:\ \ /::\~\:\ \ /:/|:|__|__ /::\__\ /:/|:| |__ <span class="token title important"> /::\~\:\ \ </span> /:/ / </span>
<span class="token comment"> /:/\:\__\ /:/\:\ \:\__\ /:/\:\ \:\__\ /:/ |::::\__\ __/:/\/__/ /:/ |:| /\__\ <span class="token title important">/:/\:\ \:\__\</span> /:/__/ </span>
<span class="token comment"> /:/ \/__/ \:\~\:\ \/__/ \/_|::\/:/ / \/__/~~/:/ / /\/:/ / \/__|:|/:/ / <span class="token title important">\/__\:\/:/ /</span> \:\ \ </span>
<span class="token comment">/:/ / \:\ \:\__\ |:|::/ / /:/ / \::/__/ |:/:/ / <span class="token title important"> \::/ / </span> \:\ \ </span>
<span class="token comment">\/__/ \:\ \/__/ |:|\/__/ /:/ / \:\__\ |::/ / <span class="token title important"> /:/ / </span> \:\ \ </span>
<span class="token comment"> \:\__\ |:| | /:/ / \/__/ /:/ / <span class="token title important"> /:/ / </span> \:\__\</span>
<span class="token comment"> \/__/ \|__| \/__/ \/__/ <span class="token title important"> \/__/ </span> \/__/</span>
<span class="token comment">_______________________________________________________________________________________________________</span>
Github: <a href="https://github.com/ZhengLinLei/paste-code">https://github.com/ZhengLinLei/paste-code</a>
Documentation: <a href="https://github.com/ZhengLinLei/paste-code/blob/main/TERMINAL.md">https://github.com/ZhengLinLei/paste-code/blob/main/TERMINAL.md</a>
<span class="token comment">----------------</span>
Type <a class="terminal-option" data-option="help">"help"</a> for help, or <a class="terminal-option" data-option="clear">"cls"</a> to clear the terminal.
Type <a class="terminal-option" data-option="exit">"exit"</a> to close the terminal.
<span class="token comment">----------------</span>
<span class="token constant">Paste Code v2023-01-xx</span>
<span class="token constant">Author: <a href="https://github.com/ZhengLinLei">https://github.com/ZhengLinLei</a></span>
<span class="desktop-unshow"><span class="token operator number">Your Device Does Not Support Terminal</span></span>
</pre>
</div>
<div id="terminal-main-input">
<span class="token title important"><span class="token punctuation">@</span>User $ </span><pre id="terminal-main-command"></pre><button id="terminal-caret" class="no-select" for="terminal-main-command"> </button>
</div>
</div>
<div id="terminal-fast-option">
<div id="scroll-width" class="scroll terminal-opt"></div>
<a class="terminal-option" data-option="reset">[reset<span class="tablet-unshow"> options</span>]</a>
<a class="terminal-option" data-option="clear">[clear<span class="tablet-unshow"> terminal</span>]</a>
<a class="terminal-option" data-option="help">[help<span class="tablet-unshow"> commands</span>]</a>
<a class="terminal-option" data-option="exit">[exit<span class="tablet-unshow"> terminal</span>]</a>
<a class="terminal-option" data-option="add">[add<span class="tablet-unshow"> window</span>]</a>
<a class="terminal-option" data-option="remove">[remove<span class="tablet-unshow"> window</span>]</a>
<a class="terminal-option" data-option="import">[import<span class="tablet-unshow"> option</span>]</a>
<a class="terminal-option" data-option="export">[export<span class="tablet-unshow"> option</span>]</a>
</div>
</main>
</div>
</main>
<div class="hidden-tab">
</div>
<div class="alert-modal">
<p class="alert-modal-text">Content saved successfully</p>
</div>
<div class="container-modal">
<div class="bg-event"></div>
<div class="prompt-modal">
<p class="modal-text">Are you sure you want to remove the window?</p>
<div class="code">
</div>
<div class="option-modal">
<a id="confirm-modal">[yes]</a>
<a id="cancel-modal">[cancel]</a>
</div>
</div>
</div>
<div class="input-modal">
<div class="bg-event"></div>
<div class="prompt-modal">
<p class="modal-text">Project Name</p>
<div class="stdin">
<input type="text">
</div>
<div class="option-modal">
<a id="confirm-modal">[yes]</a>
<a id="cancel-modal">[cancel]</a>
</div>
</div>
</div>
<footer class="no-select">
<span class="nav-default">
<div>
<a href="https://github.com/ZhengLinLei/paste-code/">[github]</a>
<a class="invert-color">[invert<span class="mobile-unshow"> colors</span>]</a>
</div>
<div>
<a id="add-w" alt="Add Windows">[<span class="mobile-unshow">add</span><span class="desktop-unshow"> + </span>]</a>
<a id="remove-w" alt="Remove Windows">[<span class="mobile-unshow">remove</span><span class="desktop-unshow"> - </span>]</a>
<a id="open-t" alt="Open Terminal Windows">[<span class="mobile-unshow">terminal</span><span class="desktop-unshow"> T </span>]</a>
</div>
<div>
<a class="generate-url" data-type="url">[<span class="mobile-unshow">generate </span>url]</a>
<a class="generate-url mobile-unshow" data-type="markdown">[generate markdown]</a></span>
</div>
</span>
<span class="nav-text-offer">
<input id="text-offer-value">
<a class="copy-url">[copy]</a>
<a class="cancel-url">[cancel]</a>
</span>
</footer>
<script src="./js/src/lzma.js"></script>
<script src="./js/min/prism.min.js"></script>
<!-- LZMA .min.js doesn't work in github server -->
<script src="./js/min/executer/executer.min.js"></script>
<script src="./js/min/terminal.min.js"></script>
<script src="./js/min/script.min.js"></script>
</body>
</html>