[Bps-public-commit] rt-extension-assets branch, 1.0/style, updated. 15163628e454cdcc77006ddbbd7ede896b2f268e
? sunnavy
sunnavy at bestpractical.com
Sun Jan 12 12:25:40 EST 2014
The branch, 1.0/style has been updated
via 15163628e454cdcc77006ddbbd7ede896b2f268e (commit)
from c0a29423e3aacf6ff71c04597a866ca66d6d2f79 (commit)
Summary of changes:
html/Asset/Elements/AssetSearchPeople | 2 +-
html/Asset/Search/Bulk.html | 2 +-
static/css/RTx-Assets.css | 4 ++++
3 files changed, 6 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 15163628e454cdcc77006ddbbd7ede896b2f268e
Author: sunnavy <sunnavy at bestpractical.com>
Date: Mon Jan 13 01:22:05 2014 +0800
2-columns layout for people widget in search/bulk
diff --git a/html/Asset/Elements/AssetSearchPeople b/html/Asset/Elements/AssetSearchPeople
index 347f033..3a85da5 100644
--- a/html/Asset/Elements/AssetSearchPeople
+++ b/html/Asset/Elements/AssetSearchPeople
@@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<&| /Widgets/TitleBox, title => 'People' &>
+<&| /Widgets/TitleBox, class => "asset-search-people", title => 'People' &>
<table>
% for my $role (RT::Asset->Roles) {
<tr class="asset-role-<% CSSClass($role) %>">
diff --git a/html/Asset/Search/Bulk.html b/html/Asset/Search/Bulk.html
index 388b750..fe7bcb4 100644
--- a/html/Asset/Search/Bulk.html
+++ b/html/Asset/Search/Bulk.html
@@ -94,7 +94,7 @@
</table>
</&>
-<&| /Widgets/TitleBox, title => loc("People"), class => "asset-people", title_class => "inverse" &>
+<&| /Widgets/TitleBox, title => loc("People"), class => "asset-people asset-bulk-people", title_class => "inverse" &>
<table>
% for my $rname ( $asset->Roles( ACLOnly => 0 ) ) {
% my $role = $asset->Role( $rname );
diff --git a/static/css/RTx-Assets.css b/static/css/RTx-Assets.css
index 1f59dcb..64a9fd5 100644
--- a/static/css/RTx-Assets.css
+++ b/static/css/RTx-Assets.css
@@ -181,6 +181,8 @@
padding: inherit;
}
+ .asset-bulk-people tr,
+ .asset-search-people tr,
.asset-bulk-basics tr,
.asset-search-basics tr {
width: 49%;
@@ -188,6 +190,8 @@
white-space: nowrap;
}
+ .asset-bulk-people tr>td,
+ .asset-search-people tr>td,
.asset-bulk-basics tr>td,
.asset-search-basics tr>td {
display:inline-block;
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list