Browse Source
Really cleanup the content-wrapper
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
pull/10421/head
John Molakvoæ (skjnldsv)
8 years ago
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
4 changed files with
7 additions and
20 deletions
-
core/css/apps.scss
-
core/templates/layout.base.php
-
core/templates/layout.public.php
-
core/templates/layout.user.php
|
|
|
@ -583,13 +583,6 @@ kbd { |
|
|
|
|
|
|
|
|
|
|
|
/* CONTENT --------------------------------------------------------- */ |
|
|
|
#content-wrapper { |
|
|
|
// everything not related to content but needs to be on the window |
|
|
|
// goes here (popups, tooltips...) |
|
|
|
position: relative; |
|
|
|
min-height: 100%; |
|
|
|
display: unset; |
|
|
|
} |
|
|
|
#content { |
|
|
|
box-sizing: border-box; |
|
|
|
position: relative; |
|
|
|
|
|
|
|
@ -18,10 +18,8 @@ |
|
|
|
</head> |
|
|
|
<body id="body-public"> |
|
|
|
<?php include 'layout.noscript.warning.php'; ?>
|
|
|
|
<div id="content-wrapper"> |
|
|
|
<div id="content" class="app-public" role="main"> |
|
|
|
<?php print_unescaped($_['content']); ?>
|
|
|
|
</div> |
|
|
|
<div id="content" class="app-public" role="main"> |
|
|
|
<?php print_unescaped($_['content']); ?>
|
|
|
|
</div> |
|
|
|
</body> |
|
|
|
</html> |
|
|
|
@ -70,11 +70,9 @@ |
|
|
|
</div> |
|
|
|
<?php } ?>
|
|
|
|
</header> |
|
|
|
<div id="content-wrapper"> |
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main"> |
|
|
|
<?php print_unescaped($_['content']); ?>
|
|
|
|
</div> |
|
|
|
</div |
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main"> |
|
|
|
<?php print_unescaped($_['content']); ?>
|
|
|
|
</div> |
|
|
|
<?php if($template->getFooterVisible()) { ?>
|
|
|
|
<footer> |
|
|
|
<p class="info"><?php print_unescaped($theme->getLongFooter()); ?></p>
|
|
|
|
|
|
|
|
@ -159,10 +159,8 @@ |
|
|
|
<input class="confirm" value="<?php p($l->t('Confirm')); ?>" type="submit"> |
|
|
|
</form> |
|
|
|
|
|
|
|
<div id="content-wrapper"> |
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main"> |
|
|
|
<?php print_unescaped($_['content']); ?>
|
|
|
|
</div> |
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main"> |
|
|
|
<?php print_unescaped($_['content']); ?>
|
|
|
|
</div> |
|
|
|
|
|
|
|
</body> |
|
|
|
|