aboutsummaryrefslogtreecommitdiffstats
path: root/theme/admin
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2024-11-21 20:59:05 +0100
committerThomas Lange <code@nerdmind.de>2024-11-29 15:10:40 +0100
commitebc5cf9ac20b959c6d4a6a34643eb8657cf9db84 (patch)
tree6a17f88f2afd17f8afac6a0d744d6369e2a65cdb /theme/admin
parent52cb2b8aef3ba86e4abe551a3df9831d347e948e (diff)
downloadblog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.tar.gz
blog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.tar.xz
blog-ebc5cf9ac20b959c6d4a6a34643eb8657cf9db84.zip
Rename "rsrc" directories to "static"
Stop using "rsrc" as name for the directories which contain static files and rename them to "static". This affects the global static directory and the subdirectories in the theme directories. If you've stored your own files in the old global "rsrc" directory, you must move them to the new "static" directory.
Diffstat (limited to 'theme/admin')
-rw-r--r--theme/admin/html/main.php6
-rw-r--r--theme/admin/html/migration.php4
-rw-r--r--theme/admin/static/css/bright.css (renamed from theme/admin/rsrc/css/bright.css)0
-rw-r--r--theme/admin/static/css/bright.scss (renamed from theme/admin/rsrc/css/bright.scss)0
-rw-r--r--theme/admin/static/css/dark.css (renamed from theme/admin/rsrc/css/dark.css)0
-rw-r--r--theme/admin/static/css/dark.scss (renamed from theme/admin/rsrc/css/dark.scss)0
-rw-r--r--theme/admin/static/css/import/_fontello.scss (renamed from theme/admin/rsrc/css/import/_fontello.scss)0
-rw-r--r--theme/admin/static/css/import/_fonts.scss (renamed from theme/admin/rsrc/css/import/_fonts.scss)0
-rw-r--r--theme/admin/static/css/import/_responsive.scss (renamed from theme/admin/rsrc/css/import/_responsive.scss)0
-rw-r--r--theme/admin/static/css/import/_styles.scss (renamed from theme/admin/rsrc/css/import/_styles.scss)0
-rw-r--r--theme/admin/static/css/import/_variables.scss (renamed from theme/admin/rsrc/css/import/_variables.scss)0
-rw-r--r--theme/admin/static/font/fontello.json (renamed from theme/admin/rsrc/font/fontello.json)0
-rw-r--r--theme/admin/static/font/fontello.woff2 (renamed from theme/admin/rsrc/font/fontello.woff2)bin16460 -> 16460 bytes
-rw-r--r--theme/admin/static/font/kadwa-n-400.woff2 (renamed from theme/admin/rsrc/font/kadwa-n-400.woff2)bin18108 -> 18108 bytes
-rw-r--r--theme/admin/static/font/ruda-n-400.woff2 (renamed from theme/admin/rsrc/font/ruda-n-400.woff2)bin9120 -> 9120 bytes
-rw-r--r--theme/admin/static/font/ruda-n-700.woff2 (renamed from theme/admin/rsrc/font/ruda-n-700.woff2)bin9116 -> 9116 bytes
-rw-r--r--theme/admin/static/icon-public-domain.svg (renamed from theme/admin/rsrc/icon-public-domain.svg)0
-rw-r--r--theme/admin/static/img/noise-bright.png (renamed from theme/admin/rsrc/img/noise-bright.png)bin9237 -> 9237 bytes
-rw-r--r--theme/admin/static/img/noise-dark.png (renamed from theme/admin/rsrc/img/noise-dark.png)bin6557 -> 6557 bytes
-rw-r--r--theme/admin/static/main.js (renamed from theme/admin/rsrc/main.js)0
20 files changed, 5 insertions, 5 deletions
diff --git a/theme/admin/html/main.php b/theme/admin/html/main.php
index 2035b47..c6fe12c 100644
--- a/theme/admin/html/main.php
+++ b/theme/admin/html/main.php
@@ -19,8 +19,8 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright';
<meta charset="UTF-8">
<meta name="referrer" content="origin-when-crossorigin">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>">
- <script defer src="<?=Application::getTemplateURL('rsrc/main.js')?>"></script>
+ <link rel="stylesheet" href="<?=Application::getTemplateURL("static/css/$theme.css")?>">
+ <script defer src="<?=Application::getTemplateURL('static/main.js')?>"></script>
<title><?=escapeHTML($NAME)?> | Administration</title>
</head>
<body>
@@ -28,7 +28,7 @@ $theme = isset($_COOKIE['dark_mode']) ? 'dark' : 'bright';
<div class="header-line background">
<div class="header-content">
<a href="<?=Application::getURL()?>">
- <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration">
+ <img id="header-logo" src="<?=Application::getTemplateURL('static/icon-public-domain.svg')?>" alt="Administration">
</a>
<div id="header-text"><?=escapeHTML($BLOGMETA['NAME'])?></div>
<div id="header-desc"><?=escapeHTML($BLOGMETA['DESC'])?></div>
diff --git a/theme/admin/html/migration.php b/theme/admin/html/migration.php
index 921b006..05f33c1 100644
--- a/theme/admin/html/migration.php
+++ b/theme/admin/html/migration.php
@@ -5,14 +5,14 @@
<meta charset="UTF-8">
<meta name="referrer" content="origin-when-crossorigin">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="<?=Application::getTemplateURL("rsrc/css/$theme.css")?>">
+ <link rel="stylesheet" href="<?=Application::getTemplateURL("static/css/$theme.css")?>">
<title><?=$Language->text('maintenance_mode')?></title>
</head>
<body>
<header id="main-header">
<div class="header-line background">
<div class="header-content">
- <img id="header-logo" src="<?=Application::getTemplateURL('rsrc/icon-public-domain.svg')?>" alt="Administration">
+ <img id="header-logo" src="<?=Application::getTemplateURL('static/icon-public-domain.svg')?>" alt="Administration">
<div id="header-text"><?=escapeHTML($BLOGMETA['NAME'])?></div>
<div id="header-desc"><?=$Language->text('maintenance_mode')?></div>
</div>
diff --git a/theme/admin/rsrc/css/bright.css b/theme/admin/static/css/bright.css
index 6ca9bae..6ca9bae 100644
--- a/theme/admin/rsrc/css/bright.css
+++ b/theme/admin/static/css/bright.css
diff --git a/theme/admin/rsrc/css/bright.scss b/theme/admin/static/css/bright.scss
index 3d65448..3d65448 100644
--- a/theme/admin/rsrc/css/bright.scss
+++ b/theme/admin/static/css/bright.scss
diff --git a/theme/admin/rsrc/css/dark.css b/theme/admin/static/css/dark.css
index 1a46895..1a46895 100644
--- a/theme/admin/rsrc/css/dark.css
+++ b/theme/admin/static/css/dark.css
diff --git a/theme/admin/rsrc/css/dark.scss b/theme/admin/static/css/dark.scss
index 472095a..472095a 100644
--- a/theme/admin/rsrc/css/dark.scss
+++ b/theme/admin/static/css/dark.scss
diff --git a/theme/admin/rsrc/css/import/_fontello.scss b/theme/admin/static/css/import/_fontello.scss
index 7c2e964..7c2e964 100644
--- a/theme/admin/rsrc/css/import/_fontello.scss
+++ b/theme/admin/static/css/import/_fontello.scss
diff --git a/theme/admin/rsrc/css/import/_fonts.scss b/theme/admin/static/css/import/_fonts.scss
index 4431bec..4431bec 100644
--- a/theme/admin/rsrc/css/import/_fonts.scss
+++ b/theme/admin/static/css/import/_fonts.scss
diff --git a/theme/admin/rsrc/css/import/_responsive.scss b/theme/admin/static/css/import/_responsive.scss
index 9675071..9675071 100644
--- a/theme/admin/rsrc/css/import/_responsive.scss
+++ b/theme/admin/static/css/import/_responsive.scss
diff --git a/theme/admin/rsrc/css/import/_styles.scss b/theme/admin/static/css/import/_styles.scss
index 93c0d8f..93c0d8f 100644
--- a/theme/admin/rsrc/css/import/_styles.scss
+++ b/theme/admin/static/css/import/_styles.scss
diff --git a/theme/admin/rsrc/css/import/_variables.scss b/theme/admin/static/css/import/_variables.scss
index 70a8424..70a8424 100644
--- a/theme/admin/rsrc/css/import/_variables.scss
+++ b/theme/admin/static/css/import/_variables.scss
diff --git a/theme/admin/rsrc/font/fontello.json b/theme/admin/static/font/fontello.json
index 1af78d5..1af78d5 100644
--- a/theme/admin/rsrc/font/fontello.json
+++ b/theme/admin/static/font/fontello.json
diff --git a/theme/admin/rsrc/font/fontello.woff2 b/theme/admin/static/font/fontello.woff2
index c62227f..c62227f 100644
--- a/theme/admin/rsrc/font/fontello.woff2
+++ b/theme/admin/static/font/fontello.woff2
Binary files differ
diff --git a/theme/admin/rsrc/font/kadwa-n-400.woff2 b/theme/admin/static/font/kadwa-n-400.woff2
index 1566426..1566426 100644
--- a/theme/admin/rsrc/font/kadwa-n-400.woff2
+++ b/theme/admin/static/font/kadwa-n-400.woff2
Binary files differ
diff --git a/theme/admin/rsrc/font/ruda-n-400.woff2 b/theme/admin/static/font/ruda-n-400.woff2
index 6435a0d..6435a0d 100644
--- a/theme/admin/rsrc/font/ruda-n-400.woff2
+++ b/theme/admin/static/font/ruda-n-400.woff2
Binary files differ
diff --git a/theme/admin/rsrc/font/ruda-n-700.woff2 b/theme/admin/static/font/ruda-n-700.woff2
index 0066431..0066431 100644
--- a/theme/admin/rsrc/font/ruda-n-700.woff2
+++ b/theme/admin/static/font/ruda-n-700.woff2
Binary files differ
diff --git a/theme/admin/rsrc/icon-public-domain.svg b/theme/admin/static/icon-public-domain.svg
index 88f7227..88f7227 100644
--- a/theme/admin/rsrc/icon-public-domain.svg
+++ b/theme/admin/static/icon-public-domain.svg
diff --git a/theme/admin/rsrc/img/noise-bright.png b/theme/admin/static/img/noise-bright.png
index a9356b3..a9356b3 100644
--- a/theme/admin/rsrc/img/noise-bright.png
+++ b/theme/admin/static/img/noise-bright.png
Binary files differ
diff --git a/theme/admin/rsrc/img/noise-dark.png b/theme/admin/static/img/noise-dark.png
index f0ddc0d..f0ddc0d 100644
--- a/theme/admin/rsrc/img/noise-dark.png
+++ b/theme/admin/static/img/noise-dark.png
Binary files differ
diff --git a/theme/admin/rsrc/main.js b/theme/admin/static/main.js
index 94fc591..94fc591 100644
--- a/theme/admin/rsrc/main.js
+++ b/theme/admin/static/main.js