new text for force save button and preps for new protocol interface, #17
This commit is contained in:
parent
30adcfbbec
commit
63af4b17c3
1 changed files with 9 additions and 2 deletions
11
server.html
11
server.html
|
@ -881,7 +881,7 @@ td
|
|||
var forcesave = $('<div>').attr('id', 'forcesave');
|
||||
|
||||
forcesave.append(
|
||||
$('<p>').text('Click the button below to force a settings save. This will permanently save all changes to the config file.')
|
||||
$('<p>').text('Click the button below to force an immediate settings save. This differs from a regular save to memory and file save on exit by saving directly to file while operating. This may slow server processes for a short period of time.')
|
||||
).append(
|
||||
$('<button>').click(function()
|
||||
{
|
||||
|
@ -904,7 +904,7 @@ td
|
|||
case 'protocols':
|
||||
|
||||
$table = $('<table>');
|
||||
$table.html("<thead><th>Protocol</th><th>Port</th><th></th></thead>");
|
||||
$table.html("<thead><th>Protocol</th><th>Port</th><th>Interface</th><th></th></thead>");
|
||||
$tbody = $('<tbody>');
|
||||
|
||||
var tr, protocol;
|
||||
|
@ -919,6 +919,8 @@ td
|
|||
tr.append( $('<td>').text( protocol ) );
|
||||
tr.append( $('<td>').text( settings.settings.config.protocols[protocol].port ) );
|
||||
|
||||
tr.append( $('<td>').text( '_' ) ); // interface
|
||||
|
||||
tr.append( $('<td>').attr('class', 'center').append( $('<button>').click(function()
|
||||
{
|
||||
if(confirmDelete('Are you sure you want to delete this protocol?') == true)
|
||||
|
@ -945,6 +947,9 @@ td
|
|||
// val
|
||||
$nprot.append( $('<td>').append( $('<input>').attr('type', 'number').attr('id', 'new-protocol-val') ) );
|
||||
|
||||
// interface
|
||||
$nprot.append( $('<td>').append( $('<input>').attr('type', 'text').attr('id', 'new-protocol-interface') ) );
|
||||
|
||||
$nprot.append(
|
||||
$('<td>').attr('class', 'center').append(
|
||||
$('<button>').click(function()
|
||||
|
@ -1235,6 +1240,8 @@ td
|
|||
|
||||
var url = settings.settings.streams[streamname].channel.URL;
|
||||
|
||||
// TODO FIXME
|
||||
|
||||
$('#page').append( $('<p>').text('This feature is not yet implemented.') );
|
||||
$('#page').append( $('<p>').text('The URL for this stream is ').append( $('<span>').attr('class', 'nocapitals').text(url) ) );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue