-
Notifications
You must be signed in to change notification settings - Fork 310
Toggle navibar on mobile #190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,11 +60,12 @@ | |
|
|
||
| <div id="app" class="app-deck" data-ng-app="Deck" ng-controller="AppController" ng-cloak> | ||
|
|
||
| <div id="app-navigation" data-ng-controller="ListController" ng-init="initSidebar()" ng-if="navibar.show"> | ||
| <div id="app-navigation" data-ng-controller="ListController" ng-init="initSidebar()"> | ||
| <?php print_unescaped($this->inc('part.navigation')); ?> | ||
| <?php /* print_unescaped($this->inc('part.settings')); */ ?> | ||
| </div> | ||
| <div id="app-content" ng-class="{ 'details-visible': sidebar.show }" ui-view> | ||
| <div id="app-content" ng-class="{ 'details-visible': sidebar.show }"> | ||
| <div ui-view></div> | ||
|
||
| </div> | ||
| <route-loading-indicator></route-loading-indicator> | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,12 +5,11 @@ | |
| <p>{{ statusservice.text }}</p></div> | ||
| </div> | ||
|
|
||
| <div id="board-header"> | ||
| <div id="app-navigation-toggle" class="icon-menu" ng-click="navibar.show=!navibar.show"></div> | ||
| <a class="crumb" href="#" title="<?php p($l->t('All Boards')); ?>"> | ||
| <i class="icon icon-home"></i> | ||
| <span class="hidden-visually"><?php p($l->t('All Boards')); ?></span> | ||
| </a> | ||
| <div id="controls"> | ||
|
||
| <div class="crumb svg last"> | ||
| <a href="#" id="button-home" title="<?php p($l->t('All Boards')); ?>"> | ||
| </a> | ||
| </div> | ||
| <h1 class="title" style="border-bottom: 2px solid #{{boardservice.getCurrent().color }};"> | ||
| {{ boardservice.getCurrent().title }} | ||
| </h1> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,11 @@ | ||
| <div id="board-header"> | ||
| <div id="app-navigation-toggle" class="icon-menu" ng-click="navibar.show=!navibar.show"></div> | ||
| <a class="crumb" href="#" title="<?php p($l->t('All Boards')); ?>"> | ||
| <i class="icon icon-home"></i> | ||
| <span class="hidden-visually"><?php p($l->t('All Boards')); ?></span> | ||
| </a> | ||
| <div id="controls"> | ||
| <div class="breadcrumb"> | ||
|
||
| <div class="crumb svg last"> | ||
| <a href="#" id="button-home" title="<?php p($l->t('All Boards')); ?>"> | ||
| </a> | ||
| <span style="display: none;"></span> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div id="boardlist"> | ||
| <table width="100%"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this
if, since the toggle should always be visible - then you won't need!importantin CSSThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it for different behavior. on mobile devices app-content will be moved to the right. on desktop app-navigation will be hide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it even work, @artemanufrij ? Look at the next line
toggle('hidde')is not correct 😉There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it works fine....