Skip to content

Commit

Permalink
fix layout (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaviniaStiliadou authored Oct 26, 2023
1 parent c90f9a1 commit 703d68b
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function ConfigModal({ onClose, configTabs }) {
configTabs.map((tab, index) => (
<button
type="button"
className="qwm-innerConfig qwm-btn-primary"
className="qwm-innerConfig qwm-btn-config-primary"
onClick={() => openTab(tab.tabId, index)}
>
{tab.tabTitle}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default function EditorTab() {
<td align="right">Camunda Engine Endpoint</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="camundaEndpoint"
value={camundaEndpoint}
Expand All @@ -93,6 +94,7 @@ export default function EditorTab() {
<td align="right">Transformed Workflow Handler</td>
<td align="left">
<select
className="qwm-select"
name="workflowHandler"
value={workflowHandler}
onChange={(event) => setWorkflowHandler(event.target.value)}
Expand All @@ -114,6 +116,7 @@ export default function EditorTab() {
<td align="right">Download file name</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="fileName"
value={fileName}
Expand All @@ -125,6 +128,7 @@ export default function EditorTab() {
<td align="right">Download file format</td>
<td align="left">
<select
className="qwm-select"
name="fileFormat"
value={fileFormat}
onChange={(event) => setFileFormat(event.target.value)}
Expand All @@ -146,6 +150,7 @@ export default function EditorTab() {
<td align="right">Auto save file option:</td>
<td align="left">
<select
className="qwm-select"
name="autoSaveFileOption"
value={autoSaveFileOption}
onChange={(event) => setAutoSaveFileOption(event.target.value)}
Expand All @@ -163,6 +168,7 @@ export default function EditorTab() {
<td align="right">Auto save interval size:</td>
<td align="left">
<input
className="qwm-input"
type="number"
name="autoSaveIntervalSize"
value={autoSaveIntervalSize}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
}

.qwm-btn-primary {
color: #fdfdfe;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
border: solid 1px var(--blue-darken-62);
background-color: var(--blue-base-65);
}

.qwm-btn-config-primary {
min-width: 120px;
color: #fdfdfe;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
Expand Down Expand Up @@ -46,6 +53,22 @@
color: rgba(253, 253, 254, 0.8);
}

.qwm-btn-config-primary:hover {
border: solid 1px var(--blue-darken-55);
background-color: var(--blue-darken-62);
}

.qwm-btn-config-primary:active {
border: solid 1px var(--blue-darken-48);
background-color: var(--blue-darken-55);
}

.qwm-btn-config-primary:disabled {
box-shadow: none;
border: solid 1px var(--blue-lighten-82);
background-color: var(--blue-lighten-75);
color: rgba(253, 253, 254, 0.8);
}
.qwm-btn-secondary {
color: var(--grey-darken-33);
box-shadow: 0 2px 2px 0 var(--color-000000-opacity-10);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@
top: 10px;
}

.qwm input,
.qwm select {
.qwm-input,
.qwm-select {
width: 100%;
box-sizing: border-box;
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default function TransformationTaskConfigurationsTab() {
<td align="right">Configurations Endpoint</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="configurationsEndpoint"
value={configurationsEndpoint}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export default function OpenTOSCATab() {
<td align="right">OpenTOSCA Endpoint:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="opentoscaEndpoint"
value={opentoscaEndpoint}
Expand All @@ -67,6 +68,7 @@ export default function OpenTOSCATab() {
<td align="right">Winery Endpoint:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="wineryEndpoint"
value={wineryEndpoint}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default function QHAnaConfigurationsTab() {
<td align="right">List Plugins Endpoint</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="listPluginsEndpoint"
value={listPluginsEndpoint}
Expand All @@ -42,6 +43,7 @@ export default function QHAnaConfigurationsTab() {
<td align="right">Get Plugin Endpoint</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="getPluginEndpoint"
value={getPluginEndpoint}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export default function GitHubTab() {
<td align="right">QRM Repository User:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="qrmUserName"
value={githubUsername}
Expand All @@ -145,6 +146,7 @@ export default function GitHubTab() {
<td align="right">QRM Repository Name:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="qrmRepoName"
value={githubRepositoryName}
Expand All @@ -158,6 +160,7 @@ export default function GitHubTab() {
<td align="right">QRM Repository Path:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="qrmRepoPath"
value={githubRepositoryPath}
Expand All @@ -183,6 +186,7 @@ export default function GitHubTab() {
</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="githubToken"
value={githubToken}
Expand All @@ -199,6 +203,7 @@ export default function GitHubTab() {
<td align="right">GitHub Repository Owner:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="uploadGithubOwner"
value={uploadGithubOwner}
Expand All @@ -210,6 +215,7 @@ export default function GitHubTab() {
<td align="right">GitHub Repository Name:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="uploadGithubRepositoryName"
value={uploadGithubRepositoryName}
Expand All @@ -223,6 +229,7 @@ export default function GitHubTab() {
<td align="right">GitHub Repository Branch:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="uploadBranchName"
value={uploadBranchName}
Expand All @@ -234,6 +241,7 @@ export default function GitHubTab() {
<td align="right">Workflow File Name:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="uploadFileName"
value={uploadFileName}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export default function QuantMETab() {
<td align="right">Data Configurations Endpoint</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="dataConfigurationsEndpoint"
value={dataConfigurationsEndpoint}
Expand All @@ -164,6 +165,7 @@ export default function QuantMETab() {
<td align="right">QuantME Framework Endpoint</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="transformationFrameworkEndpoint"
value={transformationFrameworkEndpoint}
Expand All @@ -182,6 +184,7 @@ export default function QuantMETab() {
<td align="right">NISQ Analyzer Endpoint:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="nisqAnalyzerEndpoint"
value={nisqAnalyzerEndpoint}
Expand All @@ -200,6 +203,7 @@ export default function QuantMETab() {
<td align="right">Script Splitter Endpoint</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="scriptSplitterEndpoint"
value={scriptSplitterEndpoint}
Expand All @@ -213,6 +217,7 @@ export default function QuantMETab() {
<td align="right">Script Splitter Threshold</td>
<td align="left">
<input
className="qwm-input"
type="int"
name="scriptSplitterThreshold"
value={scriptSplitterThreshold}
Expand All @@ -231,6 +236,7 @@ export default function QuantMETab() {
<td align="right">Qiskit Runtime Handler Endpoint:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="qiskitRuntimeHandlerEndpoint"
value={qiskitRuntimeHandlerEndpoint}
Expand All @@ -244,6 +250,7 @@ export default function QuantMETab() {
<td align="right">AWS Runtime Handler Endpoint:</td>
<td align="left">
<input
className="qwm-input"
type="string"
name="awsRuntimeHandlerEndpoint"
value={awsRuntimeHandlerEndpoint}
Expand All @@ -262,6 +269,7 @@ export default function QuantMETab() {
<td align="right">Retrieve Intermediate Results:</td>
<td align="left">
<input
className="qwm-input"
type="checkbox"
name="hybridRuntimeProvenance"
checked={hybridRuntimeProvenanceBoolean}
Expand Down

0 comments on commit 703d68b

Please sign in to comment.