16 lines
1.3 KiB
Plaintext
16 lines
1.3 KiB
Plaintext
|
<%@ 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>
|
||
|
<li><%= Html.RouteLink("Best", "quote", new { action = "best" }, 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>
|
||
|
<li><%= Html.ActionLink("About", "about", "Home", null, new { title = "About the site" })%></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>
|