mirror of
https://github.com/rustfs/console.git
synced 2026-09-19 01:47:44 +08:00
pref: remove refresh button,change create button place 。rustfs/s3-rustfs#268 rustfs/s3-rustfs#266
This commit is contained in:
+21
-22
@@ -4,28 +4,7 @@
|
||||
<template #title>
|
||||
<h1 class="text-2xl font-bold">访问密钥</h1>
|
||||
</template>
|
||||
<template #actions>
|
||||
<NFlex>
|
||||
<NButton :disabled="!checkedKeys.length" secondary @click="deleteByList">
|
||||
<template #icon>
|
||||
<Icon name="ri:delete-bin-5-line"></Icon>
|
||||
</template>
|
||||
删除选中项
|
||||
</NButton>
|
||||
<!-- <NButton secondary @click="changePassword">
|
||||
<template #icon>
|
||||
<Icon name="ri:key-2-line"></Icon>
|
||||
</template>
|
||||
修改秘钥
|
||||
</NButton> -->
|
||||
<NButton secondary @click="addItem">
|
||||
<template #icon>
|
||||
<Icon name="ri:add-line"></Icon>
|
||||
</template>
|
||||
新增访问秘钥
|
||||
</NButton>
|
||||
</NFlex>
|
||||
</template>
|
||||
<template #actions></template>
|
||||
</page-header>
|
||||
|
||||
<page-content>
|
||||
@@ -38,6 +17,26 @@
|
||||
<Icon name="ri:refresh-line" class="mr-2" />
|
||||
<span>刷新</span>
|
||||
</n-button> -->
|
||||
<NFlex>
|
||||
<NButton :disabled="!checkedKeys.length" secondary @click="deleteByList">
|
||||
<template #icon>
|
||||
<Icon name="ri:delete-bin-5-line"></Icon>
|
||||
</template>
|
||||
删除选中项
|
||||
</NButton>
|
||||
<!-- <NButton secondary @click="changePassword">
|
||||
<template #icon>
|
||||
<Icon name="ri:key-2-line"></Icon>
|
||||
</template>
|
||||
修改秘钥
|
||||
</NButton> -->
|
||||
<NButton secondary @click="addItem">
|
||||
<template #icon>
|
||||
<Icon name="ri:add-line"></Icon>
|
||||
</template>
|
||||
新增访问秘钥
|
||||
</NButton>
|
||||
</NFlex>
|
||||
</n-flex>
|
||||
</n-form>
|
||||
|
||||
|
||||
@@ -4,12 +4,6 @@
|
||||
<template #title>
|
||||
<h1 class="text-2xl font-bold">桶</h1>
|
||||
</template>
|
||||
<template #actions>
|
||||
<n-button @click="() => (formVisible = true)">
|
||||
<Icon name="ri:add-line" class="mr-2" />
|
||||
<span>创建桶</span>
|
||||
</n-button>
|
||||
</template>
|
||||
</page-header>
|
||||
<page-content class="flex flex-col gap-4">
|
||||
<div class="flex items-center justify-between">
|
||||
@@ -20,12 +14,16 @@
|
||||
</template>
|
||||
</n-input>
|
||||
</div>
|
||||
<!-- <div class="flex items-center gap-4">
|
||||
<n-button @click="async () => refresh()">
|
||||
<div class="flex items-center gap-4">
|
||||
<!-- <n-button @click="async () => refresh()">
|
||||
<Icon name="ri:refresh-line" class="mr-2" />
|
||||
<span>刷新</span>
|
||||
</n-button> -->
|
||||
<n-button @click="() => (formVisible = true)">
|
||||
<Icon name="ri:add-line" class="mr-2" />
|
||||
<span>创建桶</span>
|
||||
</n-button>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<n-data-table
|
||||
class="border dark:border-neutral-700 rounded overflow-hidden"
|
||||
|
||||
@@ -4,12 +4,6 @@
|
||||
<template #title>
|
||||
<h1 class="text-2xl font-bold">IAM 策略</h1>
|
||||
</template>
|
||||
<template #actions>
|
||||
<n-button @click="handleNew">
|
||||
<Icon name="ri:add-line" class="mr-2" />
|
||||
<span>创建策略</span>
|
||||
</n-button>
|
||||
</template>
|
||||
</page-header>
|
||||
<page-content class="flex flex-col gap-4">
|
||||
<div class="flex items-center justify-between">
|
||||
@@ -20,12 +14,16 @@
|
||||
</template>
|
||||
</n-input>
|
||||
</div>
|
||||
<!-- <div class="flex items-center gap-4">
|
||||
<n-button @click="() => refresh()">
|
||||
<div class="flex items-center gap-4">
|
||||
<!-- <n-button @click="() => refresh()">
|
||||
<Icon name="ri:refresh-line" class="mr-2" />
|
||||
<span>刷新</span>
|
||||
</n-button> -->
|
||||
<n-button @click="handleNew">
|
||||
<Icon name="ri:add-line" class="mr-2" />
|
||||
<span>新建策略</span>
|
||||
</n-button>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<n-data-table
|
||||
ref="tableRef"
|
||||
|
||||
Reference in New Issue
Block a user