From a2e737da1c896d8393ed42dee3a6075e80a1d41f Mon Sep 17 00:00:00 2001 From: Nicholas Thompson Date: Wed, 27 Feb 2019 23:27:04 +0200 Subject: [PATCH] Removed unused code --- webgui/htmltemplate.go | 133 ----------------------------------------- 1 file changed, 133 deletions(-) delete mode 100644 webgui/htmltemplate.go diff --git a/webgui/htmltemplate.go b/webgui/htmltemplate.go deleted file mode 100644 index 12b4daf..0000000 --- a/webgui/htmltemplate.go +++ /dev/null @@ -1,133 +0,0 @@ -/* -Copyright (c) 2015, Hendrik van Wyk -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this -list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. - -* Neither the name of invertergui nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -package webgui - -var htmlTemplate string = ` - - - - - - Victron Multiplus Monitor - - - - - - -
-
-
-
-
-
- Quote -
-
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
-
-
-
- Quote -
-
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
-
-
-
- Quote -
-
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
Someone famous in Source Title
-
-
-
-
-
-
- One of three columns -
-
- One of three columns -
-
-
- {{if .Error}}

Errors encountered:

- {{range .Error}} -
{{.}}
- {{end}} - {{end}} -
-
Date: {{.Date}}
-
-
-
LEDs:
- {{range .Leds}} -
{{.}}
- {{else}} - None - {{end}} -
-
-
Output Current: {{.OutCurrent}} A
-
Output Voltage: {{.OutVoltage}} V
-
Output Frequency: {{.OutFreq}} Hz
-
Output Power: {{.OutPower}} VA
-
-
-
Input Current: {{.InCurrent}} A
-
Input Voltage: {{.InVoltage}} V
-
Input Frequency: {{.InFreq}} Hz
-
Input Power: {{.InPower}} VA
-
-

Input - Output Power: {{.InMinOut}} VA

-
-
Battery Current: {{.BatCurrent}} A
-
Battery Voltage: {{.BatVoltage}} V
-
Battery Power: {{.BatPower}} W
-
Battery Charge: {{.BatCharge}} %
-
- -`