<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>

<%@ Import Namespace="Helpers" %>
<%@ Import Namespace="Telerik.Web.Mvc.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head runat="server">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>NZBDrone</title>
    <%
        Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css")
           .Add("telerik.sitefinity.css")
           .Add("notibar.css"))
           .Render();
    %>

    <link href="../../Content/style.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/jquery-ui.custom.css" rel="stylesheet" type="text/css" /> 
    <link href="../../Content/jquery-simpledropdown.css" rel="stylesheet" type="text/css" /> 
    <script type="text/javascript" src="../../Scripts/jquery-1.4.3.min.js"></script>
    <%--<script type="text/javascript" src="../../Scripts/jquery-ui-1.8.8.min.js"></script>--%>
    <asp:ContentPlaceHolder ID="headerContent" runat="server"></asp:ContentPlaceHolder>
</head>
<body>
    <a href="http://github.com/kayone/NzbDrone">
        <img style="position: absolute; top: 0; left: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png" alt="ForkMe"/>
    </a>

    <div id="centered">
        <div id="menu">
            <ul>
                <%: MvcHtmlString.Create(Html.CurrentActionLink("Series", "Index", "Series")) %>
                <%: MvcHtmlString.Create(Html.CurrentActionLink("Upcoming", "Index", "Upcoming")) %>
                <%: MvcHtmlString.Create(Html.CurrentActionLink("History", "Index", "History")) %>
                <%: MvcHtmlString.Create(Html.CurrentActionLink("Settings", "Index", "Settings"))%>
                <%: MvcHtmlString.Create(Html.CurrentActionLink("Logs", "Index", "Log"))%>
            </ul>
        </div>
        <div id="logo">
            <asp:ContentPlaceHolder ID="TitleContent" runat="server" />
        </div>
        <div id="page">
            <asp:ContentPlaceHolder ID="ActionMenu" runat="server" />
            <asp:ContentPlaceHolder ID="MainContent" runat="server" />
        </div>
        <div id="footer">
            <%  Html.RenderAction("Footer", "Shared"); %>
        </div>
        <div id="msgBox">
            <span id="msgText">Scanning Series Folder...</span>
        </div>
    </div>
</body>
<asp:ContentPlaceHolder runat="server" id="Scripts" />
<% Html.Telerik().ScriptRegistrar().Scripts(
           c => c.Add("jquery-ui-1.8.8.min.js")
               .Add("jquery.form.js")
               .Add("jquery.jgrowl.js")
               .Add("Notification.js")
               .Add("jquery-tgc-countdown-1.0.js")
               .Add("MicrosoftAjax.js")
               .Add("MicrosoftMvcValidation.js"))
               .Render(); 
%>
</html>
