-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstoriesAllJill.html
214 lines (162 loc) · 7.14 KB
/
storiesAllJill.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<template name="storiesAllJill">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trans*Network | Stories</title>
</head>
<body>
{{> nav_bar}}
<div class="container">
<h1>Stories</h1>
<div class="input-group col-lg-2 pull-right">
<input type="text" height="34px" class="input-control pull-right-nopad heightchange" placeholder="Search Stories">
<span class="input-group-btn">
<a class="btn btn-default" href="{{ pathFor 'search_stories'}}"><i class="glyphicon glyphicon-search"></i></a>
</span>
</div><!-- /input-group -->
<!-- Tabs used for navagation -->
<ul class="nav nav-tabs">
<li ><a href="#hot1" data-toggle="tab">Hot Stories</a></li>
<li><a href="#topic1" data-toggle="tab">By Topic</a></li>
<li><a href="#followed1" data-toggle="tab">Followed</a></li>
<li><a href="#myStory" data-toggle="tab">My Story</a></li>
<li class="active"><a href="#all1" data-toggle="tab">All Stories</a></li>
</ul>
<!-- Tab Pane Contents (from http://getbootstrap.com/javascript/#tabs) -->
<div class="tab-content">
<div class="tab-pane" id="hot1">
<br> <h1>Most Popular Stories </h1> <br>
<p>
{{#each popular}}
<table border="1" class="storiesTable" style="width:900px" align="center">
<tr>
<td><b><a href="storiesJillsStory.html">{{title}}</a></b> <br>
{{content}}</td>
<td class="hugs" >{{hugs}} hugs <div title="Give a hug!">
<button type="button" class="btn btn-default hugbtn">
<img src="img/hug.png" >
</button>
</div> <br><a href="{{ pathFor 'storiesAllJill' }}"> 2 Comments </a> <br> <br> <a href="{{ pathFor 'storiesAllJill' }}">Read More...</a></td>
</tr>
</table>
<br>
{{/each}}
</p>
</div>
<div class="tab-pane" id="topic1">
<br><h1>Topics </h1> <br>
<table border="1" class="contentTable" style="width:700px" align="center">
<tr>
<td>
<div class="topics">
<a href="{{ pathFor 'storiesAllJill' }}">Public Acceptance</a>
<br> <br>
<a href="{{ pathFor 'storiesAllEve' }}">Transition Process</a>
</div>
</td>
</tr>
</table>
</div>
<div class="tab-pane" id="followed1">
<br><h1>Followed Stories </h1>
<br>
<table border="1" class="contentTable" style="width:700px" align="center">
<tr>
<td><b><a href="{{ pathFor 'storiesAllEve' }}">Jill's Story</a></b> <br> I’m transgender, meaning the gender that was assigned to me at birth doesn’t match the gender I identify with. For most of my life, I couldn’t articulate this feeling in a coherent way.</td>
<td class="hugs" >50 hugs <div title="Give a hug!">
<button type="button" class="btn btn-default hugbtn">
<img src="img/hug.png" >
</button>
</div> <br><a href="{{ pathFor 'storiesAllJill' }}"> 2 Comments </a> <br> <br> <a href="{{ pathFor 'storiesAllJill' }}">Read More...</a></td>
</tr>
</table>
<br>
<table border="1" style="width:700px" align="center">
<tr>
<td><b> <a href="{{ pathFor 'storiesAllEve' }}">Eve's Story</a> </b> <br> I've just got off the phone with one of my childhood bullies. He used to call me names and hit me on the way home from school, but we're friends now. He's slightly in awe of my life today and, to be honest, so am I. This year has been intense. </td>
<td class="hugs" >50 hugs <div title="Give a hug!" >
<button type="button" class="btn btn-default hugbtn">
<img src="img/hug.png" >
</button>
</div> <br> <a href="{{ pathFor 'storiesAllEve' }}">2 Comments </a><br> <br><a href="{{ pathFor 'storiesAllEve' }}"> Read More...</a></td>
</tr>
</table>
<br>
</div>
<div class="tab-pane" id="myStory">
<br> <h1>Your Story</h1> <br>
<table border="1" class="storiesTable" style="width:900px" align="center">
<tr>
<td><b>My Story</b><br><div id="update"> Edit the text below and click to save for next time</div> <br> <div id="edit" contenteditable="true" style="border-style:solid;">
I always knew I was a girl, but for years that life seemed an impossible dream. It was a difficult journey involving sex work, depression and a spell in a mental institution.
</div></td>
<td class="hugs" >50 hugs <div title="Give a hug!"> <img src="img/hug.png" ></div> <br> 0 Comments </td>
</tr>
</table>
<br>
<p align="center">
<button class="btn btn-primary btn-lg" type="edit my story" id="edit">edit my story</button>
</p>
</div>
<div class="tab-pane active" id="all1">
<br> <h1> Jill's Full Story</h1> <br>
<a href="{{ pathFor 'stories' }}"> <button class="btn btn-primary btn-lg" type="back" id="back">back to all stories</button></a>
<br>
<br>
<table border="1" class= "contentTable" style="width:900px" align="center">
<tr>
<td><b>Jill's Story</b> <br> I’m transgender, meaning the gender that was assigned to me at birth doesn’t match the gender I identify with. For most of my life, I couldn’t articulate this feeling in a coherent way. I started struggling when puberty hit, around age 12. I watched as my body
turned what felt to me grotesquely masculine, and my mind began to feel as
though it was in a fog of testosterone. My brain was like a Camry someone had
tried to fuel with diesel — it wasn’t meant to run on testosterone. I wished I
could be like the other girls in my class. Something just seemed right about
who they were, how they were.
<br>
I sank into a depression that lasted for years. I didn’t understand why. I tried
therapy, anti-depressants, anti-convulsants, and anti-anxiety medications.
They didn’t help. I finally gave up trying to fix it. I thought there was nothing I
could do.
<br>
At age 26, after years of repressing these feelings, the dissonance between my
mind, body and life itself became too much to handle. Every morning I woke
up feeling more shame and anxiety than ever before. I took up smoking, a
habit I’d kicked nearly two years prior. I couldn’t sleep without drinking, and I
often drank until I couldn’t walk. Still, the feelings persisted. I considered
suicide.
</td>
<td class="hugs" >50 hugs <div title="Give a hug!">
<button type="button" class="btn btn-default hugbtn">
<img src="img/hug.png" >
</button>
</div> <br> 2 Comments <br> <br>
{{ > messages2 }}
<br>Stay Strong! <i>by anonymous</i> <br><br> I feel the exact same way. <i>by <a href="#">queerGuy101</a></i> <br> <br>
<br>
{{ > input2 }}
</td>
</tr>
</table>
<br>
</div>
</div>
</div><!-- end container used for content -->
<script>
function saveEdits() {
//get the editable element
var editElem = document.getElementById("edit");
//get the edited element content
var userVersion = editElem.innerHTML;
//save the content to local storage
localStorage.userEdits = userVersion;
//write a confirmation to the user
document.getElementById("update").innerHTML="Edits saved!";
}
function checkEdits() {
//find out if the user has previously saved edits
if(localStorage.userEdits!=null)
document.getElementById("edit").innerHTML = localStorage.userEdits;
}
</script>
</body>
</template>