Attempt to fix the TelerikNext (to be tested)

This commit is contained in:
Erjan Gavalji
2015-03-24 11:31:22 +02:00
parent b13b57f3a8
commit 21c1bcb7e2
2 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
import application = require("application");
// Set the start module for the application
application.mainModule = "app/main-page";
application.mainModule = "main-page";
// TODO: This is only neede because of the deply script.
application.cssFile = "app/TelerikNEXT/app.css";

View File

@ -1,5 +1,5 @@
<Page xmlns="http://www.nativescript.org/tns.xsd"
loaded="pageLoaded" xmlns:tsb="app/TelerikUI/side-bar">
loaded="pageLoaded" xmlns:tsb="TelerikUI/side-bar">
<tsb:SideBar title="TelerikNEXT">
<tsb:SideBar.slideContent>
<StackLayout style="background-color: white">
@ -15,7 +15,7 @@
</Label>
</Border>
<Image src="~/app/images/logo.png" margin="20" />
<Image src="~/images/logo.png" margin="20" />
<Button tap="{{ selectView }}" text="My agenda" horizontalAlignment="left" color="{{ selectedViewIndex === 0 ? '#e4ba4e' : 'white' }}"/>
<Button tap="{{ selectView }}" text="All sessions" horizontalAlignment="left" color="{{ selectedViewIndex === 1 ? '#e4ba4e' : 'white' }}" />
@ -29,7 +29,7 @@
<GridLayout rows="auto, auto, *" visibility="{{ selectedViewIndex !== 2 ? 'visible' : 'collapsed' }}">
<StackLayout style="background-image: url('~/app/images/background.jpg')">
<StackLayout style="background-image: url('~/images/background.jpg')">
<SegmentedBar selectedIndex="{{ selectedIndex }}" style="background-color: transparent;color: white;" selectedBackgroundColor="#fac950">
<SegmentedBar.items>
<SegmentedBarItem title="MAY 3" />
@ -55,7 +55,7 @@
<ListView.itemTemplate>
<GridLayout columns="auto, *" cssClass="{{ canBeFavorited ? 'list-view-row' : 'break-row' }}">
<Image src="{{ favorite ? '~/app/images/fav.png' : '~/app/images/addfav.png' }}"
<Image src="{{ favorite ? '~/images/fav.png' : '~/images/addfav.png' }}"
visibility="{{ canBeFavorited ? 'visible' : 'collapsed' }}"
tap="toggleFavorite" cssClass="favourite-image" />
@ -86,7 +86,7 @@
</GridLayout>
<Border style="background-color: #053140;" visibility="{{ selectedViewIndex === 2 ? 'visible' : 'collapsed' }}">
<Image src="~/app/images/logo.png" margin="20" />
<Image src="~/images/logo.png" margin="20" />
</Border>
</GridLayout>
@ -95,4 +95,4 @@
</Page>
</Page>