* fixed bad browse route
* fixed some chrome-specific layout issues
This commit is contained in:
parent
a414d1a17f
commit
72beea805f
@ -56,7 +56,7 @@ namespace VideoGameQuotes.Web {
|
||||
//bullshit route so that RenderAction works
|
||||
routes.MapSmartRoute("mainmenu", "home/mainmenu", new { controller = "Home", action = "MainMenu" });
|
||||
routes.MapSmartRoute("quote-of-the-day", "quote/quoteoftheday", new { controller = "Quote", action = "QuoteOfTheDay" });
|
||||
routes.MapSmartRoute("quote", "{action}", new { controller = "Quote" }, new { action = "submit|random|vote|flag|browse" });
|
||||
|
||||
routes.MapSmartRoute("crud-default", "{controller}/{action}", null, new { controller = "system|publisher|game|category", action = "create|edit|delete" });
|
||||
routes.MapSmartRoute("admin-default", "admin", new { controller = "Admin", action = "Index" });
|
||||
routes.MapSmartRoute("admin", "admin/{action}", new { controller = "Admin", action = "Index" }, new { action = "users|create|flags|password" });
|
||||
@ -72,6 +72,7 @@ namespace VideoGameQuotes.Web {
|
||||
|
||||
routes.MapSmartRoute("browse", "browse/{*qualifiers}", new { controller = "Quote", action = "Browse" });
|
||||
routes.MapSmartRoute("search", "search/{*searchQuery}", new { controller = "Quote", action = "Search" });
|
||||
routes.MapSmartRoute("quote", "{action}", new { controller = "Quote" }, new { action = "submit|random|vote|flag|browse" });
|
||||
|
||||
//these routes don't work with constraints in mono...?
|
||||
routes.MapSmartRoute("quote-edit", "quote/edit/{id}", new { controller = "Quote", action = "Edit" });
|
||||
|
@ -176,6 +176,7 @@ a.external {
|
||||
}
|
||||
.searchbox {
|
||||
float: right !important;
|
||||
width: 226px; /* chrome needs this or it creates a second line */
|
||||
}
|
||||
.searchbox input[type="text"] {
|
||||
height: 15px;
|
||||
@ -265,7 +266,9 @@ a.external {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.add-icon, .edit-icon, .loading-icon, .delete-icon, .submit-icon, .cancel-icon, #search-submit, .quote-permalink, .quote-flag-icon, .error-icon {
|
||||
padding-left: 16px;
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
.error-icon {
|
||||
@ -304,6 +307,10 @@ a.external {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
.button-link span:first-child /* laziness lol */ {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
#browse-default-menu li {
|
||||
margin-bottom: 2px;
|
||||
|
Loading…
Reference in New Issue
Block a user