aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolpino <fox91@anche.no>2012-09-24 16:47:21 +0200
committerCorentin Chary <corentin.chary@gmail.com>2012-10-29 13:06:04 +0100
commit975f7b1dbf34175531b8580f688cbb7c2d65895f (patch)
tree93c5e016b92b91c77b720f1342a2bfc57bc0321e /euscanwww/djeuscan/templates/euscan
parenteuscanwww: Upgrading Bootstrap toogle buttons (diff)
downloadeuscan-975f7b1dbf34175531b8580f688cbb7c2d65895f.tar.gz
euscan-975f7b1dbf34175531b8580f688cbb7c2d65895f.tar.bz2
euscan-975f7b1dbf34175531b8580f688cbb7c2d65895f.zip
euscanwww: Adding an about config page
Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'euscanwww/djeuscan/templates/euscan')
-rw-r--r--euscanwww/djeuscan/templates/euscan/config.html95
1 files changed, 95 insertions, 0 deletions
diff --git a/euscanwww/djeuscan/templates/euscan/config.html b/euscanwww/djeuscan/templates/euscan/config.html
new file mode 100644
index 0000000..9bbaf14
--- /dev/null
+++ b/euscanwww/djeuscan/templates/euscan/config.html
@@ -0,0 +1,95 @@
+{% extends "_base.html" %}
+
+{% block content %}
+<h2>Server configuration</h2>
+
+<table class="table table-bordered">
+ <caption>
+ <h4 class="padded">Euscan config</h4>
+ </caption>
+ {% for key, value in CONFIG.items %}
+ <tr>
+ <td><b>{{ key }}</b></td>
+ <td>{{ value }}</td>
+ </tr>
+ {% endfor %}
+</table>
+
+<hr />
+
+<table class="table table-bordered">
+ <caption>
+ <h4 class="padded">Versions blacklist</h4>
+ </caption>
+ {% for item in BLACKLIST_VERSIONS %}
+ <tr>
+ <td>{{ item }}</td>
+ </tr>
+ {% endfor %}
+</table>
+
+<hr />
+
+<table class="table table-bordered">
+ <caption>
+ <h4 class="padded">Packages blacklist</h4>
+ </caption>
+ {% for item in BLACKLIST_PACKAGES %}
+ <tr>
+ <td>{{ item }}</td>
+ </tr>
+ {% endfor %}
+</table>
+
+<hr />
+
+<table class="table table-bordered">
+ <caption>
+ <h4 class="padded">Scandir blacklist</h4>
+ </caption>
+ {% for item in SCANDIR_BLACKLIST_URLS %}
+ <tr>
+ <td>{{ item }}</td>
+ </tr>
+ {% endfor %}
+</table>
+
+<hr />
+
+<table class="table table-bordered">
+ <caption>
+ <h4 class="padded">Bruteforce packages blacklist</h4>
+ </caption>
+ {% for item in BRUTEFORCE_BLACKLIST_PACKAGES %}
+ <tr>
+ <td>{{ item }}</td>
+ </tr>
+ {% endfor %}
+</table>
+
+<hr />
+
+<table class="table table-bordered">
+ <caption>
+ <h4 class="padded">Bruteforce urls blacklist</h4>
+ </caption>
+ {% for item in BRUTEFORCE_BLACKLIST_URLS %}
+ <tr>
+ <td>{{ item }}</td>
+ </tr>
+ {% endfor %}
+</table>
+
+<hr />
+
+<table class="table table-bordered">
+ <caption>
+ <h4 class="padded">Robots.txt domain blacklist</h4>
+ </caption>
+ {% for item in ROBOTS_TXT_BLACKLIST_DOMAINS %}
+ <tr>
+ <td>{{ item }}</td>
+ </tr>
+ {% endfor %}
+</table>
+{% endblock %}