3
0
Fork 0

Compare commits

..

No commits in common. "60526f646ad7c0486d9703a1efb34bf92f56c265" and "fab87d33038c7b6edbff49359d4be0e772175c1e" have entirely different histories.

6 changed files with 6 additions and 62 deletions

View file

@ -5,12 +5,6 @@ All notable changes to wuttaweb will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## v0.12.1 (2024-08-22)
### Fix
- improve home, login page styles for large logo image
## v0.12.0 (2024-08-22)
### Feat

View file

@ -6,7 +6,7 @@ build-backend = "hatchling.build"
[project]
name = "WuttaWeb"
version = "0.12.1"
version = "0.12.0"
description = "Web App for Wutta Framework"
readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]

View file

@ -4,32 +4,9 @@
<%def name="title()">Login</%def>
<%def name="extra_styles()">
${parent.extra_styles()}
<style>
.wutta-page-content {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
}
.wutta-logo {
margin-top: 2rem;
display: flex;
justify-content: center;
}
.wutta-logo img {
max-height: 350px;
max-width: 800px;
}
</style>
</%def>
<%def name="page_content()">
<div class="wutta-page-content">
<div class="wutta-logo">${base_meta.full_logo(image_url or None)}</div>
<div style="height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;">
<div>${base_meta.full_logo(image_url or None)}</div>
<div class="card">
<div class="card-content">
${form.render_vue_tag()}

View file

@ -151,10 +151,6 @@
white-space: nowrap;
}
.wutta-page-content-wrapper {
height: 100%;
}
##############################
## grids
##############################

View file

@ -4,32 +4,9 @@
<%def name="title()">Home</%def>
<%def name="extra_styles()">
${parent.extra_styles()}
<style>
.wutta-page-content {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
}
.wutta-logo {
margin-top: 2rem;
display: flex;
justify-content: center;
}
.wutta-logo img {
max-height: 350px;
max-width: 800px;
}
</style>
</%def>
<%def name="page_content()">
<div class="wutta-page-content">
<div class="wutta-logo">${base_meta.full_logo(image_url or None)}</div>
<div style="height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;">
<div>${base_meta.full_logo(image_url or None)}</div>
<h1 class="is-size-1">Welcome to ${app.get_title()}</h1>
</div>
</%def>

View file

@ -11,7 +11,7 @@
<%def name="render_vue_template_this_page()">
<script type="text/x-template" id="this-page-template">
<div class="wutta-page-content-wrapper">
<div style="height: 100%;">
${self.page_content()}
</div>
</script>