diff options
| author | Zephyrrus <[email protected]> | 2020-06-29 20:02:47 +0300 |
|---|---|---|
| committer | Zephyrrus <[email protected]> | 2020-06-29 20:02:47 +0300 |
| commit | ac037c773ef5f15372c6999445a2efe00034c0c0 (patch) | |
| tree | 94ff8cfad575421add06834100a2343eba6a3f73 /src/site/pages/dashboard/admin/user/_id.vue | |
| parent | misc: remove patreon. sorry. (diff) | |
| download | host.fuwn.me-ac037c773ef5f15372c6999445a2efe00034c0c0.tar.xz host.fuwn.me-ac037c773ef5f15372c6999445a2efe00034c0c0.zip | |
fix: Remove hero and hero body and use sections and containers instead
Hero is meant to be used as a full-width banner to showcare or present somethign, not to contain the entire content of the webpage
Diffstat (limited to 'src/site/pages/dashboard/admin/user/_id.vue')
| -rw-r--r-- | src/site/pages/dashboard/admin/user/_id.vue | 72 |
1 files changed, 35 insertions, 37 deletions
diff --git a/src/site/pages/dashboard/admin/user/_id.vue b/src/site/pages/dashboard/admin/user/_id.vue index 7703b1c..2a56c34 100644 --- a/src/site/pages/dashboard/admin/user/_id.vue +++ b/src/site/pages/dashboard/admin/user/_id.vue @@ -2,50 +2,48 @@ .underline { text-decoration: underline; } </style> <template> - <section class="hero is-fullheight dashboard"> - <div class="hero-body"> - <div class="container"> - <div class="columns"> - <div class="column is-narrow"> - <Sidebar /> - </div> - <div class="column"> - <h2 class="subtitle">User details</h2> - <hr> - - <b-field label="User Id" - horizontal> - <span>{{ user.id }}</span> - </b-field> + <section class="section is-fullheight dashboard"> + <div class="container"> + <div class="columns"> + <div class="column is-narrow"> + <Sidebar /> + </div> + <div class="column"> + <h2 class="subtitle">User details</h2> + <hr> - <b-field label="Username" - horizontal> - <span>{{ user.username }}</span> - </b-field> + <b-field label="User Id" + horizontal> + <span>{{ user.id }}</span> + </b-field> - <b-field label="Enabled" - horizontal> - <span>{{ user.enabled }}</span> - </b-field> + <b-field label="Username" + horizontal> + <span>{{ user.username }}</span> + </b-field> - <b-field label="Registered" - horizontal> - <span><timeago :since="user.createdAt" /></span> - </b-field> + <b-field label="Enabled" + horizontal> + <span>{{ user.enabled }}</span> + </b-field> - <b-field label="Files" - horizontal> - <span>{{ files.length }}</span> - </b-field> + <b-field label="Registered" + horizontal> + <span><timeago :since="user.createdAt" /></span> + </b-field> - <div class="mb2 mt2 text-center"> - <button class="button is-danger" - @click="promptDisableUser">Disable user</button> - </div> + <b-field label="Files" + horizontal> + <span>{{ files.length }}</span> + </b-field> - <Grid v-if="files.length" - :files="files" /> + <div class="mb2 mt2 text-center"> + <button class="button is-danger" + @click="promptDisableUser">Disable user</button> </div> + + <Grid v-if="files.length" + :files="files" /> </div> </div> </div> |