Welcome to the homepage for the Journal Club seminars and meetings of the Doctoral School in Physics and Astrophysics of the Università degli Studi di Torino. This is the code associated to the page, which however is separately hosted on a Raspbian server on a Raspberry Pi (at least for the time being) using Apache, MySQL/MariaDB and PHP v.7.
This is the static version of the dynamic hosted webpage. Once you clone the project with git clone
, you can simply open index.html in a web browser to display the page.
In this repository you will find generally the whole file tree which is hosted on the server. You can also find the PHP version of the main file (index.php as a reference, though it will not work unless you can run a LAMP server.
The dynamic page is also a Progressive Web App: it can be displayed as a native app on most smartphones and it can work offline using the caching system. This static version has no such function but you can find the Service Worker file sw.js in the project, as well.
Inside the project you can find several file and directories, such as:
abstract
:abstract.php
: this is the file that in the hosted page (not the static version) generates the PDF files which you can access through buttons. As you can find in main.js, though in the static version it has been disabled, there exist a sort of administrator view accessible through a keyboard shortcut which will let you generate the PDF for the first time.
bulletin
:message.md
: Markdown file with the message of the day/week/monthParsedown.php
: external library which translates the message of the day in HTML tags to be displayed on the hosted page (in the static version it is not referenced)
css
:main.css
: CSS file for the pagemain.min.css
: minified version of the CSS file
images
:- most of the images are needed for the Progressive Web App functionality in the manifest.json. In the page you will mostly need the
jpg
files (which should be Progressive JPEG).
- most of the images are needed for the Progressive Web App functionality in the manifest.json. In the page you will mostly need the
js
:gallery.js
: Javascript for the slideshowgallery.min.js
: minified versionmain.js
: admin mode code and service worker registrationmain.min.js
: minified versionmenue.js
: navbar codemenue.min.js
: minified version
index.html
: static webpageindex.php
: dynamic PHP pagemanifest.json
: declaration of the page propertiessw.js
: Service Worker fileREADME.md
: this fileCONTRIBUTING.md
: contribution guidelinesLICENSE
: license file
You can have a look at CONTRIBUTING.md for some guidelines.
This is a group project by the students of the Doctoral School in Physics and Astrophysics in Torino, Italy.
Please, refer to this page for bug reports and info.
Since this is a free project, designed to be open source, the code is released under the MIT license.