Julius Härtl
a94236483e
Let apps toggle an unread counter on app icons
Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 lat temu
Joas Schilling
84b33a4435
Directly add notifications element
Since there seems to be an issue with the old way notifications is mounted,
we now hardcode it.
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 lat temu
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 lat temu
Christian Wenz
8aa13f37b0
Add apple-touch-icon-precomposed (fixes #14818)
Signed-off-by: Christian Wenz <christian@wenz.org>
3 lat temu
John Molakvoæ (skjnldsv)
1a1b3e20e4
Fix unified search
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
3 lat temu
Roeland Jago Douma
1d35a1474b
Move the password confirmation form template to post
I know we use JS for this. But it triggers some false positives on
testing.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 lat temu
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 lat temu
Christoph Wurst
44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 lat temu
Julius Härtl
3e081c43d9
Only add the app-itunes-app tag if the id is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 lat temu
Gary Kim
72b8083c11
Remove precomposed from apple-touch-icon-precomposed
Signed-off-by: Gary Kim <gary@garykim.dev>
5 lat temu
Greta Doci
bb811ee3e1
Change text color in search box in darktheme, ref #15598
Signed-off-by: Greta Doci <gretadoci@gmail.com>
5 lat temu
Joas Schilling
f6b506bc87
Style of navigation links in header is too catchy
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 lat temu
Julius Härtl
dc5eea1287
Fix closing tags in header
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 lat temu
Dominik Wasielewski
782e828889
Remove unnecessary meta tags.
Signed-off-by: Dominik Wasielewski <d-wasi@web.de>
5 lat temu
Roeland Jago Douma
f30877ea7c
Provide initial state
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 lat temu
John Molakvoæ (skjnldsv)
bb9e282e95
Unify headers menu design, fix click area
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 lat temu
Michael Weimann
349687ac09
Fix click app names
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
5 lat temu
Jan-Christoph Borchardt
ac01522927
Show all app titles on hovering app menu area, fix #10952, fix #4619
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 lat temu
trendzetter
56b0d3d234
Add missing tag
Add missing closing tag for span.
Signed-off-by: Joris Willems <joris.willems@gmail.com>
5 lat temu
John Molakvoæ (skjnldsv)
88db07d28e
Really cleanup the content-wrapper
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 lat temu
John Molakvoæ (skjnldsv)
842583038b
Cleanup structure
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 lat temu
John Molakvoæ (skjnldsv)
29ff7efe9a
Svg icon api sass function and upgrade of all styles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 lat temu
Thomas Citharel
bf6bfad76b
OC.getLocale() now returns Locale and no longer Language
Added OC.getLanguage() to get Language
<html lang=''> still gets language, though according to IETF BCP47 locale should be good.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
7 lat temu
Jan-Christoph Borchardt
4afdf922f2
Make skip navigation links translatable
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
Jan-Christoph Borchardt
de5d5ee0e7
Add skip navigation / skip to content links
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
John Molakvoæ (skjnldsv)
21441fad9b
Added new search standard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 lat temu
Julius Härtl
897898a93b
Add data-id to settings navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 lat temu
Jan-Christoph Borchardt
1c00f82ea5
Do not restrict zooming in
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
Jan-Christoph Borchardt
0ee9924b16
Add aria-label to more-apps menu as well
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
Jan-Christoph Borchardt
df3c1ac283
Add proper ARIA attributes and structure to header for accessibility, thanks to @MarcoZehe
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
John Molakvoæ (skjnldsv)
15a3caedc0
Create special option to toggle header menu container
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 lat temu
Ralph Slooten
be42df8e48
Referrer fix (no-referrer)
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>
6 lat temu
Morris Jobke
a661f043e1
Remove unneeded semicolon and parentheses
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 lat temu
Julius Härtl
927626cbaa
Fix appmenu svg double invert
This fixes a regression caused by 9b668d0, where the css filters to
preview color inversion of the app menu was applied by default. This
commit makes the css filters sensitive on what the current state of the
app menu is.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 lat temu
Julius Härtl
63b4d7e183
Remove css invert since we are using svg filters for now
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 lat temu
Julius Härtl
8a226811dc
Invert app icons on IE11 as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 lat temu
Jan-Christoph Borchardt
2cd467f3f0
Remove unneeded tabindex, add keyboard focus feedback for app list
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
Jan-Christoph Borchardt
d3ae77590a
Merge legacy app title h1 into Nextcloud h1, ref #5822
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
Jan-Christoph Borchardt
9fb37a2990
Add proper labels to various form elements and buttons
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
Jan-Christoph Borchardt
753c6fd07b
Add alt text to app icons in header
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 lat temu
Joas Schilling
9abbd6ab13
Revert "Proof of concept #5593 - inline SVG icon for icon-contacts"
7 lat temu
Marin Treselj
c658862052
Replace `include` with `file_get_contents`
Signed-off-by: Marin Treselj <marin@pixelipo.com>
7 lat temu
Marin Treselj
ffcdc96a0b
Proof of concept #5593 - inline SVG icon for icon-contacts
Signed-off-by: Marin Treselj <marin@pixelipo.com>
7 lat temu
Marin Treselj
086ce709f7
Fixes nextcloud/gallery#269
Signed-off-by: Marin Treselj <marin@pixelipo.com>
7 lat temu
Marin Treselj
3470d0a44e
Simplified Nextcloud logo icon
Signed-off-by: Marin Treselj <marin@pixelipo.com>
7 lat temu
Maxence Lange
5389ffca86
Hint should not be clickable
Signed-off-by: Maxence Lange <maxence@nextcloud.com>
7 lat temu
Michael Letzgus
0d320fba4b
Streamline templates, more DRY
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>
7 lat temu
Michael Letzgus
fb9f13d4c1
Make page loading faster by deferred script loading:
* 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>
7 lat temu
Jan-Christoph Borchardt
7015eb9fe5
Prevent flashing of apps and user menu
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
7 lat temu
Christoph Wurst
d091793ceb
Contacts menu
* load list of contacts from the server
* show last message of each contact
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
7 lat temu