-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
problem: identity tree modals not working
- Loading branch information
1 parent
7c14bb0
commit 6fa15bd
Showing
5 changed files
with
54 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<script lang="ts"> | ||
import { | ||
Button, | ||
Modal | ||
} from "carbon-components-svelte"; | ||
import { User } from "carbon-pictograms-svelte"; | ||
let formOpen = false | ||
</script> | ||
|
||
<Button | ||
size="small" | ||
icon={User} | ||
on:click={() => { | ||
formOpen = true; | ||
}}>Request to Join</Button> | ||
|
||
<Modal | ||
bind:open={formOpen} | ||
primaryButtonIcon={User} | ||
selectorPrimaryFocus=".bx--text-input" | ||
modalHeading="Request to Join" | ||
primaryButtonText = "OK" | ||
on:submit={() => {formOpen=false}} | ||
> | ||
Someone who's already in Nostrocket needs to vouch for you and add you to the Identity Tree. If you know anyone listed here, tag them in a note and ask them to add you. | ||
|
||
</Modal> |
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