forked from shanicerae/cmd-f-2019
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (115 loc) · 3.81 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<title>kindHerWords</title>
<!-- CSS -->
<link rel="stylesheet" href="src/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="./assets/curly.png" />
<link
rel="stylesheet"
type="text/css"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
/>
<link
href="https://fonts.googleapis.com/css?family=Markazi+Text|Pacifico"
rel="stylesheet"
/>
<meta charset="utf-8" />
</head>
<body>
<a href="https://github.com/shanicem/cmd-f-2019"
><img
style="position: absolute; top: 0; left: 0; border: 0; width: 149px; height: 149px;"
src="http://aral.github.com/fork-me-on-github-retina-ribbons/left-dusk-blue@2x.png"
alt="Fork me on GitHub"
/></a>
<div class="main-page">
<div class="flex-container">
<div>
<h1
style="padding-top: 50px; font-family: 'Markazi Text', serif; font-size: 100px; display: flex; justify-content: center;"
>
kind<span id='her' style="font-family: 'Pacifico'; font-size: 60px; padding-top: 20px">Her</span>Words
</h1>
</div>
<section
style="background-image: url('./assets/Plants.png'), url('./assets/sitting-1.png'); background-repeat: no-repeat; background-position: center center;"
>
<div class="input" style="width: 500px; height: 700px; margin: auto;">
<form style="width: 100%">
<textarea
id="userInput"
class="form-control"
rows="3"
style="height: 400px"
placeholder="Make your text more inclusive!"
></textarea>
<div style="display: flex; justify-content: flex-end;">
<button
type="button"
class="btn btn-info"
onclick="processInput(); showResults(); goToResults()"
style="margin-top: 20px"
>
Submit
</button>
</div>
</form>
</div>
</section>
<section
style="background-image: url('./assets/Plants.png'), url('./assets/standing-14.png'); background-repeat: no-repeat; background-position: center center;"
>
<div style="width: 500px; height: 700px; margin: auto">
<div class="collapse" id="text-field-collapse">
<div class="card card-body" id="text-output"></div>
<button
type="button"
class="btn btn-info"
onclick="goToSearch(); hideResults()"
style="margin-top: 20px"
>
Try another submission
</button>
<button
type="button"
class="btn btn-info replace-btn"
data-toggle="tooltip"
title="Automatically replace all highlighted terms with first suggestion"
data-placement="top"
onclick="autoReplace()"
style="margin-top: 20px"
>
Auto Replace
</button>
<button
type="button"
class="btn btn-info copy-btn"
onclick="copyToClipboard()"
disabled="true"
style="margin-top: 20px"
>
Copy to Clipboard
</button>
</div>
</div>
</section>
</div>
</div>
<div class="sidebar collapse" id="sidebar-collapse">
<h2 class="navbar-text px-4">Possible corrections</h2>
<br />
<div class="px-4" id="sidebar-results"></div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="src/Main.js"></script>
</body>
</html>