Changeset 791 for branches/features/taskProcedureRework
- Timestamp:
- Feb 7, 2011, 1:14:44 PM (14 years ago)
- Location:
- branches/features/taskProcedureRework
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/views/shared/_assetTreeCompact.gsp
r787 r791 3 3 <% assetInstance = Asset.read(assetInstance?.id)%> 4 4 5 <div class="static_tree" 5 <div class="static_tree"> 6 6 ${assetInstance?.encodeAsHTML()} 7 <ul> 8 <g:each var="assetSubItem1" in="${assetInstance?.assetSubItems?.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 9 <li> 10 ${assetSubItem1?.encodeAsHTML()} 11 </li> 7 <div class="static_tree_compact"> 8 <ul> 9 <g:each var="assetSubItem1" in="${assetInstance?.assetSubItems?.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 10 <li> 11 ${assetSubItem1?.encodeAsHTML()} 12 </li> 12 13 13 <div id="treelevel1">14 <div id="treelevel1"> 14 15 15 <ul>16 <g:each var="assetSubItem2" in="${assetSubItem1.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">17 <li>18 ${assetSubItem2?.encodeAsHTML()}19 </li>20 </g:each> <!--assetSubItem2-->21 </ul>16 <ul> 17 <g:each var="assetSubItem2" in="${assetSubItem1.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 18 <li> 19 ${assetSubItem2?.encodeAsHTML()} 20 </li> 21 </g:each> <!--assetSubItem2--> 22 </ul> 22 23 23 </div>24 </div> 24 25 25 </g:each> <!--assetSubItem1--> 26 </ul> 26 </g:each> <!--assetSubItem1--> 27 </ul> 28 </div> 27 29 </div> -
branches/features/taskProcedureRework/web-app/css/main.css
r729 r791 690 690 div.static_tree { 691 691 } 692 div.static_tree_compact { 693 height:10em; 694 width:100%; 695 overflow:auto; 696 } 692 697 div.static_tree ul { 693 698 list-style-type: none;
Note: See TracChangeset
for help on using the changeset viewer.