yunohost-admin/src
P 8a3b967d65 [i18n] Translated using Weblate (Portuguese)
Currently translated at 80.4% (222 of 276 strings)
2016-03-01 18:16:24 +01:00
..
bootstrap [up] Bootstrap v3.3.5 2015-11-15 15:27:31 +01:00
css [enh] Add colored badges. 2016-02-05 14:35:43 +01:00
dist [fix] Use repository term instead of store. JS Cleanup. 2016-03-01 16:08:12 +01:00
fonts [up] FontAwesome v4.4.0. Use generic folder name. 2015-11-15 15:32:50 +01:00
img [fix] Move sources to a dedicated folder. 2015-02-01 02:35:44 +01:00
js [fix] Use repository term instead of store. JS Cleanup. 2016-03-01 16:08:12 +01:00
locales [i18n] Translated using Weblate (Portuguese) 2016-03-01 18:16:24 +01:00
views [fix] Use repository term instead of store. JS Cleanup. 2016-03-01 16:08:12 +01:00
.jshintrc [enh] Pass jshint. 2015-08-29 15:45:00 +02:00
gulpfile.js [enh] Rename main js file to avoid confusion with apps controller. 2016-02-04 12:14:37 +01:00
index.html [fix] Replace the eraser with the trash icon (more explicit) 2015-11-15 14:26:35 +01:00
package.json [fix] Use valid SPDF license expression. 2015-09-16 13:35:39 +02:00
README.md [enh] Add a README with an how-to hack the interface 2015-11-01 05:15:03 -05:00

YunoHost Web Admin

This is a JavaScript client to the YunoHost moulinette API.

Hack

On a YunoHost instance, the web admin files are located on /usr/share/yunohost/admin. In order to fetch the latest development version and hack it, you will roughly have to:

# Fetch sources
cd /usr/share/yunohost/
mv admin admin.back
git clone https://github.com/YunoHost/yunohost-admin
ln -s /usr/share/yunohost/yunohost-admin/src admin

# Install Gulp
apt-get install nodejs nodejs-legacy npm -y
cd admin
npm install
node_modules/.bin/gulp build

You are now ready to modify the interface. Do not hesitate to run node_modules/.bin/gulp watch when you modify .js and .css files, since they need to be rebuilt.

Note: The .ms - moustache - files are cached by the browser. You have to reach them manually every time you change them. (e.g. go to https://example.com/yunohost/admin/views/domain/domain_list.ms)