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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
02bfb0ff
Commit
02bfb0ff
authored
Sep 19, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style for resolve conflicts form
parent
17830296
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
app/assets/stylesheets/pages/merge_conflicts.scss
app/assets/stylesheets/pages/merge_conflicts.scss
+4
-0
app/views/projects/merge_requests/conflicts/_submit_form.html.haml
.../projects/merge_requests/conflicts/_submit_form.html.haml
+17
-10
No files found.
app/assets/stylesheets/pages/merge_conflicts.scss
View file @
02bfb0ff
...
...
@@ -278,4 +278,8 @@ $colors: (
margin-left
:
10px
;
}
}
.resolve-conflicts-form
{
padding-top
:
$gl-padding
;
}
}
app/views/projects/merge_requests/conflicts/_submit_form.html.haml
View file @
02bfb0ff
.content-block
.commit-message-container.form-group
.form-horizontal.resolve-conflicts-form
.form-group
%label
.col-sm-2.control-label
{
"for"
=>
"commit-message"
}
Commit message
.col-sm-10
.commit-message-container
.max-width-marker
%textarea
.form-control.js-commit-message
{
"v-model"
=>
"conflictsData.commitMessage"
}
%textarea
.form-control.js-commit-message
#commit-message
{
"v-model"
=>
"conflictsData.commitMessage"
,
"rows"
=>
"5"
}
{{{conflictsData.commitMessage}}}
%button
{
type:
"button"
,
class:
"btn btn-success js-submit-button"
,
"@click"
=>
"commit()"
,
":disabled"
=>
"!readyToCommit"
}
.form-group
.col-sm-offset-2.col-sm-10
.row
.col-xs-6
%button
{
type:
"button"
,
class:
"btn btn-success js-submit-button"
,
"@click"
=>
"commit()"
,
":disabled"
=>
"!readyToCommit"
}
%span
{{commitButtonText}}
.col-xs-6.text-right
=
link_to
"Cancel"
,
namespace_project_merge_request_path
(
@merge_request
.
project
.
namespace
,
@merge_request
.
project
,
@merge_request
),
class:
"btn btn-cancel"
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