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`
## Thumbnails
thumbnails in work pages are hidden. this can be changed.
style_projectpage.css:
`#thumnail {
display: none;
}`
## template files
web/page-template.html
1) SCRIPTS in bottom of generated pages does not close proberly. And non-relevant scripts are also still in.
should be:

@ -66,7 +66,7 @@ for member in memberpages:
workpage_mw = replace_gallery(workpage_mw)
workpage_mw = replace_video(workpage_mw)
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
if key in ['Extra', 'Description', 'Bio'] and workdict[key]:
workdict[key] = pandoc2html( (workdict[key].decode('utf-8')))

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

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

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

Loading…
Cancel
Save