некоторые улучшения
Gitea Actions Demo / build_and_push (push) Successful in 47s Details

This commit is contained in:
artem 2026-09-12 09:56:06 +03:00
parent 17120b4852
commit 43354ecaed
7 changed files with 93 additions and 28 deletions

View File

@ -147,5 +147,15 @@
"aboutVuesticAdmin": "Sobre Vuestic Admin",
"search": {
"placeholder": "Buscar..."
},
"vuestic": {
"search": "Pesquisar",
"noOptions": "Itens não encontrados",
"ok": "OK",
"cancel": "Cancelar",
"uploadFile": "Enviar arquivo",
"undo": "Desfazer",
"dropzone": "Arraste arquivos aqui para enviar",
"fileDeleted": "Arquivo excluído"
}
}

View File

@ -180,5 +180,15 @@
"aboutVuesticAdmin": "关于 Vuestic Admin",
"search": {
"placeholder": "搜索..."
},
"vuestic": {
"search": "搜索",
"noOptions": "未找到项目",
"ok": "好",
"cancel": "取消",
"uploadFile": "上传文件",
"undo": "撤销",
"dropzone": "将文件拖放到此处进行上传",
"fileDeleted": "文件已删除"
}
}

View File

@ -136,5 +136,15 @@
"aboutVuesticAdmin": "Acerca de Vuestic Admin",
"search": {
"placeholder": "Buscar..."
},
"vuestic": {
"search": "Buscar",
"noOptions": "No se encontraron elementos",
"ok": "OK",
"cancel": "Cancelar",
"uploadFile": "Subir archivo",
"undo": "Deshacer",
"dropzone": "Arrastra archivos aquí para subir",
"fileDeleted": "Archivo eliminado"
}
}

View File

@ -173,5 +173,15 @@
"buttonSelect": {
"dark": "Dark",
"light": "Light"
},
"vuestic": {
"search": "Search",
"noOptions": "Items not found",
"ok": "OK",
"cancel": "Cancel",
"uploadFile": "Upload file",
"undo": "Undo",
"dropzone": "Drop files here to upload",
"fileDeleted": "File deleted"
}
}

View File

@ -188,5 +188,15 @@
"aboutVuesticAdmin": "درباره Vuestic Admin",
"search": {
"placeholder": "جستجو..."
},
"vuestic": {
"search": "جستجو",
"noOptions": "موردی یافت نشد",
"ok": "تأیید",
"cancel": "لغو",
"uploadFile": "بارگذاری فایل",
"undo": "واگرد",
"dropzone": "فایل‌ها را برای بارگذاری اینجا رها کنید",
"fileDeleted": "فایل حذف شد"
}
}

View File

@ -177,5 +177,15 @@
"buttonSelect": {
"dark": "Dark",
"light": "Light"
},
"vuestic": {
"search": "Поиск",
"noOptions": "Элементы не найдены",
"ok": "ОК",
"cancel": "Отмена",
"uploadFile": "Выбрать файл",
"undo": "Отменить",
"dropzone": "Перетащите файл сюда для загрузки",
"fileDeleted": "Файл удалён"
}
}

View File

@ -174,32 +174,35 @@
</div>
</div>
</div>
<VaButton
v-on:click="resetChartZoom()"
preset="secondary"
color="textPrimary"
id="zoom-botton"
>
<VaZoomOut />
</VaButton>
<div id="x-axis-switcher">
<div class="x-axis-buttons">
<VaButton
:color="xAxisMode === 'time' ? 'primary' : 'textPrimary'"
:flat="xAxisMode === 'time'"
preset="secondary"
size="small"
@click="switchXAxis('time')"
>
Время
</VaButton>
<VaButton
:color="xAxisMode === 'distance' ? 'primary' : 'textPrimary'"
:flat="xAxisMode === 'distance'"
preset="secondary"
size="small"
@click="switchXAxis('distance')"
>
Дистанция
</VaButton>
</div>
<VaButton
:color="xAxisMode === 'time' ? 'primary' : 'textPrimary'"
:flat="xAxisMode === 'time'"
v-on:click="resetChartZoom()"
preset="secondary"
color="textPrimary"
size="small"
@click="switchXAxis('time')"
id="zoom-botton"
>
Время
</VaButton>
<VaButton
:color="xAxisMode === 'distance' ? 'primary' : 'textPrimary'"
:flat="xAxisMode === 'distance'"
preset="secondary"
size="small"
@click="switchXAxis('distance')"
>
Дистанция
<VaZoomOut />
</VaButton>
</div>
<div id="workout-charts" v-if="chartConfigs.length > 0">
@ -651,6 +654,9 @@ const buildChartOptions = (
maintainAspectRatio: false,
scales: scales,
plugins: {
legend: {
display: false,
},
tooltip: {
enabled: true,
intersect: false,
@ -1040,12 +1046,6 @@ const resetChartZoom = () => {
</script>
<style>
#zoom-botton {
display: block;
margin-top: 20px;
margin-bottom: -35px;
}
#workout-container {
display: flex;
width: 100%;
@ -1122,9 +1122,14 @@ h3 {
#x-axis-switcher {
width: 100%;
display: flex;
gap: 8px;
justify-content: space-between;
align-items: center;
margin-top: 20px;
}
.x-axis-buttons {
display: flex;
gap: 8px;
}
#workout-charts {
width: 100%;
display: flex;