• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

efsavage/Bootstrap-Maven: A maven dependency for adding Twitter's Bootstrap ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

efsavage/Bootstrap-Maven

开源软件地址(OpenSource Url):

https://github.com/efsavage/Bootstrap-Maven

开源编程语言(OpenSource Language):

JavaScript 82.7%

开源软件介绍(OpenSource Introduction):

Twitter Bootstrap for Maven

Build Status

This library gives you a way to drop Twitter Bootstrap into your project as a Maven dependency, which means you don't have to include these third party files in your own source control.

pom.xml

Add this to the element of your pom.xml. The artifact is deployed to the Maven Central Repository.

<dependency>
	<groupId>com.efsavage.twitter.bootstrap</groupId>
	<artifactId>bootstrap-maven</artifactId>
	<version>2.3.1</version>
</dependency>

Usage

The files will "mount" themselves at the following URLs:

  • /ext/bootstrap/css/bootstrap.css
  • /ext/bootstrap/css/bootstrap-responsive.css
  • /ext/bootstrap/js/bootstrap.js
  • /ext/bootstrap/img/glyphicons-halflings.png (referenced from the css files)
  • /ext/bootstrap/img/glyphicons-halflings-white.png (referenced from the css files)

Requirements

This requires a Servlet 3.0 container, such as Jetty 8.

Minified vs. Full Versions

The minified versions of .css and .js files are used by default, append ?min=false to see the full versions.

Taglib

This library contains a tld and tag files which will automatically be available to your web application when the jar is loaded. To include the tag library on your JSP page, include the following directive at the top:

<%@ taglib uri="http://efsavage.com/twitter-bootstrap" prefix="bs" 

You can then use the tags as specified in the taglibs.md file. For example:

<bs:button text="Go" />

will render to:

<button class="btn" type="button">Go</button>

Modifications

The files served have not been modified in any way from their original distribution.

Other "Mavenized" Projects

Changelog

Note: See the Bootstrap Changelog for information about changes to the Bootstrap files themselves.

##2.3.1

  • Updated to Bootstrap version 2.3.1
  • Additional taglibs

##2.2.2

  • Updated to Bootstrap version 2.2.2
  • Added taglibs

##2.1.1

  • Updated to Bootstrap version 2.1.1

##2.0.4

  • Updated to Bootstrap version 2.0.4
  • Fixed the image servlets
  • Moved files under /ext/bootstrap/ parent directory.

##2.0.3

  • Updated to Bootstrap version 2.0.3

##2.0.2

  • Updated to Bootstrap version 2.0.2

##2.0.1

  • Updated to Bootstrap version 2.0.1

##2.0.0

  • Updated to Bootstrap version 2.0.0



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
rubenlagus/TelegramBots: Java library to create bots using Telegram Bots API发布时间:2022-08-17
下一篇:
Rincy-Cheriyan/GitMaven: Notes发布时间:2022-08-17
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap