Fanstatic packaging of Angular UI Boostrap
Project description
js.angular_ui_bootstrap
Introduction
This library packages Angular UI Bootstrap for fanstatic.
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.angular_ui_bootstrap) are published to some URL.
How to use?
You can import angular_ui_bootstrap from js.angular_ui_bootstrap and need it where you want these resources to be included on a page:
>>> from js.angular_ui_bootstrap import angular_ui_bootstrap >>> angular_ui_bootstrap.need()
Caveat
At the moment, the package only serves the tpls version, i.e. shipped with the default templates. From the Angular UI Bootstrap doc:
Then we’ve got files with the -tpls. To explain the difference let’s start by explaining that we want our directives to be highly customizable. To achieve this we are trying hard not to hard-code markup nor CSS inside JavaScript code. Instead most of the directives are coming with a dedicated template(s) so people can change them. We are providing default templates based on Twitter’s markup and CSS but you should be able to prepare your own partials to change the look&feel of widgets from this repo.
Now it should be clear that files with the -tpls in their name have bootstrap-specific templates bundled with directives. For people who don’t want to take all the directives and don’t need to customize anything the solution is to grab a file named ui-bootstrap-tpls-[version].min.js.
CHANGES
0.6.0-2 - 2013-09-23
Added changelog for 0.6.0-1 :-)
0.6.0-1 - 2013-09-23
Separated bootstrap theme and angular-ui JS thanks to janjaapdriessen
0.6.0 - 2013-09-14
Upgrade to angular-ui-bootstrap v0.6.0 thanks to janjaapdriessen
0.3.0 - 2013-06-12
Inital release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file js.angular_ui_bootstrap-0.6.0-2.tar.gz
.
File metadata
- Download URL: js.angular_ui_bootstrap-0.6.0-2.tar.gz
- Upload date:
- Size: 46.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32c86e69a64727c827942d2ca066bf26b417f27384f2d1f5240a9e42e5a6d055 |
|
MD5 | 7807bc6db54e4d1c1c7814f547815ab4 |
|
BLAKE2b-256 | 2f9eeaa0271295eacb00c4edaedf41d0f99d0b68222cbda92aed42ac34abeb8b |