summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-06-12 10:18:42 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-06-12 10:18:42 +0100
commit33af90c9cebe74d2ded38abdec1d6739ed91e6c6 (patch)
treebb1acb0abd30f9865d203148134dfe81a929a816
parent04e2740c6f0fd9f1a88429c6df4a212f2f27bb39 (diff)
downloadpinussy-33af90c9cebe74d2ded38abdec1d6739ed91e6c6.tar.gz
pinussy-33af90c9cebe74d2ded38abdec1d6739ed91e6c6.tar.bz2
pinussy-33af90c9cebe74d2ded38abdec1d6739ed91e6c6.zip
-rw-r--r--migrations/20231003193749_pinussy.sql1
-rw-r--r--src/pins.rs1
-rw-r--r--templates/base.rs.html1
3 files changed, 2 insertions, 1 deletions
diff --git a/migrations/20231003193749_pinussy.sql b/migrations/20231003193749_pinussy.sql
index 4ac7474..701d0c6 100644
--- a/migrations/20231003193749_pinussy.sql
+++ b/migrations/20231003193749_pinussy.sql
@@ -39,7 +39,6 @@ create table board_ownership (
create table pins (
id uuid primary key default gen_random_uuid(),
- idname varchar(256),
subject varchar(256),
notes text,
privacy privacy
diff --git a/src/pins.rs b/src/pins.rs
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/src/pins.rs
@@ -0,0 +1 @@
+
diff --git a/templates/base.rs.html b/templates/base.rs.html
index 434eb47..84d6a32 100644
--- a/templates/base.rs.html
+++ b/templates/base.rs.html
@@ -16,6 +16,7 @@
<body>
<nav>
@if let Some(username) = user {
+ <a href="/pin/new">create pin</a>
<form action="/logout" method="post">
<button type="submit">logout @username</button>
</form>