removed old ui

This commit is contained in:
Danny Coates 2018-10-24 19:32:53 -07:00
parent f0cfc19f8c
commit 7838ad586d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
67 changed files with 17 additions and 2816 deletions

13
app/ui/okDialog.js Normal file
View file

@ -0,0 +1,13 @@
const html = require('choo/html');
module.exports = function(message) {
return function(state, emit, close) {
return html`
<div class="flex flex-col max-w-xs p-4">
<div class="text-center m-8">${message}</div>
<button class="border rounded bg-blue text-white leading-loose w-full" onclick=${close}>${state.translate(
'okButton'
)}</button>
</div>`;
};
};