h1.title Admins
.columns
    .column
        .card
            .card-header
                p.card-header-title Create or modify user
            .card-content
                .field
                    label.label Username
                    .control
                        input.input(type="text" v-model="admin.new_user")
                .field
                    label.label Password
                    .control
                        input.input(type="password" v-model="admin.new_pass")

                .field
                    .control
                        button.button.is-primary(@click="admin_create") Submit
    .column
        table.table.is-striped.is-hoverable.is-fullwidth
            thead
                tr
                    th Username
                    th Actions
            tbody
                tr(v-for="admin in config.admins")
                    td {{ admin }}
                    td
                        a.button.is-danger(@click="admin_delete(admin)") Delete
