Adjust design

This commit is contained in:
cyril lopez 2017-08-09 19:47:39 +02:00
parent dd18a57ebc
commit 81c8a643e4
27 changed files with 286 additions and 289 deletions

View File

@ -36,7 +36,7 @@
color: #1C5DE7; color: #1C5DE7;
line-height: 1.6rem; line-height: 1.6rem;
border: 0.1rem solid #1C5DE7; border: 0.1rem solid #1C5DE7;
font-weight: 600; font-weight: 500;
font-size: 1.3rem; font-size: 1.3rem;
padding-left: 1.6rem; padding-left: 1.6rem;
padding-right: 1.6rem; padding-right: 1.6rem;

View File

@ -1,6 +1,6 @@
.contentHeader { /* stylelint-disable */ .contentHeader { /* stylelint-disable */
position: relative; position: relative;
margin: 3rem 4rem 3.3rem 4rem; margin: 2.4rem 4rem 3.3rem 4rem;
font-family: Lato; font-family: Lato;
} }
@ -9,6 +9,7 @@
font-family: Lato; font-family: Lato;
font-size: 2.4rem; font-size: 2.4rem;
line-height: 2.9rem; line-height: 2.9rem;
font-weight: 600;
} }
.subTitle { .subTitle {

View File

@ -4,25 +4,26 @@
.formContainer { .formContainer {
margin: 0 3.3rem; margin: 0 3.3rem;
padding: 2rem 1.2rem 5.8rem 1.2rem; padding: 2rem 1.2rem 0rem 1.2rem;
border-radius: 0.2rem; border-radius: 0.2rem;
background-color: #FFFFFF; background-color: #FFFFFF;
box-shadow: 0 0.2rem 0.4rem 0 #E3E9F3; box-shadow: 0 0.2rem 0.4rem 0 #E3E9F3;
> div > hr { > div > hr {
// margin-top: 2.3rem; margin-top: -.5rem;
margin-left: 1.5rem; margin-left: 1.5rem;
margin-right: 1.5rem; margin-right: 1.5rem;
border-top: 1px solid #F6F6F6;
} }
} }
.buttonContainer { .buttonContainer {
position: absolute; position: absolute;
top: 3.3rem; top: 2.8rem;
right: 0rem; right: 0rem;
padding-right: 1.6rem; padding-right: 1.6rem;
} }
.sectionContainer { .sectionContainer {
margin-bottom: 1.7rem; margin-bottom: 1.9rem;
} }

View File

@ -16,6 +16,7 @@ class EditFormSection extends React.Component { // eslint-disable-line react/pre
render() { render() {
const sectionName = isEmpty(this.props.section.name) ? '' : <FormattedMessage {...{id: this.props.section.name}} />; const sectionName = isEmpty(this.props.section.name) ? '' : <FormattedMessage {...{id: this.props.section.name}} />;
const spacer = !isEmpty(sectionName) ? <div className={this.props.styles.spacer} /> : ''; const spacer = !isEmpty(sectionName) ? <div className={this.props.styles.spacer} /> : '';
const sectionNameSpacer = !sectionName ? <div style={{height: '.2rem'}} /> : '';
return ( return (
<div className={this.props.styles.editFormSection}> <div className={this.props.styles.editFormSection}>
<div className="container-fluid"> <div className="container-fluid">
@ -25,6 +26,7 @@ class EditFormSection extends React.Component { // eslint-disable-line react/pre
{sectionName} {sectionName}
</span> </span>
{spacer} {spacer}
{sectionNameSpacer}
</div> </div>
{map(this.props.section.items, (item, key) => { {map(this.props.section.items, (item, key) => {

View File

@ -1,11 +1,21 @@
.headerNav { /* stylelint-disable */ .headerNav { /* stylelint-disable */
// margin-right: 15px;
} }
.headerContainer { .headerContainer {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
margin: 0 1.8rem; margin: 0 1.8rem;
border-radius: 2px;
> a {
box-shadow: 1px 0 0px -2px rgba(0,0,0,0.05), inset 0px -1px 0px -2px rgba(0,0,0,0.05);
&:first-child {
border-radius: 2px 0 0 0;
}
&:last-child {
border-radius: 0 2px 0 0;
}
}
} }
.headerLink { .headerLink {
@ -13,7 +23,7 @@
display: flex; display: flex;
flex: 1 100%; flex: 1 100%;
height: 3.6rem; height: 3.6rem;
border-radius: 1px 0 0 0; border-radius: 2px 0 0 0;
background-color: rgba(14,22,34,0.05); background-color: rgba(14,22,34,0.05);
text-decoration: none !important; text-decoration: none !important;
font-family: Lato; font-family: Lato;
@ -26,10 +36,11 @@
background-color: #FFFFFF; background-color: #FFFFFF;
font-weight: bold; font-weight: bold;
text-decoration: none !important; text-decoration: none !important;
box-shadow: 1px 0 0 -2px rgba(0,0,0,0.05)!important;
> div { > div {
&:first-child { &:first-child {
position: absolute; position: absolute;
height: 0.3rem; height: 0.2rem;
top: 0rem; top: 0rem;
width: 100%; width: 100%;
background-color: #1C5DE7; background-color: #1C5DE7;

View File

@ -1,14 +1,19 @@
.inputEnum { /* stylelint-disable */ .inputEnum { /* stylelint-disable */
margin-top: 1.8rem; // margin-top: 1.8rem;
margin-top: -.3rem;
} }
.enumLabel { .enumLabel {
margin-bottom: 0.5rem; margin-bottom: 0.4rem;
font-weight: 500;
} }
.button { .button {
height: 3.4rem; height: 3.4rem;
padding: 0 1rem 0.5rem 1rem; margin-top: .6rem;
margin-bottom: 2.8rem;
padding: 0 1.5rem 0.5rem 1.5rem;
line-height: 3.2rem; line-height: 3.2rem;
border: 1px solid #E3E9F3; border: 1px solid #E3E9F3;
color: #333740; color: #333740;
@ -23,5 +28,8 @@
.active { .active {
background: linear-gradient(315deg, #0097F6 0%, #005EEA 100%); background: linear-gradient(315deg, #0097F6 0%, #005EEA 100%);
font-family: Lato!important;
font-weight: 800;
color: white !important; color: white !important;
} }

View File

@ -5,6 +5,7 @@
> label { > label {
text-transform: capitalize; text-transform: capitalize;
margin-bottom: .8rem; margin-bottom: .8rem;
font-weight: 500;
} }
> select { > select {
font-size: 1.3rem; font-size: 1.3rem;
@ -12,6 +13,8 @@
color: #333740; color: #333740;
height: 3.5rem!important; height: 3.5rem!important;
border-radius: 0rem!important; border-radius: 0rem!important;
border: 1px solid #E3E9F3;
padding-left: 1rem;
} }
} }

View File

@ -144,6 +144,7 @@ class InputText extends React.Component { // eslint-disable-line react/prefer-st
const placeholder = this.props.placeholder || this.props.name; const placeholder = this.props.placeholder || this.props.name;
const label = this.props.name ? <label htmlFor={this.props.name}><FormattedMessage {...{id: this.props.name}} /></label> : ''; const label = this.props.name ? <label htmlFor={this.props.name}><FormattedMessage {...{id: this.props.name}} /></label> : '';
const spacer = !this.props.name ? {marginTop: '2.8rem'} : {marginTop: ''};
const input = placeholder ? this.renderFormattedInput(handleBlur, inputValue, placeholder) const input = placeholder ? this.renderFormattedInput(handleBlur, inputValue, placeholder)
: <input : <input
@ -162,7 +163,7 @@ class InputText extends React.Component { // eslint-disable-line react/prefer-st
const requiredClass = this.props.validations.required && this.props.addRequiredInputDesign ? this.props.styles.requiredClass : ''; const requiredClass = this.props.validations.required && this.props.addRequiredInputDesign ? this.props.styles.requiredClass : '';
return ( return (
<div className={`${this.props.styles.inputText} ${bootStrapClass} ${requiredClass} ${bootStrapClassDanger}`}> <div className={`${this.props.styles.inputText} ${bootStrapClass} ${requiredClass} ${bootStrapClassDanger}`} style={spacer}>
{label} {label}
{input} {input}
<small>{this.props.inputDescription}</small> <small>{this.props.inputDescription}</small>

View File

@ -56,12 +56,12 @@ class InputToggle extends React.Component { // eslint-disable-line react/prefer-
const btnClassOff = this.state.isChecked ? 'btn ' : `btn ${styles.gradientOff}`; const btnClassOff = this.state.isChecked ? 'btn ' : `btn ${styles.gradientOff}`;
const btnClassOn = this.state.isChecked ? `btn ${styles.gradientOn}` : 'btn'; const btnClassOn = this.state.isChecked ? `btn ${styles.gradientOn}` : 'btn';
const customBootstrapClass = this.props.customBootstrapClass ? this.props.customBootstrapClass : 'col-md-4'; const customBootstrapClass = this.props.customBootstrapClass ? this.props.customBootstrapClass : 'col-md-4';
const label = this.props.hiddenLabel ? ''
: <div className={styles.toggleLabel}><FormattedMessage {...{id: this.props.name}} /></div>;
const resized = this.props.hiddenLabel ? { marginTop: '-1rem'} : { marginTop: ''};
return ( return (
<div className={`${customBootstrapClass} ${styles.container}`}> <div className={`${customBootstrapClass} ${styles.container}`} style={resized}>
<div className={styles.toggleLabel}> {label}
<FormattedMessage {...{id: this.props.name}} />
</div>
<div className={`${styles.inputToggle} btn-group`} data-toggle="buttons"> <div className={`${styles.inputToggle} btn-group`} data-toggle="buttons">
<button className={btnClassOff} id="off" onClick={this.toggle}>OFF</button> <button className={btnClassOff} id="off" onClick={this.toggle}>OFF</button>
<button className={btnClassOn} id="on" onClick={this.toggle}>ON</button> <button className={btnClassOn} id="on" onClick={this.toggle}>ON</button>
@ -74,6 +74,7 @@ class InputToggle extends React.Component { // eslint-disable-line react/prefer-
InputToggle.propTypes = { InputToggle.propTypes = {
customBootstrapClass: React.PropTypes.string, customBootstrapClass: React.PropTypes.string,
handleChange: React.PropTypes.func.isRequired, handleChange: React.PropTypes.func.isRequired,
hiddenLabel: React.PropTypes.bool,
isChecked: React.PropTypes.bool, isChecked: React.PropTypes.bool,
name: React.PropTypes.string, name: React.PropTypes.string,
target: React.PropTypes.string.isRequired, target: React.PropTypes.string.isRequired,

View File

@ -1,6 +1,6 @@
.container { .container {
// margin-top: 1.7rem; // margin-top: 1.7rem;
padding-top: .2rem; // padding-top: .2rem;
} }
.inputToggle { /* stylelint-disable */ .inputToggle { /* stylelint-disable */
@ -10,9 +10,11 @@
width: 5.3rem; width: 5.3rem;
height: 3.4rem; height: 3.4rem;
padding: 0; padding: 0;
line-height: 3.2rem; line-height: 3.4rem;
border: 1px solid #E3E9F3; border: 1px solid #E3E9F3;
// margin-bottom: 1rem;
margin-bottom: 2.8rem;
// color // color
color: #333740; color: #333740;
background-color: white; background-color: white;
@ -23,9 +25,11 @@
font-family: Lato; font-family: Lato;
&:first-of-type { &:first-of-type {
border-right: none; border-right: none;
box-shadow: inset 4px 0 0px -2px rgba(0,0,0,0.05), inset 0px -4px 0px -2px rgba(0,0,0,0.05), 0px -4px 0px -2px rgba(0,0,0,0.05);
} }
&:nth-of-type(2) { &:nth-of-type(2) {
border-left: none; border-left: none;
box-shadow: inset -4px 0 0px -2px rgba(0,0,0,0.05), inset 0px -4px 0px -2px rgba(0,0,0,0.05), 0px -4px 0px -2px rgba(0,0,0,0.05);
} }
&:hover { &:hover {
z-index: 0 !important; z-index: 0 !important;
@ -36,16 +40,18 @@
.gradientOff { .gradientOff {
background-image: linear-gradient( to bottom right, #F65A1D, #F68E0E ); background-image: linear-gradient( to bottom right, #F65A1D, #F68E0E );
color: white !important; color: white !important;
box-shadow: none!important;
} }
.gradientOn { .gradientOn {
background-image: linear-gradient( to bottom right, #005EEA, #0097F6); background-image: linear-gradient( to bottom right, #005EEA, #0097F6);
color: white !important; color: white !important;
box-shadow: none!important;
} }
.toggleLabel { .toggleLabel {
font-weight: 500;
margin-bottom: .7rem; margin-bottom: 1rem;
font-size: 1.3rem; font-size: 1.3rem;
line-height: 1.6rem; line-height: 1.6rem;
} }

View File

@ -90,10 +90,12 @@ class List extends React.Component { // eslint-disable-line react/prefer-statele
onClick={this.toggle} onClick={this.toggle}
/>; />;
const addListTitleMarginTop = this.props.addListTitleMarginTop ? styles.paddedTopList : '';
return ( return (
<div className={styles.listContainer}> <div className={styles.listContainer}>
<div className={styles.listSubContainer}> <div className={styles.listSubContainer}>
<div className={styles.flex}> <div className={`${addListTitleMarginTop} ${styles.flex}`}>
<div className={styles.titleContainer}> <div className={styles.titleContainer}>
{this.props.listTitle} {this.props.listTitle}
</div> </div>
@ -154,6 +156,7 @@ class List extends React.Component { // eslint-disable-line react/prefer-statele
List.propTypes = { List.propTypes = {
actionBeforeOpenPopUp: React.PropTypes.func, actionBeforeOpenPopUp: React.PropTypes.func,
addListTitleMarginTop: React.PropTypes.bool,
handlei18n: React.PropTypes.bool, handlei18n: React.PropTypes.bool,
handleListPopUpSubmit: React.PropTypes.func, handleListPopUpSubmit: React.PropTypes.func,
listButtonLabel: React.PropTypes.string, listButtonLabel: React.PropTypes.string,

View File

@ -11,6 +11,10 @@
box-shadow: 0 0.2rem 0.4rem 0 #E3E9F3; box-shadow: 0 0.2rem 0.4rem 0 #E3E9F3;
} }
.paddedTopList {
margin-top: 2.7rem!important;
}
.flex { .flex {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@ -112,7 +116,7 @@
.bordered { .bordered {
margin-left: 3rem; margin-left: 3rem;
margin-right: 3rem; margin-right: 3rem;
border: 1px solid #F6F6F6; border-bottom: 1px solid #F6F6F6;
} }
.noBorder { .noBorder {
@ -181,6 +185,11 @@
font-size: 1.8rem!important; font-size: 1.8rem!important;
} }
> button {
> span {
color: #0E1622!important;
}
}
} }
@ -224,3 +233,15 @@
.spacerSmall { .spacerSmall {
margin-bottom: 0rem; margin-bottom: 0rem;
} }
.ico {
color: #0E1622;
> i {
font-size: 1.1rem;
}
}
.databaseFont {
font-size: 1.3rem;
}

View File

@ -1,7 +1,8 @@
.pluginLeftMenu { /* stylelint-disable */ .pluginLeftMenu { /* stylelint-disable */
min-height: calc(100vh - 6rem); // TODO should be a global variable min-height: calc(100vh - 6rem); // TODO should be a global variable
border-radius: 1px; border-radius: 1px;
background-color: rgba(14,22,34,0.03); // background-color: rgba(14,22,34,0.03);
background-color: #F2F3F4;
box-shadow: inset 0 0 0.2rem 0 rgba(0,0,0,0.05); box-shadow: inset 0 0 0.2rem 0 rgba(0,0,0,0.05);
padding-top: 1rem; padding-top: .4rem;
} }

View File

@ -35,7 +35,9 @@ class PluginLeftMenuLink extends React.Component { // eslint-disable-line react/
return ( return (
<li className={styles.pluginLeftMenuLink}> <li className={styles.pluginLeftMenuLink}>
<Link className={styles.link} to={`/plugins/settings-manager/${url}`} activeClassName={styles.linkActive}> <Link className={styles.link} to={`/plugins/settings-manager/${url}`} activeClassName={styles.linkActive}>
<i className={`fa fa-${this.props.link.icon}`} /> <div>
<i className={`fa fa-${this.props.link.icon}`} />
</div>
<span><FormattedMessage {...{id: this.props.link.name}} /></span> <span><FormattedMessage {...{id: this.props.link.name}} /></span>
</Link> </Link>
</li> </li>

View File

@ -8,19 +8,22 @@ li:not(:first-child) {
} }
.link { .link {
display: block; display: flex;
margin-left: 2rem; margin-left: 2rem;
margin-right: .5rem; margin-right: .5rem;
padding-top: 1rem; padding-top: 1rem;
padding-left: .6rem; padding-left: 1rem;
min-height: 3.4rem; min-height: 3.4rem;
border-left: 0.4rem solid transparent;
color: #2C3138 !important; color: #2C3138 !important;
text-decoration: none !important; text-decoration: none !important;
line-height: 1.6rem; line-height: 1.6rem;
> div {
> i { width: 1.3rem;
margin-right: 1rem; margin-right: 1rem;
> i {
color: #666B74;
// color: blue;
}
} }
} }
@ -31,4 +34,10 @@ li:not(:first-child) {
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
color: #2D3138 !important; color: #2D3138 !important;
> div {
> i {
color: #2D3138;
}
}
} }

View File

@ -2,6 +2,7 @@
margin-top: 3.3rem; margin-top: 3.3rem;
> p { > p {
-webkit-font-smoothing: antialiased;
margin: 0; margin: 0;
padding-left: 1.5rem; padding-left: 1.5rem;
line-height: 1.3rem; line-height: 1.3rem;

View File

@ -23,6 +23,7 @@ class PopUpForm extends React.Component { // eslint-disable-line react/prefer-st
{map(this.props.sections, (section) => { {map(this.props.sections, (section) => {
// custom rendering // custom rendering
if (this.props.renderPopUpForm) { if (this.props.renderPopUpForm) {
console.log('ook')
// Need to pass props to use this.props.renderInput from WithFormSection HOC // Need to pass props to use this.props.renderInput from WithFormSection HOC
return this.props.renderPopUpForm(section, this.props, styles); return this.props.renderPopUpForm(section, this.props, styles);
} }

View File

@ -46,20 +46,20 @@ class RowDatabase extends React.Component { // eslint-disable-line react/prefer-
render() { render() {
return ( return (
<li> <li className={styles.databaseFont}>
<div className={styles.flexLi}> <div className={styles.flexLi}>
<div className={styles.flexed} onClick={this.showDatabaseModal} style={{ cursor: 'pointer' }}> <div className={styles.flexed} onClick={this.showDatabaseModal} style={{ cursor: 'pointer' }}>
<div className={styles.squared} style={{ backgroundColor: this.props.data.color }}> <div className={styles.squared} style={{ backgroundColor: this.props.data.color }}>
{this.props.data.letter} {this.props.data.letter}
</div> </div>
<div className={styles.label}>{this.props.data.name}</div> <div className={styles.label} style={{ fontWeight: '500'}}>{this.props.data.name}</div>
</div> </div>
<div onClick={this.showDatabaseModal} style={{ cursor: 'pointer' }}>{this.props.data.database}</div> <div onClick={this.showDatabaseModal} style={{ cursor: 'pointer' }}>{this.props.data.host}</div>
<div className={styles.centered} style={{ width: '15rem', cursor: 'pointer'}} onClick={this.showDatabaseModal}>{this.props.data.host}</div> <div className={styles.centered} style={{ width: '15rem', cursor: 'pointer'}} onClick={this.showDatabaseModal}>{this.props.data.database}</div>
<div className={styles.flexed} style={{ width: '4rem', justifyContent: 'space-between'}}> <div className={styles.flexed} style={{ width: '4rem', justifyContent: 'space-between'}}>
<div><i className="fa fa-pencil" style={{ cursor: 'pointer' }} onClick={this.showDatabaseModal} id={this.props.data.name} /></div> <div className={styles.ico}><i className="fa fa-pencil" style={{ cursor: 'pointer' }} onClick={this.showDatabaseModal} id={this.props.data.name} /></div>
<div className={styles.leftSpaced}><i id={this.props.data.name} className="fa fa-trash" onClick={this.toggleWarning} /></div> <div className={`${styles.leftSpaced} ${styles.ico}`}><i id={this.props.data.name} className="fa fa-trash" onClick={this.toggleWarning} /></div>
</div> </div>
</div> </div>
<div> <div>

View File

@ -28,7 +28,7 @@ class RowLanguage extends React.Component { // eslint-disable-line react/prefer-
render() { render() {
// assign the target id the language name to prepare for delete // assign the target id the language name to prepare for delete
const deleteIcon = this.props.active ? '' : <i className="fa fa-trash" onClick={this.toggleWarning} id={this.props.name} />; // eslint-disable-line jsx-a11y/no-static-element-interactions const deleteIcon = this.props.active ? '' : <i className="fa fa-trash" style={{ fontSize: '1.1rem', color: 'rgba(14,22,34,0.75);'}} onClick={this.toggleWarning} id={this.props.name} />; // eslint-disable-line jsx-a11y/no-static-element-interactions
// format the locale to // format the locale to
const defaultLanguageArray = formatLanguageLocale(this.props.name); const defaultLanguageArray = formatLanguageLocale(this.props.name);

View File

@ -2,5 +2,6 @@
"application.description": "col-md-6 offset-md-6 pull-md-6", "application.description": "col-md-6 offset-md-6 pull-md-6",
"application.version": "col-md-6 offset-md-6 pull-md-6", "application.version": "col-md-6 offset-md-6 pull-md-6",
"databases.connections.${name}.settings.host": "col-md-12", "databases.connections.${name}.settings.host": "col-md-12",
"database.connections.settings.host": "col-md-12" "database.connections.settings.host": "col-md-12",
"database.connections.settings.port": "col-md-6"
} }

View File

@ -5,7 +5,7 @@
*/ */
import React from 'react'; import React from 'react';
import { forEach, has, isObject , join, pullAt, split} from 'lodash'; import { forEach, has, isObject , join, pullAt, split, includes} from 'lodash';
import InputNumber from 'components/InputNumber'; import InputNumber from 'components/InputNumber';
import InputText from 'components/InputText'; import InputText from 'components/InputText';
@ -102,6 +102,7 @@ const WithFormSection = (InnerComponent) => class extends React.Component {
// custom handleChange props for nested input form // custom handleChange props for nested input form
const handleChange = this.state.hasNestedInput ? this.handleChange : this.props.handleChange; const handleChange = this.state.hasNestedInput ? this.handleChange : this.props.handleChange;
const hiddenLabel = includes(props.name, 'enabled');
return ( return (
<Input <Input
@ -115,6 +116,8 @@ const WithFormSection = (InnerComponent) => class extends React.Component {
validations={props.validations} validations={props.validations}
value={inputValue} value={inputValue}
addRequiredInputDesign={this.props.addRequiredInputDesign} addRequiredInputDesign={this.props.addRequiredInputDesign}
hiddenLabel={hiddenLabel}
inputDescription={props.description}
/> />
); );
} }

View File

@ -19,18 +19,18 @@
.subNestedFormContainer { .subNestedFormContainer {
margin: 1rem 15px .2rem 15px; margin: -2.3rem 15px 0.1rem 15px;
padding: 0 2rem; padding: 0 2rem;
background: #FAFAFB; background: #FAFAFB;
} }
.spacer { .spacer {
height: 1.5rem; height: 1.7rem;
} }
.nesTedFormContainer { .nesTedFormContainer {
margin-top: 1rem; // margin-top: rem;
padding-top: .2rem; padding-top: 0rem;
margin-bottom: .5rem; // margin-bottom: .5rem;
} }

View File

@ -3,20 +3,26 @@
font-size: 1.3rem; font-size: 1.3rem;
font-family: Lato; font-family: Lato;
> label { > label {
font-weight: 500;
text-transform: capitalize; text-transform: capitalize;
} }
> small { > small {
margin-top: .5rem; margin-top: -1.5rem;
margin-bottom: 1.8rem;
display: block; display: block;
color: #ABAFBB; color: #ABAFBB;
} }
> input { > input {
margin-top: 4px; margin-top: 4px;
margin-bottom: 1.1rem; margin-bottom: 2.8rem;
padding-left: 1rem;
border-radius: 0.25rem; border-radius: 0.25rem;
border: 1px solid #E3E9F3;
height: 3.4rem; height: 3.4rem;
line-height: 1.6rem; line-height: 3.4rem;
font-size: 1.3rem;
font-family: Lato!important; font-family: Lato!important;
background-size: 0!important;
} }
} }
@ -25,20 +31,27 @@
font-family: Lato!important; font-family: Lato!important;
font-size: 1.3rem; font-size: 1.3rem;
> label { > label {
font-size: 1.3rem;
font-weight: 500;
text-transform: capitalize; text-transform: capitalize;
} }
> small { > small {
margin-top: .5rem; margin-top: -1.5rem;
margin-bottom: 1.8rem;
display: block; display: block;
color: #ABAFBB; color: #ABAFBB;
} }
> input { > input {
margin-top: 4px; margin-top: 4px;
margin-bottom: 1.1rem; margin-bottom: 2.8rem;
padding-left: 1rem;
height: 3.4rem; height: 3.4rem;
border-radius: 0.25rem; border-radius: 0.25rem;
line-height: 1.6rem; border: 1px solid #E3E9F3;
line-height: 3.4rem;
font-family: Lato!important; font-family: Lato!important;
font-size: 1.3rem;
background-size: 0!important;
} }
} }
@ -62,3 +75,21 @@
content: "*"; content: "*";
} }
} }
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: #919BAE!important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #919BAE!important;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #919BAE!important;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #919BAE!important;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: #919BAE!important;
}

View File

@ -4,7 +4,7 @@
background: #fff !important; background: #fff !important;
} }
.baseline { .baseline {
// display: none; display: none;
z-index: 100001; z-index: 100001;
opacity: .2; opacity: .2;
position: absolute; position: absolute;

View File

@ -346,6 +346,7 @@ export class HomePage extends React.Component { // eslint-disable-line react/pre
let renderPopUpForm = false; let renderPopUpForm = false;
let renderRow = false; let renderRow = false;
let actionBeforeOpenPopUp; let actionBeforeOpenPopUp;
let addListTitleMarginTop;
switch (this.props.params.slug) { switch (this.props.params.slug) {
case 'languages': case 'languages':
@ -362,6 +363,7 @@ export class HomePage extends React.Component { // eslint-disable-line react/pre
handleListPopUpSubmit = this.addConnection; handleListPopUpSubmit = this.addConnection;
renderRow = this.renderRowDatabase; renderRow = this.renderRowDatabase;
actionBeforeOpenPopUp = this.emptyDbModifiedData; actionBeforeOpenPopUp = this.emptyDbModifiedData;
addListTitleMarginTop = true;
break; break;
default: default:
sections = this.props.home.configsDisplay.sections; sections = this.props.home.configsDisplay.sections;
@ -392,6 +394,7 @@ export class HomePage extends React.Component { // eslint-disable-line react/pre
cancelAction={this.props.home.cancelAction} cancelAction={this.props.home.cancelAction}
actionBeforeOpenPopUp={actionBeforeOpenPopUp} actionBeforeOpenPopUp={actionBeforeOpenPopUp}
addRequiredInputDesign={addRequiredInputDesign} addRequiredInputDesign={addRequiredInputDesign}
addListTitleMarginTop={addListTitleMarginTop}
/> />
); );
} }

View File

@ -1434,15 +1434,13 @@
"dependencies": { "dependencies": {
"abbrev": { "abbrev": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz", "bundled": true,
"integrity": "sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"ajv": { "ajv": {
"version": "4.11.8", "version": "4.11.8",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", "bundled": true,
"integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1452,21 +1450,18 @@
}, },
"ansi-regex": { "ansi-regex": {
"version": "2.1.1", "version": "2.1.1",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", "bundled": true,
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
"dev": true "dev": true
}, },
"aproba": { "aproba": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/aproba/-/aproba-1.1.1.tgz", "bundled": true,
"integrity": "sha1-ldNgDwdxCqDpKYxyatXs8urLq6s=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"are-we-there-yet": { "are-we-there-yet": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz", "bundled": true,
"integrity": "sha1-u13KOCu5TwXhUZQ3PRb9O6HKEQ0=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1476,49 +1471,42 @@
}, },
"asn1": { "asn1": {
"version": "0.2.3", "version": "0.2.3",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", "bundled": true,
"integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"assert-plus": { "assert-plus": {
"version": "0.2.0", "version": "0.2.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", "bundled": true,
"integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"asynckit": { "asynckit": {
"version": "0.4.0", "version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "bundled": true,
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"aws-sign2": { "aws-sign2": {
"version": "0.6.0", "version": "0.6.0",
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", "bundled": true,
"integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"aws4": { "aws4": {
"version": "1.6.0", "version": "1.6.0",
"resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", "bundled": true,
"integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"balanced-match": { "balanced-match": {
"version": "0.4.2", "version": "0.4.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz", "bundled": true,
"integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
"dev": true "dev": true
}, },
"bcrypt-pbkdf": { "bcrypt-pbkdf": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", "bundled": true,
"integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1527,8 +1515,7 @@
}, },
"block-stream": { "block-stream": {
"version": "0.0.9", "version": "0.0.9",
"resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", "bundled": true,
"integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=",
"dev": true, "dev": true,
"requires": { "requires": {
"inherits": "2.0.3" "inherits": "2.0.3"
@ -1536,8 +1523,7 @@
}, },
"boom": { "boom": {
"version": "2.10.1", "version": "2.10.1",
"resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", "bundled": true,
"integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=",
"dev": true, "dev": true,
"requires": { "requires": {
"hoek": "2.16.3" "hoek": "2.16.3"
@ -1545,8 +1531,7 @@
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.7", "version": "1.1.7",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz", "bundled": true,
"integrity": "sha1-Pv/DxQ4ABTH7cg6v+A8K6O8jz1k=",
"dev": true, "dev": true,
"requires": { "requires": {
"balanced-match": "0.4.2", "balanced-match": "0.4.2",
@ -1555,34 +1540,29 @@
}, },
"buffer-shims": { "buffer-shims": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz", "bundled": true,
"integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E=",
"dev": true "dev": true
}, },
"caseless": { "caseless": {
"version": "0.12.0", "version": "0.12.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", "bundled": true,
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"co": { "co": {
"version": "4.6.0", "version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "bundled": true,
"integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", "bundled": true,
"integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
"dev": true "dev": true
}, },
"combined-stream": { "combined-stream": {
"version": "1.0.5", "version": "1.0.5",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", "bundled": true,
"integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=",
"dev": true, "dev": true,
"requires": { "requires": {
"delayed-stream": "1.0.0" "delayed-stream": "1.0.0"
@ -1590,26 +1570,22 @@
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "bundled": true,
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
"dev": true "dev": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", "bundled": true,
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
"dev": true "dev": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "bundled": true,
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
"dev": true "dev": true
}, },
"cryptiles": { "cryptiles": {
"version": "2.0.5", "version": "2.0.5",
"resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", "bundled": true,
"integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1618,8 +1594,7 @@
}, },
"dashdash": { "dashdash": {
"version": "1.14.1", "version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", "bundled": true,
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1628,8 +1603,7 @@
"dependencies": { "dependencies": {
"assert-plus": { "assert-plus": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "bundled": true,
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
"dev": true, "dev": true,
"optional": true "optional": true
} }
@ -1637,8 +1611,7 @@
}, },
"debug": { "debug": {
"version": "2.6.8", "version": "2.6.8",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", "bundled": true,
"integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1647,28 +1620,24 @@
}, },
"deep-extend": { "deep-extend": {
"version": "0.4.2", "version": "0.4.2",
"resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", "bundled": true,
"integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"delayed-stream": { "delayed-stream": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "bundled": true,
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
"dev": true "dev": true
}, },
"delegates": { "delegates": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", "bundled": true,
"integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"ecc-jsbn": { "ecc-jsbn": {
"version": "0.1.1", "version": "0.1.1",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", "bundled": true,
"integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1677,28 +1646,24 @@
}, },
"extend": { "extend": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", "bundled": true,
"integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"extsprintf": { "extsprintf": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.0.2.tgz", "bundled": true,
"integrity": "sha1-4QgOBljjALBilJkMxw4VAiNf1VA=",
"dev": true "dev": true
}, },
"forever-agent": { "forever-agent": {
"version": "0.6.1", "version": "0.6.1",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", "bundled": true,
"integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"form-data": { "form-data": {
"version": "2.1.4", "version": "2.1.4",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", "bundled": true,
"integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1709,14 +1674,12 @@
}, },
"fs.realpath": { "fs.realpath": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "bundled": true,
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
"dev": true "dev": true
}, },
"fstream": { "fstream": {
"version": "1.0.11", "version": "1.0.11",
"resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz", "bundled": true,
"integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=",
"dev": true, "dev": true,
"requires": { "requires": {
"graceful-fs": "4.1.11", "graceful-fs": "4.1.11",
@ -1727,8 +1690,7 @@
}, },
"fstream-ignore": { "fstream-ignore": {
"version": "1.0.5", "version": "1.0.5",
"resolved": "https://registry.npmjs.org/fstream-ignore/-/fstream-ignore-1.0.5.tgz", "bundled": true,
"integrity": "sha1-nDHa40dnAY/h0kmyTa2mfQktoQU=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1739,8 +1701,7 @@
}, },
"gauge": { "gauge": {
"version": "2.7.4", "version": "2.7.4",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", "bundled": true,
"integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1756,8 +1717,7 @@
}, },
"getpass": { "getpass": {
"version": "0.1.7", "version": "0.1.7",
"resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", "bundled": true,
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1766,8 +1726,7 @@
"dependencies": { "dependencies": {
"assert-plus": { "assert-plus": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "bundled": true,
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
"dev": true, "dev": true,
"optional": true "optional": true
} }
@ -1775,8 +1734,7 @@
}, },
"glob": { "glob": {
"version": "7.1.2", "version": "7.1.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", "bundled": true,
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"fs.realpath": "1.0.0", "fs.realpath": "1.0.0",
@ -1789,21 +1747,18 @@
}, },
"graceful-fs": { "graceful-fs": {
"version": "4.1.11", "version": "4.1.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", "bundled": true,
"integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
"dev": true "dev": true
}, },
"har-schema": { "har-schema": {
"version": "1.0.5", "version": "1.0.5",
"resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz", "bundled": true,
"integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"har-validator": { "har-validator": {
"version": "4.2.1", "version": "4.2.1",
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz", "bundled": true,
"integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1813,15 +1768,13 @@
}, },
"has-unicode": { "has-unicode": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", "bundled": true,
"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"hawk": { "hawk": {
"version": "3.1.3", "version": "3.1.3",
"resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", "bundled": true,
"integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1833,14 +1786,12 @@
}, },
"hoek": { "hoek": {
"version": "2.16.3", "version": "2.16.3",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", "bundled": true,
"integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=",
"dev": true "dev": true
}, },
"http-signature": { "http-signature": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", "bundled": true,
"integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1851,8 +1802,7 @@
}, },
"inflight": { "inflight": {
"version": "1.0.6", "version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "bundled": true,
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"dev": true, "dev": true,
"requires": { "requires": {
"once": "1.4.0", "once": "1.4.0",
@ -1861,21 +1811,18 @@
}, },
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", "bundled": true,
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
"dev": true "dev": true
}, },
"ini": { "ini": {
"version": "1.3.4", "version": "1.3.4",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.4.tgz", "bundled": true,
"integrity": "sha1-BTfLedr1m1mhpRff9wbIbsA5Fi4=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"is-fullwidth-code-point": { "is-fullwidth-code-point": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", "bundled": true,
"integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
"dev": true, "dev": true,
"requires": { "requires": {
"number-is-nan": "1.0.1" "number-is-nan": "1.0.1"
@ -1883,28 +1830,24 @@
}, },
"is-typedarray": { "is-typedarray": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "bundled": true,
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"isarray": { "isarray": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "bundled": true,
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
"dev": true "dev": true
}, },
"isstream": { "isstream": {
"version": "0.1.2", "version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "bundled": true,
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"jodid25519": { "jodid25519": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/jodid25519/-/jodid25519-1.0.2.tgz", "bundled": true,
"integrity": "sha1-BtSRIlUJNBlHfUJWM2BuDpB4KWc=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1913,22 +1856,19 @@
}, },
"jsbn": { "jsbn": {
"version": "0.1.1", "version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", "bundled": true,
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"json-schema": { "json-schema": {
"version": "0.2.3", "version": "0.2.3",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "bundled": true,
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"json-stable-stringify": { "json-stable-stringify": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", "bundled": true,
"integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1937,22 +1877,19 @@
}, },
"json-stringify-safe": { "json-stringify-safe": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", "bundled": true,
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"jsonify": { "jsonify": {
"version": "0.0.0", "version": "0.0.0",
"resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", "bundled": true,
"integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"jsprim": { "jsprim": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.0.tgz", "bundled": true,
"integrity": "sha1-o7h+QCmNjDgFUtjMdiigu5WiKRg=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -1964,8 +1901,7 @@
"dependencies": { "dependencies": {
"assert-plus": { "assert-plus": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "bundled": true,
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
"dev": true, "dev": true,
"optional": true "optional": true
} }
@ -1973,14 +1909,12 @@
}, },
"mime-db": { "mime-db": {
"version": "1.27.0", "version": "1.27.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.27.0.tgz", "bundled": true,
"integrity": "sha1-gg9XIpa70g7CXtVeW13oaeVDbrE=",
"dev": true "dev": true
}, },
"mime-types": { "mime-types": {
"version": "2.1.15", "version": "2.1.15",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.15.tgz", "bundled": true,
"integrity": "sha1-pOv1BkCUVpI3uM9wBGd20J/JKu0=",
"dev": true, "dev": true,
"requires": { "requires": {
"mime-db": "1.27.0" "mime-db": "1.27.0"
@ -1988,8 +1922,7 @@
}, },
"minimatch": { "minimatch": {
"version": "3.0.4", "version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", "bundled": true,
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"dev": true, "dev": true,
"requires": { "requires": {
"brace-expansion": "1.1.7" "brace-expansion": "1.1.7"
@ -1997,14 +1930,12 @@
}, },
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "bundled": true,
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
"dev": true "dev": true
}, },
"mkdirp": { "mkdirp": {
"version": "0.5.1", "version": "0.5.1",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "bundled": true,
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"dev": true, "dev": true,
"requires": { "requires": {
"minimist": "0.0.8" "minimist": "0.0.8"
@ -2012,15 +1943,13 @@
}, },
"ms": { "ms": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "bundled": true,
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"node-pre-gyp": { "node-pre-gyp": {
"version": "0.6.36", "version": "0.6.36",
"resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.6.36.tgz", "bundled": true,
"integrity": "sha1-22BBEst04NR3VU6bUFsXq936t4Y=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2037,8 +1966,7 @@
}, },
"nopt": { "nopt": {
"version": "4.0.1", "version": "4.0.1",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", "bundled": true,
"integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2048,8 +1976,7 @@
}, },
"npmlog": { "npmlog": {
"version": "4.1.0", "version": "4.1.0",
"resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.0.tgz", "bundled": true,
"integrity": "sha512-ocolIkZYZt8UveuiDS0yAkkIjid1o7lPG8cYm05yNYzBn8ykQtaiPMEGp8fY9tKdDgm8okpdKzkvu1y9hUYugA==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2061,28 +1988,24 @@
}, },
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", "bundled": true,
"integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
"dev": true "dev": true
}, },
"oauth-sign": { "oauth-sign": {
"version": "0.8.2", "version": "0.8.2",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", "bundled": true,
"integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "bundled": true,
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"once": { "once": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "bundled": true,
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"dev": true, "dev": true,
"requires": { "requires": {
"wrappy": "1.0.2" "wrappy": "1.0.2"
@ -2090,22 +2013,19 @@
}, },
"os-homedir": { "os-homedir": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", "bundled": true,
"integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"os-tmpdir": { "os-tmpdir": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "bundled": true,
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"osenv": { "osenv": {
"version": "0.1.4", "version": "0.1.4",
"resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", "bundled": true,
"integrity": "sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2115,41 +2035,35 @@
}, },
"path-is-absolute": { "path-is-absolute": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "bundled": true,
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
"dev": true "dev": true
}, },
"performance-now": { "performance-now": {
"version": "0.2.0", "version": "0.2.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz", "bundled": true,
"integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"process-nextick-args": { "process-nextick-args": {
"version": "1.0.7", "version": "1.0.7",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", "bundled": true,
"integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=",
"dev": true "dev": true
}, },
"punycode": { "punycode": {
"version": "1.4.1", "version": "1.4.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", "bundled": true,
"integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"qs": { "qs": {
"version": "6.4.0", "version": "6.4.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", "bundled": true,
"integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"rc": { "rc": {
"version": "1.2.1", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/rc/-/rc-1.2.1.tgz", "bundled": true,
"integrity": "sha1-LgPo5C7kULjLPc5lvhv4l04d/ZU=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2161,8 +2075,7 @@
"dependencies": { "dependencies": {
"minimist": { "minimist": {
"version": "1.2.0", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "bundled": true,
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
"dev": true, "dev": true,
"optional": true "optional": true
} }
@ -2170,8 +2083,7 @@
}, },
"readable-stream": { "readable-stream": {
"version": "2.2.9", "version": "2.2.9",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.9.tgz", "bundled": true,
"integrity": "sha1-z3jsb0ptHrQ9JkiMrJfwQudLf8g=",
"dev": true, "dev": true,
"requires": { "requires": {
"buffer-shims": "1.0.0", "buffer-shims": "1.0.0",
@ -2185,8 +2097,7 @@
}, },
"request": { "request": {
"version": "2.81.0", "version": "2.81.0",
"resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz", "bundled": true,
"integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2216,8 +2127,7 @@
}, },
"rimraf": { "rimraf": {
"version": "2.6.1", "version": "2.6.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.1.tgz", "bundled": true,
"integrity": "sha1-wjOOxkPfeht/5cVPqG9XQopV8z0=",
"dev": true, "dev": true,
"requires": { "requires": {
"glob": "7.1.2" "glob": "7.1.2"
@ -2225,35 +2135,30 @@
}, },
"safe-buffer": { "safe-buffer": {
"version": "5.0.1", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.0.1.tgz", "bundled": true,
"integrity": "sha1-0mPKVGls2KMGtcplUekt5XkY++c=",
"dev": true "dev": true
}, },
"semver": { "semver": {
"version": "5.3.0", "version": "5.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", "bundled": true,
"integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"set-blocking": { "set-blocking": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", "bundled": true,
"integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"signal-exit": { "signal-exit": {
"version": "3.0.2", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "bundled": true,
"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"sntp": { "sntp": {
"version": "1.0.9", "version": "1.0.9",
"resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", "bundled": true,
"integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2262,8 +2167,7 @@
}, },
"sshpk": { "sshpk": {
"version": "1.13.0", "version": "1.13.0",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.0.tgz", "bundled": true,
"integrity": "sha1-/yo+T9BEl1Vf7Zezmg/YL6+zozw=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2280,8 +2184,7 @@
"dependencies": { "dependencies": {
"assert-plus": { "assert-plus": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", "bundled": true,
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=",
"dev": true, "dev": true,
"optional": true "optional": true
} }
@ -2289,8 +2192,7 @@
}, },
"string_decoder": { "string_decoder": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.1.tgz", "bundled": true,
"integrity": "sha1-YuIA8DmVWmgQ2N8KM//A8BNmLZg=",
"dev": true, "dev": true,
"requires": { "requires": {
"safe-buffer": "5.0.1" "safe-buffer": "5.0.1"
@ -2298,8 +2200,7 @@
}, },
"string-width": { "string-width": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", "bundled": true,
"integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
"dev": true, "dev": true,
"requires": { "requires": {
"code-point-at": "1.1.0", "code-point-at": "1.1.0",
@ -2309,15 +2210,13 @@
}, },
"stringstream": { "stringstream": {
"version": "0.0.5", "version": "0.0.5",
"resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", "bundled": true,
"integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"strip-ansi": { "strip-ansi": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "bundled": true,
"integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
"dev": true, "dev": true,
"requires": { "requires": {
"ansi-regex": "2.1.1" "ansi-regex": "2.1.1"
@ -2325,15 +2224,13 @@
}, },
"strip-json-comments": { "strip-json-comments": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "bundled": true,
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"tar": { "tar": {
"version": "2.2.1", "version": "2.2.1",
"resolved": "https://registry.npmjs.org/tar/-/tar-2.2.1.tgz", "bundled": true,
"integrity": "sha1-jk0qJWwOIYXGsYrWlK7JaLg8sdE=",
"dev": true, "dev": true,
"requires": { "requires": {
"block-stream": "0.0.9", "block-stream": "0.0.9",
@ -2343,8 +2240,7 @@
}, },
"tar-pack": { "tar-pack": {
"version": "3.4.0", "version": "3.4.0",
"resolved": "https://registry.npmjs.org/tar-pack/-/tar-pack-3.4.0.tgz", "bundled": true,
"integrity": "sha1-I74tf2cagzk3bL2wuP4/3r8xeYQ=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2360,8 +2256,7 @@
}, },
"tough-cookie": { "tough-cookie": {
"version": "2.3.2", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.2.tgz", "bundled": true,
"integrity": "sha1-8IH3bkyFcg5sN6X6ztc3FQ2EByo=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2370,8 +2265,7 @@
}, },
"tunnel-agent": { "tunnel-agent": {
"version": "0.6.0", "version": "0.6.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", "bundled": true,
"integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2380,35 +2274,30 @@
}, },
"tweetnacl": { "tweetnacl": {
"version": "0.14.5", "version": "0.14.5",
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", "bundled": true,
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"uid-number": { "uid-number": {
"version": "0.0.6", "version": "0.0.6",
"resolved": "https://registry.npmjs.org/uid-number/-/uid-number-0.0.6.tgz", "bundled": true,
"integrity": "sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"util-deprecate": { "util-deprecate": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "bundled": true,
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
"dev": true "dev": true
}, },
"uuid": { "uuid": {
"version": "3.0.1", "version": "3.0.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.0.1.tgz", "bundled": true,
"integrity": "sha1-ZUS7ot/ajBzxfmKaOjBeK7H+5sE=",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"verror": { "verror": {
"version": "1.3.6", "version": "1.3.6",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.3.6.tgz", "bundled": true,
"integrity": "sha1-z/XfEpRtKX0rqu+qJoniW+AcAFw=",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2417,8 +2306,7 @@
}, },
"wide-align": { "wide-align": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", "bundled": true,
"integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -2427,8 +2315,7 @@
}, },
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "bundled": true,
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"dev": true "dev": true
} }
} }

View File

@ -555,6 +555,15 @@ module.exports = {
required: true required: true
} }
}, },
{
name: 'form.database.item.database',
target: `database.connections.${name}.settings.database`,
type: 'string',
value: _.get(strapi.config, `environments.${env}.database.connections.${name}.settings.database`, null),
validations: {
required: true
}
},
{ {
name: 'form.database.item.username', name: 'form.database.item.username',
target: `database.connections.${name}.settings.username`, target: `database.connections.${name}.settings.username`,
@ -570,15 +579,6 @@ module.exports = {
type: 'password', type: 'password',
value: _.get(strapi.config, `environments.${env}.database.connections.${name}.settings.password`, null), value: _.get(strapi.config, `environments.${env}.database.connections.${name}.settings.password`, null),
validations: {} validations: {}
},
{
name: 'form.database.item.database',
target: `database.connections.${name}.settings.database`,
type: 'string',
value: _.get(strapi.config, `environments.${env}.database.connections.${name}.settings.database`, null),
validations: {
required: true
}
} }
] ]
}, },