mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-22 16:38:21 +00:00
chore: delete mysql source file (#1435)
This PR deletes the mysql file for data sources as its moved to schema
This commit is contained in:
parent
133e53720f
commit
01f30d4194
1 changed files with 0 additions and 79 deletions
|
|
@ -1,79 +0,0 @@
|
|||
import React from 'react';
|
||||
|
||||
export const Mysql = ({ optionchanged, options }) => {
|
||||
return (
|
||||
<div>
|
||||
<div className="row">
|
||||
<div className="col-md-7">
|
||||
<label className="form-label">Host</label>
|
||||
<input
|
||||
type="text"
|
||||
className="form-control"
|
||||
onChange={(e) => optionchanged('host', e.target.value)}
|
||||
value={options.host.value}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-md-3">
|
||||
<label className="form-label">Port</label>
|
||||
<input
|
||||
type="text"
|
||||
className="form-control"
|
||||
onChange={(e) => optionchanged('port', e.target.value)}
|
||||
value={options.port.value}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-md-2">
|
||||
<label className="form-label">SSL</label>
|
||||
<label className="form-check form-switch">
|
||||
<input
|
||||
className="form-check-input"
|
||||
type="checkbox"
|
||||
defaultChecked={options.ssl_enabled.value}
|
||||
onChange={() => optionchanged('ssl_enabled', !options.ssl_enabled.value)}
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div className="row mt-3">
|
||||
<label className="form-label">Database Name</label>
|
||||
<div className="col-md-4">
|
||||
<input
|
||||
type="text"
|
||||
className="form-control"
|
||||
onChange={(e) => optionchanged('database', e.target.value)}
|
||||
value={options.database.value}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-md-4">
|
||||
<label className="form-label">Username</label>
|
||||
<input
|
||||
type="text"
|
||||
className="form-control"
|
||||
onChange={(e) => optionchanged('username', e.target.value)}
|
||||
value={options.username.value}
|
||||
/>
|
||||
</div>
|
||||
<div className="col-md-4">
|
||||
<label className="form-label">
|
||||
Password
|
||||
<small className="text-green mx-2">
|
||||
<img
|
||||
className="mx-2 encrypted-icon encrypted-icon"
|
||||
src="/assets/images/icons/padlock.svg"
|
||||
width="12"
|
||||
height="12"
|
||||
/>
|
||||
<span className="pt-2">Encrypted</span>
|
||||
</small>
|
||||
</label>
|
||||
<input
|
||||
type="password"
|
||||
className="form-control"
|
||||
onChange={(e) => optionchanged('password', e.target.value)}
|
||||
value={options.password.value}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Loading…
Reference in a new issue