forked from browserpad/browserpad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.xhtml
45 lines (45 loc) · 1.79 KB
/
index.xhtml
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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<title>Browserpad - A notepad in the browser</title>
<link rel="icon" type="image/x-icon" href="data:image/x-icon;base64,R0lGODlhEAAQAKEAAAAAAICAgP///wAAACH/
C05FVFNDQVBFMi4wAwEAAAAh/hFDcmVhdGVkIHdpdGggR0lNUAAh+QQBZAADACwAAAAAEAAQAAACJIyPacLtvp5kEUwYmL00i81VXK
eNgjiioQdeqsuakXl6tIIjBQAh+QQBZAADACwAAAAAEAAQAAACIIyPacLtvp5kcb5qG85iZ2+BkyiRV8BBaEqtrKkqslEAADs=" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<textarea id="textbox" autofocus="autofocus" placeholder="type here"></textarea>
<nav>
<span id="stats">
<span id="char-count">0</span> chars │
<span id="word-count">0</span> words │
<span id="line-count">0</span> lines
</span>
<span id="controls">
<input type="checkbox" id="fullwidth" />
<label for="fullwidth">80 Column</label> │
<input type="checkbox" id="spellcheck" />
<label for="spellcheck">spell-checking</label> │
<a href="#" id="print">print</a> │
<span id="open">
<input type="file" value="open" />
<a href="#">open</a>
</span>
<span id="save">
<input id="filename" placeholder="browserpad.txt" />
<a href="#">save</a>
</span> │
<a href="#" title="About Browserpad" id="about-icon">ⓘ</a>
</span>
</nav>
<dialog id="about">
<h2>Browserpad</h2>
<p>As the name indicates, Browserpad is a notepad in the browser.</p>
<p>It is a plain text editor built entirely with HTML, CSS and JavaScript.</p>
<p>The source code is <a href="https://github.com/Browserpad/browserpad">available on GitHub</a>.</p>
<form method="dialog"><button>close</button></form>
</dialog>
<script src="script.js"></script>
</body>
</html>