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
Kazuhiko Shiozaki
gitlab-ce
Commits
d46d6fc1
Commit
d46d6fc1
authored
Jun 08, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve UI for phones
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
8641cda4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
app/assets/stylesheets/generic/mobile.scss
app/assets/stylesheets/generic/mobile.scss
+15
-0
app/views/projects/merge_requests/index.html.haml
app/views/projects/merge_requests/index.html.haml
+4
-3
app/views/users/show.html.haml
app/views/users/show.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/mobile.scss
View file @
d46d6fc1
...
...
@@ -64,6 +64,21 @@
margin-left
:
15px
!
important
;
max-width
:
70%
!
important
;
}
.issue-info
,
.merge-request-info
{
display
:
none
;
}
.issue-details
{
.creator
,
.page-title
.btn-close
{
display
:
none
;
}
}
%ul
.notes
.note-role
,
.note-actions
{
display
:
none
;
}
}
@media
(
max-width
:
$screen-sm-max
)
{
...
...
app/views/projects/merge_requests/index.html.haml
View file @
d46d6fc1
...
...
@@ -4,7 +4,8 @@
=
render
'shared/issuable_search_form'
,
path:
namespace_project_merge_requests_path
(
@project
.
namespace
,
@project
)
-
if
can?
current_user
,
:write_merge_request
,
@project
=
link_to
new_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
),
class:
"btn btn-new pull-left"
,
title:
"New Merge Request"
do
.pull-left.hidden-xs
=
link_to
new_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
),
class:
"btn btn-new"
,
title:
"New Merge Request"
do
%i
.fa.fa-plus
New Merge Request
=
render
'shared/issuable_filter'
,
type: :merge_requests
...
...
app/views/users/show.html.haml
View file @
d46d6fc1
...
...
@@ -13,7 +13,7 @@
%h3
=
@user
.
name
-
if
@user
==
current_user
.pull-right
.pull-right
.hidden-xs
=
link_to
profile_path
,
class:
'btn btn-sm'
do
%i
.fa.fa-pencil-square-o
Edit Profile settings
...
...
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