ui: more loading indicators

This commit is contained in:
Jack Pearkes 2014-05-01 12:00:29 -04:00
parent b7c93a9f96
commit 4716fe17a0
2 changed files with 17 additions and 11 deletions

View file

@ -219,6 +219,17 @@
</div>
</script>
<script type="text/x-handlebars" data-template-name="item/loading">
<div class="row">
<div class="col-md-8 col-md-offset-2 col-sm-12 col-xs-12">
<div class="text-center vertical-center">
<img src="static/loading-cylon-purple.svg" width="384" height="48">
<p><small>Loading...</small></p>
</div>
</div>
</div>
</script>
<script type="text/x-handlebars" id="services">
<div {{ bind-attr class=":col-md-5" }}>

View file

@ -22,14 +22,12 @@ App.ServicesView = Ember.View.extend({
})
App.ServicesShowView = Ember.View.extend({
//
// We use the same template as we do for the services
// array and have a simple conditional to display the nested
// individual service resource.
//
templateName: 'service'
})
App.ServicesLoadingView = Ember.View.extend({
templateName: 'item/loading'
})
//
// Nodes
@ -40,15 +38,12 @@ App.NodesView = Ember.View.extend({
})
App.NodesShowView = Ember.View.extend({
//
// We use the same template as we do for the nodes
// array and have a simple conditional to display the nested
// individual node resource.
//
templateName: 'node'
})
App.NodesLoadingView = Ember.View.extend({
templateName: 'item/loading'
})
App.KvListView = Ember.View.extend({
templateName: 'kv'