Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
js.angular_ui_bootstrap-0.6.0-2.tar.gz (46.8 kB) Copy SHA256 hash SHA256 Source None Sep 23, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page