I just got an email from Stephen Walther saying that my first template for the ASP.NET MVC framework has been published on http://www.asp.net/MVC/Gallery. Just look out for the theme called "october" or use this direct link: http://www.asp.net/MVC/Gallery/View.aspx?itemid=66.
Since there's only space for a 180 letters description and a small screenshot on the Design Gallery, I'll give you some more information here:
- CSS for most HTML elements
including headers, tables and forms
- Additional CSS for message boxes
information, error, success
- "Ajaxified" login panel
A click on the login menu button let slide in a login panel (without a full page postback). This is achieved by using jQuery's AJAX functionality.
I was not sure if I could include additional actions in the template, therefore the normal "/Account/Login" action is loaded by jQuery and then filtered for the login form itself. The drawbacks are that there is far too much data loaded (the whole page instead of the login form only) and that a click on the form's login button will conclude in a full page postback.
But it's very easy to replace this functionality with your own partial action like so:
Change
url: '<%= Url.Action("Login","Account") %>',
success: function(data) {
lc.html(jQuery('form',jQuery(data))).slideToggle();
to
url: '<%= Url.Action("PartialLogin","Account") %>',
success: function(data) {
lc.html(data).slideToggle();
And here some screenshots:
de056fb3-f44c-41c6-973e-61277bfd0825|1|5.0