REST Service for POPCORN - ILIAS
alex
2025-06-06 9c51cd91ccf824342963491faeb435aa1ddeb22f
adding search
2 files modified
23 ■■■■■ changed files
vue/src/components/Pagination.vue 6 ●●●● patch | view | raw | blame | history
vue/src/pages/Users.vue 17 ●●●●● patch | view | raw | blame | history
vue/src/components/Pagination.vue
@@ -133,7 +133,6 @@
   display flex;
   flex-direction column
   align-items center;
   margin -1em 0 1em 0;
.pagination-buttons
   font-size 1.33rem
   display flex;
@@ -161,6 +160,11 @@
   //all: unset
   border none
   width 1em
input[type=button]
   color rgb(0,0,238)
   cursor pointer;
   &:hover
      background-color #ddd;
button
vue/src/pages/Users.vue
@@ -51,7 +51,13 @@
      <div class="users">
         <div class="users-header">
            <div class="search">
               Search
               <input type="text" size="30">
            </div>
         <Pagination :offset="users.offset" :limit="users.limit" :total="users.total" @go="go" />
         </div>
         <table class="w100p">
            <thead>
@@ -90,6 +96,15 @@
</template>
<style scoped>
<style scoped lang="stylus">
.users-header
   display flex;
   align-items center
   justify-content space-around
   margin-bottom 1em;
   margin-top -.5em;
   border 1px dotted #ccc
   background-color #eee;
</style>