show max connection next to stream url

This commit is contained in:
Karl 2025-07-15 17:54:42 +01:00
parent 260e330f9a
commit 988ecd11d2

View File

@ -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') {