This repository has been archived by the owner on Jul 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·141 lines (138 loc) · 6.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Maunium Paste</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Raleway:400,700" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://maunium.net/css/footer.css">
<link rel="stylesheet" href="https://maunium.net/css/text.css">
<link rel="stylesheet" href="/jcss/index.css">
</head>
<body>
{{.Include "/nav.html"}}
<div class="container">
<center>
<div class="alert alert-danger alert-dismissible fade in" id="notreadyalert" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<b>This is just a front-end demo. The backend is not yet done.</b>
</div>
</center>
<form class="main-form" action="#">
<div class="row">
<div class="col-sm-6 col-xs-7">
<input type="text" class="form-control" id="title" placeholder="Title">
</div>
<div class="col-lg-2 col-md-3 col-xs-5">
<select class="form-control" id="language" onchange="updateLanguage()">
<option value="plain_text" selected>Plain Text</option>
<option value="c_cpp">C/C++</option>
<option value="java">Java</option>
<option value="python">Python</option>
<option value="golang">Go</option>
<option value="rust">Rust</option>
<option value="swift">Swift</option>
<option value="html">HTML</option>
<option value="css">CSS</option>
<option value="javascript">JavaScript</option>
<option value="json">JSON</option>
<option disabled>------------------</option>
<option value="actionscript">ActionScript</option>
<option value="ada">Ada</option>
<option value="apache_conf">Apache Configuration</option>
<option value="applescript">AppleScript</option>
<option value="assembly_x86">Assembly x86</option>
<option value="autohotkey">AutoHotkey</option>
<option value="batchfile">Batch</option>
<option value="cirru">Cirru</option>
<option value="clojure">Clojure</option>
<option value="coffee">CoffeeScript</option>
<option value="csharp">C#</option>
<option value="d">D</option>
<option value="dart">Dart</option>
<option value="django">Django</option>
<option value="dockerfile">Dockerfile</option>
<option value="eiffel">Eiffel</option>
<option value="elixir">Elixir</option>
<option value="elm">Elm</option>
<option value="erlang">Erlang</option>
<option value="forth">Forth</option>
<option value="fortran">Fortran</option>
<option value="gcode">G-code</option>
<option value="gitignore">.gitignore</option>
<option value="glsl">GLSL</option>
<option value="groovy">Groovy</option>
<option value="haml">Haml</option>
<option value="haskell">Haskell</option>
<option value="haxe">Haxe</option>
<option value="ini">INI file</option>
<option value="io">IO</option>
<option value="jack">Jack</option>
<option value="jade">Jade</option>
<option value="jsoniq">JSONiq</option>
<option value="jsp">JSP</option>
<option value="jsx">JSX</option>
<option value="julia">Julia</option>
<option value="latex">LaTeX</option>
<option value="less">Less</option>
<option value="liquid">Liquid</option>
<option value="lisp">Lisp</option>
<option value="livescript">LiveScript</option>
<option value="logiql">LogiQL</option>
<option value="lua">Lua</option>
<option value="makefile">Makefile</option>
<option value="markdown">Markdown</option>
<option value="matlab">MATLAB</option>
<option value="mush">MUSH</option>
<option value="mysql">MySQL</option>
<option value="nix">Nix</option>
<option value="objectivec">Objective-C</option>
<option value="ocaml">OCaml</option>
<option value="pascal">Pascal</option>
<option value="perl">Perl</option>
<option value="pgsql">PostgreSQL</option>
<option value="php">PHP</option>
<option value="powershell">PowerShell</option>
<option value="prolog">Prolog</option>
<option value="properties">Properties (Java)</option>
<option value="r">R</option>
<option value="ruby">Ruby</option>
<option value="sass">Sass</option>
<option value="scala">Scala</option>
<option value="scheme">Scheme</option>
<option value="scss">Scss</option>
<option value="sh">Shell</option>
<option value="sql">SQL</option>
<option value="stylus">Stylus</option>
<option value="svg">SVG</option>
<option value="tcl">Tcl</option>
<option value="tex">TeX</option>
<option value="textile">Textile</option>
<option value="toml">TOML</option>
<option value="typescript">TypeScript</option>
<option value="vala">Vala</option>
<option value="wollok">Wollok</option>
<option value="xml">XML</option>
<option value="yaml">YAML</option>
</select>
</div>
</div>
<br>
<div id="editor"></div>
<br>
<div class="pull-xs-right">
<input type="checkbox" id="private"> Private
<button type="submit" class="btn btn-submit" id="btn-submit">Submit</button>
</div>
</form>
</div>
{{.Include "/footer.html"}}
<script src="https://cdn.jsdelivr.net/ace/latest/min/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="/jcss/index.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>