From ee1c5a43d5254e646566ad6a0ff9749ab4d81462 Mon Sep 17 00:00:00 2001 From: hugo <53820106+ubavic@users.noreply.github.com> Date: Tue, 3 Oct 2023 21:26:52 +0200 Subject: [PATCH] frontend --- freeriders/static/style.css | 70 +++++++++++++++++++++++++++++++++++ freeriders/templates/sms.html | 62 +++++++++++++++++++++++++++++++ 2 files changed, 132 insertions(+) create mode 100644 freeriders/static/style.css create mode 100644 freeriders/templates/sms.html diff --git a/freeriders/static/style.css b/freeriders/static/style.css new file mode 100644 index 0000000..0994821 --- /dev/null +++ b/freeriders/static/style.css @@ -0,0 +1,70 @@ +:root { + --border-radus: 1rem; + --background: #EEE; + --header-background: #DDD; + --header-height: 3rem; + --input-bar-height: 2rem; +} + +body{ + background: var(--background); + font-family: sans-serif; + margin: 0; + padding: 0; +} + +main { + max-width: 400px; + display: flex; + flex-direction: column; + align-self: flex-start; + gap: 1rem; + margin: 0 auto; + padding: 1rem 0.5rem; + height: calc(100vh - 5rem); + overflow-y: scroll; + box-sizing: border-box; +} + +header { + background-color: var(--header-background); + display: flex; + flex-direction: row; + padding: 1rem; + gap: 1rem; + font-weight: bold; + width: 100vw; + height: var(header-height); + box-sizing: border-box; +} + +footer { + width: 100vw; + height: var(input-bar-height); + background-color: #FDD; + display: flex; + flex-direction: row; + padding: 0 1rem; + box-sizing: border-box; +} + +.request { + background-color: #DFD; + border-radius: var(--border-radus); + padding: 0.5rem 1rem; + align-self: flex-end; + max-width: 80%; +} + +.ticket { + background-color: #DDF; + max-width: 80%; + border-radius: var(--border-radus); + padding: 0.5rem 1rem; + align-self: flex-start; +} + +.date { + align-self: center; + margin-top: 0.5rem; +} \ No newline at end of file diff --git a/freeriders/templates/sms.html b/freeriders/templates/sms.html new file mode 100644 index 0000000..0e80b0b --- /dev/null +++ b/freeriders/templates/sms.html @@ -0,0 +1,62 @@ + + + + + + Karta + + + +
+
x
+
9011
+
+
+
+
+ A90 +
+
+ U Beogradu, za broj telefona ste kupili + VREMENSKU KARTU OD 90 MINUTA U ZONI A po + ceni od 50 din + osnovna cena poruke, + koja vazi do 03.10.2023, 09:42:54. + Karta broj: 0000343232. + Placanjem operateru izmirujete dugovanja + za ovu kartu prema JKP Naplata prevozne + usluge Beograd. Sacuvajte ovu poruku. +
+
+ A90 +
+
+ U Beogradu, za broj telefona ste kupili + VREMENSKU KARTU OD 90 MINUTA U ZONI A po + ceni od 50 din + osnovna cena poruke, + koja vazi do 03.10.2023, 09:42:54. + Karta broj: 0000343232. + Placanjem operateru izmirujete dugovanja + za ovu kartu prema JKP Naplata prevozne + usluge Beograd. Sacuvajte ovu poruku. +
+
08:23
+
+ A90 +
+
+ U Beogradu, za broj telefona ste kupili + VREMENSKU KARTU OD 90 MINUTA U ZONI A po + ceni od 50 din + osnovna cena poruke, + koja vazi do 03.10.2023, 09:42:54. + Karta broj: 0000343232. + Placanjem operateru izmirujete dugovanja + za ovu kartu prema JKP Naplata prevozne + usluge Beograd. Sacuvajte ovu poruku. +
+
+ + + \ No newline at end of file