Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zimbra-admin-api-js
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Public
zimbra-admin-api-js
Commits
db06f5b6
Commit
db06f5b6
authored
Jul 13, 2016
by
Patricio Bruna
Committed by
Juorder Antonio
Jul 14, 2016
Browse files
Options
Browse Files
Download
Plain Diff
add zone dns template for creating first time and add fallback to fix webpack config
parents
05d9d1fa
d512d8ee
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
13 deletions
+20
-13
.scss-lint.yml
.scss-lint.yml
+1
-1
path.json
path.json
+1
-1
domain_admin_dns.jsx
src/components/domain/domain_admin_dns.jsx
+3
-3
dns_form.jsx
src/components/domain/multiform/dns_form.jsx
+4
-3
index.jsx
src/index.jsx
+4
-3
_tabs.scss
src/sass/components/_tabs.scss
+4
-2
webpack.config.js
webpack.config.js
+3
-0
No files found.
.scss-lint.yml
View file @
db06f5b6
...
...
@@ -168,7 +168,7 @@ linters:
Shorthand
:
enabled
:
true
allowed_shorthands
:
[
1
,
2
,
3
]
allowed_shorthands
:
[
1
,
2
,
3
,
4
]
SingleLinePerProperty
:
enabled
:
true
...
...
path.json
View file @
db06f5b6
module.exports
=
{
"main"
:{
"js"
:
"/785572bundle.js"
}}
\ No newline at end of file
module.exports
=
{
"main"
:{
"js"
:
"/584076bundle.js"
}}
\ No newline at end of file
src/components/domain/domain_admin_dns.jsx
View file @
db06f5b6
...
...
@@ -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
)
{
...
...
src/components/domain/multiform/dns_form.jsx
View file @
db06f5b6
...
...
@@ -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
;
...
...
src/index.jsx
View file @
db06f5b6
...
...
@@ -45,14 +45,15 @@ const notFoundParams = {
function
preRenderSetup
(
callwhendone
)
{
const
d1
=
Client
.
getClientConfig
(
(
data
)
=>
{
const
config
=
data
.
result
||
data
;
if
(
!
data
)
{
if
(
!
config
)
{
return
;
}
global
.
window
.
manager_config
=
data
;
global
.
window
.
manager_config
=
config
;
if
(
data
.
debug
)
{
if
(
config
.
debug
)
{
global
.
window
.
Client
=
Client
;
global
.
window
.
Utils
=
Utils
;
}
...
...
src/sass/components/_tabs.scss
View file @
db06f5b6
...
...
@@ -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
;
}
...
...
webpack.config.js
View file @
db06f5b6
...
...
@@ -103,6 +103,9 @@ var config = {
'node_modules'
,
path
.
resolve
(
__dirname
)
]
},
node
:
{
fs
:
'empty'
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment