<%@ Control Language="VB" AutoEventWireup="false" CodeFile="uc_infoCardChange.ascx.vb" Inherits="uc_infoCardChange" %>

<%-- 2020/6/22 MOD FormViewのwidth削除、cssclass追加、font-sizeとfont-family削除--%>
<asp:FormView ID="frm_info" runat="server" BorderStyle="None" CssClass="uc_info adaptiveWidth400"
    CellPadding="0">
    <ItemTemplate>
        <div style=" border-bottom: solid 1px #999999; background-color:#575757;">
            &nbsp;<asp:Label ID="Label13" runat="server" 
                style="color: #FFFFFF;" Text="掲示内容"></asp:Label>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title1" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label2" runat="server" 
                style="color: #333333;" Text="掲載者"></asp:Label>
        </div>
        <div>
            &nbsp;&nbsp;<asp:Label ID="Label8" runat="server" Text='<%# Eval("掲示者") %>' 
                style="color: #333333;" Width="300px"></asp:Label> <%-- 2020/6/22 MOD 360->300px--%>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title2" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label3" runat="server" 
                style="color: #333333;" Text="掲載期間"></asp:Label>
        </div>
        <div>
            &nbsp;&nbsp;<asp:Label ID="Label9" runat="server" 
                style="color: #333333;"
                Text='<%# Eval("対象予定開始日","{0:yyyy/MM/dd (ddd)}") %>' Width="110px"></asp:Label>  <%-- 2020/6/22 MOD 100->110px--%>
            <asp:Label ID="Label17" runat="server" 
                style="color: #333333;" Text="～"></asp:Label>
            <asp:Label ID="Label10" runat="server" 
                style="color: #333333;"
                Text='<%# Eval("対象予定終了日","{0:yyyy/MM/dd (ddd)}") %>' Width="120px"></asp:Label>  <%-- 2020/6/22 MOD 100->120px--%>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title3" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label4" runat="server" 
                style="color: #333333;" Text="休補講"></asp:Label>
        </div>
        <div>
           &nbsp;&nbsp;<asp:Label ID="Label16" runat="server" 
                style="color: #333333;"
                Text='<%# Eval("対象予定区分") %>' Width="100px"></asp:Label>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title4" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label5" runat="server" 
                style="color: #333333;" Text="科目CD/ 科目名/ 主担当教員"></asp:Label>
        </div>
        <div style="background-color:#FFFFD9;">
            &nbsp;&nbsp;<asp:Label ID="Label11" runat="server" 
                style="color: #333333;" 
                Text='<%# Eval("授業名") %>' Width="340px"></asp:Label> <%-- 2020/6/22 MOD 360->340px--%>
        <br>
        <br>
        </div>
        <div style=" border-bottom: solid 1px #999999; background-color: #EAEAEA;">
             &nbsp;<asp:Image ID="img_title5" runat="server" ImageAlign="AbsMiddle" 
                 ImageUrl="~/img/title_point.png" />
             <asp:Label ID="Label14" runat="server" 
                style="color: #333333;" Text="詳細"></asp:Label>
        </div>
        <div>
            <%-- 2020/6/22 MOD GridViewのwidth削除、cssclass追加、font-sizeとfont-family削除--%>
            <asp:GridView ID="gv_予定" runat="server" AutoGenerateColumns="False" 
                    BorderColor="#CCCCCC" BorderStyle="None" EnableViewState="False" 
                    GridLines="Horizontal" 
                    BackColor="#FFFFD9" EnableModelValidation="True" CssClass="uc_info adaptiveWidth400">
                <EmptyDataRowStyle BorderColor="White" BorderStyle="None" BorderWidth="0px" />
                <Columns>
                    <asp:TemplateField HeaderText="日付">
                        <ItemTemplate>
                            <asp:Label ID="lb_予定日" runat="server" 
                                style="color: #333333;" 
                                Text='<%# Bind("予定日", "{0:yyyy/MM/dd (ddd)}") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" 
                            Font-Bold="False" HorizontalAlign="Center" 
                            VerticalAlign="Middle" />
                        <ItemStyle BorderColor="#CCCCCC" HorizontalAlign="Center" 
                            VerticalAlign="Middle" Width="120px" />  <%-- 2020/6/22 MOD 100->120px--%>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="時限">
                        <ItemTemplate>
                            <asp:Label ID="Label18" runat="server" 
                                style="color: #333333;" Text='<%# Bind("時限","{0:#}限") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" 
                            Font-Bold="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                        <ItemStyle BorderColor="#CCCCCC" HorizontalAlign="Center" 
                            VerticalAlign="Middle" Width="30px" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="教室">
                        <ItemTemplate>
                            <asp:Label ID="Label19" runat="server" 
                                style="color: #333333;" Text='<%# Bind("教室") %>'></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" 
                            Font-Bold="False" HorizontalAlign="Left" VerticalAlign="Middle" />
                        <ItemStyle BorderColor="#CCCCCC" HorizontalAlign="Left" 
                            VerticalAlign="Middle" Width="80px" />
                    </asp:TemplateField>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server">→</asp:Label>
                        </ItemTemplate>
      
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" 
                            BorderColor="#CCCCCC" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="時限">
                        <ItemTemplate>
                            <asp:Label ID="Label3" runat="server" Text='<%# Bind("時限変更後","{0:#}限") %>' 
                                style="color: #333333;"></asp:Label>
                        </ItemTemplate>
                        <HeaderStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" 
                            Font-Bold="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" 
                            BorderColor="#CCCCCC" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="教室">
                        <ItemTemplate>
                            <asp:Label ID="Label4" runat="server" Text='<%# Bind("教室変更後") %>' 
                                style="color: #333333;" Width="80%"></asp:Label>  <%-- 2020/6/22 width追加--%>
                        </ItemTemplate>
                        <HeaderStyle Font-Bold="False" HorizontalAlign="Left" VerticalAlign="Middle" />
                        <ItemStyle BorderColor="#CCCCCC" Width="110px"/>　　<%-- 2020/6/22 width追加--%>
                    </asp:TemplateField>
                </Columns>
                <EmptyDataTemplate>
                    &nbsp;&nbsp;
                </EmptyDataTemplate>
                <HeaderStyle BackColor="#575757" BorderColor="White" BorderStyle="Solid" 
                    BorderWidth="1px" ForeColor="White" />
            </asp:GridView>

        </div>
        <div style=" border-bottom: solid 1px #888888; background-color: #EAEAEA;">
            &nbsp;<asp:Image ID="img_title6" runat="server" ImageAlign="AbsMiddle" 
                ImageUrl="~/img/title_point.png" />
            <asp:Label ID="Label6" runat="server" 
                style="color: #333333;" Text="補足"></asp:Label>
        </div>
        <div>
            &nbsp;&nbsp;<asp:Label ID="Label12" runat="server" 
                style="color: #333333;" 
                Text='<%# Eval("掲示詳細").ToString().Replace(Environment.NewLine, "<br />") %>' Width="340px"></asp:Label> <%-- 2020/6/22 MOD 360->340px--%>
        </div>
        <br>
    </ItemTemplate>
    <EmptyDataTemplate>
        &nbsp;<asp:Label ID="Label15" runat="server" 
            style="color: #333333" 
            Text="対象を選択してください。"></asp:Label>
    </EmptyDataTemplate>
</asp:FormView>





