Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
8cde05fd
Commit
8cde05fd
authored
Oct 25, 2015
by
Ray Schamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix remaining Modal styles
parent
7e74c4a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/components/navigation/navigation.jsx
src/components/navigation/navigation.jsx
+1
-1
src/views/splash/splash.jsx
src/views/splash/splash.jsx
+4
-3
No files found.
src/components/navigation/navigation.jsx
View file @
8cde05fd
...
...
@@ -317,7 +317,7 @@ var Navigation = React.createClass({
</
ul
>
<
Modal
isOpen=
{
this
.
state
.
canceledDeletionOpen
}
onRequestClose=
{
this
.
closeCanceledDeletion
}
frameSettings=
{
{
padding
:
15
}
}
>
style=
{
{
content
:{
padding
:
15
}
}
}
>
<
h4
>
Your Account Will Not Be Deleted
</
h4
>
<
p
>
Your account was scheduled for deletion but you logged in. Your account has been reactivated.
...
...
src/views/splash/splash.jsx
View file @
8cde05fd
var
injectIntl
=
require
(
'
react-intl
'
).
injectIntl
;
var
omit
=
require
(
'
lodash.omit
'
);
var
React
=
require
(
'
react
'
);
var
render
=
require
(
'
../../lib/render.jsx
'
);
...
...
@@ -290,6 +291,7 @@ var Splash = injectIntl(React.createClass({
var
showEmailConfirmation
=
(
this
.
state
.
session
.
user
&&
this
.
state
.
session
.
flags
.
has_outstanding_email_confirmation
&&
this
.
state
.
session
.
flags
.
confirm_email_banner
);
var
emailConfirmationStyle
=
{
width
:
500
,
height
:
330
,
padding
:
1
};
return
(
<
div
className=
"splash"
>
{
showEmailConfirmation
?
[
...
...
@@ -303,11 +305,10 @@ var Splash = injectIntl(React.createClass({
<
Modal
key=
"emailConfirmationModal"
isOpen=
{
this
.
state
.
emailConfirmationModalOpen
}
onRequestClose=
{
this
.
hideEmailConfirmationModal
}
frameSettings=
{
{
width
:
500
,
height
:
330
,
padding
:
1
}
}
>
style=
{
{
content
:
emailConfirmationStyle
}
}
>
<
iframe
src=
"/accounts/email_resend_standalone/"
width=
"500"
height=
"330"
/>
{
...
omit
(
emailConfirmationStyle
,
'
padding
')}
/>
</
Modal
>
]
:
[]
}
<
div
key=
"inner"
className=
"inner"
>
...
...
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