-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2924 from nextcloud/flexbox-header
Use flexbox for header and rearrange some elements
- Loading branch information
Showing
5 changed files
with
109 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,40 +35,35 @@ | |
|
||
|
||
<header><div id="header" class="<?php p((isset($_['folder']) ? 'share-folder' : 'share-file')) ?>"> | ||
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" | ||
title="" id="nextcloud"> | ||
<div class="logo-icon svg"> | ||
</div> | ||
</a> | ||
|
||
<div class="header-appname-container"> | ||
<h1 class="header-appname"> | ||
<?php p($theme->getName()); ?> | ||
</h1> | ||
<div id="header-left"> | ||
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" | ||
title="" id="nextcloud"> | ||
<div class="logo-icon svg"></div> | ||
<h1 class="header-appname"> | ||
<?php p($theme->getName()); ?> | ||
</h1> | ||
</a> | ||
</div> | ||
|
||
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div> | ||
<div class="header-right"> | ||
<span id="details"> | ||
<?php | ||
if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) { | ||
if ($_['server2serversharing']) { | ||
?> | ||
<span id="save" data-protected="<?php p($_['protected']) ?>" | ||
data-owner-display-name="<?php p($_['displayName']) ?>" data-owner="<?php p($_['owner']) ?>" data-name="<?php p($_['filename']) ?>"> | ||
<button id="save-button"><?php p($l->t('Add to your Nextcloud')) ?></button> | ||
<form class="save-form hidden" action="#"> | ||
<input type="email" id="remote_address" placeholder="[email protected]"/> | ||
<button id="save-button-confirm" class="icon-confirm svg" disabled></button> | ||
</form> | ||
</span> | ||
<?php } ?> | ||
<a href="<?php p($_['downloadURL']); ?>" id="download" class="button"> | ||
<span class="icon icon-download"></span> | ||
<span id="download-text"><?php p($l->t('Download'))?></span> | ||
</a> | ||
<div id="header-right"> | ||
<?php if (!isset($_['hideFileList']) || (isset($_['hideFileList']) && $_['hideFileList'] === false)) { | ||
if ($_['server2serversharing']) { | ||
?> | ||
<span id="save" data-protected="<?php p($_['protected']) ?>" | ||
data-owner-display-name="<?php p($_['displayName']) ?>" data-owner="<?php p($_['owner']) ?>" data-name="<?php p($_['filename']) ?>"> | ||
<button id="save-button"><?php p($l->t('Add to your Nextcloud')) ?></button> | ||
<form class="save-form hidden" action="#"> | ||
<input type="email" id="remote_address" placeholder="[email protected]"/> | ||
<button id="save-button-confirm" class="icon-confirm svg" disabled></button> | ||
</form> | ||
</span> | ||
<?php } ?> | ||
</span> | ||
<a href="<?php p($_['downloadURL']); ?>" id="download" class="button"> | ||
<span class="icon icon-download"></span> | ||
<span id="download-text"><?php p($l->t('Download'))?></span> | ||
</a> | ||
<?php } ?> | ||
</div> | ||
</div></header> | ||
<div id="content-wrapper"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters