2011-02-17 20:55:47 +00:00
|
|
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VideoGameQuotes.Web.Models.MainMenuModel>" %>
|
|
|
|
<%@ Import Namespace="VideoGameQuotes.Api" %>
|
|
|
|
|
|
|
|
<li><%= Html.ActionLink("Recent", "recent", "Quote", null, new { title = "View most recently submitted quotes" })%></li>
|
2011-02-23 01:30:53 +00:00
|
|
|
<li><%= Html.ActionLink("Best", "best", "quote", null, new { title = "View the top rated quotes" })%></li>
|
2011-02-17 20:55:47 +00:00
|
|
|
<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>
|
|
|
|
<% if (Model.User != null && Model.User.Group >= UserGroup.Admin) { %>
|
|
|
|
<li><%= Html.ActionLink("Admin", "index", "admin", null, new { title = "Perform administrative tasks" }) %></li>
|
|
|
|
<% } %>
|
|
|
|
<li class="searchbox">
|
|
|
|
<%= Html.TextBox("searchQuery", null, new { id = "search-query" })%>
|
|
|
|
<img src="/media/images/search.png" alt="search" title="search quotes" id="search-submit" />
|
|
|
|
</li>
|