+
+
{this.props.title}
-
+
);
}
}
diff --git a/app/javascript/packs/src/settings/components/SettingsAccount.jsx b/app/javascript/packs/src/settings/components/SettingsAccount.jsx
new file mode 100644
index 000000000..c37e116d8
--- /dev/null
+++ b/app/javascript/packs/src/settings/components/SettingsAccount.jsx
@@ -0,0 +1,39 @@
+import React, { Component } from "react";
+import { Route, Switch } from "react-router-dom";
+import styled from "styled-components";
+
+import SettingsLeftTab from "./SettingsLeftTab";
+import SettingsProfile from "./SettingsProfile";
+import SettingsPreferences from "./SettingsPreferences";
+
+import { BORDER_LIGHT_COLOR } from "../../../app/constants/colors";
+
+const Wrapper = styled.div`
+ background: white;
+ box-sizing: border-box;
+ border: 1px solid ${BORDER_LIGHT_COLOR};
+ border-top: none;
+ margin: 0;
+ padding: 16px 0 50px 0;
+`;
+
+class SettingsAccount extends Component {
+ render() {
+ return (
+
+
+
+
+
+
+
+
+
+ );
+ }
+}
+
+export default SettingsAccount;
diff --git a/app/javascript/packs/src/settings/components/SettingsLeftTab.jsx b/app/javascript/packs/src/settings/components/SettingsLeftTab.jsx
index a993e4e3b..5a5eae424 100644
--- a/app/javascript/packs/src/settings/components/SettingsLeftTab.jsx
+++ b/app/javascript/packs/src/settings/components/SettingsLeftTab.jsx
@@ -1,12 +1,26 @@
import React, { Component } from "react";
import { Nav, NavItem } from "react-bootstrap";
import { LinkContainer } from "react-router-bootstrap";
+import styled from "styled-components";
import {
SETTINGS_ACCOUNT_PROFILE,
SETTINGS_ACCOUNT_PREFERENCES
} from "../../../app/routes";
+import {
+ MAIN_COLOR_BLUE,
+ LIGHT_BLUE_COLOR
+} from "../../../app/constants/colors";
+
+const MyLinkContainer = styled(LinkContainer)`
+ &.active {
+ a {
+ background-color: ${LIGHT_BLUE_COLOR} !important;
+ }
+ }
+`;
+
class SettingsAccountLeftTab extends Component {
constructor(props) {
super(props);
@@ -18,12 +32,12 @@ class SettingsAccountLeftTab extends Component {
render() {
return (
);
}
diff --git a/app/javascript/packs/src/settings/components/SettingsPreferences.jsx b/app/javascript/packs/src/settings/components/SettingsPreferences.jsx
index 6f6d7fd72..313ac50cd 100644
--- a/app/javascript/packs/src/settings/components/SettingsPreferences.jsx
+++ b/app/javascript/packs/src/settings/components/SettingsPreferences.jsx
@@ -1,21 +1,35 @@
import React, { Component } from "react";
import { connect } from "react-redux";
import PropTypes from "prop-types";
+import styled from "styled-components";
import InputDisabled from "./InputDisabled";
import InputTimezone from "./InputTimezone";
import { changeTimezone } from "../../../shared/actions/UsersActions";
import NotificationsGroup from "./NotificationsGroup";
+
import {
ASSIGNMENT_NOTIFICATION,
RECENT_NOTIFICATION,
SYSTEM_NOTIFICATION
} from "./constants";
+
import {
MAIN_COLOR_BLUE,
- ICON_GREEN_COLOR
+ ICON_GREEN_COLOR,
+ BORDER_LIGHT_COLOR
} from "../../../app/constants/colors";
+const WrapperInputDisabled = styled.div`
+ margin: 20px 0;
+ padding-bottom: 15px;
+ border-bottom: 1px solid ${BORDER_LIGHT_COLOR};
+
+ .settings-warning {
+ margin-top: -5px;
+ }
+`;
+
class SettingsPreferences extends Component {
constructor(props) {
super(props);
@@ -45,22 +59,26 @@ class SettingsPreferences extends Component {
);
} else {
timezoneField = (
-
this.toggleIsEditable(isTimeZoneEditable)}
- />
+
+ this.toggleIsEditable(isTimeZoneEditable)}
+ />
+
+
+ Time zone setting affects all time & date fields throughout
+ application.
+
+
+
);
}
return (
-
+
{timezoneField}
-
- Time zone setting affects all time & date fields throughout
- application.
-
Notifications
+
+ Settings Teams
+ ;
+
+export default SettingsTeams;