diff --git a/.hintrc b/.hintrc new file mode 100644 index 0000000..ba04d96 --- /dev/null +++ b/.hintrc @@ -0,0 +1,8 @@ +{ + "extends": [ + "development" + ], + "hints": { + "no-inline-styles": "off" + } +} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 32f1ee0..077ce7e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -160,7 +160,7 @@ After adding this line, remember to apply the changes by sourcing the file (e.g. # Migrate SQLite files from Scribe-Data to MariaDB for use in Scribe-Server: make build make migrate - # Start Scribe-Server on your local host: + # Start Scribe-Server on http://localhost:8080/: make run ``` diff --git a/api/server.go b/api/server.go index 6159b3d..c8bde36 100644 --- a/api/server.go +++ b/api/server.go @@ -172,6 +172,11 @@ func setupStaticFiles(r *gin.Engine) { if _, err := os.Stat(faviconPath); err == nil { r.StaticFile("/favicon.ico", faviconPath) } + + logoPath := filepath.Join(absPath, "static", "images", "ScribeServerLogoWhite.png") + if _, err := os.Stat(logoPath); err == nil { + r.StaticFile("/images/ScribeServerLogoWhite.png", logoPath) + } } // MARK: Server Startup diff --git a/packs/sqlite/index.html b/packs/sqlite/index.html index b77340a..f668f61 100644 --- a/packs/sqlite/index.html +++ b/packs/sqlite/index.html @@ -1,20 +1,34 @@ - + Scribe SQLite Database Download - + -
- Back to Home -

Scribe SQLite Database Download

-

- You can click any of the links below to download the most recent - Scribe-Data SQLite database. -

-
-

Available Databases

-
+ + +
+ +
+ +
+
+
+
Data packs
+

Scribe SQLite Database Download

+

+ You can click any of the links below to download the most recent + Scribe-Data SQLite database. Each file is a complete, versioned + snapshot. +

+
+ +
+
+ /packs/sqlite/ + Loading... +
+
+
Loading available packs…
+
+
-
+ +
- + +