summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: Disable auto-zoom on iOSFerdinand Thiessen2024-08-211-1/+3
| | | | | | | | When using iOS and focussing an input element the view should not be zoomed. So if we set a maximum scale iOS will not auto-zoom but still allow users to zoom. But we can not do this by default as this will disable user zoom on Chrome. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Provide CSP nonce as `<meta>` elementFerdinand Thiessen2024-08-131-0/+1
| | | | | | | | This way we use the CSP nonce for dynamically loaded scripts. Important to notice: The CSP nonce must NOT be injected in `content` as this can lead to value exfiltration using e.g. side-channel attacts (CSS selectors). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(core): wrap initial state into hidden containerGrigorii K. Shartsev2024-07-301-5/+2
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore: Add SPDX headerAndy Scherzinger2024-05-271-0/+6
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* php-cs-fixer fixesAndrii Rublov2024-02-231-3/+3
| | | | Signed-off-by: Andrii Rublov <airublev@outlook.com>
* [Bugfix]: Titles of pages (dashboard, apps-settings, users-settings) #43327Andrii Rublov2024-02-231-4/+4
| | | | Signed-off-by: Andrii Rublov <airublev@outlook.com>
* fix(manifest): Check if app exists instead of accessing null as an arrayJoas Schilling2024-01-171-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #42837 from nextcloud/refactor/remove-legacy-sudo-login-formFerdinand Thiessen2024-01-161-10/+0
|\ | | | | refactor(core): remove `sudo-login-form` layout
| * refactor(core): remove sudo-login-form layoutGrigorii K. Shartsev2024-01-161-10/+0
| | | | | | | | | | | | | | This form has never been used and existed only during the introduting the first password confirmation. - PR 1447 Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* | Complete `<h1>` settings headingjulia.kirschenheuter2024-01-161-1/+4
|/ | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Rename "global search" to "unified search"fenn-cs2023-12-121-1/+0
| | | | | | | | | - Changes appearances of "Global search" to "Unified search" in UI - Refactors code, to remove usage of term "GlobalSearch" in files and code structure - Rename old unified search to `legacy-unified-search` Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* Feat: New UI global searchfenn-cs2023-11-101-0/+1
| | | | | | | | | | | | | | | We are introducing a new search UI that providers a lot more space for users via a large centralized modal and providers various filters which can by applied by adding various chips on the UI. For example, users can now filter their search or scope it by limiting the results to specific apps, time period and people by apply the appropriate filters on the new UI, previously filters where applied using text in the search box by prefixing with `::`. Resolves: #39162 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(core): remove unnecessary role=banner on top level headerGrigorii K. Shartsev2023-10-211-1/+1
| | | | | | | By default, the HTML's `<header>` element has an identical meaning to the banner landmark, unless it is a descendant of `<aside>`, `<article>`, `<main>`, `<nav>`, or `<section>`. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* Move heading to the main contentjulia.kirschenheuter2023-04-051-3/+3
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Add label for logo linkChristopher Ng2023-03-291-5/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Create headings for settings pagesjulia.kirschenheuter2023-03-071-3/+3
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Merge pull request #36633 from ↵Julia Kirschenheuter2023-02-131-1/+5
|\ | | | | | | | | nextcloud/fix/36632-create_an_accessible_name_for_logo Create an accessible name for logo on logged in page
| * Create an accessible name for logo on logged in pagejulia.kirschenheuter2023-02-131-1/+5
| | | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* | Port user menu to VueChristopher Ng2023-02-091-39/+1
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* composer run cs:fixCôme Chilliet2023-01-201-13/+13
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Revert "Add alt to the logo, adapt css for logo"John Molakvoæ2023-01-171-1/+1
| | | | This reverts commit bba5ab0532bcf71dc421fd15efd890cd25bdc8d3.
* Focus trap contacts menu with NcHeaderMenu portChristopher Ng2023-01-131-8/+1
| | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add alt to the logo, adapt css for logojulia.kirschenheuter2022-12-081-1/+1
| | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Place ```<h1>``` into main contentjulia.kirschenheuter2022-11-151-7/+6
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* Disable browser translationsArnout Engelen2022-10-271-1/+1
| | | | | | | | | | | | | | This will tell the browser not to translate the text on the page, since this is very confusing given the good existing translation support in Nextcloud and the fact that the language the Nextcloud UI is set to might not match the language the content of the instance is in, leading to surprising effects. Better to disable it and remove the confusion. Fixes #34857 Signed-off-by: Arnout Engelen <arnout@bzzt.net>
* Merge branch 'master' into fix/setting/accessibility-titleCarl Schwan2022-09-021-75/+11
|\ | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Do not prevent scaling due to accessibilityJulius Härtl2022-09-011-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * More refactoring of app content areasJulius Härtl2022-09-011-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Move app menu to vueJulius Härtl2022-08-311-64/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Transfer `aria-label` from nav settings menu to settings menu icon-buttonjulia.kirschenheuter2022-07-281-3/+2
| | | | | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
| * Merge pull request #33361 from nextcloud/techdebt/noid/further-cleanupVincent Petry2022-07-261-1/+1
| |\ | | | | | | Further markup cleanup
| | * Add missing closing spans and avoid empty hrefVincent Petry2022-07-261-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * | Remove obsolete notification containerVincent Petry2022-07-261-3/+0
| |/ | | | | | | | | | | | | The future is TOAST 🍞 Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| * Fix styling for single skip buttons globallyJulius Härtl2022-07-161-2/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Allow to override #app-content and #app-navigation hrefs for content skippingJulius Härtl2022-07-161-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Fix duplicate id "hole"Joas Schilling2022-07-141-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Declare header entries in the order they are displayedLouis Chemineau2022-06-021-1/+1
| | | | | | | | | | | | The notifications entry was declared after the search one, but they are rendered in a different order. This PR switch their declarations, so the order they appear in match their order in the DOM. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Improve accessibility of the title of the settingsCarl Schwan2022-05-161-0/+1
|/ | | | | | | | | | | Before every setting page had the same title and this is causing issues for screenreaders since they can't differenciate the title of page. Now a new variable is available for apps to declare the page subtitle. This new variable is implemented for the settings app and while at it I added a bit more type hinting to the stuff I touched :) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Improve accessibility with more visible focus indication for non vue appsCarl Schwan2022-05-161-2/+2
| | | | | | | | | | | | - Add visible-focus effect on each header entry - Show focus outline when using focus-visible (keyboard navigation) - Add polyfy for focus-visible since it's only very recently available on webkit - Change text for link to home button to describe the destination and not the current page - Improve focus effect in app sidebar navigation Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Migrate to static icons coloursJohn Molakvoæ2022-05-101-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Fix header apps iconsJohn Molakvoæ2022-04-281-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Lint and psalm fixJohn Molakvoæ2022-04-211-1/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Write body theme selector straight in the templateJohn Molakvoæ2022-04-211-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Start theming providersJoas Schilling2022-04-211-3/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Retrieve user status only once when displaying pageCarl Schwan2022-04-051-5/+1
| | | | | | | We don't need to inject it in the template if the data is already available in the initial state. This is also a bit cleaner. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add a built-in profiler inside NextcloudCarl Schwan2022-04-041-1/+1
| | | | | | The webui is provided by a seperate application named profiler Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Remove legacy Internet Explorer headersMichaIng2022-03-191-1/+0
| | | | | | X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks. Signed-off-by: MichaIng <micha@dietpi.com>
* Fix target attribute does not existsCarl Schwan2022-02-161-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Target_Blank option to open External linkschristophe canovas2022-02-151-0/+2
| | | | | Signed-off-by: christophe canovas <christophecanovas66@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* allow changing the top-left logo link target in system configJulien Veyssier2022-01-201-1/+1
| | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>