...
|
...
|
@@ -15,8 +15,8 @@ |
15
|
15
|
limitations under the License.
|
16
|
16
|
|
17
|
17
|
-->
|
18
|
|
-<md-grid-list class="tb-home-links" md-cols="2" md-cols-lg="3" md-cols-gt-lg="4" md-row-height="280px">
|
19
|
|
- <md-grid-tile md-colspan="2" md-colspan-gt-sm="{{section.places.length}}" ng-repeat="section in vm.model">
|
|
18
|
+<md-grid-list class="tb-home-links" md-cols="{{vm.cols}}" md-row-height="280px">
|
|
19
|
+ <md-grid-tile md-colspan="2" md-colspan-gt-sm="{{vm.sectionColspan(section)}}" ng-repeat="section in vm.model">
|
20
|
20
|
<md-card style='width: 100%;'>
|
21
|
21
|
<md-card-title>
|
22
|
22
|
<md-card-title-text>
|
...
|
...
|
@@ -25,12 +25,12 @@ |
25
|
25
|
</md-card-title>
|
26
|
26
|
<md-card-content>
|
27
|
27
|
<md-grid-list md-row-height="170px" md-cols="{{section.places.length}}" md-cols-gt-md="{{section.places.length}}">
|
28
|
|
- <md-grid-tile class="card-tile" ng-repeat="place in section.places">
|
29
|
|
- <md-button class="tb-card-button md-raised md-primary" layout="column" ui-sref="{{place.state}}">
|
30
|
|
- <md-icon class="material-icons tb-md-96" aria-label="{{place.icon}}">{{place.icon}}</md-icon>
|
31
|
|
- <span translate>{{place.name}}</span>
|
32
|
|
- </md-button>
|
33
|
|
- </md-grid-tile>
|
|
28
|
+ <md-grid-tile class="card-tile" ng-repeat="place in section.places">
|
|
29
|
+ <md-button class="tb-card-button md-raised md-primary" layout="column" ui-sref="{{place.state}}">
|
|
30
|
+ <md-icon class="material-icons tb-md-96" aria-label="{{place.icon}}">{{place.icon}}</md-icon>
|
|
31
|
+ <span translate>{{place.name}}</span>
|
|
32
|
+ </md-button>
|
|
33
|
+ </md-grid-tile>
|
34
|
34
|
</md-grid-list>
|
35
|
35
|
</md-card-content>
|
36
|
36
|
</md-card>
|
...
|
...
|
|