show max connection next to stream url
This commit is contained in:
parent
260e330f9a
commit
988ecd11d2
@ -44,11 +44,11 @@
|
||||
<!-- <td>{{ loop.index }}</td> -->
|
||||
<td>{{ account.username }}</td>
|
||||
<td>{{ account.stream }}</td>
|
||||
<td><a href="{{ account.streamURL }}" target="_blank">{{ account.streamURL }}</a></td>
|
||||
<td><a href="{{ account.streamURL }}" target="_blank">{{ account.streamURL }}</a> ({{ account.maxConnections }})</td>
|
||||
<td>{{ account.expiaryDate_rendered }}</td>
|
||||
<td>{{ account.password }}</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-info btn-validate" data-username="{{ account.username }}" data-password="{{ account.password }}" data-stream="{{ account.stream }}" data-expiry-date="{{ account.expiaryDate }}" style="margin-right: 5px;">
|
||||
<button type="button" class="btn btn-info btn-validate" data-username="{{ account.username }}" data-password="{{ account.password }}" data-stream="{{ account.stream }}" data-expiry-date="{{ account.expiaryDate }}" data-max-connections="{{ account.maxConnections }}" style="margin-right: 5px;">
|
||||
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true" style="display: none;"></span>
|
||||
<span class="button-text">Validate</span>
|
||||
</button>
|
||||
@ -102,6 +102,7 @@
|
||||
var password = button.data('password');
|
||||
var stream = button.data('stream');
|
||||
var expiryDate = button.data('expiry-date');
|
||||
var maxConnections = button.data('max-connections');
|
||||
|
||||
spinner.show();
|
||||
buttonText.hide();
|
||||
@ -115,7 +116,8 @@
|
||||
username: username,
|
||||
password: password,
|
||||
stream: stream,
|
||||
expiry_date: expiryDate
|
||||
expiry_date: expiryDate,
|
||||
max_connections: maxConnections
|
||||
}),
|
||||
success: function(response) {
|
||||
if (response.message === 'Account is valid and updated') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user