-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
22 changed files
with
113 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ The click to edit pattern provides a way to offer inline editing of all or part | |
<div><label>First Name</label>: Joe</div> | ||
<div><label>Last Name</label>: Blow</div> | ||
<div><label>Email</label>: [email protected]</div> | ||
<button hx-get="/contact/1/edit" class="btn btn-primary"> | ||
<button hx-get="/contact/1/edit" class="btn primary"> | ||
Click To Edit | ||
</button> | ||
</div> | ||
|
@@ -96,7 +96,7 @@ return `<form hx-put="/contact/1" hx-target="this" hx-swap="outerHTML"> | |
<div><label>First Name</label>: ${contact.firstName}</div> | ||
<div><label>Last Name</label>: ${contact.lastName}</div> | ||
<div><label>Email Address</label>: ${contact.email}</div> | ||
<button hx-get="/contact/1/edit" class="btn btn-primary"> | ||
<button hx-get="/contact/1/edit" class="btn primary"> | ||
Click To Edit | ||
</button> | ||
</div>`; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ row should be replaced with nothing. | |
<td>[email protected]</td> | ||
<td>Active</td> | ||
<td> | ||
<button class="btn btn-danger" hx-delete="/contact/1"> | ||
<button class="btn danger" hx-delete="/contact/1"> | ||
Delete | ||
</button> | ||
</td> | ||
|
@@ -108,7 +108,7 @@ tr.htmx-swapping td { | |
<td>${contact["email"]}</td> | ||
<td>${contact["status"]}</td> | ||
<td> | ||
<button class="btn btn-danger" hx-delete="/contact/${i}"> | ||
<button class="btn danger" hx-delete="/contact/${i}"> | ||
Delete | ||
</button> | ||
</td> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.