forked from DNNCommunity/DNN.Events
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EventMonth.ascx
52 lines (50 loc) · 3.74 KB
/
EventMonth.ascx
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
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EventMonth.ascx.cs" Inherits="DotNetNuke.Modules.Events.EventMonth" %>
<%@ Register TagPrefix="evt" Namespace="DotNetNuke.Modules.Events.ScheduleControl.MonthControl" Assembly="DotNetNuke.Modules.Events.ScheduleControl" %>
<%@ Register TagPrefix="evt" TagName="Category" Src="~/DesktopModules/Events/SubControls/SelectCategory.ascx" %>
<%@ Register TagPrefix="evt" TagName="Location" Src="~/DesktopModules/Events/SubControls/SelectLocation.ascx" %>
<%@ Register TagPrefix="evt" TagName="Icons" Src="~/DesktopModules/Events/SubControls/EventIcons.ascx" %>
<%@ Register TagPrefix="dnn" Assembly="DotNetNuke.Web.Deprecated" Namespace="DotNetNuke.Web.UI.WebControls" %>
<%--<link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/DesktopModules/Events/Styles/jquery-ui.min.css") %>"/>--%>
<dnn:DnnToolTipManager
ID="toolTipManager" runat="server" HideEvent="LeaveTargetAndToolTip" Modal="False" EnableShadow="True" CssClass="Eventtooltip" ShowCallout="False"/>
<div>
<div class="EvtHdrLftCol"></div>
<div class="EvtHdrMdlCol">
<div>
<%--<p>Date: <input type="text" id="datepicker"></p>--%>
<asp:panel id="pnlDateControls" Runat="server" Visible="True" CssClass="EvtDateControls">
<asp:LinkButton ID="lnkToday" runat="server" CssClass="CommandButton" OnClick="lnkToday_Click"> Today</asp:LinkButton>
<dnn:DnnDatePicker id="dpGoToDate" AutoPostBack="true" runat="server" DateInput-CssClass="DateFormat" CssClass="DatePicker"></dnn:DnnDatePicker>
</asp:panel>
</div>
<div style="text-align: center;">
<evt:Category ID="SelectCategory" runat="server" OnCategorySelectedChanged="SelectCategoryChanged"></evt:Category>
<evt:Location ID="SelectLocation" runat="server" OnLocationSelectedChanged="SelectLocationChanged"></evt:Location>
</div>
</div>
<div class="TopIconBar EvtHdrRgtCol">
<evt:Icons ID="EventIcons" runat="server"></evt:Icons>
</div>
<div style="clear: both; text-align: center;">
<evt:DNNCalendar ID="EventCalendar" runat="server" CssClass="Event" CellPadding="0" NextPrevFormat="FullMonth" DayStyle-VerticalAlign="Top"
PrevMonthText=" " NextMonthText=" " ShowGridLines="False" SelectMonthText=" " SelectWeekText=" " OnDayRender="EventCalendar_DayRender" OnSelectionChanged="EventCalendar_SelectionChanged" OnVisibleMonthChanged="EventCalendar_VisibleMonthChanged">
<TodayDayStyle HorizontalAlign="Center" CssClass="EventTodayDay" VerticalAlign="Top"></TodayDayStyle>
<SelectorStyle HorizontalAlign="Center" CssClass="EventSelector" VerticalAlign="Top"></SelectorStyle>
<DayStyle HorizontalAlign="Center" CssClass="EventDay" VerticalAlign="Top"></DayStyle>
<NextPrevStyle HorizontalAlign="Center" CssClass="EventNextPrev" VerticalAlign="Top"></NextPrevStyle>
<DayHeaderStyle HorizontalAlign="Center" CssClass="EventDayHeader" VerticalAlign="Top"></DayHeaderStyle>
<SelectedDayStyle HorizontalAlign="Center" CssClass="EventSelectedDay" VerticalAlign="Top"></SelectedDayStyle>
<TitleStyle HorizontalAlign="Center" CssClass="EventTitle" VerticalAlign="Middle"></TitleStyle>
<WeekendDayStyle HorizontalAlign="Center" CssClass="EventWeekendDay" VerticalAlign="Top"></WeekendDayStyle>
<OtherMonthDayStyle HorizontalAlign="Center" CssClass="EventOtherMonthDay" VerticalAlign="Top"></OtherMonthDayStyle>
</evt:DNNCalendar>
</div>
<div class="BottomIconBar">
<evt:Icons ID="EventIcons2" runat="server"></evt:Icons>
</div>
</div>
<%--<script>
$( function() {
$( "#datepicker" ).datepicker();
} );
</script>--%>