adding page UserDetail.vue
| | |
| | | } |
| | | |
| | | header |
| | | background-color #777; |
| | | position fixed; |
| | | top 0 |
| | | left 0 |
| | | right 0 |
| | | padding .5em; |
| | | |
| | | main |
| | | margin 0 auto |
| | |
| | | grid-template-columns 10rem 20rem 10rem 20rem |
| | | gap .5em |
| | | &>span |
| | | font-variant all-small-caps |
| | | font-variant small-caps |
| | | color #555 |
| | | |
| | | |
| | | .w100p |
| | | width 100%; |
| | |
| | | <template> |
| | | |
| | | <div class="header"> |
| | | header |
| | | <div>Globus-ILIAS-REST</div> |
| | | <div>|</div> |
| | | <RouterLink :to="`/ui/users`">Users</RouterLink> |
| | | <RouterLink :to="`/ui/course`">Courses</RouterLink> |
| | | </div> |
| | | |
| | | </template> |
| | | |
| | | <style scoped> |
| | | <style scoped lang="stylus"> |
| | | |
| | | .header |
| | | color #ccc |
| | | background-color #555 |
| | | padding .33em .66em |
| | | display flex; |
| | | gap 1em |
| | | |
| | | a |
| | | color #ddd |
| | | text-decoration none; |
| | | &:hover |
| | | color #eee |
| | | |
| | | </style> |
| | |
| | | <p>{{ userId }}</p> |
| | | <p v-if="error">{{ error }}</p> |
| | | |
| | | <div class="user"> |
| | | <div class="users"> |
| | | |
| | | |
| | | |
| | | <table class=""> |
| | | <table class="w100p"> |
| | | <thead> |
| | | <tr> |
| | | <th>usr_id</th> |
| | |
| | | <th>firstname</th> |
| | | <th>lastname</th> |
| | | <th>gender</th> |
| | | <th>email</th> |
| | | <!-- <th>email</th>--> |
| | | <th>institution</th> |
| | | <th>department</th> |
| | | </tr> |
| | |
| | | <td>{{user.firstname}}</td> |
| | | <td>{{user.lastname}}</td> |
| | | <td>{{user.gender}}</td> |
| | | <td>{{user.email}}</td> |
| | | <!-- <td>{{ user.email}}</td>--> |
| | | <td>{{user.institution}}</td> |
| | | <td>{{user.department}}</td> |
| | | </tr> |