client/src/Iri.Modernisation.Controls/View/HeaderProduction/HeaderProduction.xaml
author Matthieu Totet
Wed, 16 Dec 2009 17:14:38 +0100
changeset 24 c031f1132dde
parent 19 7d044e7562ea
child 27 f292db96b050
permissions -rw-r--r--
Update ProductionView

<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions"
	xmlns:View="clr-namespace:Iri.Modernisation.Controls.View"
	 xmlns:Lang="clr-namespace:Iri.Modernisation.Lang;assembly=Iri.Modernisation.Lang"

	mc:Ignorable="d"
	x:Class="Iri.Modernisation.Controls.View.HeaderProduction" d:DesignHeight="216" Width="952">
<UserControl.Resources>
 <Lang:LangResource x:Name="LangLabels" x:Key="LangLabels"></Lang:LangResource>
      
    </UserControl.Resources>
	<Grid x:Name="HeaderProductionPanel">
		<StackPanel x:Name="HeaderProductionOptionPanel" Width="282" Orientation="Horizontal" Height="24" HorizontalAlignment="Left" VerticalAlignment="Top">
			<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="HeaderProductionLabel"  Text="Mon Video Livre" TextWrapping="Wrap"/>
			<Button x:Name="HeaderProductionSaveButton"  Input:CommandService.Command="SaveClick"  Width="75" Content="Save"/>
			<Button x:Name="HeaderProductionPublishButton" Input:CommandService.Command="PublishClick" IsEnabled="{Binding IsVideoBookComplete}" Width="75" Content="Publier"/>
		</StackPanel>
		<StackPanel x:Name="ChapterStatementPanel" Orientation="Horizontal" Height="111" VerticalAlignment="Top" HorizontalAlignment="Right" Width="708">
			<StackPanel x:Name="ChapterPanel_Modernisation" Width="176" RenderTransformOrigin="0.5,0.5">
				<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="ChapterTitleLabel"  Text="Modernisation" TextWrapping="Wrap"/>
				<StackPanel x:Name="Chapter01Panel" Height="82" Margin="8,0,19,0">
					<Grid x:Name="C01EPanel" Height="27" HorizontalAlignment="Left" Width="149">
					    <View:HeaderProductionPartControler x:Name="ModernisationEditionController" Text="{Binding EditingLabel, Source={StaticResource LangLabels}}" d:LayoutOverrides="VerticalMargin"/>
					</Grid>
					<Grid x:Name="C01IPanel" Height="27" HorizontalAlignment="Left" Width="149">
						
						<View:HeaderProductionPartControler IsActive="{Binding IsChap01IndexingEnable}" x:Name="ModernisationIndexController" Text="Indexation"/>
						</Grid>
					<Grid x:Name="C01EnPanel" Height="28" HorizontalAlignment="Left" Width="149" RenderTransformOrigin="0.5,0.5">
						<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="C01EnLabel"  Text="Enrichissement" TextWrapping="Wrap" d:LayoutOverrides="HorizontalAlignment"/>
					</Grid>
				</StackPanel>
			</StackPanel>
			<StackPanel x:Name="ChapterPanel_Modernité" Width="182" RenderTransformOrigin="0.5,0.5">
				<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="ChapterTitleLabel1"  TextWrapping="Wrap"><Run Text="Moderni"/><Run Text="té"/></TextBlock>
				<StackPanel x:Name="Chapter02Panel" Height="82" Margin="8,0">
					<Grid x:Name="C02EPanel" Height="27" HorizontalAlignment="Left" Width="166">
						<View:HeaderProductionPartControler Text="{Binding EditingLabel, Source={StaticResource LangLabels}}" x:Name="ModerniteEditionController" ></View:HeaderProductionPartControler>
					</Grid>
					<Grid x:Name="C02IPanel" Height="27" HorizontalAlignment="Left" Width="166">
						<!--<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="C02ILabel"  Text="Indexation" TextWrapping="Wrap" Margin="0,0,82,0"/>
						<Button Input:CommandService.Command="Chap02IndexingOkClick"  x:Name="C02IButton" BorderThickness="1"  Width="45" Content="Ok" HorizontalAlignment="Right" Margin="0,0,30,0" IsEnabled="{Binding IsChap02IndexingEnable}"/>-->
					<View:HeaderProductionPartControler x:Name="ModerniteIndexController" ></View:HeaderProductionPartControler>
					</Grid>
					<Grid x:Name="C02EnPanel" Height="28" HorizontalAlignment="Left" Width="166">
						<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="C02EnLabel"  Text="Enrichissement" TextWrapping="Wrap"/>
					</Grid>
				</StackPanel>
			</StackPanel>
			<StackPanel x:Name="ChapterPanel_PostModernité" RenderTransformOrigin="0.5,0.5" Width="189">
				<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="ChapterTitleLabel2"  Text="Post-Modernité" TextWrapping="Wrap"/>
				<StackPanel x:Name="Chapter03Panel" Height="82" Margin="8,0">
					<Grid x:Name="C03EPanel" Height="27" HorizontalAlignment="Left" Width="173">
						<!--<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="C03ELabel"  Text="Edition" TextWrapping="Wrap" Margin="0,0,89,0"/>
						<Button x:Name="C03EButton" BorderThickness="1"  Width="43" Input:CommandService.Command="Chap03EditingOkClick"  Content="Ok" HorizontalAlignment="Right" Margin="0,0,39,0" IsEnabled="{Binding IsChap03EditingEnable}"/>-->
						<View:HeaderProductionPartControler Text="{Binding EditingLabel, Source={StaticResource LangLabels}}" x:Name="PostModerniteEditionController"></View:HeaderProductionPartControler>
					</Grid>
					<Grid x:Name="C03IPanel" Height="27" HorizontalAlignment="Left" Width="173">
						<!--<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="C03ILabel"  Text="Indexation" TextWrapping="Wrap" Margin="0,0,89,0"/>
						<Button Input:CommandService.Command="Chap03IndexingOkClick"  x:Name="C03IButton" BorderThickness="1"  Width="43" Content="Ok" HorizontalAlignment="Right" Margin="0,0,39,0" IsEnabled="{Binding IsChap03IndexingEnable}"/>-->
						<View:HeaderProductionPartControler x:Name="PostModerniteIndexController"></View:HeaderProductionPartControler>
					</Grid>
					<Grid x:Name="C03EnPanel" Height="28" HorizontalAlignment="Left" Width="173">
						<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="C03EnLabel"  Text="Enrichissement" TextWrapping="Wrap" Margin="0,0,89,0"/>
					</Grid>
				</StackPanel>
			</StackPanel>
			<StackPanel x:Name="ChapterPanel_Ouverture" Width="181" RenderTransformOrigin="0.5,0.5">
				<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="ChapterTitleLabel3"  Text="Ouverture" TextWrapping="Wrap"/>
				<StackPanel x:Name="Chapter04Panel" Height="82" Margin="8,0">
					<Grid x:Name="C04EPanel" Height="27" HorizontalAlignment="Left" Width="165">
						<!--<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="C04ELabel"  Text="Edition" TextWrapping="Wrap" Margin="0,0,81,0"/>
						<Button x:Name="C04EButton" BorderThickness="1" Input:CommandService.Command="Chap04EditingOkClick"  Width="43" Content="Ok" HorizontalAlignment="Right" Margin="0,0,31,0" IsEnabled="{Binding IsChap04EditingEnable}"/>-->
						<View:HeaderProductionPartControler Text="{Binding EditingLabel, Source={StaticResource LangLabels}}" x:Name="OuvertureEditionController"></View:HeaderProductionPartControler>
					</Grid>
					<Grid x:Name="C04IPanel" Height="27" HorizontalAlignment="Left" Width="165">
						<!--<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="C04ILabel"  Text="Indexation" TextWrapping="Wrap" Margin="0,0,81,0"/>
						<Button Input:CommandService.Command="Chap04IndexingOkClick"  x:Name="C04IButton" BorderThickness="1"  Width="43" Content="Ok" HorizontalAlignment="Right" Margin="0,0,31,0" IsEnabled="{Binding IsChap04IndexingEnable}"/>-->
						<View:HeaderProductionPartControler x:Name="OuvertureIndexController"></View:HeaderProductionPartControler>
					</Grid>
					<Grid x:Name="C04EnPanel" Height="28" HorizontalAlignment="Left" Width="165">
						<TextBlock  Style="{StaticResource CommonTextBlock}" x:Name="C04EnLabel"  Text="Enrichissement" TextWrapping="Wrap" Margin="0,0,81,0"/>
					</Grid>
				</StackPanel>
			</StackPanel>
		</StackPanel>
		<TextBlock  x:Name="InstructionText"  Text="{Binding Instruction, Mode=OneWay}" TextWrapping="Wrap" FontSize="9.333" HorizontalAlignment="Left" Margin="0,40,0,0" Width="240" Foreground="White"/>
	</Grid>
</UserControl>