Click here to Skip to main content
15,881,838 members
Articles / Web Development / HTML

sBlog.Net - A Minimalistic Blog Engine - Using ASP.NET MVC 3

Rate me:
Please Sign up or sign in to vote.
4.94/5 (55 votes)
16 Aug 2013CPOL51 min read 196.7K   6.4K   182  
sBlog.Net is a minimalistic blog engine created using the ASP.NET MVC 3 framework.
@model sBlog.Net.Areas.Setup.Models.SetupDefaultParametersViewModel

@{
    ViewBag.Title = "sBlog.Net Setup || Page 2";
}

<div style="text-align: center" >
    <h2>Finalizing the setup</h2>
</div>

<div>
    As promised, here is the final step. Please enter the following information. The caption is not used by some of the themes though.
</div>

@using (Html.BeginForm())
{
    @Html.ValidationSummary()

    <b>@Html.LabelFor(model => model.BlogName)</b> <br />
    @Html.TextBoxFor(model => model.BlogName, new { @class = "inputBoxBig" }) <br />
    <span class="field-info">please enter your blog's title (for ex. "the .net way")</span>

    <br />

    <b>@Html.LabelFor(model => model.AkismetUrl)</b> <br />
    @Html.TextBoxFor(model => model.AkismetUrl, new { @class = "inputBoxBig" }) <br />
    <span class="field-info">please enter your blog's root url (for ex. "http://thekfactor.info")</span>
    
    <br />
    
    <b>User name</b>
    <div>admin</div>

    <br />
    
    <b>@Html.LabelFor(model => model.Password)</b> <br />
    @Html.PasswordFor(model => model.Password, new { @class = "inputBoxBig" }) <br />
    <span class="field-info">please enter a password [6 - 20 characters, lower & uppercase letters, at least a number, at least one of @@, #, $, % symbols]</span>
    
    <br />

    <b>@Html.LabelFor(model => model.ConfirmPassword)</b> <br />
    @Html.PasswordFor(model => model.ConfirmPassword, new { @class = "inputBoxBig" }) <br />
    <span class="field-info">please re-enter the password for verification [6 - 20 characters, lower & uppercase letters, at least a number, at least one of @@, #, $, % symbols]</span>
    
    <br /><br />

    <div style="text-align: center" >
        <button type="submit" class="important">Finish Setup</button>
    </div>
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Just another passionate software developer!

Some of the contributions to the open source world - a blog engine written in MVC 4 - sBlog.Net. Check it out here. For the codeproject article regarding sBlog.Net click here!

(Figuring out this section!)

Comments and Discussions