Skip to content

Commit 8b360dc

Browse files
committed
fix clamav UI page and fix doc links
1 parent bc5e3d6 commit 8b360dc

File tree

7 files changed

+11
-15
lines changed

7 files changed

+11
-15
lines changed

clamav/ui/template.html

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
{% extends "base.html" %}
22

3-
{% set read_doc_text = 'You will find more information about the clamav plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/' + plugin['version'] + '/clamav" class="core-card-text-doc-link">in the documentation</a>.' %}
3+
{% set read_doc_text = 'You will find more information about the clamav plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/v' + plugin['version'] + '/clamav" class="core-card-text-doc-link">in the documentation</a>.' %}
44

55
{% block content %}
6-
<input
7-
type="csrf_token"
8-
name="csrf_token"
9-
value="{{ csrf_token }}"
10-
class="hidden"
11-
hidden
12-
/>
136

147
<div class="core-layout">
158
{% if is_used %}
16-
9+
<input id="csrf_token"
10+
type="hidden"
11+
name="csrf_token"
12+
value="{{ csrf_token() }}" />
1713
<!-- info-->
1814
<div class="core-card">
1915
<h5 class="core-card-title">INFO</h5>

coraza/ui/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% set read_doc_text = 'You will find more information about the coraza plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/' + plugin['version'] + '/coraza" class="core-card-text-doc-link">in the documentation</a>.' %}
3+
{% set read_doc_text = 'You will find more information about the coraza plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/v' + plugin['version'] + '/coraza" class="core-card-text-doc-link">in the documentation</a>.' %}
44

55
{% block content %}
66

crowdsec/ui/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% set read_doc_text = 'You will find more information about the crowdsec plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/' + plugin['version'] + '/crowdsec" class="core-card-text-doc-link">in the documentation</a>.' %}
3+
{% set read_doc_text = 'You will find more information about the crowdsec plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/v' + plugin['version'] + '/crowdsec" class="core-card-text-doc-link">in the documentation</a>.' %}
44

55
{% block content %}
66

discord/ui/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% set read_doc_text = 'You will find more information about the discord plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/' + plugin['version'] + '/discord" class="core-card-text-doc-link">in the documentation</a>.' %}
3+
{% set read_doc_text = 'You will find more information about the discord plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/v' + plugin['version'] + '/discord" class="core-card-text-doc-link">in the documentation</a>.' %}
44

55
{% block content %}
66

slack/ui/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% set read_doc_text = 'You will find more information about the slack plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/' + plugin['version'] + '/slack" class="core-card-text-doc-link">in the documentation</a>.' %}
3+
{% set read_doc_text = 'You will find more information about the slack plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/v' + plugin['version'] + '/slack" class="core-card-text-doc-link">in the documentation</a>.' %}
44

55
{% block content %}
66

virustotal/ui/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% set read_doc_text = 'You will find more information about the virustotal plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/' + plugin['version'] + '/virustotal" class="core-card-text-doc-link">in the documentation</a>.' %}
3+
{% set read_doc_text = 'You will find more information about the virustotal plugin <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/v' + plugin['version'] + '/virustotal" class="core-card-text-doc-link">in the documentation</a>.' %}
44

55
{% block content %}
66

webhook/ui/template.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

3-
{% set read_doc_text = 'You will find more information about the webhook <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/' + plugin['version'] + '/webhook" class="core-card-text-doc-link">in the documentation</a>.' %}
3+
{% set read_doc_text = 'You will find more information about the webhook <a target="_blank" href="https://github.com/bunkerity/bunkerweb-plugins/tree/v' + plugin['version'] + '/webhook" class="core-card-text-doc-link">in the documentation</a>.' %}
44

55
{% block content %}
66

0 commit comments

Comments
 (0)