var api_server = req.query['api_server'];
var bodyData = req.body;
data = {
- "user":[bodyData]
+ "rw-user:user": bodyData
}
var updateTasks = [];
if(bodyData.hasOwnProperty('old-password')) {
updateTasks.push(changePW);
};
var updateUser = rp({
- uri: utils.confdPort(api_server) + '/api/config/user-config',
+ uri: utils.confdPort(api_server) + '/api/config/user-config/user/' + bodyData['user-name'] + ',' + bodyData['user-domain'],
method: 'PUT',
headers: _.extend({}, constants.HTTP_HEADERS.accept.data, {
'Authorization': req.session && req.session.authorization
$neutral-light-4: hsl(360, 100%, 50%);
$neutral-light-5: hsl(360, 100%, 50%);
+$neutral-dark-0: hsl(0, 0%, 80.7%);
$neutral-dark-1: hsl(0, 0%, 63.7%);
$neutral-dark-2: hsl(0, 0%, 56.7%);
$neutral-dark-3: hsl(0, 0%, 49.7%);
</FormSection>
<FormSection title="USER ROLES" className="userTable">
- <table>
+ <table className="projectTable">
<thead>
<tr>
{!state.isReadOnly ? <td></td> : null}
justify-content:center;
}
}
+ tbody tr {
+ &:nth-child(even) {
+ background:$neutral-dark-0;
+ }
+ }
}
.userTable {
.FormSection-body {
font-weight:bold;
}
&--data {
+ &:nth-child(even) {
+ background:$neutral-dark-0;
+ }
&:hover:not(&-active) {
background:$neutral-dark-1;
}
font-weight:bold;
}
&--data {
+ &:nth-child(even) {
+ background:$neutral-dark-0;
+ }
&:hover:not(&-active) {
background:$neutral-dark-1;
}
justify-content:center;
}
}
+ tbody tr {
+ &:nth-child(even) {
+ background:$neutral-dark-0;
+ }
+ }
}
}
font-weight:bold;
}
&--data {
+ &:nth-child(even) {
+ background:$neutral-dark-0;
+ }
&:hover:not(&-active) {
background:$neutral-dark-1;
}