resolving details

master
Castro0o 10 years ago
parent 1ef796e8ba
commit f96b894441

@ -35,6 +35,9 @@
<p class="highlight"> <p class="highlight">
(Text on Gradshow 2015) (Text on Gradshow 2015)
</p> </p>
<h1 class="highlight">Preview Party: Tempted by Tomorrow (Nervous About Tonight)</h1><p><s>This evening will be filled with performances, presentations and installations. It will be an opportunity to discuss the projects that have been produced. And, it is an event to learn more about the students current work, have a drink and decide on who should be the winner of Thesis Karaoke, the ultimate research based pop-jukebox. Join us for an evening off media cabaret at V2.</s></p>
</div> </div>
</div> </div>
</div> </div>
@ -47,8 +50,11 @@
<div id="sideBarDescInner"> <div id="sideBarDescInner">
<h2>Graduation Show 2015: Tempted by Tomorrow</h2> <h2>Graduation Show 2015: Tempted by Tomorrow</h2>
<!--p>(Text on Gradshow 2015)</p--> <!--p>(Text on Gradshow 2015)</p-->
<p class="hightlightSidebar">Gradshow DATES, LOCATION</p> <p class="hightlightSidebar">(Gradshow DATES, LOCATION)</p>
<p>Work by: <br>
<p class="hightlightSidebar">Preview Party: Tempted by Tomorrow (Nervous About Tonight). Saturday, 20 June 2015 19:00 <a href="index.html">V2_</a></p>
<p>
Mihail Bakalov (BG) <br> Mihail Bakalov (BG) <br>
Caetano Carvalho (BR) <br> Caetano Carvalho (BR) <br>
Junyu Chen (CN) <br> Junyu Chen (CN) <br>

@ -5,7 +5,7 @@ import xml.etree.ElementTree as ET
import html5lib, urllib, pprint import html5lib, urllib, pprint
from mmdc_modules import pandoc2html, parse_work, write_html_file, mw_cats, mw_page_imgsurl, mw_img_url, mw_page_text, mwsite, mw_page_cats, mw_page, remove_cats, find_authors, replace_video, replace_img_a_tag, index_addwork from mmdc_modules import pandoc2html, parse_work, write_html_file, mw_cats, mw_page_imgsurl, mw_img_url, mw_page_text, mwsite, mw_page_cats, mw_page, remove_cats, find_authors, replace_video, replace_img_a_tag, index_addwork
from argparse import ArgumentParser from argparse import ArgumentParser
from random import shuffle as shuffle from random import shuffle
##### #####
# Args # Args
@ -97,7 +97,9 @@ def create_index(indexdict):
index_template = open("index-template.html", "r") index_template = open("index-template.html", "r")
index_tree = html5lib.parse(index_template, namespaceHTMLElements=False) index_tree = html5lib.parse(index_template, namespaceHTMLElements=False)
index_container = index_tree.find(".//div[@class='isotope']") #maybe id is imp index_container = index_tree.find(".//div[@class='isotope']") #maybe id is imp
for key in indexdict.keys(): keys = indexdict.keys()
shuffle(keys)
for key in keys:
index_addwork( parent=index_container, index_addwork( parent=index_container,
workid=key, workid=key,
href=indexdict[key]['Path'], href=indexdict[key]['Path'],
@ -124,7 +126,7 @@ if args.preview is not None:
else: else:
print "** New Index Mode **" print "** New Index Mode **"
memberpages=mw_cats(site, args) memberpages=mw_cats(site, args)
shuffle(memberpages) # memberpages
print 'memberpages:', memberpages print 'memberpages:', memberpages
indexdict = create_page(memberpages, 'index') indexdict = create_page(memberpages, 'index')
create_index(indexdict) create_index(indexdict)

@ -48,7 +48,7 @@
<div class="zwartArea zwartAreaWhite sidebarBorderLeft" id="section02"> <div class="zwartArea zwartAreaWhite sidebarBorderLeft" id="section02">
<div class="fixedsticky" id="filter" style="top:0;"> <div class="fixedsticky" id="filter" style="top:0;">
<div class="themes" id="sortArea"> <div class="themes" id="sortArea">
<a href="index.html" class="hoverBackB"> <a href="../index.html" class="hoverBackB">
<img class="template" src="../img/arrowBack.svg"> <img class="template" src="../img/arrowBack.svg">
</a> </a>
<p></p><!--{title}--> <p></p><!--{title}-->

@ -31,6 +31,8 @@ h2 {
margin: 0; margin: 0;
} }
a:visited { color:black}
.hiddenOverflow{ .hiddenOverflow{
position: fixed; position: fixed;
overflow-y:scroll; overflow-y:scroll;
@ -536,7 +538,7 @@ label{
} }
#filter{ #filter{
font-size: 20px; font-size: 20px;
} }
} }
@ -562,7 +564,7 @@ label{
} }
#filter{ #filter{
font-size: 16px; font-size: 16px;
} }
#sideBarDescInfo p { #sideBarDescInfo p {

@ -14,6 +14,12 @@ h2 {
margin: 0; margin: 0;
} }
figure {
max-width: 100%;
margin: 0;
padding: 0;
}
#creator { #creator {
border-bottom: 0; border-bottom: 0;
padding-bottom: 0; padding-bottom: 0;
@ -175,6 +181,7 @@ h2 {
padding: 10px; padding: 10px;
max-width: 600px; max-width: 600px;
max-height: 600px; max-height: 600px;
display:block;
} }
.project h1, .project h1,
@ -265,11 +272,17 @@ iframe {
margin-top: 50px; margin-top: 50px;
} }
.project img { .project#extra {
padding-left: 30px !important;
}
.project img figure {
max-width: 100%; max-width: 100%;
padding: 10px 0 10px 0; padding: 10px 0 10px 0;
} }
iframe { iframe {
border: none; border: none;
max-width: 100%; max-width: 100%;

@ -85,10 +85,10 @@ $(".closeSidebar").click(function(){
$("#sidebarInner").slideToggle() $("#sidebarInner").slideToggle()
if(slideLock == false){ if(slideLock == false){
slideLock = true slideLock = true
$(".closeSidebar").html('<img src="./img/arrowDownW.svg"/>') $(".closeSidebar").html('<img src="../img/arrowDownW.svg"/>')
}else{ }else{
slideLock = false slideLock = false
$(".closeSidebar").html('<img src="./img/arrowUpW.svg"/>') $(".closeSidebar").html('<img src="../img/arrowUpW.svg"/>')
} }
}); });

Loading…
Cancel
Save