1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Minor Improvements

This commit is contained in:
2020-07-31 15:45:32 +02:00
parent f8a0783769
commit 70908eb076
7 changed files with 19 additions and 12 deletions

View File

@ -15,10 +15,10 @@ let mainWindow;
async function createMainWindow () { async function createMainWindow () {
const icon = require('../renderer/images/logo-32.png'); const icon = require('../renderer/images/logo-32.png');
const window = new BrowserWindow({ const window = new BrowserWindow({
width: 1600, width: 1024,
height: 1000, height: 800,
minHeight: 550,
minWidth: 900, minWidth: 900,
minHeight: 550,
title: 'Antares', title: 'Antares',
autoHideMenuBar: true, autoHideMenuBar: true,
icon: nativeImage.createFromDataURL(icon.default), icon: nativeImage.createFromDataURL(icon.default),

View File

@ -86,7 +86,6 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
display: inline-block; display: inline-block;
max-width: 30rem; max-width: 30rem;
user-select: none;
} }
.expanded .notification-message{ .expanded .notification-message{

View File

@ -36,7 +36,7 @@
<option value="maria"> <option value="maria">
MariaDB MariaDB
</option> </option>
<option value="mssql"> <!-- <option value="mssql">
Microsoft SQL Microsoft SQL
</option> </option>
<option value="pg"> <option value="pg">
@ -44,7 +44,7 @@
</option> </option>
<option value="oracledb"> <option value="oracledb">
Oracle DB Oracle DB
</option> </option> -->
</select> </select>
</div> </div>
</div> </div>

View File

@ -40,7 +40,7 @@
<option value="maria"> <option value="maria">
MariaDB MariaDB
</option> </option>
<option value="mssql"> <!-- <option value="mssql">
Microsoft SQL Microsoft SQL
</option> </option>
<option value="pg"> <option value="pg">
@ -48,7 +48,7 @@
</option> </option>
<option value="oracledb"> <option value="oracledb">
Oracle DB Oracle DB
</option> </option> -->
</select> </select>
</div> </div>
</div> </div>

View File

@ -173,7 +173,7 @@ export default {
}, },
checkNotificationsTimeout () { checkNotificationsTimeout () {
if (!this.localTimeout) if (!this.localTimeout)
this.localTimeout = 1; this.localTimeout = 10;
this.updateNotificationsTimeout(+this.localTimeout); this.updateNotificationsTimeout(+this.localTimeout);
} }

View File

@ -50,8 +50,9 @@
class="form-input textarea-editor" class="form-input textarea-editor"
/> />
</div> </div>
<div class="pt-2"> <div class="editor-field-info">
<b>{{ $t('word.size') }}</b>: {{ localContent.length }} <div><b>{{ $t('word.size') }}</b>: {{ localContent.length }}</div>
<div><b>{{ $t('word.type') }}</b>: {{ type.toUpperCase() }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -222,4 +223,10 @@ export default {
.textarea-editor{ .textarea-editor{
height: 50vh!important; height: 50vh!important;
} }
.editor-field-info{
margin-top: .6rem;
display: flex;
justify-content: space-between;
}
</style> </style>

View File

@ -31,7 +31,8 @@ module.exports = {
schema: 'Schema', schema: 'Schema',
results: 'Results', results: 'Results',
size: 'Size', size: 'Size',
seconds: 'Seconds' seconds: 'Seconds',
type: 'Type'
}, },
message: { message: {
appWelcome: 'Welcome to Antares SQL Client!', appWelcome: 'Welcome to Antares SQL Client!',