1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lionwiki-t2t_ynh.git synced 2024-09-03 19:36:27 +02:00

Rename disclaimer -> admin

This commit is contained in:
Salamandar 2024-01-17 12:00:11 +01:00
parent 3e5af51c7a
commit 1fa4a2a4ee
2 changed files with 10 additions and 12 deletions

View file

@ -26,26 +26,25 @@ After the installation, you can edit the base color found in `/var/www/lionwikit
Search for: Search for:
``` ```css
/* For YunoHost config */ /* For YunoHost config */
@MainColor: #D17732; @MainColor: #D17732;
``` ```
Go inside your installation folder (adapt it to your case, if it's the second instance you've installed, it will be named /var/www/lionwikit2t__2/): Go inside your installation folder (adapt it to your case, if it's the second instance you've installed, it will be named /var/www/lionwikit2t__2/):
``` ```bash
cd /var/www/lionwikit2t cd /var/www/lionwikit2t
``` ```
Then compile it with: Then compile it with:
``` ```bash
lessc templates/minimaxing/minimaxing.less > templates/minimaxing/minimaxing.css lessc templates/minimaxing/minimaxing.less > templates/minimaxing/minimaxing.css
``` ```
If something goes wrong, you can go back to the original default file: If something goes wrong, you can go back to the original default file:
``` ```bash
cp templates/minimaxing/minimaxing_org.css templates/minimaxing/minimaxing.css cp templates/minimaxing/minimaxing_org.css templates/minimaxing/minimaxing.css
``` ```

View file

@ -16,7 +16,7 @@ Vous pouvez passer le wiki en mode privé ou public, selon vos usages.
## Informations additionnelles ## Informations additionnelles
Vous devez définir une couleur de base durant l'installation, au format hexadécimal. Vous pouvez la choisir en utilisant cet outil en ligne : https://www.w3schools.com/colors/colors_picker.asp Vous devez définir une couleur de base durant l'installation, au format hexadécimal. Vous pouvez la choisir en utilisant cet outil en ligne : <https://www.w3schools.com/colors/colors_picker.asp>
La couleur choisie va modifier le fichier `templates/minimaxing/minimaxing.less` et le compiler en utilisant la commande lessc (du paquet node-less). La couleur choisie va modifier le fichier `templates/minimaxing/minimaxing.less` et le compiler en utilisant la commande lessc (du paquet node-less).
@ -24,26 +24,25 @@ Après l'installation, vous pouvez éditer la couleur de base dans le fichier `/
Recherchez pour : Recherchez pour :
``` ```css
/* For YunoHost config */ /* For YunoHost config */
@MainColor: #D17732; @MainColor: #D17732;
``` ```
Allez dans le dossier d'installation (à adapter à votre cas, si c'est la seconde instance installée, cela sera nommé `/var/www/lionwikit2t__2/`) : Allez dans le dossier d'installation (à adapter à votre cas, si c'est la seconde instance installée, cela sera nommé `/var/www/lionwikit2t__2/`) :
``` ```bash
cd /var/www/lionwikit2t cd /var/www/lionwikit2t
``` ```
Ensuite compilez le fichier avec : Ensuite compilez le fichier avec :
``` ```bash
lessc templates/minimaxing/minimaxing.less > templates/minimaxing/minimaxing.css lessc templates/minimaxing/minimaxing.less > templates/minimaxing/minimaxing.css
``` ```
Si quelque chose se passe mal, vous pouvez revenir au fichier original : Si quelque chose se passe mal, vous pouvez revenir au fichier original :
``` ```bash
cp templates/minimaxing/minimaxing_org.css templates/minimaxing/minimaxing.css cp templates/minimaxing/minimaxing_org.css templates/minimaxing/minimaxing.css
``` ```