Skip to content

Commit

Permalink
Merge pull request #187 from DS2BRAIN/186-fix-user-setting-part
Browse files Browse the repository at this point in the history
186 fix user setting part
  • Loading branch information
dslabglobal authored Nov 9, 2022
2 parents bf561aa + 7dc44fc commit b259f60
Show file tree
Hide file tree
Showing 4 changed files with 267 additions and 297 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ form > svg > path {
.Mui-disabled {
color: var(--textMediumGrey) !important;
}
#label_project_name.Mui-disabled,
#label_project_name.Mui-disabled,
#label_project_detail.Mui-disabled {
color: var(--textWhite87) !important;
}
Expand Down Expand Up @@ -995,9 +995,6 @@ td {
#lastTableCell {
border: none !important;
}
#groupTableBody > tr:last-child > td {
border: none !important;
}
.MuiInputBase-multiline {
padding: 0 !important;
}
Expand Down
82 changes: 39 additions & 43 deletions frontend_app/src/components/Notifications/NotiList.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,55 +301,52 @@ const NotiList = ({ history }) => {
<Grid
container
justifyContent="space-between"
alignItems="center"
className={classes.settingTitle}
sx={{ mt: 5, mb: 4 }}
sx={{ mt: 5, mb: 2 }}
>
<Grid item>
<Button
id="check_notiallread_btn"
shape="greenOutlined"
size="small"
onClick={onMarkedAsAll}
>
{t("Check as full read")}
</Button>
</Grid>
<Grid item>
<Button
id="check_notiallread_btn"
shape="greenOutlined"
size="small"
onClick={onMarkedAsAll}
>
{t("Check as full read")}
</Button>
<div
style={{
display: "flex",
alignItems: "center",
justifyContent: "flex-end",
}}
>
<div
style={{
display: "flex",
alignItems: "center",
justifyContent: "flex-end",
fontSize: 16,
marginRight: "20px",
color: currentThemeColor.textWhite87,
}}
>
<div
style={{
fontSize: 16,
marginRight: "20px",
color: currentThemeColor.textWhite87,
}}
>
TYPE:{" "}
</div>
<FormControl style={{ width: "200px" }}>
<Select
labelid="demo-simple-select-outlined-label"
id="demo-simple-select-outlined"
value={asynctaskType}
className={classes.selectForm}
onChange={onSetAsynctaskType}
>
<MenuItem value="all">{t("All")}</MenuItem>
<MenuItem value="ds2Dataset">{t("Dataset")}</MenuItem>
<MenuItem value="labelingAi">{t("Labeling")}</MenuItem>
<MenuItem value="clickAi">{t("Modeling")}</MenuItem>
{!IS_ENTERPRISE && (
<MenuItem value="payment">{t("Payment")}</MenuItem>
)}
</Select>
</FormControl>
TYPE:{" "}
</div>
</Grid>
<FormControl style={{ width: "200px" }}>
<Select
labelid="demo-simple-select-outlined-label"
id="demo-simple-select-outlined"
value={asynctaskType}
className={classes.selectForm}
onChange={onSetAsynctaskType}
>
<MenuItem value="all">{t("All")}</MenuItem>
<MenuItem value="ds2Dataset">{t("Dataset")}</MenuItem>
<MenuItem value="labelingAi">{t("Labeling")}</MenuItem>
<MenuItem value="clickAi">{t("Modeling")}</MenuItem>
{!IS_ENTERPRISE && (
<MenuItem value="payment">{t("Payment")}</MenuItem>
)}
</Select>
</FormControl>
</div>
</Grid>
{isLoading ? (
<div className={classes.loading}>
Expand Down Expand Up @@ -512,7 +509,6 @@ const NotiList = ({ history }) => {
}}
onPageChange={changeAlarmListPage}
onRowsPerPageChange={changeRowsPerAlarmListPage}
style={{ marginTop: 16 }}
/>
</>
) : (
Expand Down
Loading

0 comments on commit b259f60

Please sign in to comment.