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
a9d7948e
Commit
a9d7948e
authored
Apr 11, 2016
by
Elias Nahum
Committed by
Juorder Antonio
May 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add style to center login form
parent
bce5a14e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
15 deletions
+22
-15
path.json
path.json
+1
-1
company_details.jsx
src/components/companies/company_details.jsx
+1
-1
domains.jsx
src/components/domain/domains.jsx
+5
-2
mailbox.jsx
src/components/mailbox/mailbox.jsx
+1
-0
pagination.jsx
src/components/pagination.jsx
+11
-6
_layout.scss
src/sass/layout/_layout.scss
+3
-1
_login.scss
src/sass/routes/_login.scss
+0
-4
No files found.
path.json
View file @
a9d7948e
module.exports
=
{
"main"
:{
"js"
:
"/619769bundle.js"
}}
module.exports
=
{
"main"
:{
"js"
:
"/459212bundle.js"
}}
\ No newline at end of file
\ No newline at end of file
src/components/companies/company_details.jsx
View file @
a9d7948e
...
@@ -75,7 +75,7 @@ export default class CompaniesDetails extends React.Component {
...
@@ -75,7 +75,7 @@ export default class CompaniesDetails extends React.Component {
},
},
(
data
)
=>
{
(
data
)
=>
{
const
domains
=
data
.
domain
;
const
domains
=
data
.
domain
;
self
.
getPlans
(
domains
).
return
self
.
getPlans
(
domains
).
then
(()
=>
{
then
(()
=>
{
company
.
domains
=
domains
;
company
.
domains
=
domains
;
resolve
(
company
);
resolve
(
company
);
...
...
src/components/domain/domains.jsx
View file @
a9d7948e
...
@@ -158,7 +158,10 @@ export default class Domains extends React.Component {
...
@@ -158,7 +158,10 @@ export default class Domains extends React.Component {
if
(
this
.
state
.
loading
)
{
if
(
this
.
state
.
loading
)
{
panelBody
=
(
panelBody
=
(
<
div
className=
'text-center'
>
<
div
className=
'text-center'
key=
{
'domain-loading'
}
>
<
i
className=
'fa fa-spinner fa-spin fa-4x fa-fw'
></
i
>
<
i
className=
'fa fa-spinner fa-spin fa-4x fa-fw'
></
i
>
<
p
>
{
'Cargando Dominios...'
}
</
p
>
<
p
>
{
'Cargando Dominios...'
}
</
p
>
</
div
>
</
div
>
...
@@ -276,7 +279,7 @@ export default class Domains extends React.Component {
...
@@ -276,7 +279,7 @@ export default class Domains extends React.Component {
}
}
panelBody
=
(
panelBody
=
(
<
div
>
<
div
key=
{
'body-domains'
}
>
<
div
<
div
id=
'index-domains-table'
id=
'index-domains-table'
className=
'table-responsive'
className=
'table-responsive'
...
...
src/components/mailbox/mailbox.jsx
View file @
a9d7948e
...
@@ -424,6 +424,7 @@ export default class Mailboxes extends React.Component {
...
@@ -424,6 +424,7 @@ export default class Mailboxes extends React.Component {
currentPage=
{
this
.
state
.
page
}
currentPage=
{
this
.
state
.
page
}
totalPages=
{
hasPage
.
total
}
totalPages=
{
hasPage
.
total
}
total=
{
hasPage
.
totalItems
}
total=
{
hasPage
.
totalItems
}
name=
{
'Casillas'
}
/>
/>
);
);
}
}
...
...
src/components/pagination.jsx
View file @
a9d7948e
...
@@ -70,11 +70,13 @@ export default class Pagination extends React.Component {
...
@@ -70,11 +70,13 @@ export default class Pagination extends React.Component {
const
total
=
this
.
props
.
totalPages
;
const
total
=
this
.
props
.
totalPages
;
const
current
=
this
.
props
.
currentPage
;
const
current
=
this
.
props
.
currentPage
;
const
pages
=
[];
const
pages
=
[];
const
hasName
=
this
.
props
.
name
;
let
first
;
let
first
;
let
prev
;
let
prev
;
let
next
;
let
next
;
let
last
;
let
last
;
let
totalItems
;
const
console
=
(
const
console
=
(
<
li
key=
'console-page'
>
<
li
key=
'console-page'
>
...
@@ -82,11 +84,13 @@ export default class Pagination extends React.Component {
...
@@ -82,11 +84,13 @@ export default class Pagination extends React.Component {
</
li
>
</
li
>
);
);
let
totalItems
=
(
if
(
hasName
)
{
totalItems
=
(
<
li
key=
'total-items'
>
<
li
key=
'total-items'
>
<
span
>
{
`${this.props.total} Casillas
`
}
</
span
>
<
span
>
{
`${this.props.total} ${hasName}
`
}
</
span
>
</
li
>
</
li
>
);
);
}
if
(
current
>
1
&&
current
<=
total
)
{
if
(
current
>
1
&&
current
<=
total
)
{
first
=
(
first
=
(
...
@@ -196,7 +200,8 @@ Pagination.propTypes = {
...
@@ -196,7 +200,8 @@ Pagination.propTypes = {
currentPage
:
React
.
PropTypes
.
number
.
isRequired
,
currentPage
:
React
.
PropTypes
.
number
.
isRequired
,
totalPages
:
React
.
PropTypes
.
number
.
isRequired
,
totalPages
:
React
.
PropTypes
.
number
.
isRequired
,
range
:
React
.
PropTypes
.
number
,
range
:
React
.
PropTypes
.
number
,
total
:
React
.
PropTypes
.
number
total
:
React
.
PropTypes
.
number
,
name
:
React
.
PropTypes
.
string
};
};
Pagination
.
defaultProps
=
{
Pagination
.
defaultProps
=
{
...
...
src/sass/layout/_layout.scss
View file @
a9d7948e
...
@@ -44,7 +44,9 @@ body {
...
@@ -44,7 +44,9 @@ body {
height
:
inherit
;
height
:
inherit
;
>
div
{
>
div
{
height
:
inherit
;
position
:
relative
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
}
#wrapper
{
#wrapper
{
...
...
src/sass/routes/_login.scss
View file @
a9d7948e
...
@@ -7,25 +7,21 @@ body {
...
@@ -7,25 +7,21 @@ body {
.login-container
{
.login-container
{
margin
:
auto
;
margin
:
auto
;
max-width
:
420px
;
max-width
:
420px
;
padding-top
:
6%
;
}
}
.register-container
{
.register-container
{
margin
:
auto
;
margin
:
auto
;
max-width
:
720px
;
max-width
:
720px
;
padding-top
:
6%
;
}
}
.lock-container
{
.lock-container
{
margin
:
auto
;
margin
:
auto
;
max-width
:
420px
;
max-width
:
420px
;
padding-top
:
6%
;
}
}
.error-container
{
.error-container
{
margin
:
auto
;
margin
:
auto
;
max-width
:
620px
;
max-width
:
620px
;
padding-top
:
6%
;
h1
{
h1
{
font-size
:
44px
;
font-size
:
44px
;
...
...
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