Skip to content

ETICINSATechnologies/Sites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sites

A webpage to aggregate ETIC's websites.

Sites is a webpage that serves as a central hub to access ETIC's differents websites. Link.

Usage

Normal usage

https://sites.etic-insa.com/{path}. For example :

Adding a new redirection

There are two ways to add a redirection, by editing the Config file on Github or by editing an assigned Google Sheets. Adding the redirection directly into the config file will make the redirection much faster.

The iframe attribute controls whether the page will redirect to the target website or open the target inside of an iframe. Set it to TRUE (or VRAI in the Sheets) if you want the iframe option. Note that in the case of an app made with Google Apps Script, you need to allow it to be opened inside of an iframe More info.

Option 1 : Via Google Sheets

  1. Edit the assigned spreadsheet Edit spreadsheet
  2. Add the new redirection to the sheet.
  3. Changes will be automatically saved
  4. Test that the site has been correctly updated, it might take 5-10 minutes for the spreadsheet to be published. You might need to clear the browser cache of the page to view the new version, Ctrl + Shift + R in most browsers. Link.

Option 2 : On Github

  1. Edit the config.js file on the master branch. The simplest way to do this is to edit the file directly on Github. Note that you might need writing rights on the repository to do this. Edit config.js
  2. Add the new redirection to the REDIRECTS table. Make sure to respect javascript syntax ;) Syntax errors will cause the site to break (just follow the existing as example and it should be fine).
  3. Save the changes by clicking on 'Commit changes'.
  4. Test that the site has been correctly updated. You might need to clear the browser cache of the page to view the new version, Ctrl + Shift + R in most browsers. Link.

Meta

Sadsitha Lokuge

https://github.com/slokuge/

About

Webpage to aggregate ETIC's websites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published