некоторые улучшения
Gitea Actions Demo / build_and_push (push) Successful in 47s
Details
Gitea Actions Demo / build_and_push (push) Successful in 47s
Details
This commit is contained in:
parent
17120b4852
commit
43354ecaed
|
|
@ -147,5 +147,15 @@
|
||||||
"aboutVuesticAdmin": "Sobre Vuestic Admin",
|
"aboutVuesticAdmin": "Sobre Vuestic Admin",
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Buscar..."
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -180,5 +180,15 @@
|
||||||
"aboutVuesticAdmin": "关于 Vuestic Admin",
|
"aboutVuesticAdmin": "关于 Vuestic Admin",
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "搜索..."
|
"placeholder": "搜索..."
|
||||||
|
},
|
||||||
|
"vuestic": {
|
||||||
|
"search": "搜索",
|
||||||
|
"noOptions": "未找到项目",
|
||||||
|
"ok": "好",
|
||||||
|
"cancel": "取消",
|
||||||
|
"uploadFile": "上传文件",
|
||||||
|
"undo": "撤销",
|
||||||
|
"dropzone": "将文件拖放到此处进行上传",
|
||||||
|
"fileDeleted": "文件已删除"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -136,5 +136,15 @@
|
||||||
"aboutVuesticAdmin": "Acerca de Vuestic Admin",
|
"aboutVuesticAdmin": "Acerca de Vuestic Admin",
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "Buscar..."
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -173,5 +173,15 @@
|
||||||
"buttonSelect": {
|
"buttonSelect": {
|
||||||
"dark": "Dark",
|
"dark": "Dark",
|
||||||
"light": "Light"
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -188,5 +188,15 @@
|
||||||
"aboutVuesticAdmin": "درباره Vuestic Admin",
|
"aboutVuesticAdmin": "درباره Vuestic Admin",
|
||||||
"search": {
|
"search": {
|
||||||
"placeholder": "جستجو..."
|
"placeholder": "جستجو..."
|
||||||
|
},
|
||||||
|
"vuestic": {
|
||||||
|
"search": "جستجو",
|
||||||
|
"noOptions": "موردی یافت نشد",
|
||||||
|
"ok": "تأیید",
|
||||||
|
"cancel": "لغو",
|
||||||
|
"uploadFile": "بارگذاری فایل",
|
||||||
|
"undo": "واگرد",
|
||||||
|
"dropzone": "فایلها را برای بارگذاری اینجا رها کنید",
|
||||||
|
"fileDeleted": "فایل حذف شد"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -177,5 +177,15 @@
|
||||||
"buttonSelect": {
|
"buttonSelect": {
|
||||||
"dark": "Dark",
|
"dark": "Dark",
|
||||||
"light": "Light"
|
"light": "Light"
|
||||||
|
},
|
||||||
|
"vuestic": {
|
||||||
|
"search": "Поиск",
|
||||||
|
"noOptions": "Элементы не найдены",
|
||||||
|
"ok": "ОК",
|
||||||
|
"cancel": "Отмена",
|
||||||
|
"uploadFile": "Выбрать файл",
|
||||||
|
"undo": "Отменить",
|
||||||
|
"dropzone": "Перетащите файл сюда для загрузки",
|
||||||
|
"fileDeleted": "Файл удалён"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -174,32 +174,35 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<VaButton
|
|
||||||
v-on:click="resetChartZoom()"
|
|
||||||
preset="secondary"
|
|
||||||
color="textPrimary"
|
|
||||||
id="zoom-botton"
|
|
||||||
>
|
|
||||||
<VaZoomOut />
|
|
||||||
</VaButton>
|
|
||||||
<div id="x-axis-switcher">
|
<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
|
<VaButton
|
||||||
:color="xAxisMode === 'time' ? 'primary' : 'textPrimary'"
|
v-on:click="resetChartZoom()"
|
||||||
:flat="xAxisMode === 'time'"
|
|
||||||
preset="secondary"
|
preset="secondary"
|
||||||
|
color="textPrimary"
|
||||||
size="small"
|
size="small"
|
||||||
@click="switchXAxis('time')"
|
id="zoom-botton"
|
||||||
>
|
>
|
||||||
Время
|
<VaZoomOut />
|
||||||
</VaButton>
|
|
||||||
<VaButton
|
|
||||||
:color="xAxisMode === 'distance' ? 'primary' : 'textPrimary'"
|
|
||||||
:flat="xAxisMode === 'distance'"
|
|
||||||
preset="secondary"
|
|
||||||
size="small"
|
|
||||||
@click="switchXAxis('distance')"
|
|
||||||
>
|
|
||||||
Дистанция
|
|
||||||
</VaButton>
|
</VaButton>
|
||||||
</div>
|
</div>
|
||||||
<div id="workout-charts" v-if="chartConfigs.length > 0">
|
<div id="workout-charts" v-if="chartConfigs.length > 0">
|
||||||
|
|
@ -651,6 +654,9 @@ const buildChartOptions = (
|
||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
scales: scales,
|
scales: scales,
|
||||||
plugins: {
|
plugins: {
|
||||||
|
legend: {
|
||||||
|
display: false,
|
||||||
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
intersect: false,
|
intersect: false,
|
||||||
|
|
@ -1040,12 +1046,6 @@ const resetChartZoom = () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#zoom-botton {
|
|
||||||
display: block;
|
|
||||||
margin-top: 20px;
|
|
||||||
margin-bottom: -35px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workout-container {
|
#workout-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -1122,9 +1122,14 @@ h3 {
|
||||||
#x-axis-switcher {
|
#x-axis-switcher {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
.x-axis-buttons {
|
||||||
|
display: flex;
|
||||||
|
gap: 8px;
|
||||||
|
}
|
||||||
#workout-charts {
|
#workout-charts {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue