refactor: update README, forgot css file
This commit is contained in:
parent
8b42c94aa6
commit
7f3602233c
17
README.md
17
README.md
@ -13,37 +13,44 @@ So this is not thought of being a framework.
|
|||||||
|
|
||||||
## Choices
|
## Choices
|
||||||
|
|
||||||
|
### Philosophies
|
||||||
|
|
||||||
|
- Semantic over Mnemonic
|
||||||
|
- As flat HTML as possible
|
||||||
|
|
||||||
### On the Backend
|
### On the Backend
|
||||||
|
|
||||||
- `axum` as webserver framework
|
- `axum` as webserver framework
|
||||||
- `minijinja` as template renderer
|
- `minijinja` as template renderer
|
||||||
- `sea-orm` as database framework
|
- `sea-orm` as database framework
|
||||||
- `rust_embed` to embed vital static files
|
|
||||||
|
|
||||||
### On the Frontend
|
### On the Frontend
|
||||||
|
|
||||||
- `markdown.css` to provide out of the box CSS for markdown
|
- `markdown.css` to provide out of the box CSS for markdown
|
||||||
- `hyperscript` for light weight event scripting
|
- `hyperscript` for light weight event scripting
|
||||||
- `htmx` for service interaction
|
- `htmx` for service interaction
|
||||||
- `GUIKit` for a default CSS framework
|
- `Fomantic-UI` as default CSS framework (once Semantic)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
### The aims of the project for now are:
|
### The aims of the project for now are:
|
||||||
- [x] Template Rendering with Hot-Reload
|
- [x] Template Rendering with Hot-Reload
|
||||||
- [x] Static-File Serving
|
- [x] Static-File Serving
|
||||||
|
- [x] Logging
|
||||||
- [x] 404 Handler
|
- [x] 404 Handler
|
||||||
- [ ] 500 Handler
|
- [ ] 500 Handler
|
||||||
- [ ] Media File Serving
|
- [ ] Media File Serving
|
||||||
|
- [ ] Admin Site with Registry
|
||||||
|
- [ ] Storage based tools (for files and cloud)
|
||||||
|
- [ ] Database
|
||||||
|
- [ ] Redis / KV Store
|
||||||
|
|
||||||
### Future Ideas:
|
### Future Ideas:
|
||||||
|
|
||||||
- Direct Markdown Sites with wikiserve
|
- Direct Markdown Sites as wikiserve with the storage tools
|
||||||
- `static-image` and `media-image` Service for automatic thumbnails
|
- `static-image` and `media-image` Service for automatic thumbnails
|
||||||
- Small Admin Layer
|
|
||||||
- User and Role Implementation
|
- User and Role Implementation
|
||||||
- Event-Bus link to RabbitMQ
|
- Event-Bus link to RabbitMQ
|
||||||
- Logging
|
|
||||||
|
|
||||||
### Windows 10
|
### Windows 10
|
||||||
|
|
||||||
|
34
static/admin/admin.css
Normal file
34
static/admin/admin.css
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
.ui[class*="very compact"].table>thead>tr>th,
|
||||||
|
.ui[class*="very compact"].table>tr>th {
|
||||||
|
padding: .4em .6em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--sidebar-margin: 260px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header {
|
||||||
|
z-index: 1005;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main_content {
|
||||||
|
padding-top: 4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pushover {
|
||||||
|
margin-left: var(--sidebar-margin);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 1920px) {
|
||||||
|
.pushover {
|
||||||
|
margin-left: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#main_sidemenu {
|
||||||
|
background-color: rgb(27, 28, 29);
|
||||||
|
padding-top: 3em;
|
||||||
|
z-index: 1001;
|
||||||
|
/* Ensure this is higher than the z-index of the main content */
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user