mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-01 02:17:53 +00:00
rename variable custom_css_file to custom_css_link
This commit is contained in:
@@ -90,7 +90,7 @@ type Config struct {
|
|||||||
TermOfServiceLink string `yaml:"term_of_service_link"`
|
TermOfServiceLink string `yaml:"term_of_service_link"`
|
||||||
PrivacyPolicyTitle string `yaml:"privacy_policy_title"`
|
PrivacyPolicyTitle string `yaml:"privacy_policy_title"`
|
||||||
PrivacyPolicyLink string `yaml:"privacy_policy_link"`
|
PrivacyPolicyLink string `yaml:"privacy_policy_link"`
|
||||||
CustomCSSFile string `yaml:"custom_css_file"`
|
CustomCSSLink string `yaml:"custom_css_link"`
|
||||||
MagicLookup bool `yaml:"magic_lookup"`
|
MagicLookup bool `yaml:"magic_lookup"`
|
||||||
} `yaml:"ui"`
|
} `yaml:"ui"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
<link rel="stylesheet" href="site/style.css">
|
<link rel="stylesheet" href="site/style.css">
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -162,8 +162,8 @@
|
|||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -28,8 +28,8 @@
|
|||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/a11y-dark.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/a11y-dark.min.css">
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -24,8 +24,8 @@
|
|||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -32,8 +32,8 @@
|
|||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/7.0.4/jsoneditor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/7.0.4/jsoneditor.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -165,8 +165,8 @@
|
|||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@@ -27,8 +27,8 @@
|
|||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/7.0.4/jsoneditor.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/7.0.4/jsoneditor.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
conf = loadUIConfiguration();
|
conf = loadUIConfiguration();
|
||||||
if (conf["custom_css_file"]) {
|
if (conf["custom_css_link"]) {
|
||||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user