浏览代码

modify multi templete problem

tomoya 2 年之前
父节点
当前提交
b500f8afb8
共有 1 个文件被更改,包括 0 次插入32 次删除
  1. 0 32
      frontend/src/views/main/Progress.vue

+ 0 - 32
frontend/src/views/main/Progress.vue

@@ -1,29 +1,3 @@
-<template>
-  <div>
-    <v-toolbar light>
-      <v-toolbar-title>
-        Manage Users
-      </v-toolbar-title>
-      <v-spacer></v-spacer>
-      <v-btn color="primary" to="/main/admin/users/create">Create User</v-btn>
-    </v-toolbar>
-    <v-data-table :headers="headers" :items="videos">
-      
-      <template v-slot:item.is_active="{ item }">
-        <v-icon v-if=item.columns.is_active icon="check"/>
-      </template>
-      <template v-slot:item.is_superuser="{ item }">
-        <v-icon v-if=item.columns.is_superuser icon="check"/>
-      </template>
-      <template v-slot:item.id="{ item }">
-        <v-btn flat :to="{name: 'main-admin-users-edit', params: {id: item.columns.id}}">
-          <v-icon icon="download"/>
-          <v-tooltip location="top" activator="parent">Edit</v-tooltip>
-        </v-btn>
-      </template>
-    </v-data-table>
-  </div>
-</template>
 <script setup lang="ts">
 import { useMainStore } from "@/stores/main";
 import { storeToRefs } from "pinia";
@@ -66,12 +40,6 @@ onMounted(async () => {
       </v-toolbar-title>
     </v-toolbar>
     <v-data-table :headers="headers" :items="videos">
-      <!-- <template v-slot:item.is_active="{ item }">
-        <v-icon v-if="item.columns.is_active" icon="check" />
-      </template>
-      <template v-slot:item.is_superuser="{ item }">
-        <v-icon v-if="item.columns.is_superuser" icon="check" />
-      </template> -->
       <template v-slot:item.id="{ item }">
         <v-btn
           flat