diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts
index 58fd4945..7af04a65 100644
--- a/src/locales/lang/en.ts
+++ b/src/locales/lang/en.ts
@@ -152,6 +152,7 @@ const msg = {
text: "Text",
query: "Query",
postgreSQL: "PostgreSQL",
+ endpointTips: "The table shows up to 20 pieces of endpoints.",
seconds: "Seconds",
hourTip: "Select Hour",
minuteTip: "Select Minute",
diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts
index 0b167791..136cd56f 100644
--- a/src/locales/lang/es.ts
+++ b/src/locales/lang/es.ts
@@ -152,6 +152,7 @@ const msg = {
enableAssociate: "Activar asociación",
query: "Consulta",
postgreSQL: "PostgreSQL",
+ endpointTips: "Aquí, la tabla muestra hasta 20 punto final.",
seconds: "Segundos",
hourTip: "Seleccione Hora",
minuteTip: "Seleccione Minuto",
diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts
index e180079a..e0f50e98 100644
--- a/src/locales/lang/zh.ts
+++ b/src/locales/lang/zh.ts
@@ -149,6 +149,7 @@ const msg = {
text: "文本",
query: "查询",
postgreSQL: "PostgreSQL",
+ endpointTips: "这里最多展示20条endpoints。",
seconds: "秒",
hourTip: "选择小时",
minuteTip: "选择分钟",
diff --git a/src/views/dashboard/graphs/EndpointList.vue b/src/views/dashboard/graphs/EndpointList.vue
index 2967a567..c4654b22 100644
--- a/src/views/dashboard/graphs/EndpointList.vue
+++ b/src/views/dashboard/graphs/EndpointList.vue
@@ -17,17 +17,17 @@ limitations under the License. -->
-
-
+
+
+ {{ t("endpointTips") }}
@@ -56,6 +56,7 @@ limitations under the License. -->
import { ref, watch, computed } from "vue";
import { useSelectorStore } from "@/store/modules/selectors";
import { ElMessage } from "element-plus";
+import { useI18n } from "vue-i18n";
import type { PropType } from "vue";
import { EndpointListConfig } from "@/types/dashboard";
import { Endpoint } from "@/types/selector";
@@ -92,6 +93,7 @@ const props = defineProps({
intervalTime: { type: Array as PropType, default: () => [] },
});
+const { t } = useI18n();
const selectorStore = useSelectorStore();
const dashboardStore = useDashboardStore();
const chartLoading = ref(false);
@@ -191,11 +193,7 @@ watch(
diff --git a/src/views/dashboard/graphs/InstanceList.vue b/src/views/dashboard/graphs/InstanceList.vue
index 412973ca..04ae5412 100644
--- a/src/views/dashboard/graphs/InstanceList.vue
+++ b/src/views/dashboard/graphs/InstanceList.vue
@@ -18,12 +18,11 @@ limitations under the License. -->
-
+
@@ -243,14 +242,6 @@ watch(
diff --git a/src/views/dashboard/graphs/style.scss b/src/views/dashboard/graphs/style.scss
index a1b83a93..261abc2f 100644
--- a/src/views/dashboard/graphs/style.scss
+++ b/src/views/dashboard/graphs/style.scss
@@ -23,6 +23,7 @@
.list {
margin-top: 10px;
margin-bottom: 10px;
+ height: calc(100% - 90px);
}
.pagination {
@@ -40,9 +41,21 @@
}
.search {
- text-align: right;
+ margin-top: 5px;
}
.input-with-search {
width: 400px;
}
+
+.btn {
+ margin-top: -12px;
+}
+
+.chart {
+ height: 60px;
+}
+
+.inputs {
+ width: 300px;
+}