diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-07 22:52:29 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-07 22:52:29 -0400 |
commit | fd0bea2187b33e2e90296882dc2e03c2557d65e9 (patch) | |
tree | a12b4910a0ea7839d8eadbf6a3a9334320814e4b /app | |
parent | 41f93e09572a1adb9ad520974949ef9965dd3b28 (diff) |
Use Sass custom mixins for grid
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/header.php | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/app/Template/header.php b/app/Template/header.php index 5d115b4a..2fe68ebe 100644 --- a/app/Template/header.php +++ b/app/Template/header.php @@ -12,24 +12,15 @@ )) ?> <header> - <div class="grid grid-reverse grid-noGutter"> - <?php if (! empty($board_selector)): ?> - <div class="col-1 col_xs-4 col_sm-3 col_md-3 col_lg-2 pull-right"> - <?= $_top_right_corner ?> - </div> - <div class="col-2 col_xs-8 col_sm-9 col_md-1 col_lg-1"> - <?= $this->render('header/board_selector', array('board_selector' => $board_selector)) ?> - </div> - <div class="col-9 col_xs-12 col_sm-12 col_md-8 col_lg-9"> - <?= $_title ?> - </div> - <?php else: ?> - <div class="col-2 col_xs-12 pull-right"> - <?= $_top_right_corner ?> - </div> - <div class="col-10 col_xs-12"> - <?= $_title ?> - </div> - <?php endif ?> + <div class="title-container"> + <?= $_title ?> + </div> + <?php if (! empty($board_selector)): ?> + <div class="board-selector-container"> + <?= $this->render('header/board_selector', array('board_selector' => $board_selector)) ?> + </div> + <?php endif ?> + <div class="menus-container pull-right"> + <?= $_top_right_corner ?> </div> </header> |