mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-15 01:33:54 +00:00
finding loader
This commit is contained in:
parent
2b1ad1feaa
commit
5d4c80f558
@ -10,22 +10,37 @@
|
|||||||
class="red mr-5 sm"
|
class="red mr-5 sm"
|
||||||
/>
|
/>
|
||||||
<div class="trace-log-btn">
|
<div class="trace-log-btn">
|
||||||
|
<el-tooltip
|
||||||
|
class="box-item"
|
||||||
|
effect="dark"
|
||||||
|
content="Back"
|
||||||
|
placement="bottom-start"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
class="mr-10"
|
class="mr-10 filter-btn"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="showTraceList"
|
@click="showTraceList"
|
||||||
>
|
>
|
||||||
{{ t("back") }}
|
<Icon iconSize="sm" iconName="chevron-left" />
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
|
|
||||||
|
<el-tooltip
|
||||||
|
class="box-item"
|
||||||
|
effect="dark"
|
||||||
|
:content="t('viewLogs')"
|
||||||
|
placement="bottom-start"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
size="small"
|
size="small"
|
||||||
class="mr-10"
|
class="mr-10 filter-btn"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="searchTraceLogs"
|
@click="searchTraceLogs"
|
||||||
>
|
>
|
||||||
{{ t("viewLogs") }}
|
<Icon iconSize="sm" iconName="folder_open" />
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-model="showTraceLogs"
|
v-model="showTraceLogs"
|
||||||
@ -75,46 +90,72 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex-h item">
|
<div class="flex-h item">
|
||||||
<div>
|
<div>
|
||||||
|
<el-tooltip
|
||||||
|
class="box-item"
|
||||||
|
effect="dark"
|
||||||
|
:content="t('list')"
|
||||||
|
placement="bottom-start"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
class="grey"
|
class="filter-btn"
|
||||||
size="small"
|
size="small"
|
||||||
:class="{ ghost: displayMode !== 'List' }"
|
:class="{ ghost: displayMode === 'List' }"
|
||||||
@click="changeDisplayMode('List')"
|
@click="changeDisplayMode('List')"
|
||||||
>
|
>
|
||||||
<Icon class="mr-5" size="sm" iconName="list-bulleted" />
|
<Icon class="mr-5" size="sm" iconName="list-bulleted" />
|
||||||
{{ t("list") }}
|
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
|
|
||||||
|
<el-tooltip
|
||||||
|
class="box-item"
|
||||||
|
effect="dark"
|
||||||
|
:content="t('tree')"
|
||||||
|
placement="bottom-start"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
class="grey"
|
class="filter-btn"
|
||||||
size="small"
|
size="small"
|
||||||
:class="{ ghost: displayMode !== 'Tree' }"
|
:class="{ ghost: displayMode === 'Tree' }"
|
||||||
@click="changeDisplayMode('Tree')"
|
@click="changeDisplayMode('Tree')"
|
||||||
>
|
>
|
||||||
<Icon class="mr-5" size="sm" iconName="issue-child" />
|
<Icon class="mr-5" size="sm" iconName="issue-child" />
|
||||||
{{ t("tree") }}
|
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
|
|
||||||
|
<el-tooltip
|
||||||
|
class="box-item"
|
||||||
|
effect="dark"
|
||||||
|
:content="t('table')"
|
||||||
|
placement="bottom-start"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
class="grey"
|
class="filter-btn"
|
||||||
size="small"
|
size="small"
|
||||||
:class="{ ghost: displayMode !== 'Table' }"
|
:class="{ ghost: displayMode === 'Table' }"
|
||||||
@click="changeDisplayMode('Table')"
|
@click="changeDisplayMode('Table')"
|
||||||
>
|
>
|
||||||
<Icon class="mr-5" size="sm" iconName="table" />
|
<Icon class="mr-5" size="sm" iconName="table" />
|
||||||
{{ t("table") }}
|
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
|
<el-tooltip
|
||||||
|
class="box-item"
|
||||||
|
effect="dark"
|
||||||
|
:content="t('statistics')"
|
||||||
|
placement="bottom-start"
|
||||||
|
>
|
||||||
<el-button
|
<el-button
|
||||||
class="grey"
|
class="filter-btn"
|
||||||
size="small"
|
size="small"
|
||||||
:class="{ ghost: displayMode !== 'Statistics' }"
|
:class="{ ghost: displayMode === 'Statistics' }"
|
||||||
@click="changeDisplayMode('Statistics')"
|
@click="changeDisplayMode('Statistics')"
|
||||||
>
|
>
|
||||||
<Icon class="mr-5" size="sm" iconName="statistics-bulleted" />
|
<Icon class="mr-5" size="sm" iconName="statistics-bulleted" />
|
||||||
{{ t("statistics") }}
|
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="no-data" v-else>{{ t("noData") }}</div>
|
<div class="no-data" v-else>t("noData")</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
@ -228,9 +269,6 @@ export default defineComponent({
|
|||||||
|
|
||||||
.trace-detail-wrapper {
|
.trace-detail-wrapper {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
// padding: 5px 10px;
|
|
||||||
// height: 95px;
|
|
||||||
// border-bottom: 1px solid #eee;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -242,7 +280,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
.ghost {
|
.ghost {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background: rgba(0, 0, 0, 0.3);
|
background: rgba(4, 147, 114, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -280,4 +318,8 @@ export default defineComponent({
|
|||||||
.vm {
|
.vm {
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
.filter-btn {
|
||||||
|
height: 18px;
|
||||||
|
margin: 0 5px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -508,7 +508,7 @@ watch(
|
|||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
.active-toggle.toggle-btn {
|
.active-toggle.toggle-btn {
|
||||||
background: #276c04 !important;
|
background: rgba(4, 147, 114, 1) !important;
|
||||||
span {
|
span {
|
||||||
color: #275410 !important;
|
color: #275410 !important;
|
||||||
}
|
}
|
||||||
|
@ -363,7 +363,7 @@ watch(
|
|||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
.active-filter.filter-btn {
|
.active-filter.filter-btn {
|
||||||
background: #276c04 !important;
|
background: rgba(4, 147, 114, 1) !important;
|
||||||
span {
|
span {
|
||||||
color: #275410 !important;
|
color: #275410 !important;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user