ui: improve mobile view

This commit is contained in:
Jack Pearkes 2014-04-30 23:39:41 -04:00
parent f7d04c3124
commit f829065436
3 changed files with 16 additions and 2 deletions

View File

@ -204,7 +204,8 @@
</script> </script>
<script type="text/x-handlebars" id="services"> <script type="text/x-handlebars" id="services">
<div {{ bind-attr class=":col-md-5 hasChild:hidden" }}>
<div {{ bind-attr class=":col-md-5" }}>
{{#each service in services}} {{#each service in services}}
@ -235,6 +236,10 @@
</div> </div>
</div> </div>
<div class="visible-xs visible-sm">
<hr>
</div>
<div class="col-md-6"> <div class="col-md-6">
<div class="row"> <div class="row">
{{outlet}} {{outlet}}
@ -308,6 +313,11 @@
</div> </div>
</div> </div>
<div class="visible-xs visible-sm">
<hr>
</div>
<div class="col-md-6"> <div class="col-md-6">
<div class="row"> <div class="row">
{{outlet}} {{outlet}}

View File

@ -210,7 +210,7 @@ App.ServicesShowRoute = App.BaseRoute.extend({
}); });
return objs; return objs;
}); });
}, }
}); });
App.NodesShowRoute = App.BaseRoute.extend({ App.NodesShowRoute = App.BaseRoute.extend({

View File

@ -29,6 +29,10 @@ a {
} }
} }
.buffer-small {
height: 50px;
}
.error { .error {
margin-top: 400px; margin-top: 400px;
} }