-
-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CRM-20756 - Add Angular
ui.bootstrap
library
This adds the library [ui.bootstrap](https://angular-ui.github.io/bootstrap/), which makes it easier to include the functional elements of Bootstrap in AngularJS pages. In the past, adding this was problematic, but now the situation has improved: 1. civicrm-core has upgraded to AngularJS 1.5. (In the past, civicrm-core used AngularJS 1.3, which was incompatible.) 2. civicrm-core allows optional AngularJS modules. (In the past, all modules were loaded unconditionally, which could result in loading new/unnecessary code for legacy users. Now, you can opt-out of this behavior with `basePages=>array()`.)
- Loading branch information
Showing
4 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
// This file declares an Angular module which can be autoloaded | ||
// in CiviCRM. See also: | ||
// http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_angularModules | ||
|
||
return array( | ||
'ext' => 'civicrm', | ||
'basePages' => array(), | ||
'js' => array('bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js'), | ||
'css' => array('bower_components/angular-bootstrap/ui-bootstrap-csp.css', 'ang/ui.bootstrap.css'), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.nav, .pagination, .carousel, .panel-title a { cursor: pointer; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters