[www-doc] [Git][VideoLAN.org/websites][master] 2 commits: vdd17: add VDD17 banner
Hugo Beauzée-Luyssen
gitlab at videolan.org
Wed Aug 16 20:36:46 CEST 2017
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN organization / websites
Commits:
2a51f4ec by David Loiret at 2017-08-16T20:24:59+02:00
vdd17: add VDD17 banner
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
- - - - -
b8a766ec by David Loiret at 2017-08-16T20:34:24+02:00
vdd17: update sponsors position
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
- - - - -
4 changed files:
- + www.videolan.org/images/events/vdd17/banner01.jpg
- www.videolan.org/include/header.php
- www.videolan.org/videolan/events/vdd17/index.php
- www.videolan.org/videolan/events/vdd17/style.css
Changes:
=====================================
www.videolan.org/images/events/vdd17/banner01.jpg
=====================================
Binary files /dev/null and b/www.videolan.org/images/events/vdd17/banner01.jpg differ
=====================================
www.videolan.org/include/header.php
=====================================
--- a/www.videolan.org/include/header.php
+++ b/www.videolan.org/include/header.php
@@ -270,7 +270,7 @@ function start_head( $title,
}
/* Actual start of the body */
-function start_body( $body_color, $language, $b_show_donate = true, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel )
+function start_body( $body_color, $language, $b_show_donate = true, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel, $show_vdd_banner )
{
echo "<body class='$new_design_class'>";
echo "<div id='bodyInner' class='$body_color'>";
@@ -307,6 +307,11 @@ function start_body( $body_color, $language, $b_show_donate = true, $nobanner, $
</div>
</div>
<?php } ?>
+ <?php if ($show_vdd_banner) { ?>
+ <a href='/videolan/events/vdd17'>
+ <?php image( 'events/vdd17/banner01.jpg' , 'VDD17 Videolan banner', 'vdd17-videolan-banner img-responsive center-block'); ?>
+ </a>
+ <?php } ?>
</div>
<?php
}
@@ -328,10 +333,11 @@ if(!isset($nobanner)) $nobanner = false;
if(!isset($show_donate)) $show_donate = true;
if(!isset($new_design)) $new_design = false;
if(!isset($show_sponsors_carousel)) $show_sponsors_carousel = false;
+if(!isset($show_vdd_banner)) $show_vdd_banner = true;
$new_design_class = $new_design ? 'new-design' : '';
/* render the page */
start_head( preg_replace( "/<[^>]*>/", "" , $title ), $body_color, $language,
$additional_css, $additional_js, $additional_meta, $alternate_lang, $body_onload, $body_onunload, $new_design );
-start_body( $body_color, $language, $show_donate, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel );
+start_body( $body_color, $language, $show_donate, $nobanner, $alternate_lang, $new_design_class, $show_sponsors_carousel, $show_vdd_banner );
?>
=====================================
www.videolan.org/videolan/events/vdd17/index.php
=====================================
--- a/www.videolan.org/videolan/events/vdd17/index.php
+++ b/www.videolan.org/videolan/events/vdd17/index.php
@@ -3,6 +3,7 @@
$body_color = "green";
$new_design = true;
+ $show_vdd_banner = false;
$lang = "en";
$menu = array( "videolan", "events" );
@@ -21,9 +22,11 @@
<h4>Paris, France</h4>
</div>
</div>
+ </div>
+ <div class="container">
<div id="sponsors">
- <h5>Sponsors</h5>
- <?php image( 'events/vdd17/sponsors/youtube_logo.svg' , 'Youtube', 'youtube-logo'); ?>
+ <h5>Sponsors</h5>
+ <?php image( 'events/vdd17/sponsors/youtube_logo.svg' , 'Youtube', 'youtube-logo'); ?>
</div>
</div>
</header>
@@ -37,7 +40,7 @@
<p>For its <b>ninth edition</b>, people from the VideoLAN and open source multimedia communities will meet on the
<strong>22nd and 24th of September 2017</strong>, to gather, work, discuss and meet, in: <strong>Paris, France</strong>!</p>
<p>This event is focused on technical discussions and decisions about <strong>multimedia</strong>.</p>
-
+ <?php image( 'events/vdd17/banner01.jpg' , 'VDD17 Videolan banner', 'vdd17-videolan-banner img-responsive center-block'); ?>
</div>
</div>
</div>
=====================================
www.videolan.org/videolan/events/vdd17/style.css
=====================================
--- a/www.videolan.org/videolan/events/vdd17/style.css
+++ b/www.videolan.org/videolan/events/vdd17/style.css
@@ -105,7 +105,7 @@ h2 {
#sponsors {
position: absolute;
- top: 100px;
+ bottom: -170px;
right: 15px;
}
@@ -114,6 +114,10 @@ h2 {
height: 38px;
}
-header-bg .container {
+.header-bg .container {
position: relative;
}
+
+.vdd17-videolan-banner {
+ margin-top: 10px;
+}
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/compare/1da374d5509228e37f137d796f595ab05c4ade26...b8a766ec527f931cd7abceffa073af8aecd9dced
---
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/compare/1da374d5509228e37f137d796f595ab05c4ade26...b8a766ec527f931cd7abceffa073af8aecd9dced
You're receiving this email because of your account on code.videolan.org.
More information about the www-doc
mailing list