Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VictorL - Began working on HomePage Views.
- Loading branch information
Showing
94 changed files
with
11,665 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,47 @@ | |||
<Application | <Application x:Class="UWOpenDataW8.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:UWOpenDataW8" | ||
x:Class="UWOpenDataW8.App" | xmlns:vm="using:UWOpenDataW8.ViewModels"> | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | <Application.Resources> | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | <!-- OVERRIDE --> | ||
xmlns:local="using:UWOpenDataW8"> | <!-- <SolidColorBrush x:Key="ListViewItemSelectedPointerOverBackgroundThemeBrush"--> | ||
|
<!-- Color="Transparent" />--> | ||
</Application> | <!-- <SolidColorBrush x:Key="ListViewItemSelectedPointerOverBorderThemeBrush"--> | ||
<!-- Color="Transparent" />--> | |||
<!-- <SolidColorBrush x:Key="ListViewItemSelectedBackgroundThemeBrush"--> | |||
<!-- Color="Transparent" />--> | |||
<!-- <SolidColorBrush x:Key="ListViewItemSelectedForegroundThemeBrush"--> | |||
<!-- Color="Red" />--> | |||
<ResourceDictionary> | |||
<ResourceDictionary.MergedDictionaries> | |||
<!-- etc. --> | |||
</ResourceDictionary.MergedDictionaries> | |||
<!-- COMMON --> | |||
|
|||
<SolidColorBrush x:Key="BackgroundYellow" Color="#FEDA00"></SolidColorBrush> | |||
|
|||
<SolidColorBrush x:Key="BackgroundPureWhite" Color="#ffffff" /> | |||
<SolidColorBrush x:Key="Transparent" Color="#00000000" /> | |||
<SolidColorBrush x:Key="VideoPlayerForegroundBrush" Color="#00B9FC" /> | |||
<SolidColorBrush x:Key="HeaderPink" Color="#f02471" /> | |||
<SolidColorBrush x:Key="HeaderGray" Color="#eeeeee" /> | |||
<SolidColorBrush x:Key="HeaderCyan" Color="#00bbe4" /> | |||
<SolidColorBrush x:Key="HeaderYellow" Color="#fff200" /> | |||
<SolidColorBrush x:Key="TextGray" Color="#a5a5a5" /> | |||
<SolidColorBrush x:Key="TextLightGray" Color="#FFD3D3D3" /> | |||
<SolidColorBrush x:Key="TextBlack" Color="#1c1c1c" /> | |||
<SolidColorBrush x:Key="TextWhite" Color="#f2f2f2" /> | |||
<SolidColorBrush x:Key="BackgroundWhite" Color="#f2f2f2" /> | |||
<SolidColorBrush x:Key="BackgroundBlack" Color="#1c1c1c" /> | |||
<FontFamily x:Key="OpenSansRegularFamily">/Assets/Fonts/OpenSans-Regular.ttf#Open Sans</FontFamily> | |||
<FontFamily x:Key="OpenSansBoldFamily">/Assets/Fonts/OpenSans-Bold.ttf#Open Sans</FontFamily> | |||
<FontFamily x:Key="FontBoldFamily">/Assets/Fonts/HelveticaNeueLTStd-Roman.otf#Helvetica Neue LT Std</FontFamily> | |||
|
|||
<vm:ViewModelLocator x:Key="ViewModelLocator"/> | |||
|
|||
<Style x:Key="ContentHeaderStyle" TargetType="TextBlock"> | |||
<Setter Property="FontFamily" Value="{StaticResource OpenSansBoldFamily}"></Setter> | |||
<Setter Property="FontSize" Value="24"></Setter> | |||
<Setter Property="Foreground" Value="{StaticResource TextBlack}"></Setter> | |||
</Style> | |||
</ResourceDictionary> | |||
</Application.Resources> | |||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,86 @@ | |||
<Page | |||
x:Class="UWOpenDataW8.Pages.HomePage" | |||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||
xmlns:local="using:UWOpenDataW8.Pages" | |||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |||
mc:Ignorable="d" | |||
DataContext="{Binding HomePage, Source={StaticResource ViewModelLocator}}"> | |||
|
|||
<Grid Background="{StaticResource BackgroundWhite}"> | |||
|
|||
<Grid Name="ResizableGrid" Visibility="Visible"> | |||
|
|||
<Grid.RowDefinitions> | |||
<RowDefinition Height="120" /> | |||
<RowDefinition Height="*" /> | |||
</Grid.RowDefinitions> | |||
|
|||
<Grid Background="{StaticResource BackgroundYellow}"> | |||
<TextBlock Text="Water" Foreground="{StaticResource TextWhite}" FontFamily="{StaticResource OpenSansBoldFamily}" FontSize="60"></TextBlock> | |||
</Grid> | |||
|
|||
<Grid Name="ContentGrid" Grid.Row="1"> | |||
<ScrollViewer Name="RegularScrollViewer" | |||
HorizontalScrollMode="Auto" | |||
HorizontalScrollBarVisibility="Auto" | |||
VerticalScrollMode="Disabled" | |||
VerticalScrollBarVisibility="Hidden" | |||
ZoomMode="Disabled"> | |||
<Grid> | |||
<Grid.RowDefinitions> | |||
<RowDefinition Height="80" /> | |||
<RowDefinition Height="*" /> | |||
</Grid.RowDefinitions> | |||
|
|||
<Grid.ColumnDefinitions> | |||
<ColumnDefinition Width="800"/> | |||
<ColumnDefinition Width="800"/> | |||
<ColumnDefinition Width="800"/> | |||
</Grid.ColumnDefinitions> | |||
|
|||
<Grid Grid.Column="0" Grid.Row="0"> | |||
<TextBlock Text="Home" Style="{StaticResource ContentHeaderStyle}"></TextBlock> | |||
</Grid> | |||
<Grid Grid.Column="0" Grid.Row="1"> | |||
<Grid Margin="10"> | |||
<Grid.RowDefinitions> | |||
<RowDefinition Height="80"></RowDefinition> | |||
<RowDefinition Height="Auto"></RowDefinition> | |||
<RowDefinition Height="100"></RowDefinition> | |||
<RowDefinition Height="80"></RowDefinition> | |||
<RowDefinition Height="*"></RowDefinition> | |||
</Grid.RowDefinitions> | |||
|
|||
<TextBlock Grid.Row="0" Text="Weather"></TextBlock> | |||
<Grid Grid.Row="1"></Grid> | |||
<Rectangle Grid.Row="2"></Rectangle> | |||
<TextBlock Grid.Row="3" Text="Upcoming"></TextBlock> | |||
<Grid Grid.Row="4"></Grid> | |||
</Grid> | |||
</Grid> | |||
|
|||
<Grid Grid.Column="1" Grid.Row="0"> | |||
<TextBlock Text="Courses" Style="{StaticResource ContentHeaderStyle}"></TextBlock> | |||
</Grid> | |||
<Grid Grid.Column="1" Grid.Row="1"> | |||
<Grid Margin="10"> | |||
|
|||
</Grid> | |||
</Grid> | |||
|
|||
<Grid Grid.Column="2" Grid.Row="0"> | |||
<TextBlock Text="Food Services" Style="{StaticResource ContentHeaderStyle}"></TextBlock> | |||
</Grid> | |||
<Grid Grid.Column="2" Grid.Row="1"> | |||
<Grid Margin="10"> | |||
|
|||
</Grid> | |||
</Grid> | |||
</Grid> | |||
</ScrollViewer> | |||
</Grid> | |||
</Grid> | |||
</Grid> | |||
</Page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,63 @@ | |||
/* | |||
In App.xaml: | |||
<Application.Resources> | |||
<vm:ViewModelLocator xmlns:vm="clr-namespace:UWOpenDataW8" | |||
x:Key="Locator" /> | |||
</Application.Resources> | |||
In the View: | |||
DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}" | |||
You can also use Blend to do all this with the tool's support. | |||
See http://www.galasoft.ch/mvvm | |||
*/ | |||
|
|||
using GalaSoft.MvvmLight; | |||
using GalaSoft.MvvmLight.Ioc; | |||
using Microsoft.Practices.ServiceLocation; | |||
using UWOpenDataWindowsBase.ViewModels; | |||
|
|||
namespace UWOpenDataW8.ViewModels | |||
{ | |||
/// <summary> | |||
/// This class contains static references to all the view models in the | |||
/// application and provides an entry point for the bindings. | |||
/// </summary> | |||
public class ViewModelLocator | |||
{ | |||
/// <summary> | |||
/// Initializes a new instance of the ViewModelLocator class. | |||
/// </summary> | |||
|
|||
public ViewModelLocator() | |||
{ | |||
ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default); | |||
|
|||
////if (ViewModelBase.IsInDesignModeStatic) | |||
////{ | |||
//// // Create design time view services and models | |||
//// SimpleIoc.Default.Register<IDataService, DesignDataService>(); | |||
////} | |||
////else | |||
////{ | |||
//// // Create run time view services and models | |||
//// SimpleIoc.Default.Register<IDataService, DataService>(); | |||
////} | |||
|
|||
SimpleIoc.Default.Register<HomePageViewModel>(); | |||
} | |||
|
|||
public HomePageViewModel HomePage | |||
{ | |||
get | |||
{ | |||
return ServiceLocator.Current.GetInstance<HomePageViewModel>(); | |||
} | |||
} | |||
|
|||
public static void Cleanup() | |||
{ | |||
// TODO Clear the ViewModels | |||
} | |||
} | |||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,42 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest" xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build"> | |||
<!-- | |||
THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS. | |||
Changes to this file will be lost when it is regenerated. To correct errors in this file, edit the source .appxmanifest file. | |||
For more information on package manifest files, see http://go.microsoft.com/fwlink/?LinkID=241727 | |||
--> | |||
<Identity Name="78641c95-29c1-4584-b543-86faf7310d93" Publisher="CN=Victor" Version="1.0.0.0" ProcessorArchitecture="neutral" /> | |||
<Properties> | |||
<DisplayName>UWOpenDataW8</DisplayName> | |||
<PublisherDisplayName>Victor</PublisherDisplayName> | |||
<Logo>Assets\StoreLogo.png</Logo> | |||
</Properties> | |||
<Prerequisites> | |||
<OSMinVersion>6.3.0</OSMinVersion> | |||
<OSMaxVersionTested>6.3.0</OSMaxVersionTested> | |||
</Prerequisites> | |||
<Resources> | |||
<Resource Language="EN-US" /> | |||
</Resources> | |||
<Applications> | |||
<Application Id="App" Executable="UWOpenDataW8.exe" EntryPoint="UWOpenDataW8.App"> | |||
<m2:VisualElements DisplayName="UWOpenDataW8" Square150x150Logo="Assets\Logo.png" Square30x30Logo="Assets\SmallLogo.png" Description="UWOpenDataW8" ForegroundText="light" BackgroundColor="#464646"> | |||
<m2:SplashScreen Image="Assets\SplashScreen.png" /> | |||
</m2:VisualElements> | |||
</Application> | |||
</Applications> | |||
<Capabilities> | |||
<Capability Name="internetClient" /> | |||
</Capabilities> | |||
<build:Metadata> | |||
<build:Item Name="TargetFrameworkMoniker" Value=".NETCore,Version=v4.5.1" /> | |||
<build:Item Name="VisualStudio" Version="12.0" /> | |||
<build:Item Name="VisualStudioEdition" Value="Microsoft Visual Studio Ultimate 2013" /> | |||
<build:Item Name="OperatingSystem" Version="6.3.9600.16384 (winblue_rtm.130821-1623)" /> | |||
<build:Item Name="Microsoft.Build.AppxPackage.dll" Version="12.0.21005.1" /> | |||
<build:Item Name="Microsoft.Windows.UI.Xaml.Build.Tasks.dll" Version="12.0.21005.1" /> | |||
<build:Item Name="MakePri.exe" Version="6.3.9600.16384 (winblue_rtm.130821-1623)" /> | |||
</build:Metadata> | |||
</Package> |
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.2 KB
...X/microsoft.system.package.metadata/S-1-5-21-2730345388-211670471-1032918724-1001.pckgdep
Binary file not shown.
Binary file not shown.
Oops, something went wrong.