From 87d9cba43227cd8580d853ceb0dd5e3fb25c362c Mon Sep 17 00:00:00 2001 From: vand <vand@dtu.dk> Date: Tue, 22 Sep 2020 00:57:45 +0200 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 765f722..15bb818 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Instead of changing your security policy, you can run a local server, e.g. Pytho 1. From the command line, run `python -m http.server` (this is for Python 3.x). 1. In a browser, open [http://localhost:8000/](http://localhost:8000/) and navigate to the pages. -You might also need to force browser to load fresh content (instead of showing a cached version of the pages). In Crome (on mac), hold down Shift +You might also need to force the browser to load fresh content (instead of showing a cached version of the pages). In Crome (on mac), hold down Shift while reloading. Check for your browser. ## Modifying @@ -25,14 +25,14 @@ In command line, you can use ssh or sftp to connect to server `thinlinc.compute. ## 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 from `includeHTML.js`, copied from [w3-html-include](https://www.w3schools.com/howto/howto_html_include.asp). +* `qim_repository_template_all.html` - This is the original w3 template with a 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.js`, `header.js`, `footer.js` - JavaScript files for including the sidebar, header and footer. These js files now contain html code, which makes it difficult to modify the content here. So not totally satisfactory. I tried also approach from [w3-html-include](https://www.w3schools.com/howto/howto_html_include.asp), but sidebar did not open and close on andriod phone. * `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. +* `example2.html` - Simpler, preferred. * `example3.html` - More images. -- GitLab