Clean up personal statement code
[ucas-personal-statement-counter.git] / index.html
CommitLineData
3d0fb55f 1<!DOCTYPE html>
2<html>
3<!--
4UCAS Personal Statement Word Counter
5Copyright (c) 2014-2016 Adrian Iain Lam
6
7This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17A copy of the GNU General Public License can be found at
18<http://www.gnu.org/licenses/gpl.html>.
19
20Contact: <ail30@cam.ac.uk>
21-->
22<head>
23 <title>UCAS Personal Statement Line &amp; Character Counter</title>
24 <meta charset="utf-8" />
25 <meta
26 name="description"
27 content="
28 Confused by UCAS's way of counting lines and characters?
29 Click here for a detailed analysis.
30 "
31 />
32 <meta
33 name="keywords"
34 content="UCAS,line,word,character,count,counter,number,personal,statement"
35 />
36 <meta name="author" content="Adrian Iain Lam" />
37 <script src="script.js"></script>
38 <link rel="stylesheet" type="text/css" href="style.css" />
39</head>
40<body onload="autocheck()">
41 <h3>UCAS Personal Statement Line &amp; Character Counter</h3>
42 <div id="txtContainer">
43 Paste your personal statement here!<br />
44 <textarea id="txt1"></textarea>
45 </div>
46
47 <div id="outputContainer" class="topPadding">
48 <div id="resultsContainer">
49 <div id="results"></div>
50 <!-- Empty div will not have space reserved -->
51 <div id="workaround" class="hidden">.</div>
52 </div>
53
54 <div id="statContainer">
55 <input id="chk1" type="checkbox" onclick="autocheck()" checked>
56 Automatic analysis
57 <span class="note">(Not recommended for slow computers)</span>
58 <button id="btn1" class="hidden" onclick="analyse()">
59 Analyse
60 </button>
61 <br />
62 <input id="chk2" type="checkbox" onclick="analyse()" checked>
63 Separate paragraphs
64 <br />
65 <span class="note">
66 (For readability purpose only. Will NOT be present in the UCAS
67 submission)
68 </span>
69 <div id="stats" class="topPadding">
70 <div id="statLines">Lines: 0/47</div>
71 <div id="statChars">Characters: 0/4000</div>
72 <div id="statWarn" class="hidden">
73 Warning: Extra space(s) found at end of paragraph(s)
74 </div>
75 </div>
76 <address>
77 Found a bug? Please report to
78 &lt;<a href="mailto:ail30@cam.ac.uk">ail30@cam.ac.uk</a>&gt;.
79 </address>
80 <footer>
81 <p>Copyright &copy; 2014-2016 Adrian Iain Lam</p>
82 <p>
83 This program is free software, and you are welcome to redistribute it
84 under the terms of the GNU GPL. This program comes with ABSOLUTELY NO
85 WARRANTY. View the source for details.
86 </p>
87 <p>
88 This site is not affiliated with, endorsed by, approved by,
89 or related to UCAS.
90 </p>
91 <p>
92 Unlike <a href="http://maccery.com/ps/" target="_blank">the counter
93 by Maccery</a>, no personal statements are sent to the hosting server.
94 All codes are executed on the client-side.
95 </p>
96 </div>
97 </div>
98</body>
99</html>