Commit 0e4bc133 authored by Juorder Gonzalez's avatar Juorder Gonzalez Committed by GitHub

Merge pull request #259 from ZBoxApp/zonedns

add zone dns template for creating first time and add fallback to fix…
parents 7d14d23b db06f5b6
......@@ -168,7 +168,7 @@ linters:
Shorthand:
enabled: true
allowed_shorthands: [1, 2, 3]
allowed_shorthands: [1, 2, 3, 4]
SingleLinePerProperty:
enabled: true
......
module.exports = {"main":{"js":"/785572bundle.js"}}
\ No newline at end of file
module.exports = {"main":{"js":"/584076bundle.js"}}
\ No newline at end of file
......@@ -88,10 +88,10 @@ export default class DNSZoneForm extends React.Component {
const records = this.defaultRows;
const zoneDNS = this.zoneDNS;
const domain = this.props.domain;
const template = window.manager_config.dns.template;
const request = {
name: this.props.domain.name,
kind: 'Master',
nameservers: []
name: domain.name,
template
};
if (this.newRows.length > 0) {
......
......@@ -55,10 +55,11 @@ export default class DNSZoneForm extends React.Component {
}
addDNSRequest() {
const domain = this.props.state.domain;
const template = window.manager_config.dns.template;
const request = {
name: this.props.state.domain.name,
kind: 'Master',
nameservers: []
name: domain.name,
template
};
const records = this.defaultRows;
......
......@@ -126,13 +126,15 @@
.tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus {
border-color: $border-color-tabs-state $border-color-tabs-state $border-color-tabs-state $table-children-border-bottom-color;
border-color: $border-color-tabs-state;
border-left-color: $table-children-border-bottom-color;
}
.tabs-right > .nav-tabs .active > a,
.tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus {
border-color: $border-color $border-color $border-color transparent;
border-color: $border-color;
border-left-color: transparent;
z-index: 1;
}
......
......@@ -103,6 +103,9 @@ var config = {
'node_modules',
path.resolve(__dirname)
]
},
node: {
fs: 'empty'
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment