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: ...@@ -168,7 +168,7 @@ linters:
Shorthand: Shorthand:
enabled: true enabled: true
allowed_shorthands: [1, 2, 3] allowed_shorthands: [1, 2, 3, 4]
SingleLinePerProperty: SingleLinePerProperty:
enabled: true enabled: true
......
module.exports = {"main":{"js":"/785572bundle.js"}} module.exports = {"main":{"js":"/584076bundle.js"}}
\ No newline at end of file \ No newline at end of file
...@@ -88,10 +88,10 @@ export default class DNSZoneForm extends React.Component { ...@@ -88,10 +88,10 @@ export default class DNSZoneForm extends React.Component {
const records = this.defaultRows; const records = this.defaultRows;
const zoneDNS = this.zoneDNS; const zoneDNS = this.zoneDNS;
const domain = this.props.domain; const domain = this.props.domain;
const template = window.manager_config.dns.template;
const request = { const request = {
name: this.props.domain.name, name: domain.name,
kind: 'Master', template
nameservers: []
}; };
if (this.newRows.length > 0) { if (this.newRows.length > 0) {
......
...@@ -55,10 +55,11 @@ export default class DNSZoneForm extends React.Component { ...@@ -55,10 +55,11 @@ export default class DNSZoneForm extends React.Component {
} }
addDNSRequest() { addDNSRequest() {
const domain = this.props.state.domain;
const template = window.manager_config.dns.template;
const request = { const request = {
name: this.props.state.domain.name, name: domain.name,
kind: 'Master', template
nameservers: []
}; };
const records = this.defaultRows; const records = this.defaultRows;
......
...@@ -126,13 +126,15 @@ ...@@ -126,13 +126,15 @@
.tabs-right > .nav-tabs > li > a:hover, .tabs-right > .nav-tabs > li > a:hover,
.tabs-right > .nav-tabs > li > a:focus { .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,
.tabs-right > .nav-tabs .active > a:hover, .tabs-right > .nav-tabs .active > a:hover,
.tabs-right > .nav-tabs .active > a:focus { .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; z-index: 1;
} }
......
...@@ -103,6 +103,9 @@ var config = { ...@@ -103,6 +103,9 @@ var config = {
'node_modules', 'node_modules',
path.resolve(__dirname) 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