-
-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #747 from Bounteous-Inc/master
Add Bootstrap 4 template
- Loading branch information
Showing
20 changed files
with
242 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
Date control is implemented via [Angular-ui bootstrap datepicker](http://angular-ui.github.io/bootstrap/#/datepicker). | ||
You should include additional `ui-bootstrap-tpls.min.js`: | ||
You should include additional `ui-bootstrap-tpls.min.js` for Bootstrap 3: | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.3.1/ui-bootstrap-tpls.min.js"></script> | ||
|
||
For Bootstrap 4, include: | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ui-bootstrap-tpls.js"></script> | ||
|
||
Add `ui.bootstrap` as module dependency: | ||
|
||
var app = angular.module("app", ["xeditable", "ui.bootstrap"]); | ||
|
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 |
---|---|---|
@@ -1,33 +1,15 @@ | ||
Time control is implemented via [Angular-ui bootstrap timepicker](http://angular-ui.github.io/bootstrap/#/timepicker). | ||
**Currently it has only Bootstrap 2 version**, Bootstrap 3 version is [in progress](https://github.com/angular-ui/bootstrap/issues?milestone=6). | ||
You should include additional `ui-bootstrap-tpls.min.js`: | ||
You should include additional `ui-bootstrap-tpls.min.js`for Bootstrap 3: | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.3.1/ui-bootstrap-tpls.min.js"></script> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.3.1/ui-bootstrap-tpls.min.js"></script> | ||
For Bootstrap 4, include: | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ui-bootstrap-tpls.js"></script> | ||
|
||
Add `ui.bootstrap` as module dependency: | ||
|
||
var app = angular.module("app", ["xeditable", "ui.bootstrap"]); | ||
|
||
And set `editable-bstime` attribute in editable element. | ||
Other parameters can be defined via `e-*` syntax, e.g. `e-minute-step="10"`. | ||
|
||
To get it working with **Bootstrap 3** you should add following css: | ||
|
||
/* temporary workaround for display editable-bstime in bs3 - up/down symbols not shown */ | ||
.editable-bstime .editable-input i.icon-chevron-up:before { | ||
content: '\e113'; | ||
} | ||
.editable-bstime .editable-input i.icon-chevron-down:before { | ||
content: '\e114'; | ||
} | ||
.editable-bstime .editable-input i.icon-chevron-up, | ||
.editable-bstime .editable-input i.icon-chevron-down { | ||
position: relative; | ||
top: 1px; | ||
display: inline-block; | ||
font-family: 'Glyphicons Halflings'; | ||
-webkit-font-smoothing: antialiased; | ||
font-style: normal; | ||
font-weight: normal; | ||
line-height: 1; | ||
} | ||
Other parameters can be defined via `e-*` syntax, e.g. `e-minute-step="10"`. |
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
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
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 |
---|---|---|
@@ -1,8 +1,12 @@ | ||
Typeahead control is implemented via [Angular-ui bootstrap typeahead](http://angular-ui.github.io/bootstrap/#/typeahead). | ||
Basically it is normal `editable-text` control with additional `e-typeahead` attributes. | ||
You should include additional `ui-bootstrap-tpls.min.js`: | ||
You should include additional `ui-bootstrap-tpls.min.js`for Bootstrap 3: | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.3.1/ui-bootstrap-tpls.min.js"></script> | ||
|
||
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.3.1/ui-bootstrap-tpls.min.js"></script> | ||
For Bootstrap 4, include: | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ui-bootstrap-tpls.js"></script> | ||
|
||
Then add `ui.bootstrap` as module dependency: | ||
|
||
|
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
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
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
Oops, something went wrong.