generated from OBJNULL/Dockerized-Rust
Compare commits
4 commits
f72e5f021d
...
094209d19f
Author | SHA1 | Date | |
---|---|---|---|
094209d19f | |||
44bcf2cc4d | |||
5bedf0fab9 | |||
0bc13eb471 |
4 changed files with 26 additions and 1 deletions
|
@ -8,4 +8,4 @@ This program is designed to be a replacement for the legacy Prorating tool from
|
|||
When using this tool, simply click on the **Current Membership** that your customer has, then select the **New Membership** that your customer wants, then select the **Last Time they were Billed**, and finally click _Submit_ and it'll automatically run through the Math and tell you how long to _Extend/Cut_ their membership by!
|
||||
|
||||
## Tools Used
|
||||
* ...
|
||||
* Slint _(For UI)_
|
||||
|
|
|
@ -4,3 +4,7 @@ version = "0.1.0"
|
|||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
slint = "1.12.1"
|
||||
|
||||
[build-dependencies]
|
||||
slint-build = "1.12.1"
|
||||
|
|
BIN
project/data/logo.png
Normal file
BIN
project/data/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 127 KiB |
21
project/ui/app.slint
Normal file
21
project/ui/app.slint
Normal file
|
@ -0,0 +1,21 @@
|
|||
import { Button, VerticalBox, HorizontalBox } from "std-widgets.slint";
|
||||
|
||||
export component Prorater inherits Window {
|
||||
title: "Auto Spa Express - Prorater";
|
||||
width: 1024px;
|
||||
height: 720px;
|
||||
|
||||
VerticalBox {
|
||||
Image {
|
||||
source: @image-url("../data/logo.png");
|
||||
width: 25%;
|
||||
height: 25%;
|
||||
}
|
||||
|
||||
Text {
|
||||
text: "Auto Spa Express - Prorate Tool";
|
||||
font-size: 4rem;
|
||||
horizontal-alignment: center;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue