Browse Source

En cours de développement

master
mls-361 4 months ago
parent
commit
aa1d94db3f
  1. 2
      internal/gui/dashboard.go
  2. 7
      internal/gui/layout.go
  3. 10
      static/css/common.css
  4. 3
      static/css/dashboard.css

2
internal/gui/dashboard.go

@ -26,7 +26,7 @@ func newDashboard(ccs *components.Components) *dashboard {
}
func (d *dashboard) title(title string) g.Node {
return Div(
return H1(
Class("title"),
g.Text(title),
)

7
internal/gui/layout.go

@ -60,6 +60,13 @@ func buildPage(app components.Application, name string, content g.Node) g.Node {
),
),
container(Main(content)),
Footer(
container(
P(
g.Textf("%s v%s copyright © 2021 mls-361", app.Name(), app.Version()),
),
),
),
),
),
)

10
static/css/common.css

@ -46,6 +46,16 @@ header {
color: var(--blue-600);
}
footer {
margin-top: 50px;
border-top: 1px solid var(--gray-700);
text-align: center;
color: var(--gray-600);
}
footer > p {
}
/*
######################################################################################################## @(°_°)@ #######
*/

3
static/css/dashboard.css

@ -23,8 +23,9 @@
}
.title {
display: inline-block;
font-size: 48px;
margin-bottom: 30px;
margin: 0 0 20px 0;
}
.value {

Loading…
Cancel
Save