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
b512fbc0
Commit
b512fbc0
authored
Jan 02, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style search page for twbs3
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
7617ff56
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
app/views/projects/commits/_diffs.html.haml
app/views/projects/commits/_diffs.html.haml
+2
-2
app/views/search/show.html.haml
app/views/search/show.html.haml
+13
-9
No files found.
app/views/projects/commits/_diffs.html.haml
View file @
b512fbc0
-
@suppress_diff
||=
@suppress_diff
||
@force_suppress_diff
-
@suppress_diff
||=
@suppress_diff
||
@force_suppress_diff
-
if
@suppress_diff
-
if
@suppress_diff
.alert.alert-
block
.alert.alert-
warning
%p
%p
%strong
Warning! This is a large diff.
%strong
Warning! This is a large diff.
%p
%p
...
...
app/views/search/show.html.haml
View file @
b512fbc0
=
form_tag
search_path
,
method: :get
,
class:
'form-inline'
do
|
f
|
=
form_tag
search_path
,
method: :get
,
class:
'form-horizontal'
do
|
f
|
.search-holder
.search-holder.clearfix
=
label_tag
:search
do
.form-group
=
label_tag
:search
,
class:
'control-label'
do
%span
Looking for
%span
Looking for
.col-sm-10
.col-sm-6
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"issue 143"
,
class:
"form-control search-text-input"
,
id:
"dashboard_search"
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"issue 143"
,
class:
"form-control search-text-input"
,
id:
"dashboard_search"
.col-sm-4
=
submit_tag
'Search'
,
class:
"btn btn-create"
.form-group
.col-sm-2
.col-sm-10
=
render
'filter'
,
f:
f
=
hidden_field_tag
:project_id
,
params
[
:project_id
]
=
hidden_field_tag
:project_id
,
params
[
:project_id
]
=
hidden_field_tag
:group_id
,
params
[
:group_id
]
=
hidden_field_tag
:group_id
,
params
[
:group_id
]
=
hidden_field_tag
:search_code
,
params
[
:search_code
]
=
hidden_field_tag
:search_code
,
params
[
:search_code
]
=
submit_tag
'Search'
,
class:
"btn btn-create"
.prepend-top-10
=
render
'filter'
,
f:
f
.results.prepend-top-10
.results.prepend-top-10
-
if
params
[
:search
].
present?
-
if
params
[
:search
].
present?
...
...
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