Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-05-02 18:43:59 +0300
committerMorris Jobke <hey@morrisjobke.de>2017-05-02 19:01:11 +0300
commitc50b7addc7282cb05f2b4a01b45bfde0a5a4e6fb (patch)
treee17263335c57ef405589e2dd0cb06850a756fd38 /core
parentfa52f906e3817b4eedcece5008cd70de7251242f (diff)
smaller max logo sizes and cleaner code
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core')
-rw-r--r--core/css/guest.css4
-rw-r--r--core/templates/layout.guest.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/core/css/guest.css b/core/css/guest.css
index 02af5d3e0cf..f2de4c832ae 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -71,14 +71,14 @@ h3 {
background-position: center;
width: 252px;
min-height: 120px;
- max-height: 300px;
+ max-height: 200px;
margin: 0 auto;
}
#header .logo img {
opacity: 0;
max-width: 100%;
- max-height: 300px;
+ max-height: 200px;
}
.wrapper {
min-height: 100%;
diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php
index 7e248ff2f7f..1f38aaef5f9 100644
--- a/core/templates/layout.guest.php
+++ b/core/templates/layout.guest.php
@@ -41,7 +41,7 @@
<?php p($theme->getName()); ?>
</h1>
<?php if(\OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
- <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL('apps/theming/logo') . '?' . \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0')) ?>"/>
+ <img src="<?php p($theme->getLogo()); ?>"/>
<?php endif; ?>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>