aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
Commit message (Collapse)AuthorAgeFilesLines
* Feature: support any tag separatorArthurHoaro2020-11-051-1/+1
| | | | | | | | So it allows to have multiple words tags. Breaking change: commas ',' are no longer a default separator. Fixes #594
* Feature: Share private bookmarks using a URL containing a private keyArthurHoaro2020-10-271-0/+7
| | | | | | | | | | - Add a share link next to « Permalink » in linklist (using share icon from fork awesome) - This link generates a private key associated to the bookmark - Accessing the bookmark while logged out with the proper key will display it Fixes #475
* Asynchronous retrieval of bookmark's thumbnailsArthurHoaro2020-10-201-3/+8
| | | | | | | | | This feature is based general.enable_async_metadata setting and works with existing metadata.js file. The script is compatible with any template: - the thumbnail div bloc must have attribute - the bookmark bloc must have attribute with the bookmark ID as value Fixes #1564
* Feature: highlight fulltext search resultsArthurHoaro2020-10-161-3/+3
| | | | | | | | | | | | | | | | | | | | How it works: 1. when a fulltext search is made, Shaarli looks for the first occurence position of every term matching the search. No change here, but we store these positions in an array, in Bookmark's additionalContent. 2. when formatting bookmarks (through BookmarkFormatter implementation): 1. first we insert specific tokens at every search result positions 2. we format the content (escape HTML, apply markdown, etc.) 3. as a last step, we replace our token with displayable span elements Cons: this tightens coupling between search filters and formatters Pros: it was absolutely necessary not to perform the search twice. this solution has close to no impact on performances. Fixes #205
* Support using Shaarli without URL rewritingArthurHoaro2020-10-161-1/+1
| | | | | | | | | - Shaarli can be fully used by prefixing any URL with /index.php/ - {$base_path} used in templates already works with this configuration - Assets path (outside of theme's assets) must be prefixed with {$root_url}/ - Documentation section in « Server configuration » Fixes #1590
* Security: fix multiple XSS vulnerabilities + fix search tags with special charsArthurHoaro2020-10-061-2/+2
| | | | | | XSS vulnerabilities fixed in editlink, linklist, tag.cloud and tag.list. Also fixed tag search with special characters: urlencode function needs to be applied on raw data, before espaping, otherwise the rendered URL is wrong.
* Default template: display pin button in mobile viewArthurHoaro2020-08-271-1/+11
| | | | Fixes #1347
* Process main page (linklist) through Slim controllerArthurHoaro2020-07-231-1/+1
| | | | | Including a bunch of improvements on the container, and helper used across new controllers.
* Process thumbnail synchronize page through Slim controllersArthurHoaro2020-07-231-1/+1
|
* Pin bookmarks through Slim controllerArthurHoaro2020-07-231-1/+1
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-231-4/+4
| | | | Also prefix most admin routes with /admin/
* Explicitly define base and asset path in templatesArthurHoaro2020-07-231-9/+9
| | | | | | | With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers.
* Process remove tag endpoint through Slim controllerArthurHoaro2020-07-231-1/+3
|
* Slim router: handle add tag routeArthurHoaro2020-07-231-1/+1
|
* Fix all relative link to work with new URLArthurHoaro2020-07-231-1/+1
|
* maj linklist Luce Carević2019-07-281-0/+2
| | | put back the link on the thumbmail and fix a11y
* fix a11yLuce Carević2019-07-131-13/+11
|
* Add print CSS rules to the default templateArthurHoaro2019-05-081-2/+2
| | | | | | | Fixes #1291 * Display the header bar only on the first page * Hide search bars, pagination buttons, filters, and edit/delete buttons
* Merge pull request #1296 from ArthurHoaro/feature/sticky-labelArthurHoaro2019-05-081-7/+8
|\ | | | | Display sticky label in linklist
| * Display sticky label in linklistArthurHoaro2019-04-221-7/+8
| | | | | | | | Add sticky label, like private label, in linklist to make it more visible.
* | fix empty links and hide <i> for screenreadersLuce Carević2019-03-021-11/+11
|/
* Accessibility: specify the HTML lang attributeArthurHoaro2019-02-091-1/+1
| | | | | | The lang is based on the user defined one. If the language is automatic, no language will be specified. Fixes #1216
* Merge pull request #1208 from ArthurHoaro/feature/select-allArthurHoaro2018-10-061-1/+1
|\ | | | | Add a button to toggle all checkboxes of displayed links
| * Add a button to toggle all checkboxes of displayed linksArthurHoaro2018-08-131-1/+1
| | | | | | | | Related to #1160
* | Merge pull request #1211 from ArthurHoaro/hotfix/img-requestArthurHoaro2018-10-061-1/+1
|\ \ | | | | | | Fix a bug making thumbnail to request the current page
| * | Fix a bug making thumbnail to request the current pageArthurHoaro2018-08-141-1/+1
| |/
* | Sticky feature - Add translation and display for logged out usersArthurHoaro2018-10-061-1/+13
| |
* | Add a button to set links as stickyArthurHoaro2018-10-061-0/+6
|/ | | | | | Meaning that they always appear on top of all links Fixes #186
* Bunch of improvement for thumbnails integration:ArthurHoaro2018-07-171-1/+1
| | | | | | | | - add a default thumb size value (125x90px) - improve private vertical bar visual, especially with thumbnails - translations - add a sync thumbs button in tool and empty picwall page - fixes WT download mode in JSON config
* Update thumbnail integration after rebasing the branchArthurHoaro2018-07-051-3/+12
|
* Login: update PageBuilder and default/vintage templatesVirtualTam2018-06-021-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add classes to default template to avoid using IDs in SCSSArthurHoaro2018-05-101-1/+1
|
* Webpack / Update front paths in template filesArthurHoaro2018-03-281-1/+0
|
* Theme improvements: move thumbnails to the right and reduce margins overallArthurHoaro2017-10-281-29/+40
| | | | | | | | | | * 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
* Shaarli's translationArthurHoaro2017-10-221-10/+20
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* Using only one form in linklist.html + adding untaggedonly filter - fix #885Lucas Cimon2017-07-301-29/+21
|
* Merge pull request #841 from ArthurHoaro/feature/search-no-tagArthurHoaro2017-05-251-1/+5
|\ | | | | Empty tag search will look for not tagged links
| * Empty tag search will look for not tagged linksArthurHoaro2017-05-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | Fixes #784 From now, searching for tags with an empty value will return only not tagged links, with the search bar showing `x results [not tagged]`. Note that using the api, the searchtags request parameter must be set to `false` to get the same result. - [ ] Update API doc
* | Bulk deletionArthurHoaro2017-05-081-1/+4
|/ | | | | | | * 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
* Fixes #657: use data-autofirst parameter for awesomepleteArthurHoaro2017-03-111-1/+1
| | | | data-autofirst automatically selects the first item of the list of choice automatically. You just have to press enter to use it.
* Display private only filter as search parameterArthurHoaro2017-03-081-1/+7
|
* Improve datetime displayArthurHoaro2017-03-061-2/+3
| | | | | | | | | | Use php-intl extension to display datetimes a bit more nicely, depending on the locale. What changes: * the day is no longer displayed * day number and month are ordered according to the locale * the timezone is more readable (UTC+1 instead of CET)
* Multiple minor improvements and bugfixes regarding the new templates:ArthurHoaro2017-02-271-1/+1
| | | | | | | | | | | | | | * 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/+246
|
* Move default template to vintage folderArthurHoaro2017-02-271-151/+0
|
* Change templates set through administration UIKnah Tsaeb2017-01-051-0/+151