forked from fossasia/open-event-wsgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsession.hbs
229 lines (220 loc) · 11.1 KB
/
session.hbs
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preload" as="script" href="../js/jquery.min.js">
<link rel="preload" as="script" href="../js/bootstrap.min.js">
<link rel="preload" as="script" href="../js/tracks.min.js">
<link rel="preload" as="style" href="../css/schedule.css">
<link rel="preload" as="style" href="../css/font-awesome.min.css">
<link rel="preload" as="style" href="../css/bootstrap.min.css">
<link rel="preload" as="font" href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,300" crossorigin>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="{{ apptitle }} Schedule">
<meta name="author" content="{{ metaauthor }}">
<title>{{ apptitle }}</title>
<!-- Bootstrap core CSS -->
<!-- Latest compiled and minified CSS -->
<link rel="shortcut icon" href="{{ eventurls.ico_url }}" type="image/x-icon"/>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css">
<link rel="stylesheet" href="../css/bootstrap.min.css">
<link rel="stylesheet" href="../css/schedule.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<a href="#track-list" class="skip">Skip to content</a>
{{> scroll}}
<a id="top"></a>
{{> navbar}}
{{#session}}
<div class="container session-container">
<div class="row single-session" id="{{session_id}}">
<h3> {{startDay}} </h3>
<div class = "eventtime"><span class="time-track">{{start}} - {{end}}</span></div>
<div class="session-content">
<div class="sizeevent event event-title" id="title-{{session_id}}" style="background-color:{{color}}; color:{{font_color}}; margin-right:0px; cursor:unset;">
{{title}} {{#if type}} ({{type}}) {{/if}} | {{track_title}}
<a class="bookmark">
<i class="fa fa-star" aria-hidden="true">
</i>
</a>
</div>
<div>
<div>
{{{description}}}
{{#if audio}}
<audio controls="" id="audio-block" preload="none">
<source src="{{ audio }}">
</audio>
{{/if}}
</div>
<hr class="clear-both">
<div class="session-speakers-list" aria-expanded="false"
aria-controls="desc-{{session_id}}">
{{#speakers_list}}
<a href="../speakers.html#{{nameIdSlug}}">
<div class="session-speakers-less">
<p class="session-speakers">
{{#if photo}}
<img onError="this.onerror=null;this.src='../images/avatar.png';"
src="{{thumb}}" class="lazy card-img-top speaker-image-large"/>
{{else}}
<img class="card-img-top speaker-image-large" src="../images/avatar.png"/>
{{/if}}
</p>
<span class="graytext">{{name}}</span>
</div>
</a>
{{#if organisation}}
<p class="session-speakers-more">{{position}} {{organisation}}</p>
{{/if}}
{{#if biography}}
<div class="session-speakers-more">
{{{biography}}}
</div>
{{/if}}
<div class="blacktext session-speaker-social">
<div class="session-speakers-more">
{{#if web}}
<a class="blacktext social speaker-social" href="{{{web}}}"><i
class="fa fa-home"></i> Web</a>
{{/if}}
{{#if github}}
<a class="blacktext social speaker-social" href="{{{github}}}"><i
class="fa fa-github"></i> Github</a>
{{/if}}
{{#if twitter}}
<a class="blacktext social speaker-social" href="{{{twitter}}}"><i
class="fa fa-twitter"></i> Twitter</a>
{{/if}}
{{#if linkedin}}
<a class="blacktext social speaker-social" href="{{{linkedin}}}"><i
class="fa fa-linkedin"></i> LinkedIn</a>
{{/if}}
<a class="session-lin social speaker-social clickable-link">
<i class="fa fa-share"></i> Share
</a>
<div class="social-buttons row">
{{> social}}
<div class="row social-link">
<input class="speakers-inputbox" type="text" onclick="this.select()"
value="base#{{../session_id}}" readonly>
</div>
</div>
</div>
</div>
<hr class="clear-both">
{{/speakers_list}}
<div class="blacktext">
{{#if location}}<p> <a href="{{room_jump_link}}">{{location}}</a></p>{{/if}}
{{#if startDay}}<p>{{startDay}}, <span>{{start}} - {{end}}</span></p>{{/if}}
<p>
<ul class="session-ul">
<li style="background-color:{{{color}}};color:{{{font_color}}};"
class="titlecolor"></li>
<li><a href="{{track_jump_link}}"> {{track_title}} </a> </li>
</ul>
</p><br>
</div>
</div>
</div>
</div>
</div>
</div>
{{/session}}
<div class="footer-container">
<footer class="classic">
<div class="container">
<div class="row ui-sortable">
<div id="menuItem" class="col-sm-2 col-md-2 col-xs-12">
<ul class="menu">
<li><a target="_self" href="../index.html#description">About</a></li>
{{#if eventurls.register}}
<li><a target="_self" href="../index.html#ticket-button">Tickets</a></li>
{{/if}}
{{#if timeList}}
<li><a target="_self" href="../schedule.html">Schedule</a></li>
{{/if}}
{{#if tracks}}
<li><a target="_self" href="../tracks.html">Tracks</a></li>
{{/if}}
{{#if roomsinfo}}
<li><a target="_self" href="../rooms.html">Rooms</a></li>
{{/if}}
{{#if speakerslist}}
<li><a target="_self" href="../speakers.html">Speakers</a></li>
{{/if}}
<li><a class="inner-link back-to-top" href="#top">Back To Top</a></li>
</ul>
</div>
<div id="copyright" class="col-sm-7 col-md-7 col-xs-12">
{{#if copyright}}
{{#if copyright.licence}}
<p>
<a href="{{{copyright.licence_url}}}"><img src="{{{copyright.logo}}}"></a>
© {{copyright.year}}
{{#if copyright.holder_url}}
<a href="{{{copyright.holder_url}}}">{{copyright.holder}}.</a>
{{else}}
{{copyright.holder}}.
{{/if}}
The website and its contents are licensed under
<a href="{{{copyright.licence_url}}}"> {{copyright.licence}}. </a>
The site was generated using the Open Event format on the <a href="https://eventyay.com/">eventyay</a> <a href="https://webgen.eventyay.com/">site generator</a>. Please submit issues <a href="https://github.com/fossasia/open-event-webapp/issues">here</a>.
</p>
{{/if}}
{{/if}}
</div>
<div class="contact-details col-sm-3 col-md-3 col-xs-12">
<ul class="contact-methods">
{{#if eventurls.email}}
<li>
<i class="fa fa-envelope"></i>
<div>
<a href="mailto:{{eventurls.email}}" target="_self" class="org-name">
{{eventurls.email}}
</a>
</div>
</li>
{{/if}}
{{#if eventurls.location}}
<li class="address">
<i class="fa fa-map-marker"></i>
<div>{{{eventurls.orgname}}}, {{eventurls.location}}</div>
</li>
{{/if}}
</ul>
</div>
</div>
<div class="row ui-sortable">
<div class="col-sm-12 text-center">
<ul class="social-profiles">
{{#sociallinks}}
{{#if show}}
<li class="pull-left social-icons"><a href="{{link}}" id="social-icons"><i class="fa fa-lg fa-{{icon}}" aria-hidden="true" title="{{{icon}}}"></i></a></li>
{{/if}}
{{/sociallinks}}
</ul>
</div>
</div>
</div>
</footer>
</div>
<script>
var eventInfo = {};
eventInfo.name = "{{eventurls.name}}";
eventInfo.name = eventInfo.name.substring(eventInfo.name.lastIndexOf('/') + 1);
</script>
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js" type="text/javascript"></script>
<script src="../js/session.min.js" type="text/javascript"></script>
</body>
</html>