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
Files:
16 added
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Controllers/HomeController.cs

    r4604 r5072  
    99  public class HomeController : Controller {
    1010    public ActionResult Index() {
    11       ViewData["Message"] = "Welcome to ASP.NET MVC!";
     11      ViewData["Message"] = "Welcome to HeuristicLab Web";
    1212
    1313      return View();
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/HLWebPluginHost.csproj

    r4986 r5072  
    8888  </ItemGroup>
    8989  <ItemGroup>
     90    <Content Include="Content\themes\hl\images\bg_footer.png" />
     91    <Content Include="Content\themes\hl\images\bg_header.png" />
     92    <Content Include="Content\themes\hl\images\bg_main.png" />
     93    <Content Include="Content\themes\hl\images\bg_mainmenu.png" />
     94    <Content Include="Content\themes\hl\images\hl-logo.png" />
     95    <Content Include="Content\themes\hl\Site.css" />
    9096    <Content Include="Global.asax" />
    9197    <None Include="Service References\OKBService\configuration91.svcinfo" />
     
    146152      <SubType>Designer</SubType>
    147153    </Content>
    148     <Content Include="Content\Site.css" />
     154    <Content Include="Content\themes\default\Site.css" />
    149155    <Content Include="Scripts\jquery-1.4.1.js" />
    150156    <Content Include="Scripts\jquery-1.4.1.min.js" />
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Home/Index.aspx

    r4950 r5072  
    66
    77<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    8     <h2><%: ViewData["Message"] %></h2>
    9     <p>
    10         To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
    11     </p>
     8    <h1><%: ViewData["Message"] %></h1>
    129
    1310    <h3>Password: <%: Session["pwd"]  %></h3>
  • 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>
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/obj/Debug/HLWebPluginHost.csproj.FileListAbsolute.txt

    r4939 r5072  
    44D:\Proakt\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.dll
    55D:\Proakt\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.pdb
     6C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\bin\HLWebPluginHost.dll
     7C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\bin\HLWebPluginHost.pdb
     8C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\ResolveAssemblyReference.cache
     9C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.dll
     10C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.pdb
Note: See TracChangeset for help on using the changeset viewer.