Browse Source

introduce h1, use either ownCloud name or current app name

tags/v8.0.0alpha1
Jan-Christoph Borchardt 9 years ago
parent
commit
45c6ec8582
3 changed files with 8 additions and 3 deletions
  1. 3
    0
      core/css/header.css
  2. 3
    1
      core/templates/layout.guest.php
  3. 2
    2
      core/templates/layout.user.php

+ 3
- 0
core/css/header.css View File

@@ -48,6 +48,9 @@
height: 120px;
margin: 0 auto;
}
#header .logo h1 {
display: none;
}

#header .logo-wide {
background-image: url(../img/logo-wide.svg);

+ 3
- 1
core/templates/layout.guest.php View File

@@ -31,7 +31,9 @@
<?php if ($_['bodyid'] === 'body-login' ): ?>
<header>
<div id="header">
<div class="logo svg"></div>
<div class="logo svg">
<h1><?php p($theme->getName()); ?></h1>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div>
</header>

+ 2
- 2
core/templates/layout.user.php View File

@@ -44,7 +44,7 @@
<div class="logo-icon svg"></div>
</a>
<a href="#" class="menutoggle">
<div class="header-appname">
<h1 class="header-appname">
<?php
if(OC_Util::getEditionString() === '') {
p(!empty($_['application'])?$_['application']: $l->t('Apps'));
@@ -52,7 +52,7 @@
print_unescaped($theme->getHTMLName());
}
?>
</div>
</h1>
<div class="icon-caret svg"></div>
</a>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>

Loading…
Cancel
Save