Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Shared/Site.Master @ 6274

Last change on this file since 6274 was 6274, checked in by dkahn, 14 years ago

#1198 Removed a page link used for testing styles

File size: 2.8 KB
Line 
1<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml">
5<head runat="server">
6  <title>
7    <asp:ContentPlaceHolder ID="TitleContent" runat="server" />
8  </title>
9  <script src="../../Content/jQuery/js/jquery-1.5.1.min.js" type="text/javascript"></script>
10  <script src="../../Content/jQuery/js/jquery-ui-1.8.12.custom.min.js" type="text/javascript"></script>
11  <link href="../../Content/themes/hl/Site.css" rel="stylesheet" type="text/css" />
12  <link href="../../Content/jQuery/css/ui-lightness/jquery-ui-1.8.12.custom.css" rel="stylesheet"
13    type="text/css" />
14  <script src="../../Content/HLStyling.js" type="text/javascript"></script>
15  <!-- Microsoft Ajax -->
16  <script src="<%= Url.Content("~/Scripts/MicrosoftAjax.debug.js") %>" type="text/javascript"></script>
17  <script src="<%= Url.Content("~/Scripts/MicrosoftMvcAjax.debug.js") %>" type="text/javascript"></script>
18</head>
19<body>
20  <div id="master-page">
21    <div id="master-header">
22      <div class="logo">
23        <%: Html.ActionLink("HeuristicLabWeb", "Index", "Home")%>
24      </div>
25      <div class="login">
26        <% Html.RenderPartial("LogOnUserControl"); %>
27      </div>
28    </div>
29    <div id="master-mainmenu">
30      <ul id="menu">
31        <li <% if(ViewContext.RouteData.Values["controller"].ToString() == "Home") {%> class="selected"
32          <%}%>>
33          <%: Html.ActionLink("Home", "Index", "Home")%></li>
34        <% foreach (var pluginLink in
35          HLWebPluginHost.PluginLib.PluginHelper.GetPluginActions()) {  %>
36        <li <% if(ViewContext.RouteData.Values["controller"].ToString() == pluginLink.Controller) {%>
37          class="selected" <%}%>>
38          <%: Html.ActionLink(pluginLink.Name,
39                            pluginLink.Action,
40                            pluginLink.Controller)%>
41        </li>
42        <% } %>
43        <li <% if(ViewContext.RouteData.Values["action"].ToString() == "About") {%> class="selected"
44          <%}%>>
45          <%: Html.ActionLink("About", "About", "Home")%></li>
46
47      </ul>
48    </div>
49    <div id="master-main">
50      <div id="master-submenu">
51        <asp:ContentPlaceHolder ID="SubMenuContent" runat="server" />
52      </div>
53      <div id="master-MainContent">
54        <asp:ContentPlaceHolder ID="MainContent" runat="server" />
55      </div>
56      <div id="master-footer">
57        <div class="logo">
58          <a href="http://www.heuristiclab.com/" target="_blank" title="Visit the HeuristicLab website">
59            <img src="../../Content/themes/hl/images/hl-logo.png" alt="HeuristicLab" /></a>
60        </div>
61      </div>
62    </div>
63  </div>
64</body>
65</html>
Note: See TracBrowser for help on using the repository browser.