Feature: New Theme

New icon, theme, and fuzzy time. Add moment.js
This commit is contained in:
Gary Sharp
2013-12-24 14:15:07 +11:00
parent ec118a3395
commit f1ee2937cd
216 changed files with 7816 additions and 1948 deletions
@@ -373,7 +373,7 @@ namespace Disco.Web.Areas.API.Controllers
var result = new
{
Timestamp = device.LastNetworkLogonDate,
Friendly = device.LastNetworkLogonDate.ToFuzzy("Unknown"),
Friendly = device.LastNetworkLogonDate.FromNow("Unknown"),
Formatted = device.LastNetworkLogonDate.ToFullDateTime("Unknown")
};
@@ -274,7 +274,7 @@ namespace Disco.Web.Areas.API.Controllers
{
Id = System.IO.Path.GetFileNameWithoutExtension(f.Name),
Timestamp = f.CreationTime.ToString(),
TimestampFuzzy = f.CreationTime.ToFuzzy()
TimestampFuzzy = f.CreationTime.FromNow()
}).ToArray();
return Json(m);