From c703408b1f663a4633b85627850234b930bcbe6c Mon Sep 17 00:00:00 2001 From: Pigeon Date: Tue, 17 Sep 2024 14:51:54 +0200 Subject: [PATCH] 0.9.1: Fixed h3 quick select wrapping on iOS, package.json cleanup --- package.json | 14 +++++--------- src/layouts/settings.pug | 9 +++++---- yarn.lock | 24 ------------------------ 3 files changed, 10 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index 6023a89..da4328b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "protest-comms", - "version": "0.9.0", + "version": "0.9.1", "description": "Coordinate slogans, moving, and communicate the needs of your group", "pwaManifest": { "name": "Protest Communicator", @@ -25,19 +25,15 @@ "@parcel/transformer-inline-string": "2.12.0", "@parcel/transformer-pug": "2.12.0", "@parcel/transformer-sass": "2.12.0", + "@picocss/pico": "^2.0.6", "@types/jquery": "^3.5.30", "@types/node": "^22.5.3", "cross-env": "^7.0.3", + "jquery": "^3.7.1", + "notyf": "^3.10.0", "parcel": "^2.12.0", "parcel-config-pwa-manifest": "^0.1.6", "parcel-reporter-strict-csp": "^0.1.1", - "pocketbase": "^0.21.5", - "prompt-sync": "^4.2.0" - }, - "dependencies": { - "@picocss/pico": "^2.0.6", - "jquery": "^3.7.1", - "notyf": "^3.10.0", - "svg-loaders": "^0.2.0" + "pocketbase": "^0.21.5" } } diff --git a/src/layouts/settings.pug b/src/layouts/settings.pug index 1fe451e..fb6b666 100644 --- a/src/layouts/settings.pug +++ b/src/layouts/settings.pug @@ -10,12 +10,13 @@ mixin settings() section#send-signal form(action="POST") h2 Send signal - fieldset.grid + fieldset legend h3 Quick select - +select("Urgency", ["Incoming", "When possible", "Urgent", "Life-threatening" ]) - +select("Type", ["wait", "need water", "need medical intervention", "police intervention", "police brutality"]) - +select("Location", ["everywhere", "at the front", "at the middle", "at the back"]) + section#quick-select + +select("Urgency", ["Incoming", "When possible", "Urgent", "Life-threatening" ]) + +select("Type", ["wait", "need water", "need medical intervention", "police intervention", "police brutality"]) + +select("Location", ["everywhere", "at the front", "at the middle", "at the back"]) label(for="signal") Signal to send: input(type="text" name="signal" id="signal") diff --git a/yarn.lock b/yarn.lock index c96f07a..ceb4263 100644 --- a/yarn.lock +++ b/yarn.lock @@ -979,11 +979,6 @@ acorn@^7.1.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -ansi-regex@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" - integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== - ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -2123,13 +2118,6 @@ promise@^7.0.1: dependencies: asap "~2.0.3" -prompt-sync@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/prompt-sync/-/prompt-sync-4.2.0.tgz#0198f73c5b70e3b03e4b9033a50540a7c9a1d7f4" - integrity sha512-BuEzzc5zptP5LsgV5MZETjDaKSWfchl5U9Luiu8SKp7iZWD5tZalOxvNcZRwv+d2phNFr8xlbxmFNcRKfJOzJw== - dependencies: - strip-ansi "^5.0.0" - pug-attrs@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pug-attrs/-/pug-attrs-3.0.0.tgz#b10451e0348165e31fad1cc23ebddd9dc7347c41" @@ -2417,13 +2405,6 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" -strip-ansi@^5.0.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" - integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== - dependencies: - ansi-regex "^4.1.0" - strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -2448,11 +2429,6 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -svg-loaders@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/svg-loaders/-/svg-loaders-0.2.0.tgz#3e3072f4f643e55c98d79b1ca1f15bf65aac701d" - integrity sha512-yE4UtCqr8L45QKhZX6p4B07iZfFrDPXmDLfxqJN+uOeJ1gAxpTXA4qOIVvjv1JsguDFanrph1k9fF1jciB1NeQ== - svgo@^2.4.0: version "2.8.0" resolved "https://registry.yarnpkg.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24"