Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/08/10 14:44:06 (14 years ago)
Author:
dkahn
Message:

#1198 Created design and modified views to create submenus

Location:
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Shared/LogOnUserControl.ascx

    r4604 r5072  
    44%>
    55        Welcome <b><%: Page.User.Identity.Name %></b>!
    6         [ <%: Html.ActionLink("Log Off", "LogOff", "Account") %> ]
     6        <%: Html.ActionLink("Log Off", "LogOff", "Account") %>
    77<%
    88    }
    99    else {
    1010%>
    11         [ <%: Html.ActionLink("Log On", "LogOn", "Account") %> ]
     11        <%: Html.ActionLink("Log On", "LogOn", "Account") %>
    1212<%
    1313    }
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Shared/Site.Master

    r4604 r5072  
    77    <asp:ContentPlaceHolder ID="TitleContent" runat="server" />
    88  </title>
    9   <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
     9  <link href="../../Content/themes/hl/Site.css" rel="stylesheet" type="text/css" />
    1010</head>
    1111<body>
     12  <div id="master-page">
     13    <div id="master-header">
     14      <div class="logo">
     15        <%: Html.ActionLink("HeuristicLabWeb", "Index", "Home")%>
     16      </div>
     17      <div class="login">
     18        <% Html.RenderPartial("LogOnUserControl"); %>
     19      </div>
     20    </div>
     21    <div id="master-mainmenu">
     22      <ul id="menu">
     23        <li <% if(ViewContext.RouteData.Values["controller"].ToString() == "Home") {%> class="selected"
     24          <%}%>>
     25          <%: Html.ActionLink("Home", "Index", "Home")%></li>
     26        <% foreach (var pluginLink in
     27          HLWebPluginHost.PluginLib.PluginHelper.GetPluginActions()) {  %>
     28        <li <% if(ViewContext.RouteData.Values["controller"].ToString() == pluginLink.Controller) {%>
     29          class="selected" <%}%>>
     30          <%: Html.ActionLink(pluginLink.Name,
     31                            pluginLink.Action,
     32                            pluginLink.Controller)%>
     33        </li>
     34        <% } %>
     35        <li <% if(ViewContext.RouteData.Values["action"].ToString() == "About") {%> class="selected"
     36          <%}%>>
     37          <%: Html.ActionLink("About", "About", "Home")%></li>
     38      </ul>
     39    </div>
     40 
     41    <div id="master-main">
     42             <div id="master-submenu">
     43        <asp:ContentPlaceHolder ID="SubMenuContent" runat="server" />
     44      </div>
     45      <div id="master-MainContent">
     46        <asp:ContentPlaceHolder ID="MainContent" runat="server" />
     47      </div>
     48      <div id="master-footer">
     49        <div class="logo">
     50          <a href="http://www.heuristiclab.com/" target="_blank" title="Visit the HeuristicLab website">
     51            <img src="../../Content/themes/hl/images/hl-logo.png" alt="HeuristicLab" /></a>
     52        </div>
     53      </div>
     54    </div>
     55  </div>
     56  <!--
    1257  <div class="page">
    1358    <div id="header">
     
    3782    </div>
    3883    <div id="main">
    39       <asp:ContentPlaceHolder ID="MainContent" runat="server" />
     84      <asp:ContentPlaceHolder ID="MainContent2" runat="server" />
    4085      <div id="footer">
    4186      </div>
    4287    </div>
    4388  </div>
     89  -->
    4490</body>
    4591</html>
Note: See TracChangeset for help on using the changeset viewer.