summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Hagedorn <hagedorn@mcs.anl.gov>2006-07-14 15:55:24 +0000
committerJoey Hagedorn <hagedorn@mcs.anl.gov>2006-07-14 15:55:24 +0000
commit28995453682effde0eff414333ef2973e2c52fec (patch)
treee7797350440d7c996f94ae3298c59cd954fb1a6a
parent6bcd4d82f3cf5bf1dbacdc203d58af05046f9bc3 (diff)
downloadbcfg2-28995453682effde0eff414333ef2973e2c52fec.tar.gz
bcfg2-28995453682effde0eff414333ef2973e2c52fec.tar.bz2
bcfg2-28995453682effde0eff414333ef2973e2c52fec.zip
Final commit before view data in new reports gets restructured.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1942 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--reports/brpt/reports/sql/client.sql1
-rw-r--r--reports/brpt/reports/templates/clients/client-nodebox.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/reports/brpt/reports/sql/client.sql b/reports/brpt/reports/sql/client.sql
new file mode 100644
index 000000000..6ef37a27f
--- /dev/null
+++ b/reports/brpt/reports/sql/client.sql
@@ -0,0 +1 @@
+CREATE VIEW reports_current_interactions AS SELECT x.client_id AS client_id, reports_interaction.id AS interaction_id FROM (select client_id, MAX(timestamp) as timer FROM reports_interaction GROUP BY client_id) x, reports_interaction WHERE reports_interaction.client_id = x.client_id AND reports_interaction.timestamp = x.timer \ No newline at end of file
diff --git a/reports/brpt/reports/templates/clients/client-nodebox.html b/reports/brpt/reports/templates/clients/client-nodebox.html
index 12b53d899..e3ed25cee 100644
--- a/reports/brpt/reports/templates/clients/client-nodebox.html
+++ b/reports/brpt/reports/templates/clients/client-nodebox.html
@@ -2,7 +2,7 @@
<a name="{{client.name}}"></a>
<div class="nodebox" name="{{client.name}}">
<span class="notebox">Time Ran: {{interaction.timestamp}}</span>
- <span class="configbox">(-Insert Profile Name Here-)</span>
+ <!--<span class="configbox">(-Insert Profile Name Here-)</span>-->
<table class="invisitable">
<tr><td width="43%"><h2>Node: <span class="nodename">