summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.user.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded tabindex, add keyboard focus feedback for app listJan-Christoph Borchardt2017-09-291-6/+5
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge legacy app title h1 into Nextcloud h1, ref #5822Jan-Christoph Borchardt2017-09-291-8/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Add proper labels to various form elements and buttonsJan-Christoph Borchardt2017-09-291-4/+6
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Add alt text to app icons in headerJan-Christoph Borchardt2017-09-291-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Revert "Proof of concept #5593 - inline SVG icon for icon-contacts"Joas Schilling2017-08-031-3/+1
|
* Replace `include` with `file_get_contents`Marin Treselj2017-08-021-1/+1
| | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* Proof of concept #5593 - inline SVG icon for icon-contactsMarin Treselj2017-08-021-1/+3
| | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* Fixes nextcloud/gallery#269Marin Treselj2017-07-281-2/+2
| | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* Merge pull request #5520 from nextcloud/disable-click-on-hintMorris Jobke2017-07-051-2/+2
|\ | | | | [Small] Hint should not be clickable
| * Hint should not be clickableMaxence Lange2017-06-231-2/+2
| | | | | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* | Simplified Nextcloud logo iconMarin Treselj2017-07-021-1/+1
|/ | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* Streamline templates, more DRYMichael Letzgus2017-05-251-6/+1
| | | | | | | | Use Unified function to emit <link> tags for css loading, obey "Don't Repeat Yourself" ;-) (Next step might by to combine this with the emit <script> function (even more DRY?) AND move all this to a better place?) Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* Make page loading faster by deferred script loading:Michael Letzgus2017-05-201-8/+1
| | | | | | | | * Create generalized function for emmitting <script defer src=""> tags to templates * Remove type attribute from inline_js * Add defer attribute to external <script> tags Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* Prevent flashing of apps and user menuJan-Christoph Borchardt2017-04-291-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Contacts menuChristoph Wurst2017-04-251-0/+5
| | | | | | | * load list of contacts from the server * show last message of each contact Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Responsive app menuJulius Härtl2017-04-251-33/+30
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* rename confusing getMailHeaderColor to getColorPrimary, ref #3491Jan-Christoph Borchardt2017-03-291-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Web app manifestPierre Rudloff2017-03-281-0/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Moving the inline js before the CSSRoeland Jago Douma2017-03-281-5/+5
| | | | | | This allows browsers to do smarted parallel downloads Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* use theming colors for favicon on macOSJan-Christoph Borchardt2017-03-271-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge pull request #4077 from nextcloud/better-navigation-managementMorris Jobke2017-03-261-37/+1
|\ | | | | Register the app management in the normal way
| * Manage the right side menu via the navigation manager as wellJoas Schilling2017-03-261-6/+0
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Register the app management in the normal wayJoas Schilling2017-03-261-31/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | replace name in top right with icon for less noiseJan-Christoph Borchardt2017-03-261-2/+1
|/ | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge pull request #3951 from nextcloud/menu-firefox-fixesLukas Reschke2017-03-201-4/+4
|\ | | | | Fix new app menu on firefox
| * Fix filter for app icons on firefoxJulius Härtl2017-03-201-4/+4
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix duplicate id "apps-management"Michael Letzgus2017-03-191-2/+2
|/ | | | | | | | | Make duplicate id "apps-management" a class since IDs must be unique: https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#the-id-attribute https://api.jquery.com/id-selector/ Signed-off-by: Michael Letzgus <michaelletzgus@users.noreply.github.com>
* Fix html formating issuesJulius Haertl2017-03-161-14/+5
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Rebuild menu to keep order of icons correctJulius Haertl2017-03-161-1/+3
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Make enabling/disabling apps work with the new menuJulius Haertl2017-03-161-11/+6
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Make app management icon act like a normal app iconJulius Haertl2017-03-161-2/+3
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Fix menu issuesJulius Haertl2017-03-161-47/+48
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Generate seperate menu list for header barJulius Haertl2017-03-161-17/+19
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Show app icons in the headerJulius Haertl2017-03-161-2/+49
| | | | Signed-off-by: Julius Haertl <jus@bitgrid.net>
* Always enable avatarsMorris Jobke2017-02-131-2/+0
| | | | | | | | | * we introduced this setting in the begining because our avatar support caused some performance issues, but we fixed them and should only provide one way how Nextcloud looks Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add clear search buttonJohn Molakvoæ (skjnldsv)2017-01-251-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix scssChristoph Wurst2017-01-231-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use flexbox for header and rearrange some elementsChristoph Wurst2017-01-231-54/+57
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a form so firefox doesn't try to save the space as a passwordJoas Schilling2016-12-191-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix some outdated namingJan-Christoph Borchardt2016-11-241-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Show a little explanation above the input fieldJoas Schilling2016-11-181-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Empty the password field on submission of the formJoas Schilling2016-11-181-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Introduce the UI for password confirmationJoas Schilling2016-11-181-0/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Inlince oc.js if possible!Roeland Jago Douma2016-10-251-0/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add ContentSecurityPolicyNonceManagerLukas Reschke2016-10-241-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add support for CSP noncesLukas Reschke2016-10-241-1/+1
| | | | | | | | | | | | | | | | | CSP nonces are a feature available with CSP v2. Basically instead of saying "JS resources from the same domain are ok to be served" we now say "Ressources from everywhere are allowed as long as they add a `nonce` attribute to the script tag with the right nonce. At the moment the nonce is basically just a `<?php p(base64_encode($_['requesttoken'])) ?>`, we have to decode the requesttoken since `:` is not an allowed value in the nonce. So if somebody does on their own include JS files (instead of using the `addScript` public API, they now must also include that attribute.) IE does currently not implement CSP v2, thus there is a whitelist included that delivers the new CSP v2 policy to newer browsers. Check http://caniuse.com/#feat=contentsecuritypolicy2 for the current browser support list. An alternative approach would be to just add `'unsafe-inline'` as well as `'unsafe-inline'` is ignored by CSPv2 when a nonce is set. But this would make this security feature unusable at all in IE. Not worth it at the moment IMO. Implementing this offers the following advantages: 1. **Security:** As we host resources from the same domain by design we don't have to worry about 'self' anymore being in the whitelist 2. **Performance:** We can move oc.js again to inline JS. This makes the loading way quicker as we don't have to load on every load of a new web page a blocking dynamically non-cached JavaScript file. If you want to toy with CSP see also https://csp-evaluator.withgoogle.com/ Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Use name from themingJoas Schilling2016-10-071-1/+1
|
* Set proper web title for appleRoeland Jago Douma2016-10-061-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Deprecate getEditionString()Joas Schilling2016-09-061-7/+1
|
* Cache avatars properlyRoeland Jago Douma2016-08-301-2/+2
| | | | | * Set proper caching headers for avatars (15 minutes) * For our own avatar use some extra logic to invalidate when we update