Sidebar removed for now

This commit is contained in:
vakrilov
2015-03-21 09:01:57 +02:00
parent 7037bc9d83
commit 5ab1ec2c19
2 changed files with 60 additions and 51 deletions

View File

@ -21,3 +21,11 @@
font-size: 22;
color: black;
}
.sessionRow{
}
.breakRow{
background-color: #FFFBF0;
}

View File

@ -53,9 +53,10 @@
<ListView items="{{ sessions }}" row="2" separatorColor="#fac950">
<ListView.itemTemplate>
<GridLayout columns="auto, *" backgroundColor="{{ canBeFavorited ? 'white' : '#fffbf0' }}">
<GridLayout columns="auto, *" cssClass="{{ canBeFavorited ? 'sessionRow' : 'breakRow' }}">
<Image src="{{ favorite ? '~/app/images/fav.png' : '~/app/images/addfav.png' }}" visibility="{{ canBeFavorited ? 'visible' : 'collapsed' }}"
<Image src="{{ favorite ? '~/app/images/fav.png' : '~/app/images/addfav.png' }}"
visibility="{{ canBeFavorited ? 'visible' : 'collapsed' }}"
tap="toggleFavorite" width="32" height="32" vertical-align="center" margin="20" />
<StackLayout col="1">