2011-02-17 20:55:47 +00:00
|
|
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VideoGameQuotes.Web.Models.MainMenuModel>" %>
|
|
|
|
<%@ Import Namespace="VideoGameQuotes.Api" %>
|
|
|
|
|
2011-03-02 20:18:33 +00:00
|
|
|
<li><%= Html.ActionLink("Recent", "Recent", "Quote", null, new { title = "View most recently submitted quotes" })%></li>
|
|
|
|
<li><%= Html.ActionLink("Best", "Best", "Quote", null, new { title = "View the top rated quotes" })%></li>
|
|
|
|
<li><%= Html.ActionLink("Browse", "Browse", "Quote", new { qualifiers = "" }, new { title = "Browse the quote database" })%></li>
|
|
|
|
<li><%= Html.ActionLink("Random", "Random", "Quote", null, new { title = "View a random quote" })%></li>
|
|
|
|
<li><%= Html.ActionLink("Submit", "Submit", "Quote", null, new { title = "Submit a new quote" }) %></li>
|
2011-02-17 20:55:47 +00:00
|
|
|
<% if (Model.User != null && Model.User.Group >= UserGroup.Admin) { %>
|
2011-03-02 20:18:33 +00:00
|
|
|
<li><%= Html.ActionLink("Admin", "Index", "Admin", null, new { title = "Perform administrative tasks" }) %></li>
|
2011-02-17 20:55:47 +00:00
|
|
|
<% } %>
|
|
|
|
<li class="searchbox">
|
|
|
|
<%= Html.TextBox("searchQuery", null, new { id = "search-query" })%>
|
2011-02-28 07:27:38 +00:00
|
|
|
<span href="#" title="search quotes" id="search-submit"></span>
|
2011-02-17 20:55:47 +00:00
|
|
|
</li>
|