not sure what I changed

community
Steve L. Nyemba 7 years ago
parent af80dd6e16
commit 2e2d697a06

@ -58,7 +58,8 @@ def home():
apps = []
try:
gReader = factory.instance(type=class_read,args=p)
apps = gReader.view('summary/app_names',key=p['uid'])
apps = gReader.view('summary/app_names',key=p['uid']).keys()
except Exception, e:
print (e)
return render_template('dashboard.html',context=context,title=title,app_names=apps)

@ -95,7 +95,7 @@ dashboard = {
Chartist.Pie('#chartPreferences', {
labels: getStatusList,
series: getStatusList
});
},{donut:true});
}) /// end getStatus
})
},

@ -79,7 +79,7 @@
]
jx.utils.patterns.observer(lobservers,"init")
dashboard.initChartist();
//dashboard.initChartist();
});
</script>
@ -156,7 +156,7 @@
</a>
<ul class="dropdown-menu">
{% for name in app_names %}
<li><a href="#">{{name|safe}}</a></li>
<div class="action"><i class="fa fa-angle-right"></i> {{name|safe}}</div>
{% endfor %}
</ul>

Loading…
Cancel
Save