# HG changeset patch # User Raphael Velt # Date 1328887869 -3600 # Node ID 34f92d5b2acf89ddc9865080605ec94158552ea1 # Parent 36b25df474ac850ea2759e1b45898f47a7700ebc Added an archive embed for the IRI homepage diff -r 36b25df474ac -r 34f92d5b2acf web/archives-iframe.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/archives-iframe.php Fri Feb 10 16:31:09 2012 +0100 @@ -0,0 +1,101 @@ +\n"); + $archive_ref = $archives_list[$i]; + + $archive_name = $archive_ref; + $metadata = null; + if(is_array($archive_ref)) { + $archive_name = $archive_ref[0]; + $metadata = $archive_ref[1]; + } + print(get_archive_box($archive_name,$metadata, $url_root, $basepath, $translate)); + print(" \n"); + } +} + +?> + + + + + Polemic tweet - Live Video and Annotation + + + + + + + + + ' rel='stylesheet' type='text/css'> + + + + +
+

_("shortArchive"); ?>

+
+
+ +
+
+ + +
+
+ + +
+ +
+
+ + \ No newline at end of file diff -r 36b25df474ac -r 34f92d5b2acf web/common.php --- a/web/common.php Mon Feb 06 10:54:07 2012 +0100 +++ b/web/common.php Fri Feb 10 16:31:09 2012 +0100 @@ -238,6 +238,7 @@ 'tabs-slideshow' => URL_ROOT.'res/css/tabs-slideshow.css', 'tweetcast' => URL_ROOT.'res/css/tweetcast.css', 'semanticboard' => URL_ROOT.'res/css/semanticboard.css', + 'archives-iframe' => URL_ROOT.'res/css/archives-iframe.css', ), 'cdn' => array( 'blueprint-screen' => URL_ROOT.'res/blueprint/screen.css', @@ -250,6 +251,7 @@ 'tabs-slideshow' => URL_ROOT.'res/css/tabs-slideshow.css', 'tweetcast' => URL_ROOT.'res/css/tweetcast.css', 'semanticboard' => URL_ROOT.'res/css/semanticboard.css', + 'archives-iframe' => URL_ROOT.'res/css/archives-iframe.css', ) ); diff -r 36b25df474ac -r 34f92d5b2acf web/res/css/archives-iframe.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/res/css/archives-iframe.css Fri Feb 10 16:31:09 2012 +0100 @@ -0,0 +1,108 @@ +body { + background: #ffffff; + padding: 0; + margin: 0; + font-family: "PT Sans Narrow"; +} +div, p, img { + margin: 0; + padding: 0; + border: none; +} +a img { + border: none; + display: block; + max-width: 266px; + text-align: center; +} +.archivesTitleContainer { + width: 270px; + padding: 0; + margin: 0; +} +.archivesTitle { + color: #4b4b4b; + font-size: 18px; + margin: 0; + text-align: center; +} +.archivesBoxContainer { + width: 270px; + padding: 0; + margin: 0; + height: 235px; +} +.archivesActionsContainer { + float: right; +} +.archivesTitleActionsContainer { + float: left; + width: 100%; +} +.archivesVideoBox { + position: relative; + display: inline-block; + float: left; + background: #f2f2f2; + cursor: pointer; + width: 266px; + padding: 2px; + overflow: hidden; +} +.AVBtitle { + font-weight: bold; + font-size: 16.5px; + white-space: nowrap; + overflow: hidden; +} +.AVBtext { + font-size: 12px; + white-space: nowrap; + overflow: hidden; +} +.scrollable { + position: relative; + overflow: hidden; + /* width: 660px;*/ +} +.scrollable .items { + /* this cannot be too large */ + position: absolute; + top: 22px; + width: 20000em; +} +.item { + float: left; +} +a.browse { + background: url(../../images/horizontal.png) no-repeat; + display: block; + float: left; + width: 20px; + height: 20px; + cursor: pointer; + font-size: 1px; +} +a.right { + background-position: 0 -20px; + margin-left: 5px; +} +a.right:hover { + background-position: -20px -20px; +} +a.right:active { + background-position: -40px -20px; +} +/* left */ +a.left { + margin-left: 0px; +} +a.left:hover { + background-position: -20px 0; +} +a.left:active { + background-position: -40px 0; +} +#actions a.disabled { + visibility: hidden !important; +} \ No newline at end of file diff -r 36b25df474ac -r 34f92d5b2acf web/traduction.php --- a/web/traduction.php Mon Feb 06 10:54:07 2012 +0100 +++ b/web/traduction.php Fri Feb 10 16:31:09 2012 +0100 @@ -63,6 +63,7 @@ "Comment les algorithmes ont fini par devenir des producteurs d'infos et pourquoi ils ne remplaceront pour autant jamais les journalistes."', '4. Button' => 'Cliquez ici pour aller sur la page de live', "Archive Title :" => 'Les derniers événements qui ont utilisé Polemic Tweet :', + "shortArchive" => 'Derniers événements Polemic Tweet', "footer text home" => " Polemic Tweet est une expérimentation de l' Institut de Recherche et d’Innovation ", @@ -194,6 +195,7 @@ '4. Button' => 'Click here to access the live page', '4. TextSlide' => 'RSLN invites you on April 7 at 7.30 PM for a meeting with Mercedes Bunz on the topic “How algorythms became info producers and why they wont replace journalist', "Archive Title :" => 'Last events using Polemic Tweet :', + "shortArchive" => 'Last Polemic Tweet events', "footer text home" => " Tweet polemic is an expériment of the Institut for Research and Innovation ", @@ -342,6 +344,7 @@ '4. TextSlide' => 'RSLN invites you on April 7 at 7.30 PM for a meeting with Mercedes Bunz on the topic “How algorythms became info producers and why they wont replace journalist', '4. Button' => 'ライブ中継ページへは、このボタンをクリック', "Archive Title :" => 'これまでのイベント', + "shortArchive" => 'これまでのイベント', "footer text home" => " Tweet polemic is an expériment of the Institut for Research and Innovation ",