forked from hackforla/expunge-assist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecord_clearance_mockup.html
172 lines (159 loc) · 5.45 KB
/
record_clearance_mockup.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html>
<style>
.collapsible {
background-color: #3498DB;
color: white;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
}
.active, .collapsible:hover {
background-color: #555;
}
.content {
padding: 0 18px;
display: none;
overflow: hidden;
background-color: #f1f1f1;
}
.show {display: block;}
.column {
float: left;
width: 50%;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
.paragraph {
border: 2px solid #0066FF;
background-color:#FFCC33;
padding: 5px;
}
</style>
<head>
<title>Record Clearance</title>
</head>
<body>
<div class="row"></div>
<div class="row">
<div class="column">
<button type="button" class="collapsible">Paragraph 1</button>
<div class="content">
<div>
<span>Please enter your full name as you'd
like to see it on your personal statement: </span>
<input type="text" id="fullname" name="fullname">
</div>
<div>
<span>Please enter your age in years: </span>
<input type="number" id="age" name="age">
</div>
</div>
<button type="button" class="collapsible">Paragraph 2</button>
<div class="content">
<div>
<span>We would like to show the judge that you are working to
improve your situation. Please fill in this sentence for
your personal statement:
<br>
"Since my last conviction,
<span><input type="text" id="sinceLastConviction" name="sinceLastConviction"></span>
."
</span>
</div>
<div>
<input type="checkbox" id="addContext" value="yes" checkted>
Add a sentence of context to your prior response
</input>
</div>
<div>
<span>Context: </span>
<input type="text" id="context1" name="context1">
</div>
</div>
<button type="button" class="collapsible">Paragraph 3</button>
<div class="content">
<div>
<span>Lorem Ipsum demo demo demo </span>
<input type="text" id="loremipsum" name="loremipsum">
</div>
</div>
<button type="button" class="collapsible">Paragraph 4</button>
<div class="content">
<div>
<span>Lorem Ipsum demo demo demo </span>
<input type="text" id="loremipsum" name="loremipsum">
</div>
</div>
<button type="button" class="collapsible">Paragraph 5</button>
<div class="content">
<div>
<span>Lorem Ipsum demo demo demo </span>
<input type="text" id="loremipsum" name="loremipsum">
</div>
</div>
</div>
<div class="column">
<div class="paragraph">
My name is _____, and I am __ years old.
I have a family, including _____. I have recently been working in _____.
_____________. _____________. _______________.
</div>
<br>
<div class="paragraph">
Since my last conviction, _______. ___________. I also
_________________. _______________. It is difficult to ___________
because __________________.
</div>
<br>
<div class="paragraph">
For work I ___________. _____________. I also spend time trying to
learn new things. I _____________. ________________
</div>
<br>
<div class="paragraph">
One goal I have is to ____________. _________________. Another goal
I have is to ________________. ______________.
</div>
<br>
<div class="paragraph">
I want to clear my record because __________________.
_________________. It is hard for me to __________________.
It is making it hard for me to __________________, and
that is very important to me. If my record were cleared, it would
help me to _________________. I want to clear my record so I can
_____________________.
</div>
</div>
</div>
<div class="row"></div>
</body>
</html>
<script>
function dropPp1() {
document.getElementById("myDropdown").classList.toggle("show");
}
</script>
<script>
var coll = document.getElementsByClassName("collapsible");
var i;
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function() {
this.classList.toggle("active");
var content = this.nextElementSibling;
if (content.style.display === "block") {
content.style.display = "none";
} else {
content.style.display = "block";
}
});
}
</script>