Skip to content

Commit

Permalink
fix clamav UI page and fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
fl0ppy-d1sk committed May 14, 2024
1 parent bc5e3d6 commit 8b360dc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 15 deletions.
14 changes: 5 additions & 9 deletions clamav/ui/template.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
{% extends "base.html" %}

{% 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>.' %}
{% 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>.' %}

{% block content %}
<input
type="csrf_token"
name="csrf_token"
value="{{ csrf_token }}"
class="hidden"
hidden
/>

<div class="core-layout">
{% if is_used %}

<input id="csrf_token"
type="hidden"
name="csrf_token"
value="{{ csrf_token() }}" />
<!-- info-->
<div class="core-card">
<h5 class="core-card-title">INFO</h5>
Expand Down
2 changes: 1 addition & 1 deletion coraza/ui/template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% 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>.' %}
{% 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>.' %}

{% block content %}

Expand Down
2 changes: 1 addition & 1 deletion crowdsec/ui/template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% 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>.' %}
{% 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>.' %}

{% block content %}

Expand Down
2 changes: 1 addition & 1 deletion discord/ui/template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% 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>.' %}
{% 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>.' %}

{% block content %}

Expand Down
2 changes: 1 addition & 1 deletion slack/ui/template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% 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>.' %}
{% 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>.' %}

{% block content %}

Expand Down
2 changes: 1 addition & 1 deletion virustotal/ui/template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% 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>.' %}
{% 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>.' %}

{% block content %}

Expand Down
2 changes: 1 addition & 1 deletion webhook/ui/template.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% 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>.' %}
{% 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>.' %}

{% block content %}

Expand Down

0 comments on commit 8b360dc

Please sign in to comment.