small adjustments

master
Castro0o 10 years ago
parent 56e2628891
commit 3fc8785398

@ -7,10 +7,18 @@ Or index all the gaduation works:
`python mmdc_wiki2web.py --category Graduation_work` `python mmdc_wiki2web.py --category Graduation_work`
## Thumbnails
thumbnails in work pages are hidden. this can be changed.
style_projectpage.css:
`#thumnail {
display: none;
}`
## template files ## template files
web/page-template.html web/page-template.html
1) SCRIPTS in bottom of generated pages does not close proberly. And non-relevant scripts are also still in. 1) SCRIPTS in bottom of generated pages does not close proberly. And non-relevant scripts are also still in.
should be: should be:

@ -66,7 +66,7 @@ for member in memberpages:
workpage_mw = replace_gallery(workpage_mw) workpage_mw = replace_gallery(workpage_mw)
workpage_mw = replace_video(workpage_mw) workpage_mw = replace_video(workpage_mw)
workdict = parse_work(member, workpage_mw) # create dictionary workpage_mw template workdict = parse_work(member, workpage_mw) # create dictionary workpage_mw template
if len(workdict['Creator'])>1 and len(workdict['Title'])>1 and len(workdict['Description'])>1: if len(workdict['Creator'])>1 and len(workdict['Title'])>1 and len(workdict['Description'])>1 and len(workdict['Thumbnail'])>1:
for key in workdict.keys(): # convert Extra, Description, Bio to HTML for key in workdict.keys(): # convert Extra, Description, Bio to HTML
if key in ['Extra', 'Description', 'Bio'] and workdict[key]: if key in ['Extra', 'Description', 'Bio'] and workdict[key]:
workdict[key] = pandoc2html( (workdict[key].decode('utf-8'))) workdict[key] = pandoc2html( (workdict[key].decode('utf-8')))

@ -71,10 +71,10 @@
</div> </div>
</div> </div>
<script src="./js/jquery-2.1.3.min.js"></script> <script src="./js/jquery-2.1.3.min.js"> </script>
<script src="./js/fixedfixed.js"></script> <script src="./js/fixedfixed.js"> </script>
<script src="./js/fixedsticky.js"></script> <script src="./js/fixedsticky.js"> </script>
<script src="./js/mainScripts_single.js"></script> <script src="./js/mainScripts_single.js"> </script>

@ -73,10 +73,10 @@
</div> </div>
</div> </div>
<script src="./js/jquery-2.1.3.min.js"></script> <script src="./js/jquery-2.1.3.min.js"> </script>
<script src="./js/fixedfixed.js"></script> <script src="./js/fixedfixed.js"> </script>
<script src="./js/fixedsticky.js"></script> <script src="./js/fixedsticky.js"> </script>
<script src="./js/mainScripts_single.js"></script> <script src="./js/mainScripts_single.js"> </script>

@ -295,6 +295,7 @@ label{
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
vertical-align: middle; vertical-align: middle;
width:500px;
-webkit-filter: grayscale(100%); -webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%); -moz-filter: grayscale(100%);

Loading…
Cancel
Save