Templateize index.html

This commit is contained in:
con-f-use 2016-08-19 01:14:41 +02:00
parent 63be61e225
commit 8b87a5896f
2 changed files with 6 additions and 3 deletions

View file

@ -18,5 +18,8 @@ OPTS += -DICACHE_FLASH
#OPTS += -DDEBUG
#OPTS += -DFREQ=12500
PAGE_TITLE = ColorChord Control Panel
PAGE_SCRIPT =
PAGE_HEADING = ColorChord: Embedded
PAGE_INFO =

View file

@ -1,7 +1,7 @@
<html>
<!-- Copyright (C) 2015 <>< Charles Lohr, see LICENSE file for more info. -->
<head>
<title>ColorChord Control Panel</title>
<title>{{PAGE_TITLE}}</title>
<script language="javascript" type="text/javascript" src={{PAGE_JQUERYFL}}></script>
<script language="javascript" type="text/javascript" src=menuinterface.js></script>
<script language="javascript" type="text/javascript" src=main.js></script>
@ -20,7 +20,7 @@ input[type="range"]:before {left:0em; content: attr(min);}input[type="range"]:af
</style>
</head>
<body>
<h2>ColorChord: Embedded</h2>
<h2>{{PAGE_HEADING}}</h2>
<hr>
<table id="MainMenu">
@ -85,7 +85,7 @@ input[type="range"]:before {left:0em; content: attr(min);}input[type="range"]:af
<font size=-2>
<p>Copyright (C) 2015-2016 &lt&gt&lt Charles Lohr, See LICENSE file for more info.</p>
<p id=version><font size=-2>{{VERSSTR}}</font></p>
<p style="margin-left: auto; float: left; font-size: 70%; text-align: left;"><a href={{PROJECT_URL}}><img src="https://raw.githubusercontent.com/github-archive/media/master/octocats/blacktocat-16.png" style="height: 1em;" alt="github-logo">{{PROJECT_NAME}}</a></p>
<p><a href={{PROJECT_URL}}><img src="https://raw.githubusercontent.com/github-archive/media/master/octocats/blacktocat-16.png" style="height: 1em;" alt="github-logo">{{PROJECT_NAME}}</a></p>
</font>
<div id=SystemMessage>...</div>
</body>