Skip to content

Commit

Permalink
fix(admin-ui): fix some security issues
Browse files Browse the repository at this point in the history
  • Loading branch information
syntrydy committed Oct 14, 2021
1 parent 1f6dbc4 commit 9ccb4d4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 106 deletions.
6 changes: 3 additions & 3 deletions app/routes/Apps/Gluu/GluuFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ function GluuFooter({ extraOnClick, extraLabel, hideButtons }) {
<Divider></Divider>
<FormGroup row></FormGroup>
<FormGroup row>
<Col sm={0} md={7}>
<Col sm={4} md={2}>
{extraLabel && extraOnClick && (
<Button color="primary" onClick={extraOnClick}>
{t(extraLabel)}
</Button>
)}
</Col>
{!hideButtons || !hideButtons['back'] ? (
<Col sm={2} md={1}>
<Col sm={4} md={2}>
<Button color="secondary" onClick={goBack}>
<i className="fa fa-arrow-circle-left mr-2"></i>
{t('actions.cancel')}
Expand All @@ -32,7 +32,7 @@ function GluuFooter({ extraOnClick, extraLabel, hideButtons }) {
)}
&nbsp;
{!hideButtons || !hideButtons['save'] ? (
<Col sm={2} md={1}>
<Col sm={4} md={2}>
<Button color="primary" type="submit">
<i className="fa fa-check-circle mr-2"></i>
{t('actions.save')}
Expand Down
98 changes: 0 additions & 98 deletions app/styles/plugins/_react-quill.scss

This file was deleted.

1 change: 0 additions & 1 deletion app/styles/plugins/plugins.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import "~react-toggle/style.css";
@import '~react-bootstrap-typeahead/css/Typeahead.css';
@import '~react-bootstrap-typeahead/css/Typeahead-bs4.css';
@import "~react-quill/dist/quill.snow.css";
@import "~react-datepicker/dist/react-datepicker.css";
@import "~react-big-calendar/lib/css/react-big-calendar.css";
@import "~react-grid-layout/css/styles.css";
Expand Down
1 change: 0 additions & 1 deletion app/styles/plugins/plugins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@import "react-image-crop";
@import "react-toggle";
@import "react-bootstrap-typeahead";
@import "react-quill";
@import "react-datepicker";
@import "font-awesome";
@import "react-big-calendar";
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@miltonbo/dashboard-style-airframe": "0.1.23",
"@miltonbo/dashboard-style-airframe": "^0.2.0",
"ag-grid-community": "^21.0.1",
"ag-grid-react": "^21.0.1",
"axios": "^0.21.4",
Expand Down Expand Up @@ -136,7 +136,6 @@
"react-idle-timer": "^4.6.4",
"react-image-crop": "8.6.9",
"react-month-picker": "^2.2.1",
"react-quill": "^1.3.5",
"react-responsive": "^8.1.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
Expand All @@ -158,7 +157,6 @@
"yup": "^0.32.9"
},
"resolutions": {
"highcharts": "^9.2.2",
"ansi-regex": "^5.0.1",
"set-value": "^4.1.0",
"quill": "^1.3.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const LdapDetailPage = ({ row, testLdapConnection }) => {
return (
<React.Fragment>
<Container style={{ backgroundColor: '#F5F5F5' }}>
<FormGroup row> </FormGroup>
<Row>
<Col sm={6}>
<FormGroup row>
Expand Down Expand Up @@ -139,6 +140,7 @@ const LdapDetailPage = ({ row, testLdapConnection }) => {
</button>
</Col>
</Row>
<FormGroup row> </FormGroup>
</Container>
</React.Fragment>
)
Expand Down

0 comments on commit 9ccb4d4

Please sign in to comment.