mirror of https://github.com/Fabio286/antares.git
refactor(UI): change query tab buttons order
This commit is contained in:
parent
f4f385589f
commit
33203aeb04
|
@ -97,32 +97,6 @@
|
||||||
>
|
>
|
||||||
<BaseIcon icon-name="mdiBrush" :size="24" />
|
<BaseIcon icon-name="mdiBrush" :size="24" />
|
||||||
</button>
|
</button>
|
||||||
<button
|
|
||||||
class="btn btn-dark btn-sm"
|
|
||||||
:disabled="isQuering"
|
|
||||||
:title="t('general.history')"
|
|
||||||
@click="openHistoryModal()"
|
|
||||||
>
|
|
||||||
<BaseIcon icon-name="mdiHistory" :size="24" />
|
|
||||||
</button>
|
|
||||||
<div class="btn-group">
|
|
||||||
<button
|
|
||||||
class="btn btn-dark btn-sm mr-0"
|
|
||||||
:disabled="isQuering || (isQuerySaved || query.length < 5)"
|
|
||||||
:title="t('general.save')"
|
|
||||||
@click="saveQuery()"
|
|
||||||
>
|
|
||||||
<BaseIcon icon-name="mdiHeartPlusOutline" :size="24" />
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
class="btn btn-dark btn-sm"
|
|
||||||
:disabled="isQuering"
|
|
||||||
:title="t('database.savedQueries')"
|
|
||||||
@click="openSavedModal()"
|
|
||||||
>
|
|
||||||
<BaseIcon icon-name="mdiNotebookHeartOutline" :size="24" />
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button
|
<button
|
||||||
class="btn btn-dark btn-sm mr-0"
|
class="btn btn-dark btn-sm mr-0"
|
||||||
|
@ -147,6 +121,32 @@
|
||||||
<BaseIcon icon-name="mdiFolderOpenOutline" :size="24" />
|
<BaseIcon icon-name="mdiFolderOpenOutline" :size="24" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="btn-group">
|
||||||
|
<button
|
||||||
|
class="btn btn-dark btn-sm mr-0"
|
||||||
|
:disabled="isQuering || (isQuerySaved || query.length < 5)"
|
||||||
|
:title="t('application.saveAsNote')"
|
||||||
|
@click="saveQuery()"
|
||||||
|
>
|
||||||
|
<BaseIcon icon-name="mdiHeartPlusOutline" :size="24" />
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
class="btn btn-dark btn-sm"
|
||||||
|
:disabled="isQuering"
|
||||||
|
:title="t('database.savedQueries')"
|
||||||
|
@click="openSavedModal()"
|
||||||
|
>
|
||||||
|
<BaseIcon icon-name="mdiNotebookHeartOutline" :size="24" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<button
|
||||||
|
class="btn btn-dark btn-sm"
|
||||||
|
:disabled="isQuering"
|
||||||
|
:title="t('general.history')"
|
||||||
|
@click="openHistoryModal()"
|
||||||
|
>
|
||||||
|
<BaseIcon icon-name="mdiHistory" :size="24" />
|
||||||
|
</button>
|
||||||
<div class="dropdown table-dropdown pr-2">
|
<div class="dropdown table-dropdown pr-2">
|
||||||
<button
|
<button
|
||||||
:disabled="!hasResults || isQuering"
|
:disabled="!hasResults || isQuering"
|
||||||
|
@ -731,6 +731,7 @@ const openFile = async () => {
|
||||||
filePath.value = file;
|
filePath.value = file;
|
||||||
queryName.value = fileName;
|
queryName.value = fileName;
|
||||||
query.value = content;
|
query.value = content;
|
||||||
|
lastSavedQuery.value = content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -397,6 +397,7 @@ export const enUS = {
|
||||||
thereAreNoNotesYet: 'There are no notes yet',
|
thereAreNoNotesYet: 'There are no notes yet',
|
||||||
addNote: 'Add note',
|
addNote: 'Add note',
|
||||||
editNote: 'Edit note',
|
editNote: 'Edit note',
|
||||||
|
saveAsNote: 'Save as note',
|
||||||
showArchivedNotes: 'Show archived notes',
|
showArchivedNotes: 'Show archived notes',
|
||||||
hideArchivedNotes: 'Hide archived notes',
|
hideArchivedNotes: 'Hide archived notes',
|
||||||
tag: 'Tag', // Note tag,
|
tag: 'Tag', // Note tag,
|
||||||
|
|
Loading…
Reference in New Issue