|
|
|
# MMD&C Graduation Website CMS: from Mediawiki to HTML
|
|
|
|
|
|
|
|
Update the website with graduation from work from a particular year, by running:
|
|
|
|
`python mmdc_wiki2web.py --category Graduation_work 2015`
|
|
|
|
|
|
|
|
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:
|
|
|
|
=========
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
is now:
|
|
|
|
======
|
|
|
|
|
|
|
|
<script src="./js/jquery-2.1.3.min.js" />
|
|
|
|
<script src="./js/fixedfixed.js" />
|
|
|
|
<script src="./js/fixedsticky.js" />
|
|
|
|
<script src="./js/isotope.pkgd.min.js" />
|
|
|
|
<script src="./js/imagesloaded.pkgd.min.js" />
|
|
|
|
<script src="./js/mainScripts_single.js" />
|
|
|
|
|
|
|
|
|
|
|
|
web/index-template.html:
|
|
|
|
|
|
|
|
1) FIXED broken img files in index-temlpate: white logo + arrowDown/Up
|
|
|
|
|
|
|
|
web/page-template.html:
|
|
|
|
|
|
|
|
1) [minor] ADDED a space between arrowBack and title for mobile version
|
|
|
|
|
|
|
|
css:
|
|
|
|
|
|
|
|
Lot's of changes to CSS, including thumbnail not displayed on project page;
|
|
|
|
iframes no borders, h1/h2/h3 styling, fixes in sidebar, url 'breaks' word now.
|
|
|
|
|
|
|
|
## To Do
|
|
|
|
* add auxiliar JSON creation
|
|
|
|
* replace direct API calls for mw library
|
|
|
|
|
|
|
|
|
|
|
|
|