mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-30 17:37:50 +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"`
|
||||
PrivacyPolicyTitle string `yaml:"privacy_policy_title"`
|
||||
PrivacyPolicyLink string `yaml:"privacy_policy_link"`
|
||||
CustomCSSFile string `yaml:"custom_css_file"`
|
||||
CustomCSSLink string `yaml:"custom_css_link"`
|
||||
MagicLookup bool `yaml:"magic_lookup"`
|
||||
} `yaml:"ui"`
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
<link rel="stylesheet" href="site/style.css">
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -162,8 +162,8 @@
|
||||
</script>
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</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">
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
crossorigin="anonymous"></script>
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/7.0.4/jsoneditor.min.js"></script>
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -165,8 +165,8 @@
|
||||
</script>
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
crossorigin="anonymous"></script>
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jsoneditor/7.0.4/jsoneditor.min.js"></script>
|
||||
<script>
|
||||
conf = loadUIConfiguration();
|
||||
if (conf["custom_css_file"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_file"] +"' />");
|
||||
if (conf["custom_css_link"]) {
|
||||
document.write("<link rel='stylesheet' type='text/css' href='" + conf["custom_css_link"] +"' />");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user