Compare commits
4 Commits
31f0ea8e0d
...
e4dd6f8bcf
Author | SHA1 | Date | |
---|---|---|---|
e4dd6f8bcf | |||
9954d26afc | |||
a727f59503 | |||
4cb14b6b7f |
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
/node_modules/
|
||||
/public/build/
|
||||
|
||||
.DS_Store
|
@ -2,19 +2,6 @@
|
||||
|
||||
export let name;
|
||||
|
||||
import { Styles,
|
||||
Container,
|
||||
Row,
|
||||
Col,
|
||||
Card, CardBody, CardHeader, CardTitle,
|
||||
Button,
|
||||
Tooltip,
|
||||
Icon,
|
||||
InputGroup,
|
||||
Nav, NavItem, NavLink,
|
||||
Modal, ModalHeader, ModalBody, ModalFooter,
|
||||
} from 'sveltestrap';
|
||||
|
||||
import SiteHead from './SiteHead.svelte';
|
||||
import SiteCard from './SiteCard.svelte';
|
||||
import SiteDeck from './SiteDeck.svelte';
|
||||
@ -229,5 +216,3 @@
|
||||
</SiteDeck>
|
||||
|
||||
<PayFlow bind:lnurl={getInvoiceFor}/>
|
||||
|
||||
<!-- <Styles/> -->
|
||||
|
@ -1,15 +1,5 @@
|
||||
<script>
|
||||
import { Styles,
|
||||
Container,
|
||||
Row,
|
||||
Col,
|
||||
Card, CardBody, CardHeader, CardTitle,
|
||||
Button,
|
||||
Tooltip,
|
||||
Icon,
|
||||
InputGroup,
|
||||
Input,
|
||||
Nav, NavItem, NavLink,
|
||||
import {
|
||||
Modal, ModalHeader, ModalBody, ModalFooter,
|
||||
} from 'sveltestrap';
|
||||
|
||||
@ -88,9 +78,14 @@
|
||||
}
|
||||
const canShare = !!navigator.share;
|
||||
|
||||
const dismiss = () => {
|
||||
lnurl=undefined;
|
||||
isOpen=false
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<Modal {isOpen} size='lg'>
|
||||
<Modal {isOpen} toggle={dismiss} size='lg'>
|
||||
<ModalHeader>BOLT11 invoice: {stage}</ModalHeader>
|
||||
<ModalBody>
|
||||
{#if confirmAmount}
|
||||
@ -163,8 +158,7 @@
|
||||
{/if}
|
||||
<button
|
||||
class="btn btn-outline-primary"
|
||||
type="button" on:click="{()=>{isOpen=false; lnurl = null}}">Cancel</button>
|
||||
type="button" on:click="{dismiss}">Cancel</button>
|
||||
</div>
|
||||
|
||||
</ModalFooter>
|
||||
</Modal>
|
||||
|
Loading…
Reference in New Issue
Block a user