Bring navigation (with right, left and enter) on material entries page. Supports going to next and previous page !

Also better indentation for js files (changed editorconfig for them).

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2016-11-03 10:02:16 +01:00
parent 16ef7607f4
commit 5637a26e9a
12 changed files with 162 additions and 24 deletions

View File

@ -1,7 +1,5 @@
/* jQuery */
import $ from 'jquery';
import { initFilters, initExport } from '../../_global/js/tools';
import './shortcuts/main.js';
import './shortcuts/entry.js';
/* eslint-disable no-unused-vars */
/* jquery has default scope */
@ -9,8 +7,16 @@ import cookie from 'jquery.cookie';
import ui from 'jquery-ui-browserify';
/* eslint-enable no-unused-vars */
/* Annotations */
import annotator from 'annotator';
/* Shortcuts */
import './shortcuts/main';
import './shortcuts/entry';
import '../../_global/js/shortcuts/main';
import '../../_global/js/shortcuts/entry';
/* Tools */
import { savePercent, retrievePercent } from '../../_global/js/tools';
import toggleSaveLinkForm from './uiTools';