From 6d3c1cd9728981919f2ff1bc1f48b2bbbcbc5224 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 22 Dec 2008 15:02:09 +0000 Subject: httpd wip git-svn-id: svn://svn.berlios.de/openocd/trunk@1268 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/server/httpd/support.tcl | 431 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 431 insertions(+) create mode 100644 src/server/httpd/support.tcl (limited to 'src/server/httpd/support.tcl') diff --git a/src/server/httpd/support.tcl b/src/server/httpd/support.tcl new file mode 100644 index 00000000..cf7a2b44 --- /dev/null +++ b/src/server/httpd/support.tcl @@ -0,0 +1,431 @@ +# converted to .tcl by html2tcl.tcl +set buffer "" +append buffer { + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Zylin ZY1000 JTAG debugger + + + +} + + set console "" + set upload_filename /ram/upload + +append buffer { + +
+
+ + + +
+
+
+} +append buffer [capture zy1000_version] +append buffer { +
+
+
+ + + + + + + + + + + +
+
+   +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +
+ +
+ +
+
+
+
+
+ + + + + + + + + + + + + + + + +} + + + set toggle_details [formfetch toggle_details] + if {[string length $toggle_details]==0} { + set toggle_details 0 + } + set show_details [load_var show_details] + if {[string length $show_details]==0} { + set show_details 0 + } + if {$toggle_details==1} { + set show_details [expr 1-$show_details] + save_var show_details $show_details + } + + if {[string length $console]!=0} { + +append buffer { + + + +} + + } + +append buffer { + + + +
+ + + + + + + + +
+ + +
+Flash +
+
+
+Memory +
+
+ + + +
+
+
+   +
+
+

Submit Support Request

+
+ Before contacting Zylin, please submit a support request with relevant information. + } + + + set form_config [load_config "target/[load_target]"] + set support_id [string range [rand] 0 7] + set form_log "" + append form_log "Version: [capture "zy1000_version zy1000"]" + append form_log "OpenOCD version: [capture "zy1000_version openocd"]" + append form_log "Version date: [capture "zy1000_version date"]" + append form_log [log] + +append buffer { + +
+ + + + + + + + + + +
Support ID} +append buffer $support_id +append buffer {
Contact person
Phone
email
MAC address
+

+ Summary: +

+ +

+ Description: +

+ + +

+ Log:

+ +

+ Config:

+ +

+

+

+

+ + +} + + if {$show_details==1} { + append buffer < + append buffer {td style="background-color:#dddddd;padding-left:5px;padding-right:5px;padding-top:3px;padding-bottom:3px;"} + append buffer > + } else { + append buffer < + append buffer {td style="background-image:url('/rom/menu_cuts/h_tab_free.png');width:110px;height:29px;background-repeat: no-repeat;background-position:top left;"} + append buffer > + } + +append buffer { + +} + + if {$show_details==1} { + append buffer "Hide details" + append buffer
+ } else { + append buffer {
} + append buffer "Show details" + append buffer {
} + } + +append buffer { +
+} + + if {$show_details==1} { + append buffer $console + } + +append buffer {} + + if {$show_details!=1} { + append buffer {} + } + +append buffer { + +
   
+
+
+   +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Documentation +
+
+   + +
+
+Quick Start Manual +
+OpenOCD Manual +
+Contact Zylin AS +
+
+ +
+ + +
+
+
+ + Before contacting Zylin with questions, please fill in and submit this form + and allow us time to review the information and answer by email if possible. +

+ Note that you can see precisely what information is submitted to Zylin in the + form: the log and your config files. + +

+   +
+
+ + + + Zylin AS, Auglendsdalen 78, N-4017 Stavanger, Norway - www.zylin.com +
+ + + + + + + + + + + +} + +start_chunked "html" +write_chunked $buffer +end_chunked + -- cgit v1.2.3