more cleanup

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2017-01-16 20:30:38 +01:00
parent 7c824a6177
commit bfa50a4444
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
2 changed files with 28 additions and 44 deletions

View File

@ -35,23 +35,20 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>"> <header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>">
<div id="header-left">
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" <a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
title="" id="nextcloud"> title="" id="nextcloud">
<div class="logo-icon svg"> <div class="logo-icon svg">
</div>
</a>
<div class="header-appname-container">
<h1 class="header-appname"> <h1 class="header-appname">
<?php p($theme->getName()); ?> <?php p($theme->getName()); ?>
</h1> </h1>
</div> </div>
</a>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div> <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
<div class="header-right"> <div id="header-right">
<span id="details"> <?php if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) {
<?php
if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) {
if ($_['server2serversharing']) { if ($_['server2serversharing']) {
?> ?>
<span id="save" data-protected="<?php p($_['protected']) ?>" <span id="save" data-protected="<?php p($_['protected']) ?>"
@ -68,7 +65,6 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<span id="download-text"><?php p($l->t('Download'))?></span> <span id="download-text"><?php p($l->t('Download'))?></span>
</a> </a>
<?php } ?> <?php } ?>
</span>
</div> </div>
</div></header> </div></header>
<div id="content-wrapper"> <div id="content-wrapper">

View File

@ -108,7 +108,8 @@
#header-left, #header-left,
#header-right { #header-right {
display: flex; display: inline-flex;
align-items: center;
} }
#header-left { #header-left {
@ -117,7 +118,6 @@
} }
#header-right { #header-right {
display: flex;
justify-content: flex-end; justify-content: flex-end;
} }
} }
@ -305,18 +305,6 @@
/* USER MENU -----------------------------------------------------------------*/ /* USER MENU -----------------------------------------------------------------*/
/* info part on the right, used e.g. for info on who shared something */
.header-right {
position: absolute;
right: 0;
padding: 7px 5px;
color: #fff;
height: 100%;
max-width: 80%;
white-space: nowrap;
box-sizing: border-box;
}
#settings { #settings {
display: inline-block; display: inline-block;
color: #ddd; color: #ddd;