Updated icons on Vat Reports

This commit is contained in:
Rick Falkvinge
2019-02-15 16:35:04 +01:00
parent 0bff74f792
commit 03221d63ac
2 changed files with 7 additions and 4 deletions
@@ -55,8 +55,8 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
List<string> lines = new List<string>();
string hasDoxString =
"<img src='/Images/Icons/iconshock-search-256px.png' onmouseover=\\\"this.src='/Images/Icons/iconshock-search-hot-256px.png';\\\" onmouseout=\\\"this.src='/Images/Icons/iconshock-search-256px.png';\\\" data-txid='{0}' class='LocalViewDox' style='cursor:pointer' height='20' width='20' />" +
"<img src='/Images/Icons/iconshock-download-240px.png' onmouseover=\\\"this.src='/Images/Icons/iconshock-download-hot-240px.png';\\\" onmouseout=\\\"this.src='/Images/Icons/iconshock-download-240px.png';\\\" data-docid='{1}' data-docname=\\\"{2}\\\" class='LocalDownloadDox' style='cursor:pointer' height='18' width='18' />";
"<img data-txid='{0}' class='LocalViewDox action-icon' />" +
"<img data-docid='{1}' data-docname=\\\"{2}\\\" class='LocalDownloadDox action-icon' />";
foreach (VatReportItem item in items)
{
+5 -2
View File
@@ -16,6 +16,9 @@
$('#imageLoadIndicator').hide();
$('span.loadingHeader').hide();
$(".LocalViewDox").attr('src', '/Images/Icons/iconshock-balloon-examine-128x96px.png');
$(".LocalDownloadDox").attr('src', '/Images/Icons/iconshock-balloon-download-128x96px.png');
$(".LocalViewDox").click(function () {
$("a.FancyBox_Gallery[data-fancybox='" + $(this).attr("data-txid") + "']").first().click();
});
@@ -85,11 +88,11 @@
<tr>
<th field="txid" width="60"><asp:Literal ID="LiteralHeaderTransactionId" Text="Tx#" runat="server"/></th>
<th field="datetime" width="80"><asp:Literal ID="LiteralHeaderDateTime" runat="server" /></th>
<th field="description" width="280"><asp:Literal ID="LiteralHeaderDescription" runat="server" /></th>
<th field="description" width="270"><asp:Literal ID="LiteralHeaderDescription" runat="server" /></th>
<th field="turnover" width="140" align="right"><asp:Literal ID="LiteralHeaderTurnover" runat="server" /></th>
<th field="outbound" width="110" align="right"><asp:Literal ID="LiteralHeaderVatOutbound" runat="server" /></th>
<th field="inbound" width="100" align="right"><asp:Literal ID="LiteralHeaderVatInbound" runat="server" /></th>
<th field="dox" width="60" align="center"><asp:Literal ID="LiteralHeaderDox" runat="server" /></th>
<th field="dox" width="68" align="center"><asp:Literal ID="LiteralHeaderDox" runat="server" /></th>
</tr>
</thead>
</table>