From 59058b0d3ccf8d47c832aad6722d8b794e44475a Mon Sep 17 00:00:00 2001 From: Manuel Penschuck Date: Thu, 19 Dec 2013 20:58:21 +0100 Subject: [PATCH] -> CTS GUI moved into a dedicated directory and depedencies (CSS/JS files renamed) -> Ability to set labels for input channels --- web/cts_gui | 2 +- web/htdocs/{ => cts}/cts.htm | 52 +++++++- web/htdocs/{ => cts}/cts.pl | 0 web/htdocs/{layout => cts}/empty_plot.png | Bin web/htdocs/index.pl | 2 +- web/htdocs/layout/{base.css => cts.css} | 59 +++++++++ web/htdocs/scripts/cts.js | 153 ++++++++++++++++------ 7 files changed, 224 insertions(+), 44 deletions(-) rename web/htdocs/{ => cts}/cts.htm (87%) rename web/htdocs/{ => cts}/cts.pl (100%) rename web/htdocs/{layout => cts}/empty_plot.png (100%) rename web/htdocs/layout/{base.css => cts.css} (82%) diff --git a/web/cts_gui b/web/cts_gui index 33c29be..3763dc1 100755 --- a/web/cts_gui +++ b/web/cts_gui @@ -97,7 +97,7 @@ EOFHELP my $sharedDir = "/dev/shm/cts-monitor-$port"; - my $htdocsDumpDir = "htdocs/monitor-$port"; + my $htdocsDumpDir = "htdocs/cts/monitor-$port"; my $quietParam = $quiet ? '--quiet ' : ''; my $logParam = $log ? "--log $log" : ''; diff --git a/web/htdocs/cts.htm b/web/htdocs/cts/cts.htm similarity index 87% rename from web/htdocs/cts.htm rename to web/htdocs/cts/cts.htm index da577db..a882def 100644 --- a/web/htdocs/cts.htm +++ b/web/htdocs/cts/cts.htm @@ -3,9 +3,9 @@ Central Trigger System - - - + + + @@ -18,12 +18,18 @@
+
+ The name database was created for another FPGA design (). Please ensure, that the defined labels are still valid.
+ The database can be found in web/htdocs/cts/names.json in your daqtools-directory. + After verification set the cts-compiletime property to to stop this message from reappearing. +
+
+ +
+
+ +
Export NameDB template
+
+ +
+

+ You can change the name of most IO-related ports by copying the template from below + into a text file and placing it under web/htdocs/cts/names.json + in your daqtools-directory. Ensure that the file is NOT executable (chmod -x names.json). + Then reload the page. +

+

If you omit any value, the GUI uses the default value send by + the CTS tool. If a cts-compiletime option is included in the file, the + GUI warns you, when it connects to a different hardware version (which could have a + different IO mapping - Those change cannot be tracked automatically). It is, hence, highly recommended + to use this security measure !!! +

+ +

+         
+
+ + + \ No newline at end of file diff --git a/web/htdocs/cts.pl b/web/htdocs/cts/cts.pl similarity index 100% rename from web/htdocs/cts.pl rename to web/htdocs/cts/cts.pl diff --git a/web/htdocs/layout/empty_plot.png b/web/htdocs/cts/empty_plot.png similarity index 100% rename from web/htdocs/layout/empty_plot.png rename to web/htdocs/cts/empty_plot.png diff --git a/web/htdocs/index.pl b/web/htdocs/index.pl index ae9ed1b..a85c26f 100755 --- a/web/htdocs/index.pl +++ b/web/htdocs/index.pl @@ -47,7 +47,7 @@ The main documentation of the network can be found in these documents and locati

Network & CTS