[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: minimizin
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant-frontends] branch master updated: minimizing backoffice, for debugging purposes |
Date: |
Fri, 24 Feb 2017 20:31:45 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant-frontends.
The following commit(s) were added to refs/heads/master by this push:
new 5b4443f minimizing backoffice, for debugging purposes
5b4443f is described below
commit 5b4443f424c32ecf4051e786e8df14930bfa86f2
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Feb 24 20:31:28 2017 +0100
minimizing backoffice, for debugging purposes
---
talerfrontends/blog/static/backoffice.js | 5 +++++
talerfrontends/blog/static/web-common | 2 +-
talerfrontends/blog/templates/backoffice.html | 13 +++++++++----
talerfrontends/donations/static/web-common | 2 +-
talerfrontends/static/tracking.js | 1 -
talerfrontends/templates/tracking.html | 6 +-----
6 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/talerfrontends/blog/static/backoffice.js
b/talerfrontends/blog/static/backoffice.js
index 23f43c4..f6c90a0 100644
--- a/talerfrontends/blog/static/backoffice.js
+++ b/talerfrontends/blog/static/backoffice.js
@@ -40,9 +40,14 @@ function get_history(){
if(0 == history.length){
console.log("Got no transactions");
}
+ var table = document.getElementById("history");
for (var i=0; i<history.length; i++){
var entry = history[i];
console.log(`Order id: ${entry.order_id}`);
+ var row = document.createElement("tr");
+ row.innerHTML = `<td>${entry.order_id}</td>`;
+ table.appendChild(row);
+ console.log("->", table.innerHTML);
}
}
else{
diff --git a/talerfrontends/blog/static/web-common
b/talerfrontends/blog/static/web-common
index 0be9ac9..afe6788 160000
--- a/talerfrontends/blog/static/web-common
+++ b/talerfrontends/blog/static/web-common
@@ -1 +1 @@
-Subproject commit 0be9ac9264a3bd9f495c37abf1ac864562e8c598
+Subproject commit afe6788f89eb0c5e6148e07d63f5928475cdef19
diff --git a/talerfrontends/blog/templates/backoffice.html
b/talerfrontends/blog/templates/backoffice.html
index cf8101e..ccf5db2 100644
--- a/talerfrontends/blog/templates/backoffice.html
+++ b/talerfrontends/blog/templates/backoffice.html
@@ -1,9 +1,14 @@
{% extends "templates/base.html" %}
{% block main %}
- <h1>Backoffice</h1>
- <p>This page simulates a backoffice facility. Through it,
- the user can see the money flow from Taler transactions to
- wire transfers and viceversa.</p>
+ <h1>Backoffice</h1>
+ <p>This page simulates a backoffice facility. Through it,
+ the user can see the money flow from Taler transactions to
+ wire transfers and viceversa.</p>
+ <table id="history" style="visibility: hidden;">
+ <tr>
+ <th>Order ID</th>
+ </tr>
+ </table>
{% endblock main %}
{% block scripts %}
diff --git a/talerfrontends/donations/static/web-common
b/talerfrontends/donations/static/web-common
index 0be9ac9..afe6788 160000
--- a/talerfrontends/donations/static/web-common
+++ b/talerfrontends/donations/static/web-common
@@ -1 +1 @@
-Subproject commit 0be9ac9264a3bd9f495c37abf1ac864562e8c598
+Subproject commit afe6788f89eb0c5e6148e07d63f5928475cdef19
diff --git a/talerfrontends/static/tracking.js
b/talerfrontends/static/tracking.js
index 0de3e34..b5945bc 100644
--- a/talerfrontends/static/tracking.js
+++ b/talerfrontends/static/tracking.js
@@ -134,7 +134,6 @@ function fill_contract_details(summary_column,
instance_column,
tid_column,
entry){
- console.log("fcd");
/* Wait for frontend implementing /map. */
var req = new XMLHttpRequest();
diff --git a/talerfrontends/templates/tracking.html
b/talerfrontends/templates/tracking.html
index 4be66df..5fb331f 100644
--- a/talerfrontends/templates/tracking.html
+++ b/talerfrontends/templates/tracking.html
@@ -94,11 +94,7 @@
<br/>
<table id="history" style="visibility: hidden;">
<tr>
- <th>Transaction ID</th>
- <th>Date</th>
- <th>Contract</th>
- <th>Instance</th>
- <th>Amount</th>
+ <th>Order ID</th>
</tr>
</table>
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant-frontends] branch master updated: minimizing backoffice, for debugging purposes,
gnunet <=