Commit f3f2ad94 authored by Jeremy Fischer's avatar Jeremy Fischer
Browse files

Make Dashboard Scrollable

Fix Formatting
parent 7446d82b
<panelFlow>
<panelFlow style="box-sizing: border-box; display: inline-block; position: absolute; top: 4.3em; left: 0px; width: 100%; height: calc( 100% - 4.3em); overflow: hidden; overflow-y: auto;">
<div class="row">
<div class="col s6" onclick="details_hide()">
<div class="card grey darken-5">
......
......@@ -211,14 +211,14 @@ if (declare_load("appclient") !== TRUE)
hours = hours % 24;
var weeks = days / 7;
days = days % 7;
if(weeks > 0 ){
time = weeks+" Weeks";
}else if(days > 0 ){
time = days+" Days";
}else if(hours > 0 ){
time = hours+" Hours";
}else if(minutes > 0 ){
time = minutes+" Minutes";
if(weeks > 1 ){
time = Math.floor(weeks)+" Weeks";
}else if(days > 1 ){
time = Math.floor(days)+" Days";
}else if(hours > 1 ){
time = Math.floor(hours)+" Hours";
}else if(minutes > 1 ){
time = Math.floor(minutes)+" Minutes";
}else {
time = "Unknown";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment