Skip to content

Commit 72a68a3

Browse files
authored
Merge pull request #1 from chadleeshaw/feature/reimagined-ui
Feature/reimagined UI
2 parents ad13788 + 419ae43 commit 72a68a3

16 files changed

Lines changed: 1695 additions & 318 deletions

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
![Ignite Small](https://platformops.s3.us-west-2.amazonaws.com/images/Ignite_small.png)
1+
<img src="./public/http/img/Ignite_small.png" alt="Ignite" width="400"/>
32

43
# ignite
54

handlers/provision.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ func LoadFile(w http.ResponseWriter, r *http.Request) {
7575
defer file.Close()
7676

7777
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
78+
w.Header().Set("Cache-Control", "no-cache")
7879

7980
content, err := io.ReadAll(file)
8081
if err != nil {
@@ -189,6 +190,7 @@ func LoadTemplate(w http.ResponseWriter, r *http.Request) {
189190
Filename = filename // for global reference
190191

191192
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
193+
w.Header().Set("Cache-Control", "no-cache")
192194

193195
content, err := io.ReadAll(file)
194196
if err != nil {

makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ clean: # Clean up the build artifacts
1515
@rm -rf bin public/http/css/tailwind.css ignite.db
1616

1717
css: # Compile CSS theme and Tailwind CSS
18-
@npm install --prefix ./public daisyui
19-
@npm install --prefix ./public prismjs
20-
@npm install --prefix ./public prism-code-editor
21-
@npx tailwindcss -i ./public/http/css/includes.css -o ./public/http/css/tailwind.css
18+
@npm install --prefix ./public
19+
@./public/node_modules/.bin/tailwindcss -i ./public/http/css/includes.css -o ./public/http/css/tailwind.css
2220

2321
help: ## Display this help screen
2422
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/http/img/Ignite_small.png

100755100644
1020 KB
Loading

0 commit comments

Comments
 (0)