-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (70 loc) · 2.7 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
<!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">
<meta name="description" content="JavaScript word counter.">
<meta name="keywords" content="HTML, CSS, JS, JavaScript, word count, web development">
<meta name="author" content="Fengyuan Chen">
<title>Word Counter</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="container">
<div class="header">
<h1 class="brand">Word Counter<small>JavaScript word counter.</small></h1>
<div class="credits">
<span>Code from: <a href="https://github.com/fengyuanchen/wordcounter" target="_blank">@fengyuanchen</a></span>
<span>Adapted by: <a href="https://github.com/BackrndSource/wordcounter" target="_blank">@BackrndSource</a></span>
</div>
</div>
<div class="main">
<div class="mainbody">
<!-- Counter Options -->
<div class="options">
<ul class="nav">
<li>
<label for="mincount">Compte minimale:</label>
<input type="number" id="mincount" size="3"/></li>
<li>
<label for="minlength">Longueur minimale:</label>
<input type="number" id="minlength" size="3"/></li>
<li>
<label for="ignore">Ignorer mots:</label>
<input type="text" id="ignore"/></li>
<li>
<label for="ignorecase">Ignorer majuscules / minuscules:</label>
<select id="ignorecase">
<option value="true">Oui</option>
<option value="false">Non</option>
</select>
</li>
<li><button data-action="reset-options" href="javascript:void(0);">Réinitialiser options</button></li>
</ul>
</div>
<!-- Source Options -->
<div class="options">
<ul class="nav">
<li>
<label for="fileinput">Source à partir d'un fichier texte brut:</label>
<input type="file" id="fileinput"/>
</li>
<li><button data-action="reset-source" href="javascript:void(0);">Réinitialiser source</button></li>
</ul>
</div>
<textarea class="input" id="source" placeholder="Source..."></textarea>
</div>
<div class="sidebar">
<textarea class="output" id="result" placeholder="Résultat..." readonly></textarea>
</div>
</div>
<div class="footer">
<span class="blocks"></span>
</div>
</div>
<script src="js/jquery-1.12.4.min.js"></script>
<script src="js/wordcounter.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>