yunohost-admin/src
Jérôme Lebleu 6ddda61e8a [i18n] Translated using Weblate (German)
Currently translated at 93.8% (276 of 294 strings)
2016-04-08 22:56:40 +02:00
..
css [enh] Use less JS for sliding animation. 2016-03-19 11:58:48 +01:00
img [fix] Move sources to a dedicated folder. 2015-02-01 02:35:44 +01:00
js/yunohost [fix] Prevent data loss on form errors. Add some comments too. 2016-03-23 10:57:41 +01:00
locales [i18n] Translated using Weblate (German) 2016-04-08 22:56:40 +02:00
views [fix] User create form POST on same url to prevent strange redirection and form cleaning. 2016-03-23 10:57:41 +01:00
.jshintrc [enh] Pass jshint. 2015-08-29 15:45:00 +02:00
bower.json [fix] Use fixed version for bower components. 2016-03-05 17:40:04 +01:00
gulpfile.js [fix] Watch all js subdirectories with gulp 2016-03-15 21:33:35 +01:00
index.html [fix] Revert hardcoded version introduced in 0f8350a1e3 2016-03-05 10:28:03 +01:00
package.json [fix] NPM package bugtracker url. 2016-03-05 17:39:44 +01:00
README.md [doc] Update README 2016-03-04 18:32:19 +01: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/bower 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)