mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-20 16:03:59 +01:00
Fixed the mirror selection in config.html in brink, updated the remix/default themes to keep config.html's in sync (tidying up html tags)
This commit is contained in:
@@ -158,7 +158,7 @@
|
|||||||
<h3>
|
<h3>
|
||||||
Usenet Retention:
|
Usenet Retention:
|
||||||
</h3>
|
</h3>
|
||||||
<input type="text" name="usenet_retention" value="${config['usenet_retention']}" size="20" maxlength="40" />
|
<input type="text" name="usenet_retention" value="${config['usenet_retention']}" size="5" maxlength="10" />
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -608,49 +608,33 @@
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<h3>Muscbrainz Mirror: </h3>
|
<h3>Muscbrainz Mirror: <select name="mirror" id="mirror" class="styled"><h3>
|
||||||
<select class="styled" name="mirror">
|
%for mirror in config['mirror_list']:
|
||||||
%for mirror in config['mirror_list']:
|
<%
|
||||||
<%
|
if mirror == headphones.MIRROR:
|
||||||
if mirror == headphones.MIRROR:
|
selected = 'selected="selected"'
|
||||||
selected = 'selected="selected"'
|
else:
|
||||||
else:
|
selected = ''
|
||||||
selected = ''
|
%>
|
||||||
if mirror == "localhost":
|
<option value="${mirror}" ${selected}>${mirror}</option>
|
||||||
mirrortext = " (use localhost:7143)"
|
%endfor
|
||||||
else:
|
</select>
|
||||||
mirrortext = ''
|
|
||||||
%>
|
|
||||||
<option class="styled" value="${mirror}" ${selected}>
|
|
||||||
${mirror} ${mirrortext}
|
|
||||||
</option>
|
|
||||||
%endfor
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<div id="customoptions">
|
<div id="customoptions">
|
||||||
<h3>Host:<br>
|
<h3>Host:<br><input type="text" name="customhost" value="${config['customhost']}" size="20"></h3>
|
||||||
<input type="text" name="customhost" value="${config['customhost']}" size="20">
|
<h3>Port:<br><input type="text" name="customport" value="${config['customport']}" size="8"></h3>
|
||||||
</h3>
|
<h3>Sleep Interval:<br><input type="text" name="customsleep" value="${config['customsleep']}" size="4"></h3>
|
||||||
<h3>
|
|
||||||
Port:<br>
|
|
||||||
<input type="text" name="customport" value="${config['customport']}" size="8">
|
|
||||||
</h3>
|
|
||||||
<h3>
|
|
||||||
Sleep Interval:
|
|
||||||
<br>
|
|
||||||
<input type="text" name="customsleep" value="${config['customsleep']}" size="4">
|
|
||||||
</h3>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hpserveroptions">
|
<div id="hpserveroptions">
|
||||||
<h3>Username:<br><input type="text" name="hpuser" value="${config['hpuser']}" size="20"></h3>
|
<h3>Username:<br><input type="text" name="hpuser" value="${config['hpuser']}" size="20"></h3>
|
||||||
<h3>Password:<br><input type="password" name="hppass" value="${config['hppass']}" size="15"></h3>
|
<h3>Password:<br><input type="password" name="hppass" value="${config['hppass']}" size="15"></h3>
|
||||||
<i class="smalltext2"><a href="http://headphones.codeshy.com/vip">Get an Account</a></p>
|
<i class="smalltext2"><a href="http://headphones.codeshy.com/vip">Get an Account</a></p>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<h3>Usenet Retention:<input type="text" name="usenet_retention" value="${config['usenet_retention']}" size="20" maxlength="40"></h3>
|
<h3>Usenet Retention:<input type="text" name="usenet_retention" value="${config['usenet_retention']}" size="5" maxlength="10"></h3>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@@ -481,6 +481,8 @@
|
|||||||
<h3>Password:<br><input type="password" name="hppass" value="${config['hppass']}" size="15"></h3>
|
<h3>Password:<br><input type="password" name="hppass" value="${config['hppass']}" size="15"></h3>
|
||||||
<i class="smalltext2"><a href="http://headphones.codeshy.com/vip">Get an Account</a></p>
|
<i class="smalltext2"><a href="http://headphones.codeshy.com/vip">Get an Account</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<h3>Usenet Retention:<input type="text" name="usenet_retention" value="${config['usenet_retention']}" size="20" maxlength="40"></h3>
|
<h3>Usenet Retention:<input type="text" name="usenet_retention" value="${config['usenet_retention']}" size="5" maxlength="10"></h3>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@@ -481,6 +481,8 @@
|
|||||||
<h3>Password:<br><input type="password" name="hppass" value="${config['hppass']}" size="15"></h3>
|
<h3>Password:<br><input type="password" name="hppass" value="${config['hppass']}" size="15"></h3>
|
||||||
<i class="smalltext2"><a href="http://headphones.codeshy.com/vip">Get an Account</a></p>
|
<i class="smalltext2"><a href="http://headphones.codeshy.com/vip">Get an Account</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user