footer: css + html

This commit is contained in:
Silke Pisulla 2017-01-02 14:53:36 +01:00
commit 1ac428716a
2 changed files with 153 additions and 125 deletions

View file

@ -10,18 +10,18 @@
@media screen {
#dokuwiki__footer {
* {
font-size: (@font-size-default - .1);
}
.pad {
.main-footer {
position: relative;
box-sizing: border-box;
}
.doc {}
p {
font-size: @font-size-default;
}
.license {}
bdi {
font-weight: bold;
}
}
}
@ -31,11 +31,13 @@
@media @screen_min-md {
#dokuwiki__footer {
margin: 0 @margin-big;
.pad {
.col-xs-12 {
float: right;
width: 73%;
}
.main-footer {
padding: @margin-default 0;
}
}
@ -47,9 +49,9 @@
@media @screen_max-md {
#dokuwiki__footer {
.pad {
width: 100%;
padding: @margin-default @margin-big;
.main-footer {
padding: @margin-default (@margin-big - .5);
}
}
}

View file

@ -86,7 +86,7 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
?>
<body id="dokuwiki__top" class="<?php echo tpl_classes(); ?> <?php echo ($showSidebar) ? 'showSidebar' : ''; ?>">
<div id="dokuwiki__site">
<div id="dokuwiki__site">
<?php
@ -150,6 +150,7 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
</div><!-- .nav-area-head -->
<?php if ($showSidebar): ?>
<div class="tools">
<div class="container">
<div class="row">
@ -162,12 +163,13 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* Include Hook: sidebarheader.html */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
tpl_includeFile('sidebarheader.html') ?>
tpl_includeFile('sidebarheader.html')
?>
</div><!-- .sidebarheader -->
<div class="search main-sidebar">
<?php if (tpl_getConf('logo') && file_exists(mediaFN(tpl_getConf('logo')))){
<?php
if (tpl_getConf('logo') && file_exists(mediaFN(tpl_getConf('logo')))){
if (tpl_getConf('logo_spacer') && file_exists(mediaFN(tpl_getConf('logo_spacer')))){
echo '<img width="5" height="5" src="'.ml(tpl_getConf('logo_spacer')).'" alt="" />';
} else{
@ -179,8 +181,8 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* search form */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
include('tpl/main-sidebar-search.php'); ?>
include('tpl/main-sidebar-search.php');
?>
</div><!-- .search -->
<div id="dokuwiki__aside" class="menu main-sidebar">
@ -192,7 +194,6 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
include('tpl/nav-main.php');
?>
</div><!-- .menu -->
<div class="site-tools main-sidebar">
@ -202,8 +203,8 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* site tools */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
include('tpl/nav-sitetools.php'); ?>
include('tpl/nav-sitetools.php');
?>
</div><!-- .site-tools -->
@ -214,8 +215,8 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* Include Hook: sidebarfooter.html */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
tpl_includeFile('sidebarfooter.html') ?>
tpl_includeFile('sidebarfooter.html')
?>
</div><!-- .sidebarheader -->
</div><!-- .col -->
@ -261,6 +262,7 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
</div><!-- .container -->
</div><!-- /top-header -->
<div class="content">
<div class="container">
<div class="row">
@ -274,8 +276,10 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
tpl_includeFile('pageheader.html')
?>
<div class="breadcrumbs">
<h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6>
<?php
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
@ -288,16 +292,20 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* breadcrumb */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
include('tpl/nav-breadcrumb.php'); ?>
include('tpl/nav-breadcrumb.php');
?>
<h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['page_tools'] ?></h6>
<?php
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* page tools */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
include('tpl/nav-page-tools.php'); ?>
include('tpl/nav-page-tools.php');
?>
</div>
<div id="dokuwiki__content" class="page main-content">
@ -308,7 +316,8 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* wikipage start / main content */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
tpl_content(false); /* the main content */ ?>
tpl_content(false); /* the main content */
?>
</div><!-- .main-content -->
@ -317,30 +326,47 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
</div><!-- .container -->
<?php tpl_flush() ?>
<?php tpl_includeFile('pagefooter.html') ?>
</div></div><!-- /content -->
</div><!-- /content -->
<div class="clearer"></div>
</div><!-- /wrapper -->
<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer"><div class="pad">
<div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
<?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
</div></div><!-- /footer -->
<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer">
<div class="container">
<div class="row">
<div class="col-xs-12">
<div class="main-footer">
<p>
<?php
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* 'Last modified' etc */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
tpl_pageinfo()
?>
</p>
</div>
</div>
</div>
</div>
</div><!-- /footer -->
<?php tpl_includeFile('footer.html') ?>
</div><!-- .dokuwiki__site -->
</div><!-- .dokuwiki__site -->
<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
</body>
</html>