Skip to content

Commit

Permalink
bootstrap fixes for form ,submissions amd process tabs pages (AOT-Tec…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay-aot authored Jan 2, 2024
1 parent 1f4b7da commit 6b642c2
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const ApplicationFilter = ({
id="applicationStatus"
value={searchParams.applicationStatus}
onChange={(e) => handleChange("applicationStatus", e.target.value)}
className="form-control p-1"
className="form-select p-1 w-100"
data-testid="submission-filter-applicationstatus-dropdown"
>
<option value="" hidden>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const ApplicationTable = () => {

const getNoDataIndicationContent = () => {
return (
<div className="div-no-application">
<div className="div-no-application bg-transparent">
<label className="lbl-no-application">
{" "}
<Translation>{(t) => t("No submissions found")}</Translation>{" "}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ const CreateTemplateConfirmModal = ({modalOpen,handleModalChange,onConfirm}) =>
<div>
<button
type="button"
className="close"
className="btn-close"
onClick={() => {
handleModalChange();
}}
aria-label="Close"
>
<span aria-hidden="true">&times;</span>
</button>
</div>
</Modal.Header>
Expand Down
3 changes: 1 addition & 2 deletions forms-flow-web/src/components/Form/Item/FormHistoryModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,13 @@ const FormHistoryModal = ({ historyModal, handleModalChange, gotoEdit }) => {
<div>
<button
type="button"
className="close"
className="btn-close"
onClick={() => {
setShowCount(3);
handleModalChange();
}}
aria-label="Close"
>
<span aria-hidden="true">&times;</span>
</button>
</div>
</Modal.Header>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ const SaveAsNewVersionConfirmationModal = ({modalOpen,handleModalChange,onConfir
<div>
<button
type="button"
className="close"
className="btn-close"
onClick={() => {
handleModalChange();
}}
aria-label="Close"
>
<span aria-hidden="true">&times;</span>
</button>
</div>
</Modal.Header>
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-web/src/components/Form/Steps/PreviewStepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ if (reviewerSelectedOption === "Specific Reviewers") {
</Popover>
)}
>
<Button id="addDesigner" className="btn btn-primary btn-small">
<Button id="addDesigner" className="btn btn-primary btn-small mt-2">
<i className="fa-solid fa-plus me-2"></i>
<Translation>{(t) => t("Add")}</Translation>
</Button>
Expand Down Expand Up @@ -492,7 +492,7 @@ if (reviewerSelectedOption === "Specific Reviewers") {
</Popover>
)}
>
<Button id="addClient" className="btn btn-primary btn-small ">
<Button id="addClient" className="btn btn-primary btn-small mt-2">
<i className="fa-solid fa-plus me-2"></i>
<Translation>{(t) => t("Add")}</Translation>
</Button>
Expand Down Expand Up @@ -585,7 +585,7 @@ if (reviewerSelectedOption === "Specific Reviewers") {
</Popover>
)}
>
<Button id="addReviewer" className="btn btn-primary btn-small ">
<Button id="addReviewer" className="btn btn-primary btn-small mt-2">
<i className="fa-solid fa-plus me-2"></i>
<Translation>{(t) => t("Add")}</Translation>
</Button>
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-web/src/components/Form/constants/ClientTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ function ClientTable() {
onClick={handleClearSearch}
data-testid="form-search-cear-button"
>
<InputGroup.Text>
<i className="fa fa-times"></i>
<InputGroup.Text className="h-100">
<i className="fa fa-times "></i>
</InputGroup.Text>
</InputGroup.Append>
)}
Expand All @@ -209,7 +209,7 @@ function ClientTable() {
disabled={!search?.trim()}
style={{ cursor: "pointer" }}
>
<InputGroup.Text style={{ backgroundColor: "#ffff" }}>
<InputGroup.Text style={{ backgroundColor: "#ffff" }} className="h-100">
<i className="fa fa-search"></i>
</InputGroup.Text>
</InputGroup.Append>
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Form/constants/FormTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function FormTable() {
/>
{search && (
<InputGroup.Append onClick={handleClearSearch} data-testid="form-search-cear-button">
<InputGroup.Text>
<InputGroup.Text className="h-100">
<i className="fa fa-times"></i>
</InputGroup.Text>
</InputGroup.Append>
Expand All @@ -253,7 +253,7 @@ function FormTable() {
disabled={!search?.trim()}
style={{ cursor: "pointer" }}
>
<InputGroup.Text style={{ backgroundColor: "#ffff" }}>
<InputGroup.Text style={{ backgroundColor: "#ffff" }} className="h-100">
<i className="fa fa-search"></i>
</InputGroup.Text>
</InputGroup.Append>
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Modeler/constants/bpmnTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function BpmnTable() {
/>
{search && (
<InputGroup.Append onClick={onClearSearch}>
<InputGroup.Text>
<InputGroup.Text className="h-100">
<i className="fa fa-times"></i>
</InputGroup.Text>
</InputGroup.Append>
Expand All @@ -132,7 +132,7 @@ function BpmnTable() {
disabled={!search?.trim()}
style={{ cursor: "pointer" }}
>
<InputGroup.Text style={{ backgroundColor: "#ffff" }}>
<InputGroup.Text style={{ backgroundColor: "#ffff" }} className="h-100">
<i className="fa fa-search"></i>
</InputGroup.Text>
</InputGroup.Append>
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Modeler/constants/dmnTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function DmnTable() {
/>
{search && (
<InputGroup.Append onClick={onClearSearch}>
<InputGroup.Text>
<InputGroup.Text className="h-100">
<i className="fa fa-times"></i>
</InputGroup.Text>
</InputGroup.Append>
Expand All @@ -134,7 +134,7 @@ function DmnTable() {
disabled={!search?.trim()}
style={{ cursor: "pointer" }}
>
<InputGroup.Text style={{ backgroundColor: "#ffff" }}>
<InputGroup.Text style={{ backgroundColor: "#ffff" }} className="h-100">
<i className="fa fa-search"></i>
</InputGroup.Text>
</InputGroup.Append>
Expand Down

0 comments on commit 6b642c2

Please sign in to comment.