summaryrefslogtreecommitdiffstats
path: root/core/templates/layout.guest.php
Commit message (Collapse)AuthorAgeFilesLines
* Only add the app-itunes-app tag if the id is setJulius Härtl2019-08-231-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove precomposed from apple-touch-icon-precomposedGary Kim2019-06-151-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Merge pull request #14318 from DominikWA/RemoveUnnecessaryMetaTagsRoeland Jago Douma2019-02-261-1/+0
|\ | | | | Fix referrer policy meta tags.
| * Remove unnecessary meta tags.Dominik Wasielewski2019-02-261-1/+0
| | | | | | | | Signed-off-by: Dominik Wasielewski <d-wasi@web.de>
* | Fix OC.getCurrentUser() on guest pagesJoas Schilling2019-02-191-1/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Provide initial stateRoeland Jago Douma2019-01-291-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add locale to templatesRoeland Jago Douma2018-07-061-1/+1
| | | | | | | | It was already added to the user template but we should add it to all templates. Else apps that want the locale but use special templating (hi richdocuments!) will fail. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix form labels and main landmark on log in pageJan-Christoph Borchardt2018-04-181-1/+3
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Do not restrict zooming inJan-Christoph Borchardt2018-04-181-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Referrer fix (no-referrer)Ralph Slooten2018-02-081-1/+1
| | | | | | | Blocking referrer information should be done with "no-referrer" and not "never". See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy Signed-off-by: Ralph Slooten <axllent@gmail.com>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Removed unwanted and unused spacerJohn Molakvoæ (skjnldsv)2017-12-121-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add manifest.json to the login pageJulius Härtl2017-09-121-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Logo claim is not used anymoreMorris Jobke2017-08-021-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* Check if Nextcloud is installedLukas Reschke2017-05-081-1/+2
| | | | | | Fixes https://github.com/nextcloud/server/issues/4735 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* smaller max logo sizes and cleaner codeRobin Appelman2017-05-021-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* show non landscape icons bigger on the login pageRobin Appelman2017-05-011-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* rename confusing getMailHeaderColor to getColorPrimary, ref #3491Jan-Christoph Borchardt2017-03-291-2/+2
| | | | 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>
* 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>
* remove svg classesHendrik Leppelsack2016-07-011-1/+1
|
* remove ie8+9 supportHendrik Leppelsack2016-06-231-3/+1
|
* Merge pull request #16857 from owncloud/printStylesheetsC. Montero Luque2016-03-311-1/+4
|\ | | | | Support for print stylesheets
| * support print stylesheetsHendrik Leppelsack2016-01-131-1/+4
| |
* | Stupid clients only literally understand rel="icon"Daniel Aleksandersen2016-03-081-1/+1
|/ | | | | | rel="shortcut icon" hasn’t been relevant in years, isn’t in any standards, and causes problems for simple pattern matching clients. https://www.w3.org/TR/html/links.html#linkTypes
* Merge pull request #20236 from maprambo/safari-pinned-tab-iconThomas Müller2015-11-091-0/+1
|\ | | | | added Safari tabbed pin icon
| * Added Safari tabbed pin iconmaprambo2015-11-041-0/+1
| | | | | | | | Added the necessary code and a black and inverted version of the favicon/ touch icon in svg format
* | Add favicon for IE 8+Morris Jobke2015-11-031-1/+1
|/
* Prevent referer from being sentLukas Reschke2015-09-091-0/+1
| | | | Nice hardening for enhanced privacy. Especially useful when using embedded viewers such as files_pdfviewer.
* add theme-color for better Android browser integrationJan-Christoph Borchardt2015-07-291-0/+1
|
* fixing #15023, getting comments out of HTML outputVolker E2015-03-211-2/+2
|
* fixing #15011 by adding ARIA roles where distinctVolker E2015-03-181-2/+2
|
* addressing #14984 removing redundant type attributesVolker E2015-03-181-2/+2
|
* addressing #14983 obsolete Google Chrome FrameVolker E2015-03-181-1/+1
|
* addressing #14982 self-closing tags ending slash doesn't have a purpose & ↵Volker E2015-03-171-4/+4
| | | | should be removed
* adressing #14979 meta charset declaration should be first in headVolker E2015-03-171-1/+1
|
* addressing #14978 - remove html root classes targeting IE6/IE7Volker E2015-03-171-7/+2
|
* Deduplicate template code and do not translate the linksJoas Schilling2015-02-091-1/+1
|
* Add `rel="noreferrer"` where possible and switch to HTTPSLukas Reschke2015-02-041-1/+1
| | | | Just to follow good practise and prevent some automated scanners to complain about "Cross-domain Referer leakage".
* fix accessibility of logosJan-Christoph Borchardt2014-12-181-1/+3
|
* introduce h1, use either ownCloud name or current app nameJan-Christoph Borchardt2014-11-061-1/+3
|
* Fix the "addHeader($tag, $attributes, $text)" methods to not ignore the ↵Lukas Reschke2014-10-281-10/+1
| | | | | | | | | $text parameter Also support closing tags with no text content given Conflicts: lib/private/template.php
* Setting moment locale based on user selectionClark Tomlinson2014-10-231-6/+6
|
* Merge pull request #10109 from owncloud/issue_#9793_guestlayoutMorris Jobke2014-09-151-7/+10
|\ | | | | Step one, open guest layout for different styles.
| * Step one, open guest layout for different styles.Lukas Reschke2014-09-111-7/+10
| | | | | | | | | | | | | | Conflicts: core/templates/layout.guest.php Step one, open guest layout for different styles.