Updated all dependencies
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <title>{{ _p.page_title }} - {{ _p.app_name }}</title>
 | 
			
		||||
    <title>{{ p.page_title }} - {{ p.app_name }}</title>
 | 
			
		||||
 | 
			
		||||
    <!-- Bootstrap core CSS -->
 | 
			
		||||
    <link href="/assets/css/bootstrap.css" rel="stylesheet" crossorigin="anonymous"/>
 | 
			
		||||
@@ -12,10 +12,10 @@
 | 
			
		||||
<body>
 | 
			
		||||
<div class="d-flex flex-column flex-shrink-0 p-3 bg-light" style="width: 280px;">
 | 
			
		||||
    <a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto link-dark text-decoration-none">
 | 
			
		||||
        <span class="fs-4">{{ _p.app_name }}</span>
 | 
			
		||||
        <span class="fs-4">{{ p.app_name }}</span>
 | 
			
		||||
    </a>
 | 
			
		||||
    {% if _p.user.admin %}
 | 
			
		||||
    <span>Version {{ _p.version }}</span>
 | 
			
		||||
    {% if p.user.admin %}
 | 
			
		||||
    <span>Version {{ p.version }}</span>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    <hr>
 | 
			
		||||
    <ul class="nav nav-pills flex-column mb-auto">
 | 
			
		||||
@@ -24,7 +24,7 @@
 | 
			
		||||
                Account details
 | 
			
		||||
            </a>
 | 
			
		||||
        </li>
 | 
			
		||||
        {% if _p.user.allow_local_login %}
 | 
			
		||||
        {% if p.user.allow_local_login %}
 | 
			
		||||
        <li>
 | 
			
		||||
            <a href="/settings/change_password" class="nav-link link-dark">
 | 
			
		||||
                Change password
 | 
			
		||||
@@ -37,7 +37,7 @@
 | 
			
		||||
            </a>
 | 
			
		||||
        </li>
 | 
			
		||||
 | 
			
		||||
        {% if _p.user.admin %}
 | 
			
		||||
        {% if p.user.admin %}
 | 
			
		||||
        <hr/>
 | 
			
		||||
        <li>
 | 
			
		||||
            <a href="/admin/clients" class="nav-link link-dark">
 | 
			
		||||
@@ -61,7 +61,7 @@
 | 
			
		||||
        <a href="#" class="d-flex align-items-center link-dark text-decoration-none dropdown-toggle" id="dropdownUser"
 | 
			
		||||
           data-bs-toggle="dropdown" aria-expanded="false">
 | 
			
		||||
            <img src="/assets/img/account.png" alt="" width="32" height="32" class="rounded-circle me-2">
 | 
			
		||||
            <strong>{{ _p.user.username }}</strong>
 | 
			
		||||
            <strong>{{ p.user.username }}</strong>
 | 
			
		||||
        </a>
 | 
			
		||||
        <ul class="dropdown-menu text-small shadow" aria-labelledby="dropdownUser">
 | 
			
		||||
            <li><a class="dropdown-item" href="/logout">Sign out</a></li>
 | 
			
		||||
@@ -70,14 +70,14 @@
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
<div class="page_body" style="flex: 1">
 | 
			
		||||
    {% if let Some(msg) = _p.danger_message %}
 | 
			
		||||
    {% if let Some(msg) = p.danger_message %}
 | 
			
		||||
    <div class="alert alert-danger">{{ msg }}</div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
    {% if let Some(msg) = _p.success_message %}
 | 
			
		||||
    {% if let Some(msg) = p.success_message %}
 | 
			
		||||
    <div class="alert alert-success">{{ msg }}</div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
    <h2 class="bd-title mt-0" style="margin-bottom: 40px;">{{ _p.page_title }}</h2>
 | 
			
		||||
    <h2 class="bd-title mt-0" style="margin-bottom: 40px;">{{ p.page_title }}</h2>
 | 
			
		||||
 | 
			
		||||
    {% block content %}
 | 
			
		||||
    TO_REPLACE
 | 
			
		||||
@@ -92,8 +92,8 @@
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
</script>
 | 
			
		||||
{% if _p.ip_location_api.is_some() %}
 | 
			
		||||
<script>const IP_LOCATION_API = "{{ _p.ip_location_api.unwrap() }}"</script>
 | 
			
		||||
{% if p.ip_location_api.is_some() %}
 | 
			
		||||
<script>const IP_LOCATION_API = "{{ p.ip_location_api.unwrap() }}"</script>
 | 
			
		||||
{% endif %}
 | 
			
		||||
<script src="/assets/js/ip_location_service.js"></script>
 | 
			
		||||
</body>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user