@@ -140,4 +140,5 @@ dmypy.json
cython_debug/
etc
-static/logo.jpg
+static/logo.jpg
+static/wangan.png
@@ -36,6 +36,7 @@ conf = {
"LOG_STDERR": True,
"LOGO": "logo.jpg",
"ICP": None,
+ "GONG_AN": None,
}
@@ -14,4 +14,8 @@ body {
#ICP {
background-color: rgb(255, 255, 255, 60%);
+}
+
+#GONG_AN {
+ background-color: rgb(255, 255, 255, 60%);
@@ -112,6 +112,14 @@
{{ conf['FOOT'] }}
{% if conf["ICP"] %}
<br> <a id="ICP" href="https://beian.miit.gov.cn"> {{ conf['ICP'] }} </a>
+ {% if conf["GONG_AN"] %}
+ <br> <a id="GONG_AN" target="_blank"
+ href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44011402000783"
+ style="display:inline-block;text-decoration:none;height:20px;line-height:20px;">
+ <img src="{{ url_for('static', filename='wangan.png') }}" style="float:left;"/>
+ {{ conf["GONG_AN"] }}
+ </a>
+ {% endif %}
{% endif %}
</footer>
<script>
@@ -29,7 +29,16 @@
<footer id="foot">
<a id="ICP" href="https://beian.miit.gov.cn"> {{ conf['ICP'] }} </a>
function SetFooter (mutationsList, observer) {
let foot = document.getElementById('foot')