diff options
author | Alexandre Pretto Nunes <anunes@thoughtworks.com> | 2015-02-10 17:55:15 -0200 |
---|---|---|
committer | Alexandre Pretto Nunes <anunes@thoughtworks.com> | 2015-02-19 16:41:24 -0200 |
commit | fa3e2ba6d928817f749431853142ae824b72eb82 (patch) | |
tree | c5937a6f53da614d6b94de3086cd6c3942390f60 /web-ui/app/index.html | |
parent | 88c5ddd2f3af1a5a38c9a501543363aba00323c0 (diff) |
#239 Move toggle to sidebar nav (with js hack)
Diffstat (limited to 'web-ui/app/index.html')
-rw-r--r-- | web-ui/app/index.html | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/web-ui/app/index.html b/web-ui/app/index.html index a60fbb61..5a6d31f0 100644 --- a/web-ui/app/index.html +++ b/web-ui/app/index.html @@ -19,27 +19,29 @@ <div class="off-canvas-wrap move-right menu" data-offcanvas> <div class="inner-wrap"> - <section id="left-pane" class="left-off-canvas-menu"> - <nav id="tag-list"></nav> - <nav id="logout"></nav> -</section> -</div> + <section id="left-pane" class="left-off-canvas-menu"> + <a class="fake-left-off-canvas-toggle" href="#"> + <i class=" toggle fa fa-navicon"></i> + </a> + <nav id="tag-list"></nav> + <nav id="logout"></nav> + </section> + </div> </div> -<div class="off-canvas-wrap" data-offcanvas> +<div class="off-canvas-wrap content" data-offcanvas> <header id="main" > <div id="user-alerts" class="message-panel"></div> <div id="loading" class="message-panel"><span>Loading...</span></div> </header> - <div class="inner-wrap content"> + <div class="inner-wrap"> <div id="menu" class="column collapsed-nav no-padding"> + <a class="left-off-canvas-toggle" href="#"> + </a> <a class="left-off-canvas-logo" href="#"> <img id="pixelated-logo" src="/assets/images/pixelated-logo_symbol_orange.png" alt="Pixelated"> </a> - <a class="left-off-canvas-toggle" href="#"> - <i class=" toggle fa fa-navicon"></i> - </a> </div> <article id='middle-pane-container' class="small-5 medium-5 large-5 columns no-padding"> @@ -86,6 +88,11 @@ $(document).foundation(); </script> +<script> +$('.fake-left-off-canvas-toggle').on('click', function () { + $('.left-off-canvas-toggle').click(); + }); +</script> </body> </html> |