Added svg icons for engines

This commit is contained in:
Stela Augustinova
2025-12-17 16:13:20 +01:00
parent a57063adf7
commit 8a22f9215f
10 changed files with 22 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
const { driverBase } = global.DBGATE_PACKAGES['dbgate-tools'];
const Dumper = require('./Dumper');
const { oracleSplitterOptions } = require('dbgate-query-splitter/lib/options');
const oracleIcon = '<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><path d="M0 0h64v64H0z" fill="#e30613"/><path d="M20.2 52.2C8.93 52.2 0 43.056 0 32c0-11.27 9.143-20.2 20.2-20.2h23.6C55.07 11.8 64 20.944 64 32c0 11.27-9.143 20.2-20.2 20.2zm23.176-7.23c7.23 0 13.183-5.953 13.183-13.183s-5.953-13.183-13.183-13.183H20.837c-7.23 0-13.183 5.953-13.183 13.183S13.608 44.97 20.837 44.97z" fill="#fff"/></svg>';
const spatialTypes = ['GEOGRAPHY'];
@@ -106,6 +107,7 @@ const oracleDriver = {
implicitTransactions: true,
databaseUrlPlaceholder: 'e.g. localhost:1521/orcl',
icon: oracleIcon,
showConnectionField: (field, values, { config }) => {
if (field == 'useDatabaseUrl') return true;