-
Notifications
You must be signed in to change notification settings - Fork 1
/
eventweekview.aspx
63 lines (61 loc) · 4.88 KB
/
eventweekview.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<%@ Page Language="C#" MasterPageFile="~/SiteTemplate2.master" AutoEventWireup="true" CodeFile="eventweekview.aspx.cs" Inherits="eventweekview" Title="Events Week View" %>
<%@ Register TagPrefix="ucl" TagName="sidemenu" Src="Control/sidemenu.ascx" %>
<%@ Register TagPrefix="ucl" TagName="Upcomingevents" Src="Control/Upcomingevents.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LeftPanel" Runat="Server">
<br />
<ucl:sidemenu id="menu1" runat="server"></ucl:sidemenu>
<ucl:Upcomingevents id="event1" runat="server"></ucl:Upcomingevents>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<div style="margin-top: 20px; margin-left: 15px; margin-right: 75px;">
<fieldset><legend>Events Week View</legend>
<div style="margin: 20px 24px 35px 16px;">
<div style="margin-bottom: 16px;">
<img src="images/calendarview_icon.gif" title="Calendar view" /> <a class="content2" href="events.aspx" onmouseover="Tip('View in <b>Calendar View</b> mode.', BGCOLOR, '#FFFBE1', BORDERCOLOR, '#acc6db')" onmouseout="UnTip()">Calendar View</a> <img src="images/calendarview_icon.gif" title="List view" /> <a class="content2" href="events.aspx?view=upcoming" onmouseover="Tip('View in all upcoming and recent events.</b> mode.', BGCOLOR, '#FFFBE1', BORDERCOLOR, '#acc6db')" onmouseout="UnTip()">Upcoming & Recent</a>
</div>
<div style="margin: 0px 0px 8px 0px; float: left;"">
<asp:ImageButton ImageUrl="images/prevdaybtn.gif" style="vertical-align:middle;" ID="btnprevday" runat="server" OnClick="PreviousWeek" /> <asp:ImageButton ImageUrl="images/btnCurrentWeek.gif" style="vertical-align:middle;" ID="btnCurrentWeek" runat="server" OnClick="ResetToCurrentWeek" /> <asp:ImageButton ImageUrl="images/nxtdaybtn.gif" style="vertical-align:middle;" ID="btnnxtday" runat="server" OnClick="NextWeek" />
<asp:Label ID="lblbeginenddate" runat="server" CssClass="content2" /><asp:Label ID="lblEventType" runat="server" CssClass="content2" /><span class="content2"> Week </span><asp:Label ID="lbWeekCounter" runat="server" CssClass="content2" />
</div>
<div style="margin-bottom: 8px; float: right;">
<asp:Dropdownlist runat="server" ID="ddleventtype" AutoPostBack="True" OnSelectedIndexChanged="btnSubmit_Click" cssClass="cselect" width="130px">
<asp:Listitem Value="All" selected>All Events</asp:Listitem>
<asp:Listitem Value="Appointment">Appointment</asp:Listitem>
<asp:Listitem Value="Meeting">Meeting</asp:Listitem>
<asp:Listitem Value="Anniversary">Anniversary</asp:Listitem>
<asp:Listitem Value="USHoliday">Holiday</asp:Listitem>
<asp:Listitem Value="BirthDay">BirthDay</asp:Listitem>
<asp:Listitem Value="Info">Information</asp:Listitem>
</asp:Dropdownlist>
<asp:DropDownList id="ddlweeknumber" runat="server" cssClass="cselect" Width="80" AutoPostBack="True" OnSelectedIndexChanged="btnSubmit_Click">
</asp:DropDownList>
<asp:DropDownList id="ddlyear" runat="server" cssClass="cselect" Width="60">
<asp:ListItem>2009</asp:ListItem>
<asp:ListItem>2010</asp:ListItem>
<asp:ListItem>2011</asp:ListItem>
<asp:ListItem>2012</asp:ListItem>
<asp:ListItem>2013</asp:ListItem>
<asp:ListItem>2014</asp:ListItem>
<asp:ListItem>2015</asp:ListItem>
</asp:DropDownList>
<asp:Button CssClass="submitadmin" ID="btnSubmit" Text="Submit" OnClick="btnSubmit_Click" runat=server />
</div>
<div style="clear:both;"></div>
<table cellpadding="0" cellspacing="0" width="100%" style="border-left: 1px solid #E1EDFF; border-bottom: 1px solid #E1EDFF;">
<tr>
<td width="15%" style="background-color: #83B6E0;"> <span class="content12" style="color: #fff; font-weight: bold;">Sunday</span></td>
<td width="14%" style="background-color: #83B6E0;"> <span class="content12" style="color: #fff; font-weight: bold;">Monday</span></td>
<td width="14%" style="background-color: #83B6E0;"> <span class="content12" style="color: #fff; font-weight: bold;">Tuesday</span></td>
<td width="14%" style="background-color: #83B6E0;"> <span class="content12" style="color: #fff; font-weight: bold;">Wednesday</span></td>
<td width="14%" style="background-color: #83B6E0;"> <span class="content12" style="color: #fff; font-weight: bold;">Thursday</span></td>
<td width="14%" style="background-color: #83B6E0;"> <span class="content12" style="color: #fff; font-weight: bold;">Friday</span></td>
<td width="15%" style="background-color: #83B6E0;"> <span class="content12" style="color: #fff; font-weight: bold;">Saturday</span></td>
</tr>
<tr>
<%=BuildTable %>
</tr>
</table>
</div>
</fieldset>
<div>
</asp:Content>