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
cfe10f07
Commit
cfe10f07
authored
May 29, 2018
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace well-list with content-list and hover-list
parent
4c74936f
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
34 additions
and
34 deletions
+34
-34
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+1
-1
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+4
-4
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+3
-3
app/views/admin/users/_profile.html.haml
app/views/admin/users/_profile.html.haml
+1
-1
app/views/admin/users/projects.html.haml
app/views/admin/users/projects.html.haml
+2
-2
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+2
-2
app/views/events/event/_push.html.haml
app/views/events/event/_push.html.haml
+1
-1
app/views/groups/projects.html.haml
app/views/groups/projects.html.haml
+1
-1
app/views/help/index.html.haml
app/views/help/index.html.haml
+1
-1
app/views/help/ui.html.haml
app/views/help/ui.html.haml
+3
-3
app/views/profiles/_event_table.html.haml
app/views/profiles/_event_table.html.haml
+1
-1
app/views/profiles/emails/index.html.haml
app/views/profiles/emails/index.html.haml
+1
-1
app/views/profiles/gpg_keys/_key_table.html.haml
app/views/profiles/gpg_keys/_key_table.html.haml
+1
-1
app/views/profiles/keys/_key_details.html.haml
app/views/profiles/keys/_key_details.html.haml
+1
-1
app/views/profiles/keys/_key_table.html.haml
app/views/profiles/keys/_key_table.html.haml
+1
-1
app/views/projects/hooks/_index.html.haml
app/views/projects/hooks/_index.html.haml
+1
-1
app/views/projects/pages/_list.html.haml
app/views/projects/pages/_list.html.haml
+1
-1
app/views/shared/milestones/_issuables.html.haml
app/views/shared/milestones/_issuables.html.haml
+1
-1
app/views/sherlock/queries/_backtrace.html.haml
app/views/sherlock/queries/_backtrace.html.haml
+2
-2
app/views/sherlock/queries/_general.html.haml
app/views/sherlock/queries/_general.html.haml
+3
-3
app/views/sherlock/transactions/_general.html.haml
app/views/sherlock/transactions/_general.html.haml
+1
-1
doc/development/ux_guide/components.md
doc/development/ux_guide/components.md
+1
-1
No files found.
app/assets/stylesheets/framework/lists.scss
View file @
cfe10f07
...
...
@@ -2,7 +2,7 @@
* Well styled list
*
*/
.
card-body
-list
{
.
hover
-list
{
position
:
relative
;
margin
:
0
;
padding
:
0
;
...
...
app/views/admin/groups/show.html.haml
View file @
cfe10f07
...
...
@@ -13,7 +13,7 @@
.card
.card-header
Group info:
%ul
.
well
-list
%ul
.
content
-list
%li
.avatar-container.s60
=
group_icon
(
@group
,
class:
"avatar s60"
)
...
...
@@ -64,7 +64,7 @@
Projects
%span
.badge.badge-pill
#{
@group
.
projects
.
count
}
%ul
.
well
-list
%ul
.
content
-list
-
@projects
.
each
do
|
project
|
%li
%strong
...
...
@@ -82,7 +82,7 @@
Projects shared with
#{
@group
.
name
}
%span
.badge.badge-pill
#{
@group
.
shared_projects
.
count
}
%ul
.
well
-list
%ul
.
content
-list
-
@group
.
shared_projects
.
sort_by
(
&
:name
).
each
do
|
project
|
%li
%strong
...
...
@@ -118,7 +118,7 @@
%span
.badge.badge-pill
=
@group
.
members
.
size
.float-right
=
link_to
icon
(
'pencil-square-o'
,
text:
'Manage access'
),
polymorphic_url
([
@group
,
:members
]),
class:
"btn btn-sm"
%ul
.
well
-list.group-users-list.content-list.members-list
%ul
.
content
-list.group-users-list.content-list.members-list
=
render
partial:
'shared/members/member'
,
collection:
@members
,
as: :member
,
locals:
{
show_controls:
false
}
.card-footer
=
paginate
@members
,
param_name:
'members_page'
,
theme:
'gitlab'
app/views/admin/projects/show.html.haml
View file @
cfe10f07
...
...
@@ -22,7 +22,7 @@
.card
.card-header
Project info:
%ul
.
well
-list
%ul
.
content
-list
%li
%span
.light
Name:
%strong
...
...
@@ -166,7 +166,7 @@
.float-right
=
link_to
admin_group_path
(
@group
),
class:
'btn btn-sm'
do
=
icon
(
'pencil-square-o'
,
text:
'Manage access'
)
%ul
.
well
-list.content-list.members-list
%ul
.
content
-list.content-list.members-list
=
render
partial:
'shared/members/member'
,
collection:
@group_members
,
as: :member
,
locals:
{
show_controls:
false
}
.card-footer
=
paginate
@group_members
,
param_name:
'group_members_page'
,
theme:
'gitlab'
...
...
@@ -180,7 +180,7 @@
%span
.badge.badge-pill
=
@project
.
users
.
size
.float-right
=
link_to
icon
(
'pencil-square-o'
,
text:
'Manage access'
),
polymorphic_url
([
@project
,
:members
]),
class:
"btn btn-sm"
%ul
.
well
-list.project_members.content-list.members-list
%ul
.
content
-list.project_members.content-list.members-list
=
render
partial:
'shared/members/member'
,
collection:
@project_members
,
as: :member
,
locals:
{
show_controls:
false
}
.card-footer
=
paginate
@project_members
,
param_name:
'project_members_page'
,
theme:
'gitlab'
app/views/admin/users/_profile.html.haml
View file @
cfe10f07
.card
.card-header
Profile
%ul
.
well
-list
%ul
.
content
-list
%li
%span
.light
Member since
%strong
=
user
.
created_at
.
to_s
(
:medium
)
...
...
app/views/admin/users/projects.html.haml
View file @
cfe10f07
...
...
@@ -4,7 +4,7 @@
-
if
@user
.
groups
.
any?
.card
.card-header
Group projects
%ul
.
card-body
-list
%ul
.
hover
-list
-
@user
.
group_members
.
includes
(
:source
).
each
do
|
group_member
|
-
group
=
group_member
.
group
%li
.group_member
...
...
@@ -28,7 +28,7 @@
.col-md-6
.card
.card-header
Joined projects (
#{
@joined_projects
.
count
}
)
%ul
.
card-body
-list
%ul
.
hover
-list
-
@joined_projects
.
sort_by
(
&
:full_name
).
each
do
|
project
|
-
member
=
project
.
team
.
find_member
(
@user
.
id
)
%li
.project_member
...
...
app/views/admin/users/show.html.haml
View file @
cfe10f07
...
...
@@ -8,7 +8,7 @@
.card
.card-header
=
@user
.
name
%ul
.
well
-list
%ul
.
content
-list
%li
=
image_tag
avatar_icon_for_user
(
@user
,
60
),
class:
"avatar s60"
%li
...
...
@@ -21,7 +21,7 @@
.card
.card-header
Account:
%ul
.
well
-list
%ul
.
content
-list
%li
%span
.light
Name:
%strong
=
@user
.
name
...
...
app/views/events/event/_push.html.haml
View file @
cfe10f07
...
...
@@ -14,7 +14,7 @@
-
if
event
.
push_with_commits?
.event-body
%ul
.
well
-list.event_commits
%ul
.
content
-list.event_commits
=
render
"events/commit"
,
project:
project
,
event:
event
-
create_mr
=
event
.
new_ref?
&&
create_mr_button?
(
project
.
default_branch
,
event
.
ref_name
,
project
)
&&
event
.
authored_by?
(
current_user
)
...
...
app/views/groups/projects.html.haml
View file @
cfe10f07
...
...
@@ -8,7 +8,7 @@
.controls
=
link_to
new_project_path
(
namespace_id:
@group
.
id
),
class:
"btn btn-sm btn-success"
do
New project
%ul
.
well
-list
%ul
.
content
-list
-
@projects
.
each
do
|
project
|
%li
.list-item-name
...
...
app/views/help/index.html.haml
View file @
cfe10f07
...
...
@@ -36,7 +36,7 @@
.card
.card-header
Quick help
%ul
.
well
-list
%ul
.
content
-list
%li
=
link_to
'See our website for getting help'
,
support_url
%li
%button
.btn-blank.btn-link.js-trigger-search-bar
{
type:
'button'
}
...
...
app/views/help/ui.html.haml
View file @
cfe10f07
...
...
@@ -116,9 +116,9 @@
.lead
List with hover effect
%code
.
well
-list
%code
.
hover
-list
.example
%ul
.
well
-list
%ul
.
hover
-list
%li
One item
%li
...
...
@@ -131,7 +131,7 @@
.example
.card
.card-header
Your list
%ul
.
well
-list
%ul
.
content
-list
%li
One item
%li
...
...
app/views/profiles/_event_table.html.haml
View file @
cfe10f07
%h5
.prepend-top-0
History of authentications
%ul
.
well
-list
%ul
.
content
-list
-
events
.
each
do
|
event
|
%li
%span
.description
...
...
app/views/profiles/emails/index.html.haml
View file @
cfe10f07
...
...
@@ -29,7 +29,7 @@
Your Public Email will be displayed on your public profile.
%li
All email addresses will be used to identify your commits.
%ul
.
well
-list
%ul
.
content
-list
%li
=
render
partial:
'shared/email_with_badge'
,
locals:
{
email:
@primary_email
,
verified:
current_user
.
confirmed?
}
%span
.float-right
...
...
app/views/profiles/gpg_keys/_key_table.html.haml
View file @
cfe10f07
-
is_admin
=
local_assigns
.
fetch
(
:admin
,
false
)
-
if
@gpg_keys
.
any?
%ul
.
well
-list
%ul
.
content
-list
=
render
partial:
'profiles/gpg_keys/key'
,
collection:
@gpg_keys
,
locals:
{
is_admin:
is_admin
}
-
else
%p
.settings-message.text-center
...
...
app/views/profiles/keys/_key_details.html.haml
View file @
cfe10f07
...
...
@@ -4,7 +4,7 @@
.card
.card-header
SSH Key
%ul
.
well
-list
%ul
.
content
-list
%li
%span
.light
Title:
%strong
=
@key
.
title
...
...
app/views/profiles/keys/_key_table.html.haml
View file @
cfe10f07
-
is_admin
=
local_assigns
.
fetch
(
:admin
,
false
)
-
if
@keys
.
any?
%ul
.
well
-list
%ul
.
content
-list
=
render
partial:
'profiles/keys/key'
,
collection:
@keys
,
locals:
{
is_admin:
is_admin
}
-
else
%p
.settings-message.text-center
...
...
app/views/projects/hooks/_index.html.haml
View file @
cfe10f07
...
...
@@ -15,7 +15,7 @@
%h5
.prepend-top-default
Webhooks (
#{
@hooks
.
count
}
)
-
if
@hooks
.
any?
%ul
.
well
-list
%ul
.
content
-list
-
@hooks
.
each
do
|
hook
|
=
render
'project_hook'
,
hook:
hook
-
else
...
...
app/views/projects/pages/_list.html.haml
View file @
cfe10f07
...
...
@@ -4,7 +4,7 @@
.card
.card-header
Domains (
#{
@domains
.
count
}
)
%ul
.
well
-list.pages-domain-list
{
class:
(
"has-verification-status"
if
verification_enabled
)
}
%ul
.
content
-list.pages-domain-list
{
class:
(
"has-verification-status"
if
verification_enabled
)
}
-
@domains
.
each
do
|
domain
|
%li
.pages-domain-list-item.unstyled
-
if
verification_enabled
...
...
app/views/shared/milestones/_issuables.html.haml
View file @
cfe10f07
...
...
@@ -11,7 +11,7 @@
=
number_with_delimiter
(
issuables
.
length
)
-
class_prefix
=
dom_class
(
issuables
).
pluralize
%ul
{
class:
"
well
-list milestone-#{class_prefix}-list"
,
id:
"#{class_prefix}-list-#{id}"
}
%ul
{
class:
"
content
-list milestone-#{class_prefix}-list"
,
id:
"#{class_prefix}-list-#{id}"
}
=
render
partial:
'shared/milestones/issuable'
,
collection:
issuables
,
as: :issuable
,
...
...
app/views/sherlock/queries/_backtrace.html.haml
View file @
cfe10f07
...
...
@@ -3,7 +3,7 @@
.card-header
%strong
=
t
(
'sherlock.application_backtrace'
)
%ul
.
well
-list
%ul
.
content
-list
-
@query
.
application_backtrace
.
each
do
|
location
|
%li
%strong
...
...
@@ -19,7 +19,7 @@
.card-header
%strong
=
t
(
'sherlock.full_backtrace'
)
%ul
.
well
-list
%ul
.
content
-list
-
@query
.
backtrace
.
each
do
|
location
|
%li
-
if
location
.
application?
...
...
app/views/sherlock/queries/_general.html.haml
View file @
cfe10f07
...
...
@@ -3,7 +3,7 @@
.card-header
%strong
=
t
(
'sherlock.general'
)
%ul
.
well
-list
%ul
.
content
-list
%li
%span
.light
#{
t
(
'sherlock.time'
)
}
:
...
...
@@ -32,7 +32,7 @@
=
@query
.
formatted_query
%strong
=
t
(
'sherlock.query'
)
%ul
.
well
-list
%ul
.
content
-list
%li
.code.js-syntax-highlight.sherlock-code
:preserve
...
...
@@ -47,7 +47,7 @@
=
@query
.
explain
%strong
=
t
(
'sherlock.query_plan'
)
%ul
.
well
-list
%ul
.
content
-list
%li
.code.js-syntax-highlight.sherlock-code
%pre
...
...
app/views/sherlock/transactions/_general.html.haml
View file @
cfe10f07
...
...
@@ -3,7 +3,7 @@
.card-header
%strong
=
t
(
'sherlock.general'
)
%ul
.
well
-list
%ul
.
content
-list
%li
%span
.light
#{
t
(
'sherlock.id'
)
}
:
...
...
doc/development/ux_guide/components.md
View file @
cfe10f07
...
...
@@ -193,7 +193,7 @@ List with avatar, title and description using .content-list
![
List with avatar
](
img/components-listwithavatar.png
)
List with hover effect .
well
-list
List with hover effect .
content
-list
![
List with hover effect
](
img/components-listwithhover.png
)
...
...
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