1 <?xml version="1.0" encoding="utf-8"?>
5 <template id="assets_frontend" inherit_id="website.assets_frontend" name="Website Event Track Assets">
6 <xpath expr="." position="inside">
7 <script type="text/javascript" src="/website_event_track/static/src/js/website_event_track.js"></script>
11 <template name="Sponsors" id="event_sponsor" customize_show="True" inherit_id="website_event.layout">
12 <xpath expr="//div[@id='wrap']" position="inside">
13 <div class="container mt32 mb16 hidden-print" t-if="event.sponsor_ids">
15 <h2 class="text-center mb32">Our Sponsors</h2>
18 <div t-attf-class="col-md-#{(len(event.sponsor_ids) > 6) and 2 or (12/ len(event.sponsor_ids))} text-center mb16 oe_sponsor" t-foreach="event.sponsor_ids" t-as="sponsor">
19 <t t-if="sponsor.url">
20 <a t-att-href="sponsor.url" style="position: relative; display: inline-block;">
21 <span t-field="sponsor.image_medium"
22 t-field-options='{"widget": "image", "class": "shadow"}'/>
23 <div class="ribbon-wrapper">
24 <div t-field="sponsor.sponsor_type_id" t-attf-class="ribbon ribbon_#{sponsor.sponsor_type_id.name}"/>
28 <t t-if="not sponsor.url">
29 <span style="position: relative; display: inline-block;">
30 <span t-field="sponsor.image_medium"
31 t-field-options='{"widget": "image", "class": "shadow"}'/>
32 <div class="ribbon-wrapper">
33 <div t-field="sponsor.sponsor_type_id" t-attf-class="ribbon ribbon_#{sponsor.sponsor_type_id.name}"/>
43 <template id="agenda">
44 <t t-call="website_event.layout">
45 <section class="container">
46 <h1 class="text-center" t-field="event.name"/>
47 <div class="form-inline pull-right">
48 <label class="invisible text-muted" id="search_summary"><span id="search_number">0</span> Found </label>
49 <input type="text" class="form-control" placeholder="Filter Tracks..." id="event_track_search"/>
52 <t t-set="dayslist" t-value="days.keys()"/>
53 <t t-set="dayslist2" t-value="dayslist.sort()"/> <!-- display days in the right order -->
54 <section class="container" t-foreach="dayslist" t-as="day">
55 <t t-set="locations" t-value="days[day]['locations']"/>
56 <t t-set="dates" t-value="days[day]['dates']"/>
57 <h3 class="page-header mt0">
59 <small><t t-esc="days_nbr[day]"/> talks</small>
61 <table id="table_search" class="table table-bordered table-condensed">
64 <t t-foreach="locations.keys()" t-as="location">
65 <th t-if="location" class="active">
66 <span t-esc="location and location.name or 'Unknown'"/>
70 <tr t-foreach="dates" t-as="dt">
72 <b t-esc="dt[0].strftime('%H:%M')"/>
74 <t t-if="dt[2]"> <!-- Not a multi location -->
75 <t t-foreach="locations" t-as="location">
76 <t t-if="location and dt[1].get(location, False)">
77 <t t-set="track" t-value="dt[1][location][0]"/>
79 <td t-att-rowspan="dt[1][location][3]" t-attf-class="event_color_#{track.color} #{track and 'event_track' or ''}">
81 <a t-attf-href="/event/#{ slug(event) }/track/#{ slug(track) }">
82 <span t-esc="track and track.name"/>
84 <div class="text-muted">
85 <small t-esc="speakers[track.id]"/>
90 <td t-if="not track" t-att-rowspan="dt[1][location][3]" class="event_track"/>
93 </t><t t-if="not dt[2]">
94 <t t-set="track" t-value="dt[1][False][0]"/>
95 <td t-att-colspan="len(locations)-1" t-attf-class="text-center event_color_#{track.color} #{track and 'event_track' or ''}">
96 <a t-attf-href="/event/#{ slug(event) }/track/#{ slug(track) }">
97 <span t-esc="track.name"/>
99 <div class="text-muted">
100 <small t-esc="speakers[track.id]"/>
111 <template id="tracks">
112 <t t-call="website_event.event_details">
113 <div id="left_column">
115 <div class="col-md-9">
116 <div class="alert alert-warning" t-if="not len(tracks)">
119 <div class="row mb32" t-foreach="tracks" t-as="track">
120 <div class="col-sm-2">
121 <t t-if="track.image">
122 <span t-field="track.image"
123 t-field-options='{"widget": "image", "class": "img-circle"}'/>
126 <div class="col-sm-10">
128 <a t-attf-href="/event/#{ slug(event) }/track/#{ slug(track) }"><span t-field="track.name"> </span></a>
129 <small t-if="not track.website_published" class="label label-danger">not published</small>
131 <ul class="list-inline mb0">
132 <li t-if="track.speaker_ids" class="text-muted fa fa-user">
133 <t t-esc="', '.join([speaker.name for speaker in track.speaker_ids])"></t>
135 <li class="text-muted fa fa-calendar"> <span t-field="track.date" t-field-options='{"hide_seconds":"True"}'/></li>
136 <li class="text-muted fa fa-map-marker" t-if="track.location_id">
137 <span t-field="track.location_id"/>
140 <ul class="list-inline">
141 <li t-foreach="track.tag_ids" t-as="tag_id" class="text-muted fa fa-tags">
142 <a t-attf-href="/event/#{ slug(event) }/track/tag/#{ slug(tag_id) }">
143 <span t-field="tag_id.name"/>
147 <p class="mt8"><t t-esc="html2text(track.description or '')[0:500]"/>...</p>
154 <template id="tracks_filter" inherit_id="website_event_track.tracks" customize_show="True" name="Filter on Tags">
155 <xpath expr="//div[@id='left_column']" position="inside">
156 <ul class="nav nav-pills nav-stacked">
157 <li t-att-class="'' if searches.get('tag') else 'active'"><a t-attf-href="/event/#{ slug(event) }/track">All Tags</a></li>
158 <t t-foreach="tags" t-as="tag">
159 <li t-att-class="searches.get('tag') == tag.id and 'active' or ''">
160 <a t-attf-href="/event/#{ slug(event) }/track/tag/#{ slug(tag) }">
161 <t t-esc="tag.name"/>
167 <xpath expr="//div[@id='left_column']" position="attributes">
168 <attribute name="class">col-md-3 css_no_print</attribute>
174 <template id="track_view">
175 <t t-call="website_event.layout">
176 <div class="container">
177 <t t-call="website.publish_management">
178 <t t-set="object" t-value="track"/>
179 <t t-set="publish_edit" t-value="True"/>
181 <div class="clearfix"/>
183 <h2 t-field="track.name" class="text-center"/>
184 <h3 t-field="event.name" class="text-center text-muted"/>
185 <ul t-if="track.tag_ids" class="text-center text-muted list-inline">
186 <li t-foreach="track.tag_ids" t-as="tag_id">
187 <span class="fa fa-tags"></span>
188 <a t-attf-href="/event/#{ slug(event) }/track/tag/#{ slug(tag_id) }">
189 <span t-field="tag_id.name"/>
194 <section class="row mt32">
195 <div class="col-md-8">
196 <div t-field="track.description"/>
197 <div t-foreach="track.speaker_ids" t-as="speaker" class="well mt32">
199 <div class="col-sm-2">
200 <span t-field="track.image"
201 t-field-options='{"widget": "image", "class": "img-circle"}'/>
202 </div><div class="col-sm-10">
203 <h4 t-field="speaker.name" class="mb4"/>
204 <div class="fa fa-home mb16" t-if="speaker.website">
205 <a t-att-href="speaker.website"><span t-field="speaker.website"/></a>
207 <div t-field="speaker.website_description"/>
212 <div class="col-md-4" id="right_column">
213 <div class="panel panel-default">
214 <div class="panel-heading">
215 <h4>Practical Info</h4>
217 <div class="panel-body">
219 <span t-field="track.date" t-field-options='{"hide_seconds":"True"}'/><br/>
221 <span t-field="track.duration" t-field-options="{"widget": "duration", "unit": "hour"}"/><br/>
223 <span t-field="track.location_id"/><br/>
227 <div class="panel panel-default" t-if="False">
228 <div class="panel-heading">
231 <div class="panel-body">
232 Put here the list of documents, like slides of
233 the presentations. Remove the above t-if when
243 <template id="event_track_social" name="Social Widgets" inherit_id="website_event_track.track_view" active="False" customize_show="True">
244 <xpath expr="//div[@id='right_column']" position="inside">
245 <div class="panel panel-default">
246 <div class="panel-heading">
247 <h4>Social Stream</h4>
249 <div class="panel-body">
250 <t t-call="website_mail.follow"><t t-set="object" t-value="event"/></t>
251 <div t-if="event.twitter_hashtag" class="mt16">
252 <p><strong>Participate on Twitter</strong></p>
253 <p class="text-muted">
254 Find out what people see and say about this event,
255 and join the conversation.
257 <p><strong>Use this tag:
258 <a t-att-href="'http://twitter.com/search?q=#'+event.twitter_hashtag" class="label label-primary">#<span t-field="event.twitter_hashtag"/></a>
266 <template id="event_track_proposal">
267 <t t-call="website_event.layout">
268 <div class="oe_structure"/>
269 <div class="container">
271 <h1 class="text-center mb0">Call for Proposals</h1>
272 <h2 class="text-center text-muted mb32" t-esc="event.name"></h2>
274 <section id="forms" t-if="not event.show_track_proposal">
275 <h1>Proposals are closed!</h1>
277 This event does not accept proposals.
280 <section class="row">
281 <div class="col-md-8">
282 <div class="oe_structure">
284 <h3 class="page-header mt16">
288 We will accept a broad range of
289 presentations, from reports on academic and
290 commercial projects to tutorials and case
291 studies. As long as the presentation is
292 interesting and potentially useful to the
293 audience, it will be considered for
294 inclusion in the programme.
298 <h3 class="page-header">Application</h3>
300 Fill this form to propose your talk.
305 <section id="forms" t-if="event.show_track_proposal">
306 <form class="form-horizontal mt32" t-attf-action="/event/#{event.id}/track_proposal/post" method="post" enctype="multipart/form-data">
307 <div class="form-group">
308 <label class="col-md-3 col-sm-4 control-label" for="partner_name">Your Name</label>
309 <div class="col-md-7 col-sm-8">
310 <input type="text" class="form-control" name="partner_name" required="True" />
313 <div class="form-group">
314 <label class="col-md-3 col-sm-4 control-label" for="email_from">Your Email</label>
315 <div class="col-md-7 col-sm-8">
316 <input type="email" class="form-control" name="email_from" required="True" />
319 <div class="form-group">
320 <label class="col-md-3 col-sm-4 control-label" for="phone">Your Phone</label>
321 <div class="col-md-7 col-sm-8">
322 <input type="text" class="form-control" name="phone" required="True" />
325 <div class="form-group" t-if="len(event.allowed_track_tag_ids)">
326 <label class="col-md-3 col-sm-4 control-label" for="phone">Tags</label>
327 <div class="col-md-9 col-sm-8">
329 <label class="col-sm-4" t-foreach="event.allowed_track_tag_ids" t-as="tag">
330 <input type="checkbox" value="1" t-attf-name="tag_#{str(tag.id)}"/>
331 <t t-esc="tag.name"/>
336 <div class="form-group">
337 <label class="col-md-3 col-sm-4 control-label" for="track_name">Talk Title</label>
338 <div class="col-md-7 col-sm-8">
339 <input type="text" class="form-control" name="track_name" required="True"/>
342 <div class="form-group">
343 <label class="col-md-3 col-sm-4 control-label" for="phone">Speaker Biography</label>
344 <div class="col-md-7 col-sm-8">
345 <textarea class="form-control" name="biography" style="min-height: 120px"/>
348 <div class="form-group">
349 <label class="col-md-3 col-sm-4 control-label" for="description">Talk Introduction</label>
350 <div class="col-md-7 col-sm-8">
351 <textarea class="form-control" name="description" style="min-height: 120px"/>
354 <div class="form-group">
355 <div class="col-md-offset-3 col-sm-offset-4 col-sm-8 col-md-7">
356 <button type="submit" class="btn btn-primary">Submit Proposal</button>
361 <div class="oe_structure"/>
362 </div><div class="col-md-3 col-md-offset-1">
363 <div class="panel panel-default">
364 <div class="panel-heading">
367 <div class="panel-body">
368 <ul class="list-unstyled">
370 <strong>Regular Talks</strong>. These are standard talks with slides,
371 alocated in slots of 60 minutes.
373 <strong>Lightning Talks</strong>. These are 30 minutes talks on many
374 different topics. Most topics are accepted in lightning talks.
381 <div class="panel panel-default">
382 <div class="panel-heading">
383 <h4>Submission Agreement</h4>
385 <div class="panel-body">
387 We require speakers to accept an agreement in which they commit to:
389 <ul class="list-unstyled">
391 Timely release of presentation material (slides),
392 for publishing on our website.
394 Allow video and audio recording of their
395 presentation, for publishing on our website.
404 <div class="oe_structure"/>
408 <template id="event_track_proposal_success">
409 <t t-call="website_event.event_details">
411 Thank you for your proposal.
413 We will evaluate your proposition and get back to you shortly.