mirror of
https://github.com/timvisee/send.git
synced 2026-04-25 22:47:23 -04:00
stubbed in modal dialog
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const html = require('choo/html');
|
||||
|
||||
module.exports = function(message) {
|
||||
return function(state, close) {
|
||||
return html`
|
||||
<div class="okDialog">
|
||||
<div class="okDialog__message">${message}</div>
|
||||
<button class="btn" onclick=${close}>${state.translate(
|
||||
'okButton'
|
||||
)}</button>
|
||||
</div>`;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,11 @@
|
||||
.okDialog {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100px;
|
||||
font-weight: 400;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.okDialog__message {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user