mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FEATURE: TableListField's TRs can now have class=loading added to them to show a loading icon. (Used by ModelAdmin)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@62333 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8b83c68f4c
commit
e76c68eff4
@ -138,6 +138,14 @@ table.CMSList tbody td.current td {
|
||||
background: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a loading indication on a TableListField row
|
||||
*/
|
||||
.TableListField tr.loading td.first {
|
||||
padding-left: 22px;
|
||||
background: url(../../cms/images/network-save.gif) 3px 2px no-repeat;
|
||||
}
|
||||
|
||||
.right form .TableField span.readonly {
|
||||
border: 0;
|
||||
background: none;
|
||||
|
@ -1,7 +1,7 @@
|
||||
<tr id="record-$Parent.id-$ID"<% if HighlightClasses %> class="$HighlightClasses"<% end_if %>>
|
||||
<% if Markable %><td width="16">$MarkingCheckbox</td><% end_if %>
|
||||
<% control Fields %>
|
||||
<td class="field-$Title.HTMLATT">$Value</td>
|
||||
<td class="field-$Title.HTMLATT $FirstLast">$Value</td>
|
||||
<% end_control %>
|
||||
<% control Actions %>
|
||||
<td width="16"><a class="$Class" href="$Link"><% if Icon %><img src="$Icon" alt="$Label" /><% else %>$Label<% end_if %></a></td>
|
||||
|
Loading…
Reference in New Issue
Block a user