Improvements to Account Plan #1
This commit is contained in:
@@ -48,6 +48,13 @@
|
||||
|
||||
beginEditAccount();
|
||||
});
|
||||
},
|
||||
|
||||
rowStyler: function (rowData) {
|
||||
if (rowData.inactive == true)
|
||||
{
|
||||
return { class: 'RowInactive', style: { color: '#c0c0c0' } };
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -523,6 +530,10 @@
|
||||
.CheckboxContainer {
|
||||
float: right; padding-top: 4px;padding-right: 8px;
|
||||
}
|
||||
.RowInactive
|
||||
{
|
||||
color: #C0C0C0;
|
||||
}
|
||||
</style>
|
||||
|
||||
</asp:Content>
|
||||
@@ -592,5 +603,13 @@
|
||||
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderSide" Runat="Server">
|
||||
|
||||
<h2 class="blue"><asp:Label ID="LabelSidebarOptions" Text="Options" runat="server" /><span class="arrow"></span></h2>
|
||||
|
||||
<div class="box">
|
||||
<div class="content">
|
||||
<input type="checkbox" id="checkOptionsShowInactive" /><label for="checkOptionsShowInactive"><asp:Label ID="LabelOptionsShowInactive" runat="server" Text="Show inactive accounts XYZ"/></label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
|
||||
childStrings.Add ('{' +
|
||||
String.Format (
|
||||
"\"id\":\"{0}\",\"accountName\":\"{1}\",\"owner\":\"{2}\",\"balance\":\"{3}\",\"budget\":\"{4}\",\"action\":\"{5}\"",
|
||||
"\"id\":\"{0}\",\"accountName\":\"{1}\",\"owner\":\"{2}\",\"balance\":\"{3}\",\"budget\":\"{4}\",\"action\":\"{5}\",\"inactive\":\"{6}\"",
|
||||
account.Identity,
|
||||
Server.HtmlEncode (JsonSanitize (account.Name)),
|
||||
ownerString,
|
||||
@@ -144,7 +144,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
|
||||
: (this._singleBudgetLookup[account.Identity]/100.0).ToString ("N0",
|
||||
CultureInfo.CurrentCulture)
|
||||
: string.Empty,
|
||||
editString
|
||||
editString,
|
||||
account.Active? "true":"false"
|
||||
) + grandChildren + '}');
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Site5", "Site5\", "{367F36E
|
||||
Release.AspNetCompiler.ForceOverwrite = "true"
|
||||
Release.AspNetCompiler.FixedNames = "false"
|
||||
Release.AspNetCompiler.Debug = "False"
|
||||
VWDPort = "1109"
|
||||
VWDPort = "1589"
|
||||
VWDVirtualPath = "/"
|
||||
DefaultWebSiteLanguage = "Visual C#"
|
||||
EndProjectSection
|
||||
|
||||
Reference in New Issue
Block a user