Comments (9)
Cool, I'll take a stab and let you know if I need anything. Thanks for the clear direction!
from core.
@Conor-Fleming yes server.go
is a good file to have the embed.FS
variable.
sorry for the delay.
from core.
Hi @dstpierre. I can work on this issue, if that's ok. Seems pretty straightforward based on your description.
from core.
that's great @Conor-Fleming let me know if you have any questions
from core.
@Conor-Fleming it would be nice if this change also brings in the CSS and logo image in a "public" directory that would be embeded as well.
For example, at this moment in templates/login.html
line 14 there's a that references the logo from https, same from
templates/partials/navbar.html
line:5.
And for the CSS it's in templates/login.html
line:8 and templates/partials/head.html
line:13.
Would be nice to create a public
directory, embed it and serve it's content. This involved changing the URL to access those resources in the html file above.
See this go doc part for how to serve content from an embed.FS
.
Let me know if you have any questions.
from core.
I have created a public
directory and added the logo-sb-no-txt.png
& sb-app.css
files as mentioned above. Would the best place to embed this new public directory and serve these files be in the existing server.go
file? Or would you rather create a new file to do this? @dstpierre
Thanks in advance.
from core.
@Conor-Fleming I'm doing a friendly follow-up here, I'm planning a new release and would want this issue to be available in the next CLI update.
Can you update on your status, are you still interested in tackling this one?
Please let me know, thanks.
from core.
HI @dstpierre,
Apologies, I'm going to have to let this one go for the time being. Again so sorry.
from core.
@Conor-Fleming no worries at all, thanks for confirming.
from core.
Related Issues (20)
- Ensure 3rd-party s3 compatible storage works HOT 1
- Enable grpc based clients HOT 2
- token creation datetime not saving correctly in database HOT 1
- Feature: GetTenantByEmail function HOT 1
- Implement a SQLite provider
- Implement a full-text search capability
- Database provider tests clean-up
- [backend-js] Build an additional bundle importable via <script> tag HOT 1
- [core & cli] Save dev database between CLI restart HOT 1
- [docs] A tutorial for Next.js
- Add email interface to server-side function runtime HOT 13
- [cli] Add a tail command to follow server logs HOT 3
- Clean-up backend package test
- Using environment variables from .env file under vscode HOT 2
- Schedule task improvments
- [Refactoring] Add helper functions process HOT 2
- [backend-dart] Create a client library for Dart HOT 5
- review quick start for backend client library (go doc) HOT 1
- Add / remove user from account
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.