aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/js
Commit message (Collapse)AuthorAgeFilesLines
* Webpack / Remove frontend dependencies from tpl/ & inc/ and move them to assets/ArthurHoaro2018-03-281-664/+0
|
* Theme improvements: move thumbnails to the right and reduce margins overallArthurHoaro2017-10-281-1/+1
| | | | | | | | | | * Reduce multiple margins (markdown, space between block, etc.) * Move thumbnails to the right in the same line as the title * Move edit button as floating to the left * Move fold/collapse and checkbox buttons as floating to the right * Add a bunch of HTML ID in the linklist template Relates to #877
* JS translationArthurHoaro2017-10-221-4/+7
|
* Fix jumpy textarea with long content in post editArthurHoaro2017-10-011-0/+6
| | | | | | We manually reset the scroll position, to avoid height = 'auto' jump to the top Fixes #971
* Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-titleArthurHoaro2017-09-021-1/+2
|\ | | | | Firefox Social title: Use document.title instead of RainTPL variable
| * Firefox Social title: Use document.title instead of RainTPL variableArthurHoaro2017-09-021-1/+2
| | | | | | | | Fixes #929
* | fixed link deletionWilli Eggeling2017-08-301-3/+3
|/ | | | | | | | | When deleting links, the js of the default theme separated ids by an escaped space ('+'). There was a trailing '+' after the ids which led to the php code detecting multiple values even for single values. In combination with the id '0' this could led to no id found at all and a resulting php error. this commit fixes the behavior and adds an additional error handling and trimming to the php code.
* Fix Firefox Social button in the default themeArthurHoaro2017-06-111-2/+2
| | | | | | | is no longer required since the JS function is now in . Also, include the trailing slash in the post URL. Fixes #895
* Fixing "Uncaught TypeError" in shaarli.js - fix #893Lucas Cimon2017-06-071-2/+3
|
* Tag list: use awesomplete for tag auto completionArthurHoaro2017-05-251-2/+60
|
* Adds a taglist view with edit/delete buttonsArthurHoaro2017-05-251-1/+135
| | | | | | * The tag list can be sort alphabetically or by most used tag * Edit/Delete are perform using AJAX, or fallback to 'do=changetag' page * New features aren't backported to vintage theme
* Bulk deletion: remove JS ES6 syntaxArthurHoaro2017-05-081-65/+46
|
* Bulk deletionArthurHoaro2017-05-081-2/+71
| | | | | | | * Add a checkboxes in linklist which display a sub-header containing action buttons * Strongly rely on JS * Requires a modern browser (ES6 syntax support) * Checkboxes are hidden if the browser is old or JS disabled
* Merge pull request #830 from ArthurHoaro/theme/timezoneArthurHoaro2017-04-251-18/+37
|\ | | | | Change timezone data structure send to the templates
| * Apply the new timezone template variables to the default themeArthurHoaro2017-04-041-18/+37
| |
* | Theme: JS - Fix a bug preventing edit margin suppression to workArthurHoaro2017-03-271-2/+1
|/ | | | Explanation: an ID with a leading digit isn't a valid CSS selector
* Remove inline JS and add LibreJS headers in JS filesArthurHoaro2017-03-121-3/+127
| | | | | Fixes #33 (wow!) Relates to #395
* Submit editlink textarea using CTRL+Enter shortcutArthurHoaro2017-03-081-0/+7
|
* Multiple minor improvements and bugfixes regarding the new templates:ArthurHoaro2017-02-271-0/+34
| | | | | | | | | | | | | | * Add API settings in `configure.html` * Fix textarea autoresize * Load user.css from data folder * Move fold/expand all button to the right and fix an issue with already folded items * Reset datetime display to international datetime * Temporarilly remove JS login panel (need improvement and integration with the plugin system) * Body background is slightly lighter * Fix an issue where thumbnails were hidden by description * Fix an issue where private orange bar wasn't displayed with thumbnails * Remove the gradient bar behind titles * Fix empty bookmarklet name in Firefox
* Introduce the new default Shaarli templateArthurHoaro2017-02-271-0/+228