QIM data repository - web
Web pages for the QIM 3D data repository. The data is placed elsewhere.
Pages use templates from w3schools, in particular the portfolio template.
Use
When viewing pages on your machine, your browser will probably prevent loading JavaScript code (which is used to inserts sidebar, header and footer). Instead of changing your security policy, you can run a local server, e.g. Python’s built-in http server.
- From the command line, run
python -m http.server
(this is for Python 3.x). - In a browser, open http://localhost:8000/ and navigate to the pages. Sometimws you need to force browser to load fresh content (instead of showing a cached version of the pages). In Crome on mac, hold down Shift while reloading.
Content
Some of the helping files are:
-
w3_nature_portfolio_template.html
- This is the original template, placed here for just for reference, so you will probably not need it. -
qim_repository_template_all.html
- This is the original w3 template with modified sidebar, header and footer. Also colors. This can be used when making changes to sidebar, header and footer. Can also be used for checking other possibilities given by the template. But probably not updated, so be careful when using. -
sidebar.html
,header.html
,footer.html
- Files for including sidebar, header and footer. This requires JavaScript fromincludeHTML.js
, copied from w3-html-include. -
qim_repository_template.html
- This is the template where sidebar, header and footer are included from JavaScript files. I'm not guaranteeing that it's updated.
The main files are:
-
index.html
- Obvious. -
about.html
- Also pretty obvious. Images are placed in about folder. -
example1.html
- Rather elaborate example, you probably don't want to use this. -
example2.html
- Simpler, prefered. -
example3.html
- More images.