Skip to content

erroric/twitter.bootstrap.mvc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#twitter.bootstrap.mvc

##Overview This is the nuget package for quickly adding Twitter Bootstrap to an ASP.Net MVC 4 application.

See the overview blog post for screen shots and features. This is a User Interface project that does not require a specific data access or architecture for you MVC applications. The author has some opinions but those are kept in another project that builds on top of this UI package.

##Features

  • JS and CSS bundling/minification of Twitter Bootstrap files the MVC4 way
  • Incorporate a jQuery validation fix to work with the bootstrap javascript
  • Razor Layout templates using Twitter Bootstrap markup.
  • Menus using Navigation Routes, including submenus and hiding menus by context(logged in vs anonymous)
  • Runtime Scaffolding – default Index, Edit and Detail views.. You provide the POCOs and we will render the CRUD views.
  • Post Redirect Get support using the Bootstrap Alert styles.
  • A Sample to show how to use all of this stuff

Things we are working on:

  • MVC code templates to generate new views from the mvc add view / add controller dialogs
  • Strongly typed Html Helpers to render bootstrap concepts like icons

##Install To view a working sample, install the twitter.bootstrap.mvc4.sample in to a MVC4 Empty (template) project.

> Install-Package twitter.bootstrap.mvc4
> Install-Package twitter.bootstrap.mvc4.sample
> Install-Package twitter.bootstrap.mvc4.templates //for MVC Code Templates..(still a work in progress)

###Preview Releases Preview Releases: The preview releases are on this nuget feed (http://www.myget.org/F/erichexter/)

Build Status:

##Contribute

Place your source code in the src\Bootstrap directory, or make your modifications. Run the build.ps1 from the Package Manager Console to create the packages locally.

From a separate VS instance do an install-package for the local package your interested in. Or, to start a fresh MCV project with all twitter.bootstrap.mvc4.* installed, run Test\EndToEnd\test.ps1.

Brought to you by Eric Hexter

About

nuget package to make bootstrap easy with mvc4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 54.6%
  • PowerShell 22.7%
  • JavaScript 22.5%
  • Classic ASP 0.2%