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
b23b78ad
Commit
b23b78ad
authored
Oct 28, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7866 from cirosantilli/input-button-to-tag
Use button type=submit instead of input.
parents
beabf5db
62940330
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
14 additions
and
14 deletions
+14
-14
app/views/admin/groups/index.html.haml
app/views/admin/groups/index.html.haml
+1
-1
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+1
-1
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+1
-1
app/views/devise/sessions/_new_ldap.html.haml
app/views/devise/sessions/_new_ldap.html.haml
+1
-1
app/views/explore/groups/index.html.haml
app/views/explore/groups/index.html.haml
+1
-1
app/views/explore/projects/index.html.haml
app/views/explore/projects/index.html.haml
+1
-1
app/views/groups/members.html.haml
app/views/groups/members.html.haml
+1
-1
app/views/layouts/_search.html.haml
app/views/layouts/_search.html.haml
+1
-1
app/views/projects/blob/_remove.html.haml
app/views/projects/blob/_remove.html.haml
+1
-1
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+1
-1
app/views/projects/compare/_form.html.haml
app/views/projects/compare/_form.html.haml
+1
-1
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+1
-1
app/views/projects/team_members/import.html.haml
app/views/projects/team_members/import.html.haml
+1
-1
app/views/search/show.html.haml
app/views/search/show.html.haml
+1
-1
No files found.
app/views/admin/groups/index.html.haml
View file @
b23b78ad
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
=
form_tag
admin_groups_path
,
method: :get
,
class:
'form-inline'
do
=
form_tag
admin_groups_path
,
method: :get
,
class:
'form-inline'
do
.form-group
.form-group
=
text_field_tag
:name
,
params
[
:name
],
class:
"form-control input-mn-300"
=
text_field_tag
:name
,
params
[
:name
],
class:
"form-control input-mn-300"
=
submit
_tag
"Search"
,
class:
"btn submit btn-primary"
=
button
_tag
"Search"
,
class:
"btn submit btn-primary"
%hr
%hr
...
...
app/views/admin/groups/show.html.haml
View file @
b23b78ad
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
%div
.prepend-top-10
%div
.prepend-top-10
=
select_tag
:access_level
,
options_for_select
(
GroupMember
.
access_level_roles
),
class:
"project-access-select select2"
=
select_tag
:access_level
,
options_for_select
(
GroupMember
.
access_level_roles
),
class:
"project-access-select select2"
%hr
%hr
=
submit
_tag
'Add users into group'
,
class:
"btn btn-create"
=
button
_tag
'Add users into group'
,
class:
"btn btn-create"
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
%h3
.panel-title
%h3
.panel-title
...
...
app/views/admin/projects/index.html.haml
View file @
b23b78ad
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
=
label
=
label
%hr
%hr
=
hidden_field_tag
:sort
,
params
[
:sort
]
=
hidden_field_tag
:sort
,
params
[
:sort
]
=
submit
_tag
"Search"
,
class:
"btn submit btn-primary"
=
button
_tag
"Search"
,
class:
"btn submit btn-primary"
=
link_to
"Reset"
,
admin_projects_path
,
class:
"btn btn-cancel"
=
link_to
"Reset"
,
admin_projects_path
,
class:
"btn btn-cancel"
.col-md-9
.col-md-9
...
...
app/views/devise/sessions/_new_ldap.html.haml
View file @
b23b78ad
...
@@ -2,4 +2,4 @@
...
@@ -2,4 +2,4 @@
=
text_field_tag
:username
,
nil
,
{
class:
"form-control top"
,
placeholder:
"LDAP Login"
,
autofocus:
"autofocus"
}
=
text_field_tag
:username
,
nil
,
{
class:
"form-control top"
,
placeholder:
"LDAP Login"
,
autofocus:
"autofocus"
}
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
placeholder:
"Password"
}
=
password_field_tag
:password
,
nil
,
{
class:
"form-control bottom"
,
placeholder:
"Password"
}
%br
/
%br
/
=
submit
_tag
"LDAP Sign in"
,
class:
"btn-save btn"
=
button
_tag
"LDAP Sign in"
,
class:
"btn-save btn"
app/views/explore/groups/index.html.haml
View file @
b23b78ad
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.form-group
.form-group
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input input-mn-300"
,
id:
"groups_search"
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input input-mn-300"
,
id:
"groups_search"
.form-group
.form-group
=
submit
_tag
'Search'
,
class:
"btn btn-primary wide"
=
button
_tag
'Search'
,
class:
"btn btn-primary wide"
.pull-right
.pull-right
.dropdown.inline
.dropdown.inline
...
...
app/views/explore/projects/index.html.haml
View file @
b23b78ad
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
.form-group
.form-group
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input input-mn-300"
,
id:
"projects_search"
=
search_field_tag
:search
,
params
[
:search
],
placeholder:
"Filter by name"
,
class:
"form-control search-text-input input-mn-300"
,
id:
"projects_search"
.form-group
.form-group
=
submit
_tag
'Search'
,
class:
"btn btn-primary wide"
=
button
_tag
'Search'
,
class:
"btn btn-primary wide"
.pull-right
.pull-right
.dropdown.inline
.dropdown.inline
...
...
app/views/groups/members.html.haml
View file @
b23b78ad
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
=
form_tag
members_group_path
(
@group
),
method: :get
,
class:
'form-inline member-search-form'
do
=
form_tag
members_group_path
(
@group
),
method: :get
,
class:
'form-inline member-search-form'
do
.form-group
.form-group
=
search_field_tag
:search
,
params
[
:search
],
{
placeholder:
'Find existing member by name'
,
class:
'form-control search-text-input input-mn-300'
}
=
search_field_tag
:search
,
params
[
:search
],
{
placeholder:
'Find existing member by name'
,
class:
'form-control search-text-input input-mn-300'
}
=
submit
_tag
'Search'
,
class:
'btn'
=
button
_tag
'Search'
,
class:
'btn'
-
if
current_user
&&
current_user
.
can?
(
:manage_group
,
@group
)
-
if
current_user
&&
current_user
.
can?
(
:manage_group
,
@group
)
.pull-right
.pull-right
...
...
app/views/layouts/_search.html.haml
View file @
b23b78ad
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
-
if
@snippet
||
@snippets
-
if
@snippet
||
@snippets
=
hidden_field_tag
:snippets
,
true
=
hidden_field_tag
:snippets
,
true
=
hidden_field_tag
:repository_ref
,
@ref
=
hidden_field_tag
:repository_ref
,
@ref
=
submit
_tag
'Go'
if
ENV
[
'RAILS_ENV'
]
==
'test'
=
button
_tag
'Go'
if
ENV
[
'RAILS_ENV'
]
==
'test'
.search-autocomplete-opts.hide
{
:'data-autocomplete-path'
=>
search_autocomplete_path
,
:'data-autocomplete-project-id'
=>
@project
.
try
(
:id
),
:'data-autocomplete-project-ref'
=>
@ref
}
.search-autocomplete-opts.hide
{
:'data-autocomplete-path'
=>
search_autocomplete_path
,
:'data-autocomplete-project-id'
=>
@project
.
try
(
:id
),
:'data-autocomplete-project-ref'
=>
@ref
}
:javascript
:javascript
...
...
app/views/projects/blob/_remove.html.haml
View file @
b23b78ad
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.form-group
.form-group
.col-sm-2
.col-sm-2
.col-sm-10
.col-sm-10
=
submit
_tag
'Remove file'
,
class:
'btn btn-remove btn-remove-file'
=
button
_tag
'Remove file'
,
class:
'btn btn-remove btn-remove-file'
=
link_to
"Cancel"
,
'#'
,
class:
"btn btn-cancel"
,
"data-dismiss"
=>
"modal"
=
link_to
"Cancel"
,
'#'
,
class:
"btn btn-cancel"
,
"data-dismiss"
=>
"modal"
:javascript
:javascript
...
...
app/views/projects/branches/new.html.haml
View file @
b23b78ad
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
.col-sm-10
.col-sm-10
=
text_field_tag
:ref
,
params
[
:ref
],
placeholder:
'existing branch name, tag or commit SHA'
,
required:
true
,
tabindex:
2
,
class:
'form-control'
=
text_field_tag
:ref
,
params
[
:ref
],
placeholder:
'existing branch name, tag or commit SHA'
,
required:
true
,
tabindex:
2
,
class:
'form-control'
.form-actions
.form-actions
=
submit
_tag
'Create branch'
,
class:
'btn btn-create'
,
tabindex:
3
=
button
_tag
'Create branch'
,
class:
'btn btn-create'
,
tabindex:
3
=
link_to
'Cancel'
,
project_branches_path
(
@project
),
class:
'btn btn-cancel'
=
link_to
'Cancel'
,
project_branches_path
(
@project
),
class:
'btn btn-cancel'
:javascript
:javascript
...
...
app/views/projects/compare/_form.html.haml
View file @
b23b78ad
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
%span
.input-group-addon
to
%span
.input-group-addon
to
=
text_field_tag
:to
,
params
[
:to
],
class:
"form-control"
=
text_field_tag
:to
,
params
[
:to
],
class:
"form-control"
=
submit
_tag
"Compare"
,
class:
"btn btn-create commits-compare-btn"
=
button
_tag
"Compare"
,
class:
"btn btn-create commits-compare-btn"
-
if
compare_to_mr_button?
-
if
compare_to_mr_button?
=
link_to
compare_mr_path
,
class:
'prepend-left-10 btn'
do
=
link_to
compare_mr_path
,
class:
'prepend-left-10 btn'
do
%strong
Make a merge request
%strong
Make a merge request
...
...
app/views/projects/tags/new.html.haml
View file @
b23b78ad
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
=
text_field_tag
:message
,
nil
,
placeholder:
'Enter message.'
,
required:
false
,
tabindex:
3
,
class:
'form-control'
=
text_field_tag
:message
,
nil
,
placeholder:
'Enter message.'
,
required:
false
,
tabindex:
3
,
class:
'form-control'
.light
(Optional) Entering a message will create an annotated tag.
.light
(Optional) Entering a message will create an annotated tag.
.form-actions
.form-actions
=
submit
_tag
'Create tag'
,
class:
'btn btn-create'
,
tabindex:
3
=
button
_tag
'Create tag'
,
class:
'btn btn-create'
,
tabindex:
3
=
link_to
'Cancel'
,
project_tags_path
(
@project
),
class:
'btn btn-cancel'
=
link_to
'Cancel'
,
project_tags_path
(
@project
),
class:
'btn btn-cancel'
:javascript
:javascript
...
...
app/views/projects/team_members/import.html.haml
View file @
b23b78ad
...
@@ -9,6 +9,6 @@
...
@@ -9,6 +9,6 @@
.col-sm-10
=
select_tag
(
:source_project_id
,
options_from_collection_for_select
(
current_user
.
authorized_projects
,
:id
,
:name_with_namespace
),
prompt:
"Select project"
,
class:
"select2 lg"
,
required:
true
)
.col-sm-10
=
select_tag
(
:source_project_id
,
options_from_collection_for_select
(
current_user
.
authorized_projects
,
:id
,
:name_with_namespace
),
prompt:
"Select project"
,
class:
"select2 lg"
,
required:
true
)
.form-actions
.form-actions
=
submit
_tag
'Import project members'
,
class:
"btn btn-create"
=
button
_tag
'Import project members'
,
class:
"btn btn-create"
=
link_to
"Cancel"
,
project_team_index_path
(
@project
),
class:
"btn btn-cancel"
=
link_to
"Cancel"
,
project_team_index_path
(
@project
),
class:
"btn btn-cancel"
app/views/search/show.html.haml
View file @
b23b78ad
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
.col-sm-6
.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
.col-sm-4
=
submit
_tag
'Search'
,
class:
"btn btn-create"
=
button
_tag
'Search'
,
class:
"btn btn-create"
.form-group
.form-group
.col-sm-2
.col-sm-2
-
unless
params
[
:snippets
].
eql?
'true'
-
unless
params
[
:snippets
].
eql?
'true'
...
...
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