Go to file
Paolo Asperti 411f089bf8
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
rebranding
2020-03-02 14:52:12 +01:00
images added some docs 2018-08-13 10:26:08 +02:00
root Changed section in nethgui 2018-09-27 18:27:56 +02:00
.drone.yml rebranding 2020-03-02 14:52:12 +01:00
.gitignore first release 2018-08-13 09:53:34 +02:00
COPYING initial import 2018-08-13 09:44:32 +02:00
README.md added some docs 2018-08-13 10:26:08 +02:00
createlinks.pl first release 2018-08-13 09:53:34 +02:00
libreschool-startpage.spec rebranding 2020-03-02 14:52:12 +01:00

README.md

startpage

Build Status

This is a LibreSchool plugin used to force a browser start page on all clients. On this start page you can have multiple buttons/icons acting as a link to different services. There's a basic GUI for configuration but it lacks links configuration.

Usage

Just go in the "start page" section on the server's administration interface. From here you can enable or disable the start page.

6e20d4c0beaebeb935ffbd7d77855776.png

On the "Users" tab, you can change the start page for all users.

760afc0cf8ee59ce9cc1b8b7f5f1f517.png

You can add a new link via command line (just SSH to server and issue this command)

# db startpage set link2 link enable yes title "Registro Elettronico" link "https://axioscloud.it" imagelink "https://family.axioscloud.it/Images/Image_Login.png"

Remember to regenerate the start-page after each modification:

# /etc/e-smith/events/actions/startpage-refresh 

Advanced Usage

Custom templating

There's support for templating, so you can customize your own template. Just create a new file (let's say mytemplate.jinja2 and put it in /usr/share/startpage/templates). As you can imagine, jinja2 is used as the templating engine. If you need custom assets (images, css, and so on), you can put it under /usr/share/startpage/assets; keep in mind that this path is reachable via http on the /startpage URI. To select the active template:

# db startpage setprop configuration template mytemplate

As usual, remember to regenerate the start-page.

Renaming output file

If for some reason you want to rename the output file, do like this:

# db startpage setprop configuration outfile /var/www/html/index.php

As usual, remember to regenerate the start-page.