mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 12:53:00 -05:00
webserver interface nearly complete... allows custom auth and req dispatchers
This commit is contained in:
13
admin-root/config-update.html
Normal file
13
admin-root/config-update.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>mt-daapd administration</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<h1>Configuration Updated</h1>
|
||||
<B>Web Root:</B> @WEB_ROOT@<BR>
|
||||
<B>Port:</B> @PORT@<BR>
|
||||
<B>Admin Password:</B> @ADMINPW@
|
||||
<HR>
|
||||
<i>@RELEASE@</i>
|
||||
</BODY>
|
||||
</HTML>
|
||||
30
admin-root/index.html
Normal file
30
admin-root/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>mt-daapd administration</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<h1>Config</h1>
|
||||
<FORM METHOD="POST" ACTION="/config-update.html">
|
||||
<TABLE>
|
||||
<TR>
|
||||
<TD>Web Root</TD>
|
||||
<TD><INPUT TYPE="TEXT" NAME="WEB_ROOT" READONLY
|
||||
VALUE="@WEB_ROOT@"></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Port</TD>
|
||||
<TD><INPUT TYPE="TEXT" NAME="PORT" READONLY
|
||||
VALUE="@PORT@"></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Admin Password</TD>
|
||||
<TD><INPUT TYPE="TEXT" NAME="ADMINPW"
|
||||
VALUE="@ADMINPW@"></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
<INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Submit">
|
||||
</FORM>
|
||||
<HR>
|
||||
<i>@RELEASE@</i>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user