Commit Graph

34 Commits

Author SHA1 Message Date
Ferdinand Thiessen
32ac5e7af8
fix(theming): Make sure the footer is hidden if not content is rendered
Previously the footer was empty, but the backdrop was still shown.
This hides the footer if no text content was defined.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:55:34 +01:00
Hamid Dehnavi
1196b5c4c5 Add return types
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-17 13:28:58 +02:00
Joas Schilling
db55d5ba58
fix(assets): Optimize PNGs with optipng 0.7.7
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 09:01:38 +02:00
Joas Schilling
f2afccfd56
fix(assets): Optimize SVGs with scour 0.38.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 08:59:38 +02:00
Christoph Wurst
0f9aa499e4
Drop \OC_Theme::getLogoClaim
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-16 11:48:16 +01:00
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>
2020-04-10 14:19:56 +02:00
Julius Härtl
bb8c481dcc
Properly theme firstrunwizard logo in example theme
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-22 11:23:42 +01:00
splitt3r
42eb1538ef
Update dynamic year in example theme 2019-02-01 15:07:36 +01:00
andyg5000
c55643d8d7
Make the data year in the template dynamic by using date(). 2019-02-01 15:07:36 +01:00
chiyi4488
e4c583c186
Small text error
Small text error
2018-07-07 01:26:07 +08:00
Julius Härtl
cf4d27b115
Use customclient_* values by default and do not use them in custom themes anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-03-26 19:26:36 +02:00
Christian Oliff
4257d0a566
Update iOS link to geo-detect show correct store listing
Adding 'geo.' at beginning of the URL will automatically show users the store listing for their region so it's a better experience.

For example users in Japan will see: https://itunes.apple.com/jp/app/nextcloud/id1125420102?mt=8 which has local customer reviews and certain other information in Japanese.
2018-02-01 19:43:24 +09:00
Morris Jobke
585e5c6ea5
Logo claim is not used anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-08-02 23:08:45 +02:00
Marin Treselj
3470d0a44e
Simplified Nextcloud logo icon
Signed-off-by: Marin Treselj <marin@pixelipo.com>
2017-07-02 14:14:49 +02:00
Julius Härtl
22607b54e5
Move styles.css to server.css
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2017-05-23 12:10:09 +02:00
Lukas Reschke
6458875dc1
Update documentation go.php URL to 12
Fixes https://github.com/nextcloud/server/issues/4646

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-05-02 08:17:59 +02:00
Julius Haertl
68a63ad3f3
Implement scss variable injection by OC_Defaults
Signed-off-by: Julius Haertl <jus@bitgrid.net>

Add Scss variables to example theme and theming app

Signed-off-by: Julius Haertl <jus@bitgrid.net>

Use SCSSCacher to build theming css

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Update theming.scss

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Code cleanup

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Fix tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Inject SCSSCacher for easier testing

Signed-off-by: Julius Härtl <jus@bitgrid.net>

Fix typehint

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>

Generate absolute URLs

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>

Fix tests to always use absolute urls for theming images

Signed-off-by: Julius Härtl <jus@bitgrid.net>

MailheaderColor -> ColorPrimary

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2017-04-25 11:39:45 +02:00
Jan-Christoph Borchardt
9a75714c22
rename confusing getMailHeaderColor to getColorPrimary, ref #3491
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2017-03-29 18:23:23 +02:00
Marius Blüm
5e2995923d
Prevent Example-Theme from using invalid URLs
Signed-off-by: Marius Blüm <marius@lineone.io>
2017-01-16 17:52:28 +01:00
Felix A. Epp
98bdef8d83 Cahnge URL for desktop clients directly to pop-up
by adding `/#install-clients` to the URL

Signed-off-by: Felix A. Epp <work@felixepp.de>
2016-12-08 12:40:52 +01:00
Jan-Christoph Borchardt
3069ee912b fix favicon viewbox, remove decimals
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2016-11-24 15:42:05 +01:00
Philip Allgaier
9ad735417f Updated doc link version in default theme from 9 to 11 2016-10-27 10:59:17 +02:00
skjnldsv
71830b285c Svgo optimization
Signed-off-by: John Molakvoæ <fremulon@protonmail.com>
2016-09-27 20:56:26 +02:00
Joachim Sokolowski
235e2fc68e default.php for nextcloud
changing it to nextcloud
2016-06-21 17:27:02 +02:00
Morris Jobke
451b630ec8
Fix themes readme 2016-06-20 13:13:37 +02:00
Daniel Hansson
e4c21eef7b 2015 --> 2016 2016-04-27 15:52:59 +02:00
Morris Jobke
8b2b7f7e8c update example theme favicon 2015-11-03 14:24:20 +01:00
Morris Jobke
ed2ed4be8d Update example theme with App URLs and PHPDoc 2015-10-05 11:15:14 +02:00
Morris Jobke
64203331bc [example theme] make it easier for non PHP people to understand what to change 2015-09-10 11:03:00 +02:00
Joas Schilling
32ccd66214 Revert "make knowledge base url configurable"
This reverts commit 8fb89056bd.
2015-08-11 14:20:25 +02:00
Bjoern Schiessle
8fb89056bd make knowledge base url configurable 2015-07-29 18:07:04 +02:00
Jan-Christoph Borchardt
cd0fa062eb add example theme 2015-05-22 02:17:46 +02:00
Lukas Reschke
bcacf16ba7 Gitorious => Github 2012-08-26 02:39:42 +03:00
Frank Karlitschek
5408a26234 add a README 2012-02-12 00:01:46 +01:00