Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
b7614c71
Commit
b7614c71
authored
Jan 18, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error messages restyled
parent
c9ea5f13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
app/assets/stylesheets/application.css
app/assets/stylesheets/application.css
+0
-1
app/assets/stylesheets/style.scss
app/assets/stylesheets/style.scss
+4
-4
app/controllers/deploy_keys_controller.rb
app/controllers/deploy_keys_controller.rb
+5
-3
No files found.
app/assets/stylesheets/application.css
View file @
b7614c71
...
@@ -9,4 +9,3 @@
...
@@ -9,4 +9,3 @@
*= require_self
*= require_self
*= require common
*= require common
*/
*/
app/assets/stylesheets/style.scss
View file @
b7614c71
...
@@ -310,8 +310,7 @@ body.login-page{background-color: #f1f1f1; padding-top: 10%}
...
@@ -310,8 +310,7 @@ body.login-page{background-color: #f1f1f1; padding-top: 10%}
input
[
type
=
"password"
],
input
[
type
=
"password"
],
textarea
textarea
{
{
border
:
1px
solid
#FFBBBB
;
border
:
1px
solid
#D30
!
important
;
background
:
#fff4f6
;
}
}
}
}
/* eo Errors */
/* eo Errors */
...
@@ -711,13 +710,14 @@ body, button, input, select, textarea {
...
@@ -711,13 +710,14 @@ body, button, input, select, textarea {
.errors_holder
{
.errors_holder
{
background
:
#FBB
;
background
:
#D30
;
color
:
#fff
;
border
:
1px
solid
$lite_border_color
;
border
:
1px
solid
$lite_border_color
;
@include
round-borders-all
(
4px
);
@include
round-borders-all
(
4px
);
padding
:
5px
;
padding
:
5px
;
list-style
:none
;
list-style
:none
;
font-weight
:
bold
;
font-weight
:
bold
;
text-shadow
:
0
-1px
0
rgba
(
255
,
255
,
255
,
0
.25
);
text-shadow
:
0
-1px
0
rgba
(
0
,
0
,
0
,
0
.25
);
li
{
li
{
padding
:
10px
;
padding
:
10px
;
...
...
app/controllers/deploy_keys_controller.rb
View file @
b7614c71
...
@@ -27,9 +27,11 @@ class DeployKeysController < ApplicationController
...
@@ -27,9 +27,11 @@ class DeployKeysController < ApplicationController
def
create
def
create
@key
=
@project
.
deploy_keys
.
new
(
params
[
:key
])
@key
=
@project
.
deploy_keys
.
new
(
params
[
:key
])
@key
.
save
if
@key
.
save
redirect_to
project_deploy_keys_path
(
@project
)
redirect_to
project_deploy_keys_path
(
@project
)
else
render
"new"
end
end
end
def
destroy
def
destroy
...
...
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