layout: add input bar in menu - twitch-go - twitch.tv web application in Go
HTML git clone git://git.codemadness.org/twitch-go
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 30835d8b4e87d701f3984fc481c08474541f5902
DIR parent 8db0573217dcce72368b2a8a75e08cd769f03944
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 18 May 2015 22:03:12 +0200
layout: add input bar in menu
Diffstat:
M data/templates/themes/default/page⦠| 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/data/templates/themes/default/page.html b/data/templates/themes/default/page.html
@@ -8,11 +8,15 @@
</head>
<body class="{{template "class"}}">
<div id="menuwrap"><div id="menu"><span id="links">
+<form method="get" action="/playlist">
<a href="/featured">Featured</a> |
<a href="/games">Games</a> |
<a href="http://git.codemadness.nl/twitch-go/">Source-code</a> |
<a href="/twitch.sh">SH version</a> |
<a href="/links">Links</a>
+
+ <span style="float: right"><input type="text" name="c" size="16" placeholder="Channel..." /><input type="submit" name="get" value="Get playlist" /></span>
+</form>
</span></div></div>
<hr class="hidden" />
<div id="mainwrap">