From deeadb4af6d1fa03ba0a90c7ba1d48339b3528ba Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Tue, 29 Nov 2022 20:47:23 -0700 Subject: [PATCH] fmt --- queries.sql | 15 ++++++++++++--- templates/main.html | 3 ++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/queries.sql b/queries.sql index a6c3c8b..fa720e6 100644 --- a/queries.sql +++ b/queries.sql @@ -21,7 +21,10 @@ insert into watch_items (owner_id, name, repo, descr) values (?, ?, ?, ?) returning *; -- name: DeleteWatchItem :exec -delete from watch_items where id = ? and owner_id = ?; +delete +from watch_items +where id = ? + and owner_id = ?; -- name: GetAllLinks :many select * @@ -33,7 +36,10 @@ insert into links (owner_id, url, name, logo_url) values (?, ?, ?, ?) returning *; -- name: DeleteLink :exec -delete from links where id = ? and owner_id = ?; +delete +from links +where id = ? + and owner_id = ?; -- name: GetAllIcons :many select * @@ -57,7 +63,10 @@ insert into pull_requests (owner_id, number, repo, description) values (?, ?, ?, ?) returning *; -- name: DeletePullRequest :exec -delete from pull_requests where id = ? and owner_id = ?; +delete +from pull_requests +where id = ? + and owner_id = ?; -- name: GetAllPullRequestIgnores :many select * diff --git a/templates/main.html b/templates/main.html index 86eb2d0..9c9a9c7 100644 --- a/templates/main.html +++ b/templates/main.html @@ -19,6 +19,7 @@ width: 50px; hight: 50px; } + dialog { display: none; } @@ -58,7 +59,7 @@

Add Watch Item

- +