Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New "Add item" button at top of wishlist page #148

Merged
merged 12 commits into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ Hi, I'm Wingy. I made this app. My website is [samwing.dev](https://samwing.dev)
<table>
<tr>
<td align="center">
<a href="https://github.com/Wingysam">
<img src="https://avatars.githubusercontent.com/u/18403742?v=4" width="100;" alt="Wingysam"/>
<a href="https://github.com/cj13579">
<img src="https://avatars.githubusercontent.com/u/1965454?v=4" width="100;" alt="cj13579"/>
<br />
<sub><b>Wingysam</b></sub>
<sub><b>cj13579</b></sub>
</a>
</td></tr>
</table>
Expand Down
9 changes: 8 additions & 1 deletion src/views/wishlist.pug
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ block title
i.fas.fa-sync-alt
.level-item
span= lang('WISHLIST_TITLE', name)
.level-right
.level-item
a(href="#addWishlistItem").button.button.is-primary.is-rounded
span.icon
i.fas.fa-plus
|&nbsp;&nbsp;Add Item
cj13579 marked this conversation as resolved.
Show resolved Hide resolved


block content
script(type='data/user_id')= req.user._id
Expand Down Expand Up @@ -255,7 +262,7 @@ block content
.field.inline
.control.inline
input.inline.button(type='submit' value=lang('WISHLIST_MOVE_ITEM_BOTTOM'))
form(method='POST')
form(method='POST')#addWishlistItem
.field
label.label!=lang('WISHLIST_URL_LABEL')
.control.has-icons-left
Expand Down