mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-04-19 00:45:16 +00:00
indentation fix
This commit is contained in:
parent
3a419145f8
commit
07b7a24c40
@ -59,224 +59,224 @@
|
|||||||
<body class="hold-transition sidebar-mini layout-boxed {% if request.COOKIES.sidebarState == 'collapsed' %}sidebar-collapse{% endif %}">
|
<body class="hold-transition sidebar-mini layout-boxed {% if request.COOKIES.sidebarState == 'collapsed' %}sidebar-collapse{% endif %}">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
|
||||||
<!-- Preloader -->
|
<!-- Preloader -->
|
||||||
<div class="preloader flex-column justify-content-center align-items-center">
|
<div class="preloader flex-column justify-content-center align-items-center">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Navbar -->
|
<!-- Navbar -->
|
||||||
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
|
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
|
||||||
<!-- Left navbar links -->
|
<!-- Left navbar links -->
|
||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
|
<a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars"></i></a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item d-none d-sm-inline-block">
|
<li class="nav-item d-none d-sm-inline-block">
|
||||||
<a href="/status/" class="nav-link">Status</a>
|
<a href="/status/" class="nav-link">Status</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
|
||||||
|
|
||||||
<!-- Right navbar links -->
|
|
||||||
<ul class="navbar-nav ml-auto">
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/accounts/logout/" class="nav-link">
|
|
||||||
<i class="fas fa-sign-out-alt"></i>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
<!-- /.navbar -->
|
|
||||||
|
|
||||||
<!-- Main Sidebar Container -->
|
|
||||||
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
|
||||||
<!-- Brand Logo -->
|
|
||||||
<a href="/" class="brand-link">
|
|
||||||
<span class="brand-text font-weight-light">wireguard-webadmin</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
<!-- Sidebar -->
|
|
||||||
<div class="sidebar">
|
|
||||||
<!-- Sidebar Menu -->
|
|
||||||
<nav class="mt-2">
|
|
||||||
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
|
|
||||||
<!-- Add icons to the links using the .nav-icon class with font-awesome or any other icon font library -->
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/status/" class="nav-link {% if '/status/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-tachometer-alt nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
Status
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/peer/list/" class="nav-link {% if '/peer/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-users-cog nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
Peers
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/dns/" class="nav-link {% if '/dns/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-address-book nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
DNS
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/firewall/rule_list/" class="nav-link {% if '/firewall/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-shield-alt nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
Firewall
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/console/" class="nav-link {% if '/console/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-terminal nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
Console
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/user/list/" class="nav-link {% if '/user/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-users nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
User Manager
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/server/manage/" class="nav-link {% if '/server/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-cogs nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
Server Settings
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="nav-item">
|
|
||||||
<a href="/vpn_invite/settings/" class="nav-link {% if '/vpn_invite/' in request.path %}active{% endif %}">
|
|
||||||
<i class="fas fa-share-square nav-icon"></i>
|
|
||||||
<p>
|
|
||||||
Invite Settings
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
|
||||||
<!-- /.sidebar-menu -->
|
|
||||||
</div>
|
|
||||||
<!-- /.sidebar -->
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
<!-- Content Wrapper. Contains page content -->
|
<!-- Right navbar links -->
|
||||||
<div class="content-wrapper">
|
<ul class="navbar-nav ml-auto">
|
||||||
<!-- Content Header (Page header) -->
|
<li class="nav-item">
|
||||||
<div class="content-header">
|
<a href="/accounts/logout/" class="nav-link">
|
||||||
<div class="container-fluid">
|
<i class="fas fa-sign-out-alt"></i>
|
||||||
{% if page_title %}
|
</a>
|
||||||
<div class="row mb-2">
|
</li>
|
||||||
<div class="col-sm-6">
|
</ul>
|
||||||
<h1 class="m-0">{{ page_title }}</h1>
|
</nav>
|
||||||
</div><!-- /.col -->
|
<!-- /.navbar -->
|
||||||
<div class="col-sm-6">
|
|
||||||
<ol class="breadcrumb float-sm-right">
|
|
||||||
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
|
||||||
{% if breadcrumb %}
|
|
||||||
<li class="breadcrumb-item active">
|
|
||||||
{%if breadcrumb.level2.href%}
|
|
||||||
<a href="{{ breadcrumb.level2.href }}">{{ breadcrumb.level2.title }}</a>
|
|
||||||
{%else%}
|
|
||||||
{{breadcrumb.level2.title}}
|
|
||||||
{%endif%}
|
|
||||||
</li>
|
|
||||||
|
|
||||||
{% endif %}
|
<!-- Main Sidebar Container -->
|
||||||
|
<aside class="main-sidebar sidebar-dark-primary elevation-4">
|
||||||
|
<!-- Brand Logo -->
|
||||||
|
<a href="/" class="brand-link">
|
||||||
|
<span class="brand-text font-weight-light">wireguard-webadmin</span>
|
||||||
|
</a>
|
||||||
|
|
||||||
<li class="breadcrumb-item active">{{ page_title }}</li>
|
<!-- Sidebar -->
|
||||||
</ol>
|
<div class="sidebar">
|
||||||
</div><!-- /.col -->
|
<!-- Sidebar Menu -->
|
||||||
</div><!-- /.row -->
|
<nav class="mt-2">
|
||||||
{% endif %}
|
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
|
||||||
</div><!-- /.container-fluid -->
|
<!-- Add icons to the links using the .nav-icon class with font-awesome or any other icon font library -->
|
||||||
</div>
|
|
||||||
<!-- /.content-header -->
|
|
||||||
|
|
||||||
<!-- Generic Modal Structure -->
|
<li class="nav-item">
|
||||||
<div class="modal fade" id="genericModal" tabindex="-1" aria-labelledby="genericModalLabel" aria-hidden="true">
|
<a href="/status/" class="nav-link {% if '/status/' in request.path %}active{% endif %}">
|
||||||
<div class="modal-dialog modal-lg">
|
<i class="fas fa-tachometer-alt nav-icon"></i>
|
||||||
<div class="modal-content">
|
<p>
|
||||||
<div class="modal-header">
|
Status
|
||||||
<h5 class="modal-title" id="genericModalLabel">Modal Title</h5>
|
</p>
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
</a>
|
||||||
<span aria-hidden="true">×</span>
|
</li>
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body" id="genericModalBody">
|
|
||||||
<!-- Content will be loaded here -->
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
|
||||||
<button type="button" class="btn btn-secondary" data-dismiss="modal" id="genericModalCloseButton">Close</button>
|
|
||||||
<a href="#" class="btn btn-primary" id="genericModalActionButton">Action</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- End modal -->
|
<li class="nav-item">
|
||||||
|
<a href="/peer/list/" class="nav-link {% if '/peer/' in request.path %}active{% endif %}">
|
||||||
|
<i class="fas fa-users-cog nav-icon"></i>
|
||||||
|
<p>
|
||||||
|
Peers
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- Main content -->
|
<li class="nav-item">
|
||||||
|
<a href="/dns/" class="nav-link {% if '/dns/' in request.path %}active{% endif %}">
|
||||||
|
<i class="fas fa-address-book nav-icon"></i>
|
||||||
|
<p>
|
||||||
|
DNS
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/firewall/rule_list/" class="nav-link {% if '/firewall/' in request.path %}active{% endif %}">
|
||||||
|
<i class="fas fa-shield-alt nav-icon"></i>
|
||||||
|
<p>
|
||||||
|
Firewall
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/console/" class="nav-link {% if '/console/' in request.path %}active{% endif %}">
|
||||||
|
<i class="fas fa-terminal nav-icon"></i>
|
||||||
|
<p>
|
||||||
|
Console
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/user/list/" class="nav-link {% if '/user/' in request.path %}active{% endif %}">
|
||||||
|
<i class="fas fa-users nav-icon"></i>
|
||||||
|
<p>
|
||||||
|
User Manager
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/server/manage/" class="nav-link {% if '/server/' in request.path %}active{% endif %}">
|
||||||
|
<i class="fas fa-cogs nav-icon"></i>
|
||||||
|
<p>
|
||||||
|
Server Settings
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="nav-item">
|
||||||
|
<a href="/vpn_invite/settings/" class="nav-link {% if '/vpn_invite/' in request.path %}active{% endif %}">
|
||||||
|
<i class="fas fa-share-square nav-icon"></i>
|
||||||
|
<p>
|
||||||
|
Invite Settings
|
||||||
|
</p>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
<!-- /.sidebar-menu -->
|
||||||
|
</div>
|
||||||
|
<!-- /.sidebar -->
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
<!-- Content Wrapper. Contains page content -->
|
||||||
|
<div class="content-wrapper">
|
||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<div class="content-header">
|
||||||
|
<div class="container-fluid">
|
||||||
|
{% if page_title %}
|
||||||
|
<div class="row mb-2">
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<h1 class="m-0">{{ page_title }}</h1>
|
||||||
|
</div><!-- /.col -->
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<ol class="breadcrumb float-sm-right">
|
||||||
|
<li class="breadcrumb-item"><a href="/">Home</a></li>
|
||||||
|
{% if breadcrumb %}
|
||||||
|
<li class="breadcrumb-item active">
|
||||||
|
{%if breadcrumb.level2.href%}
|
||||||
|
<a href="{{ breadcrumb.level2.href }}">{{ breadcrumb.level2.title }}</a>
|
||||||
|
{%else%}
|
||||||
|
{{breadcrumb.level2.title}}
|
||||||
|
{%endif%}
|
||||||
|
</li>
|
||||||
|
|
||||||
<section class="content">
|
{% endif %}
|
||||||
<div class="container-fluid">
|
|
||||||
{% if pending_changes_warning %}
|
<li class="breadcrumb-item active">{{ page_title }}</li>
|
||||||
<div class="alert alert-warning" role="alert">
|
</ol>
|
||||||
<h4 class="alert-heading">Update Required</h4>
|
</div><!-- /.col -->
|
||||||
<p>Your WireGuard settings have been modified. To apply these changes, please update the configuration and reload the WireGuard service.
|
</div><!-- /.row -->
|
||||||
</p>
|
{% endif %}
|
||||||
<p>
|
</div><!-- /.container-fluid -->
|
||||||
<a href="/tools/export_wireguard_config/?action=update_and_restart" class="btn btn-secondary">Update and restart service</a>
|
</div>
|
||||||
</p>
|
<!-- /.content-header -->
|
||||||
|
|
||||||
|
<!-- Generic Modal Structure -->
|
||||||
|
<div class="modal fade" id="genericModal" tabindex="-1" aria-labelledby="genericModalLabel" aria-hidden="true">
|
||||||
|
<div class="modal-dialog modal-lg">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title" id="genericModalLabel">Modal Title</h5>
|
||||||
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body" id="genericModalBody">
|
||||||
|
<!-- Content will be loaded here -->
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-secondary" data-dismiss="modal" id="genericModalCloseButton">Close</button>
|
||||||
|
<a href="#" class="btn btn-primary" id="genericModalActionButton">Action</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% block content %}{% endblock %}
|
<!-- End modal -->
|
||||||
</div><!-- /.container-fluid -->
|
|
||||||
</section>
|
<!-- Main content -->
|
||||||
<!-- /.content -->
|
|
||||||
</div>
|
|
||||||
<!-- /.content-wrapper -->
|
|
||||||
<footer class="main-footer">
|
|
||||||
{% if webadmin_version.update_available %}<a class='btn btn-sm btn-danger' id="btn_update_changelog">Update Available</a>{% else %}wireguard-webadmin {% endif %}
|
<section class="content">
|
||||||
<div class="float-right d-none d-sm-inline-block">
|
<div class="container-fluid">
|
||||||
<b>Version</b> {{ webadmin_version.current_version }}
|
{% if pending_changes_warning %}
|
||||||
|
<div class="alert alert-warning" role="alert">
|
||||||
|
<h4 class="alert-heading">Update Required</h4>
|
||||||
|
<p>Your WireGuard settings have been modified. To apply these changes, please update the configuration and reload the WireGuard service.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="/tools/export_wireguard_config/?action=update_and_restart" class="btn btn-secondary">Update and restart service</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</div><!-- /.container-fluid -->
|
||||||
|
</section>
|
||||||
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
<!-- /.content-wrapper -->
|
||||||
|
<footer class="main-footer">
|
||||||
|
{% if webadmin_version.update_available %}<a class='btn btn-sm btn-danger' id="btn_update_changelog">Update Available</a>{% else %}wireguard-webadmin {% endif %}
|
||||||
|
<div class="float-right d-none d-sm-inline-block">
|
||||||
|
<b>Version</b> {{ webadmin_version.current_version }}
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
|
||||||
<!-- Control Sidebar -->
|
<!-- Control Sidebar -->
|
||||||
<aside class="control-sidebar control-sidebar-dark">
|
<aside class="control-sidebar control-sidebar-dark">
|
||||||
<!-- Control sidebar content goes here -->
|
<!-- Control sidebar content goes here -->
|
||||||
</aside>
|
</aside>
|
||||||
<!-- /.control-sidebar -->
|
<!-- /.control-sidebar -->
|
||||||
</div>
|
</div>
|
||||||
<!-- ./wrapper -->
|
<!-- ./wrapper -->
|
||||||
|
|
||||||
@ -286,7 +286,7 @@
|
|||||||
<script src="/static/AdminLTE-3.2.0/plugins/jquery-ui/jquery-ui.min.js"></script>
|
<script src="/static/AdminLTE-3.2.0/plugins/jquery-ui/jquery-ui.min.js"></script>
|
||||||
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
|
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
|
||||||
<script>
|
<script>
|
||||||
$.widget.bridge('uibutton', $.ui.button)
|
$.widget.bridge('uibutton', $.ui.button)
|
||||||
</script>
|
</script>
|
||||||
<!-- Bootstrap 4 -->
|
<!-- Bootstrap 4 -->
|
||||||
<script src="/static/AdminLTE-3.2.0/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
<script src="/static/AdminLTE-3.2.0/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
|
||||||
@ -312,46 +312,46 @@
|
|||||||
<script src="/static/AdminLTE-3.2.0/dist/js/adminlte.js"></script>
|
<script src="/static/AdminLTE-3.2.0/dist/js/adminlte.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
const webadminVersion = '{{ webadmin_version.current_version }}';
|
const webadminVersion = '{{ webadmin_version.current_version }}';
|
||||||
|
|
||||||
$('#btn_update_changelog').on('click', function() {
|
$('#btn_update_changelog').on('click', function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: `https://updates.eth0.com.br/api/application_changelog/?app=wireguard_webadmin&version=${webadminVersion}`,
|
url: `https://updates.eth0.com.br/api/application_changelog/?app=wireguard_webadmin&version=${webadminVersion}`,
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
const updates = response.updates.sort((a, b) => new Date(b.release_date) - new Date(a.release_date));
|
const updates = response.updates.sort((a, b) => new Date(b.release_date) - new Date(a.release_date));
|
||||||
let updatesHtml = '';
|
let updatesHtml = '';
|
||||||
updates.forEach(update => {
|
updates.forEach(update => {
|
||||||
updatesHtml += `<div class="update">
|
updatesHtml += `<div class="update">
|
||||||
<h5>Version ${update.version}</h5>
|
<h5>Version ${update.version}</h5>
|
||||||
<p>${update.release_notes.replace(/\r\n/g, "<br>")}</p>
|
<p>${update.release_notes.replace(/\r\n/g, "<br>")}</p>
|
||||||
</div>`;
|
</div>`;
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update modal content
|
// Update modal content
|
||||||
$('#genericModalLabel').text('Wireguard Webadmin Updates');
|
$('#genericModalLabel').text('Wireguard Webadmin Updates');
|
||||||
$('#genericModalBody').html(updatesHtml);
|
$('#genericModalBody').html(updatesHtml);
|
||||||
$('#genericModalCloseButton').text('Close');
|
$('#genericModalCloseButton').text('Close');
|
||||||
$('#genericModalActionButton').text('Update Instructions').attr('href', 'https://github.com/eduardogsilva/wireguard_webadmin').attr('target', '_blank');
|
$('#genericModalActionButton').text('Update Instructions').attr('href', 'https://github.com/eduardogsilva/wireguard_webadmin').attr('target', '_blank');
|
||||||
|
|
||||||
// Show modal
|
// Show modal
|
||||||
$('#genericModal').modal('show');
|
$('#genericModal').modal('show');
|
||||||
},
|
},
|
||||||
error: function(xhr, status, error) {
|
error: function(xhr, status, error) {
|
||||||
// Update modal for error display
|
// Update modal for error display
|
||||||
$('#genericModalLabel').text('Error');
|
$('#genericModalLabel').text('Error');
|
||||||
$('#genericModalBody').html('<p>An error occurred while fetching the update information. Please try again later.</p>');
|
$('#genericModalBody').html('<p>An error occurred while fetching the update information. Please try again later.</p>');
|
||||||
$('#genericModalCloseButton').text('Close');
|
$('#genericModalCloseButton').text('Close');
|
||||||
$('#genericModalActionButton').hide(); // Hide the action button in case of error
|
$('#genericModalActionButton').hide(); // Hide the action button in case of error
|
||||||
|
|
||||||
// Show modal
|
// Show modal
|
||||||
$('#genericModal').modal('show');
|
$('#genericModal').modal('show');
|
||||||
console.error("An error occurred while fetching updates: ", error);
|
console.error("An error occurred while fetching updates: ", error);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user