You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/10/06 17:45:35 UTC

[isis-app-demo] 07/19: updates layout file for HomePageViewModel with new collections

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/isis-app-demo.git

commit 1cf7e4003da95c2c78bfba88e6efc4218f33ba3d
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Oct 5 19:11:58 2021 +0100

    updates layout file for HomePageViewModel with new collections
---
 .../services/homepage/HomePageViewModel.layout.xml  | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/webapp/src/main/java/petclinic/webapp/application/services/homepage/HomePageViewModel.layout.xml b/webapp/src/main/java/petclinic/webapp/application/services/homepage/HomePageViewModel.layout.xml
index 72ba56e..148b6ca 100644
--- a/webapp/src/main/java/petclinic/webapp/application/services/homepage/HomePageViewModel.layout.xml
+++ b/webapp/src/main/java/petclinic/webapp/application/services/homepage/HomePageViewModel.layout.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <bs3:grid xsi:schemaLocation="http://isis.apache.org/applib/layout/component http://isis.apache.org/applib/layout/component/component.xsd http://isis.apache.org/applib/layout/grid/bootstrap3 http://isis.apache.org/applib/layout/grid/bootstrap3/bootstrap3.xsd" xmlns="http://isis.apache.org/applib/layout/component" xmlns:bs3="http://isis.apache.org/applib/layout/grid/bootstrap3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <bs3:row>
-        <bs3:col span="3">
+        <bs3:col span="12">
             <bs3:row>
                 <bs3:col span="12" unreferencedActions="true">
                     <domainObject/>
@@ -17,18 +17,21 @@
                 </bs3:col>
             </bs3:row>
         </bs3:col>
-        <bs3:col span="6" unreferencedCollections="true">
+    </bs3:row>
+    <bs3:row>
+        <bs3:col span="12" unreferencedCollections="true">
             <bs3:row>
-                <bs3:col span="12">
-                    <collection id="objects" defaultView="table"/>
+                <bs3:col span="4">
+                    <collection id="petOwners" defaultView="table"/>
+                </bs3:col>
+                <bs3:col span="4">
+                    <collection id="pets" defaultView="table"/>
+                </bs3:col>
+                <bs3:col span="4">
+                    <collection id="visits" defaultView="table"/>
                 </bs3:col>
             </bs3:row>
         </bs3:col>
-        <bs3:col span="3">
-        </bs3:col>
-    </bs3:row>
-    <bs3:row>
-
     </bs3:row>
     <bs3:row>
         <bs3:col span="0">