formatting update

This commit is contained in:
Joe 2020-06-02 21:13:19 +01:00
parent b726363c34
commit 3faaf94554
1 changed files with 9 additions and 10 deletions

View File

@ -22,11 +22,11 @@
</script> </script>
<form on:submit|preventDefault class="uk-form-stacked"> <form on:submit|preventDefault class="uk-form-stacked">
<div class="main"> <div class="main">
<div class="heading"> <div class="heading">
<i class="ri-list-settings-line button--toggled" /> <i class="ri-list-settings-line button--toggled" />
<div class="title">Create User</div> <div class="title">Create User</div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="form-stacked-text">Username</label> <label class="uk-form-label" for="form-stacked-text">Username</label>
<input class="uk-input" type="text" bind:value={username} /> <input class="uk-input" type="text" bind:value={username} />
@ -45,15 +45,14 @@
</div> </div>
</div> </div>
<footer> <footer>
<div class="button"> <div class="button">
<ActionButton secondary on:click={onClosed}>Cancel</ActionButton> <ActionButton secondary on:click={onClosed}>Cancel</ActionButton>
</div> </div>
<ActionButton disabled={!valid} on:click={createUser}>Save</ActionButton> <ActionButton disabled={!valid} on:click={createUser}>Save</ActionButton>
</footer> </footer>
</form> </form>
<style> <style>
.main { .main {
padding: 40px 40px 20px 40px; padding: 40px 40px 20px 40px;
} }