diff --git a/public/css/kourend.css b/public/css/kourend.css new file mode 100644 index 0000000..b56e530 --- /dev/null +++ b/public/css/kourend.css @@ -0,0 +1,65 @@ +html, +body{ + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} + +body{ + padding-top: 80px; + padding-bottom: 80px; + background: #eee; +} + +#navbar{ + box-sizing: border-box; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 64px; + padding-left: 10px; + background: purple; + color: white; + z-index: 10; +} + +#navbar ul{ + list-style: none; +} +#navbar ul li{ + display: inline-block; +} + +#navbar h4, +#navbar a{ + margin-left: 15px; + line-height: 64px; +} + +#navbar a{ + color: white; + font-size: 24px; + text-decoration: none; +} + +#main-content{ + max-width: 1024px; + padding: 14px 20px; + background: white; + border-radius: 8px; +} + +#main-footer{ + position: fixed; + bottom: 0; + left: 0; + width: 100%; + height: 64px; +} + +#main-footer p{ + line-height: 64px; + text-align: center; +} diff --git a/templates/index/dashboard.tmpl b/templates/index/dashboard.tmpl index d7fb51c..a19e34e 100644 --- a/templates/index/dashboard.tmpl +++ b/templates/index/dashboard.tmpl @@ -2,6 +2,4 @@
This is the BLT dashboard.
-BLT version {{ .app_version }}
- {{ template "footer" . }} diff --git a/templates/layout/footer.tmpl b/templates/layout/footer.tmpl index 2edaabe..46b5892 100644 --- a/templates/layout/footer.tmpl +++ b/templates/layout/footer.tmpl @@ -1,4 +1,11 @@ {{ define "footer" }} + + + + +