-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from bastaille/banners
Addition of the speaker's banner and sponsor's banner.
- Loading branch information
Showing
16 changed files
with
270 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
140 changes: 140 additions & 0 deletions
140
src/main/resources/templates/Application/speakerBanner.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@font-face { | ||
font-family: 'Interstate Regular'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Interstate Regular'), url('/static/fonts/InterstateRegular.woff') format('woff'); | ||
} | ||
@font-face { | ||
font-family: 'Interstate Light'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Interstate Light'), url('/static/fonts/InterstateLight.woff') format('woff'); | ||
} | ||
@font-face { | ||
font-family: 'Interstate Bold'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Interstate Bold'), url('/static/fonts/InterstateBold.woff') format('woff'); | ||
} | ||
|
||
#name, #compagny { | ||
position: absolute; | ||
z-index: 1; | ||
} | ||
#name { | ||
color: #474743; | ||
top: 322px; | ||
left: 250px; | ||
font-family: "Interstate Regular"; | ||
font-size: 21; | ||
text-align: center; | ||
width: 400px; | ||
} | ||
#compagny { | ||
color: #474743; | ||
top: 345px; | ||
left: 250px; | ||
font-family: "Interstate bold"; | ||
text-align: center; | ||
font-size: 16; | ||
width: 400px; | ||
} | ||
#permanent_text_1 { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 123px; | ||
left: 55px; | ||
font-size: 23; | ||
font-family: "Interstate light"; | ||
width: 400; | ||
text-align: center; | ||
} | ||
#permanent_text_2 { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 183px; | ||
left: 721px; | ||
font-size: 20; | ||
font-family: "Interstate bold"; | ||
} | ||
#orange { | ||
color: #fdc43f; | ||
} | ||
#location { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 229px; | ||
left: 721px; | ||
font-size: 21; | ||
font-family: "Interstate light"; | ||
} | ||
#site_name { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 322px; | ||
left: 721px; | ||
font-size: 23; | ||
font-family: "Interstate bold"; | ||
} | ||
.personSummary__photo { | ||
width: 130; | ||
height: 133; | ||
border-radius: 150px; | ||
background-size: cover; | ||
position: absolute; | ||
top: 179px; | ||
left: 387px; | ||
} | ||
.talks_type { | ||
z-index: 1; | ||
font-family: 'Interstate bold'; | ||
color: #fdc43f; | ||
text-align: center; | ||
width: 400px; | ||
} | ||
#program { | ||
position: absolute; | ||
z-index: 1; | ||
font-family: 'Interstate light'; | ||
color: #474743; | ||
top: 366px; | ||
left: 250; | ||
text-align: center; | ||
width: 400px; | ||
} | ||
#citation_1,#citation_2 { | ||
color:#fdc43f; | ||
z-index: 1; | ||
font-family: 'Interstate bold'; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div | ||
class="personSummary__photo personDetails__header--photo" | ||
style="background-image: url('{uri:Application.speakerPhoto(speaker.id)}')" | ||
></div> | ||
|
||
<div id="name">{speaker.firstName} {speaker.lastName}</div> | ||
<div id="compagny"><strong>{speaker.company}</strong></div> | ||
<div id="permanent_text_1">{m:views.application.banner.speaker.date.3.raw}</div> | ||
<div id="permanent_text_2">{m:views.application.banner.speaker.date.1.raw}<br/>{m:views.application.banner.speaker.date.2.raw}</div> | ||
<div id="location">Sophia Antipolis</div> | ||
<div id="site_name">rivieradev.fr</div> | ||
<div id="program"> | ||
{#for talk in speaker.talks} | ||
<div class="talks_type">{talk.type}: </div> | ||
<div><span id="citation_1">« </span> {talk.title} <span id="citation_2">»</span></div> | ||
{/for} | ||
</div> | ||
<img src="/static/images/Speakers-banner-notext.png"/> | ||
|
||
</body> | ||
</html> |
102 changes: 102 additions & 0 deletions
102
src/main/resources/templates/Application/sponsorBanner.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<html> | ||
<head> | ||
<style> | ||
@font-face { | ||
font-family: 'Interstate Regular'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Interstate Regular'), url('/static/fonts/InterstateRegular.woff') format('woff'); | ||
} | ||
@font-face { | ||
font-family: 'Interstate Light'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Interstate Light'), url('/static/fonts/InterstateLight.woff') format('woff'); | ||
} | ||
@font-face { | ||
font-family: 'Interstate Bold'; | ||
font-style: normal; | ||
font-weight: normal; | ||
src: local('Interstate Bold'), url('/static/fonts/InterstateBold.woff') format('woff'); | ||
} | ||
|
||
|
||
#permanent_text_1 { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 123px; | ||
left: 55px; | ||
font-size: 23; | ||
font-family: "Interstate light"; | ||
width: 400; | ||
text-align: center; | ||
} | ||
#permanent_text_2 { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 183px; | ||
left: 721px; | ||
font-size: 20; | ||
font-family: "Interstate bold"; | ||
} | ||
#location { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 229px; | ||
left: 721px; | ||
font-size: 21; | ||
font-family: "Interstate light"; | ||
} | ||
#site_name { | ||
position: absolute; | ||
z-index: 1; | ||
color: white; | ||
top: 322px; | ||
left: 721px; | ||
font-size: 23; | ||
font-family: "Interstate bold"; | ||
} | ||
#personSummary__photo { | ||
max-width: 330px; | ||
top: 225px; | ||
left: 226px; | ||
max-height: 100px; | ||
margin: auto; | ||
} | ||
#image_box { | ||
text-align: center; | ||
width: 400px; | ||
position: absolute; | ||
height: 100px; | ||
left: 184px; | ||
top: 209px; | ||
} | ||
#sponsorRank { | ||
position: absolute; | ||
z-index: 1; | ||
top: 339px; | ||
left: 287px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
|
||
|
||
<div id="image_box"><img | ||
id="personSummary__photo" | ||
src="{uri:Application.sponsorLogo(sponsor.id)}" | ||
/></div> | ||
|
||
|
||
<div id="permanent_text_1">{m:views.application.banner.sponsor.date.1.raw}</div> | ||
<div id="permanent_text_2">{m:views.application.banner.speaker.date.1.raw}<br/>{m:views.application.banner.speaker.date.2.raw}</div> | ||
<div id="location">Sophia Antipolis</div> | ||
<div id="site_name">rivieradev.fr</div> | ||
<img src="/static/images/Sponsors-banner-notext.png"/> | ||
<img src="/static/images/Sponsors-{sponsor.level}.png" id="sponsorRank"/> | ||
|
||
</body> | ||
</html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.