Compare commits
50 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0edf90f88 | ||
|
|
661398920d | ||
|
|
da1ec8ee33 | ||
|
|
e691c465e3 | ||
|
|
5c3bc4e6a6 | ||
|
|
659d1eb18a | ||
|
|
cbda6b5c3b | ||
|
|
113a3b4c8e | ||
|
|
d9e6830184 | ||
|
|
059c74fe83 | ||
|
|
b50004f17c | ||
|
|
d04c596dc0 | ||
|
|
43b92296a2 | ||
|
|
89d24bd778 | ||
|
|
c618c2814f | ||
|
|
1339932caa | ||
|
|
2de87c8ab8 | ||
|
|
eb9098c2c8 | ||
|
|
60eb217689 | ||
|
|
5a4e022541 | ||
|
|
58ef2125b6 | ||
|
|
4215f97f7a | ||
|
|
9baf70fde2 | ||
|
|
8ee5087b13 | ||
|
|
78a4398dde | ||
|
|
e38376ec15 | ||
|
|
79057e15c1 | ||
|
|
17dee622be | ||
|
|
342c3cc865 | ||
|
|
88acf9c14f | ||
|
|
0e5b536102 | ||
|
|
b3acb63ac5 | ||
|
|
71cf6cb9f8 | ||
|
|
281bb899b5 | ||
|
|
51e96d8ea9 | ||
|
|
6d6d00a281 | ||
|
|
61dc63a6d5 | ||
|
|
96b63a6243 | ||
|
|
278785ad49 | ||
|
|
d4ed1e435a | ||
|
|
55d120a0b1 | ||
|
|
53393404f1 | ||
|
|
c3fb2e2bcd | ||
|
|
f0421f5b36 | ||
|
|
a667b95b8d | ||
|
|
b98b5914e7 | ||
|
|
d7f2e977f5 | ||
|
|
d53319e56f | ||
|
|
156f56c3c1 | ||
|
|
9431039bf5 |
13
.gitattributes
vendored
Normal file
13
.gitattributes
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
* text=auto
|
||||
|
||||
/.github export-ignore
|
||||
/bower_components export-ignore
|
||||
/build export-ignore
|
||||
/documentation export-ignore
|
||||
/pages export-ignore
|
||||
/plugins export-ignore
|
||||
.gitattributes export-ignore
|
||||
.gitignore export-ignore
|
||||
index.html export-ignore
|
||||
index2.html export-ignore
|
||||
starter.html export-ignore
|
||||
34
.github/ISSUE_TEMPLATE.md
vendored
Normal file
34
.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<!--
|
||||
Before opening a new issue, please search through the existing issues to
|
||||
see if your topic has already been addressed. Note that you may need to
|
||||
remove the "is:open" filter from the search bar to include closed issues.
|
||||
|
||||
Check the appropriate type for your issue below by placing an x between the
|
||||
brackets.
|
||||
|
||||
Please note that issues which do not fall under any of the below categories
|
||||
will be closed.
|
||||
--->
|
||||
### Issue type:
|
||||
- [ ] Feature request <!-- Requesting the implementation of a new feature -->
|
||||
- [ ] Bug report <!-- Reporting unexpected or erroneous behavior -->
|
||||
- [ ] Documentation <!-- Proposing a modification to the documentation -->
|
||||
|
||||
<!--
|
||||
Please describe the environment.
|
||||
-->
|
||||
### Environment:
|
||||
* AdminLTE Version: <!-- Example: 2.4 -->
|
||||
* Operating System: <!-- Example: OSX/Android -->
|
||||
* Browser (Version): <!-- Example: Chrome (Latest) -->
|
||||
|
||||
<!--
|
||||
BUG REPORTS must include:
|
||||
* Steps or URL needed to reproduce the bug/issue
|
||||
* Any relevant error messages (screenshots may also help)
|
||||
* A snippet of your markup (where applicable)
|
||||
|
||||
FEATURE REQUESTS must include:
|
||||
* A detailed description of the proposed functionality
|
||||
-->
|
||||
### Description:
|
||||
@@ -1,3 +1,2 @@
|
||||
bower_components/
|
||||
documentation/
|
||||
composer.json
|
||||
composer.json
|
||||
|
||||
40
Gruntfile.js
40
Gruntfile.js
@@ -1,6 +1,6 @@
|
||||
// AdminLTE Gruntfile
|
||||
module.exports = function (grunt) { // jshint ignore:line
|
||||
'use strict'
|
||||
'use strict';
|
||||
|
||||
grunt.initConfig({
|
||||
pkg : grunt.file.readJSON('package.json'),
|
||||
@@ -269,43 +269,43 @@ module.exports = function (grunt) { // jshint ignore:line
|
||||
clean: {
|
||||
build: ['build/img/*']
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
// Load all grunt tasks
|
||||
|
||||
// LESS Compiler
|
||||
grunt.loadNpmTasks('grunt-contrib-less')
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
// Watch File Changes
|
||||
grunt.loadNpmTasks('grunt-contrib-watch')
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
// Compress JS Files
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify')
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
// Include Files Within HTML
|
||||
grunt.loadNpmTasks('grunt-includes')
|
||||
grunt.loadNpmTasks('grunt-includes');
|
||||
// Optimize images
|
||||
grunt.loadNpmTasks('grunt-image')
|
||||
grunt.loadNpmTasks('grunt-image');
|
||||
// Validate JS code
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint')
|
||||
grunt.loadNpmTasks('grunt-jscs')
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-jscs');
|
||||
// Delete not needed files
|
||||
grunt.loadNpmTasks('grunt-contrib-clean')
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
// Lint CSS
|
||||
grunt.loadNpmTasks('grunt-contrib-csslint')
|
||||
grunt.loadNpmTasks('grunt-contrib-csslint');
|
||||
// Lint Bootstrap
|
||||
grunt.loadNpmTasks('grunt-bootlint')
|
||||
grunt.loadNpmTasks('grunt-bootlint');
|
||||
// Concatenate JS files
|
||||
grunt.loadNpmTasks('grunt-contrib-concat')
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
// Notify
|
||||
grunt.loadNpmTasks('grunt-notify')
|
||||
grunt.loadNpmTasks('grunt-notify');
|
||||
// Replace
|
||||
grunt.loadNpmTasks('grunt-text-replace')
|
||||
grunt.loadNpmTasks('grunt-text-replace');
|
||||
|
||||
// Linting task
|
||||
grunt.registerTask('lint', ['jshint', 'csslint', 'bootlint'])
|
||||
grunt.registerTask('lint', ['jshint', 'csslint', 'bootlint']);
|
||||
// JS task
|
||||
grunt.registerTask('js', ['concat', 'uglify'])
|
||||
grunt.registerTask('js', ['concat', 'uglify']);
|
||||
// CSS Task
|
||||
grunt.registerTask('css', ['less:development', 'less:production', 'replace'])
|
||||
grunt.registerTask('css', ['less:development', 'less:production', 'replace']);
|
||||
|
||||
// The default task (running 'grunt' in console) is 'watch'
|
||||
grunt.registerTask('default', ['watch'])
|
||||
}
|
||||
grunt.registerTask('default', ['watch']);
|
||||
};
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"main": [
|
||||
"index2.html",
|
||||
"dist/css/AdminLTE.css",
|
||||
"dist/js/app.js",
|
||||
"dist/js/adminlte.js",
|
||||
"build/less/AdminLTE.less"
|
||||
],
|
||||
"keywords": [
|
||||
@@ -35,7 +35,7 @@
|
||||
"chart.js": "1.0.*",
|
||||
"ckeditor": "^4.7.0",
|
||||
"bootstrap-colorpicker": "^2.5.1",
|
||||
"bootstrap": "^3.3.7",
|
||||
"bootstrap": "^3.4.0",
|
||||
"jquery": "^3.2.1",
|
||||
"datatables.net": "^1.10.15",
|
||||
"datatables.net-bs": "^2.1.1",
|
||||
@@ -47,7 +47,7 @@
|
||||
"fullcalendar": "^3.4.0",
|
||||
"inputmask": "jquery.inputmask#^3.3.7",
|
||||
"ion.rangeSlider": "ionrangeslider#^2.2.0",
|
||||
"jvectormap": "^2.0.4",
|
||||
"jvectormap": "^1.2.2",
|
||||
"jquery-knob": "^1.2.13",
|
||||
"morris.js": "^0.5.1",
|
||||
"PACE": "pace#^1.0.2",
|
||||
@@ -58,5 +58,8 @@
|
||||
"font-awesome": "^4.7.0",
|
||||
"Ionicons": "ionicons#^2.0.1",
|
||||
"jquery-ui": "1.11.4"
|
||||
},
|
||||
"resolutions": {
|
||||
"jquery": "^3.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
3
bower_components/Flot/.bower.json
vendored
3
bower_components/Flot/.bower.json
vendored
@@ -14,6 +14,5 @@
|
||||
},
|
||||
"_source": "https://github.com/flot/flot.git",
|
||||
"_target": "^0.8.3",
|
||||
"_originalSource": "flot",
|
||||
"_direct": true
|
||||
"_originalSource": "flot"
|
||||
}
|
||||
3
bower_components/Ionicons/.bower.json
vendored
3
bower_components/Ionicons/.bower.json
vendored
@@ -36,6 +36,5 @@
|
||||
},
|
||||
"_source": "https://github.com/driftyco/ionicons.git",
|
||||
"_target": "^2.0.1",
|
||||
"_originalSource": "ionicons",
|
||||
"_direct": true
|
||||
"_originalSource": "ionicons"
|
||||
}
|
||||
3
bower_components/PACE/.bower.json
vendored
3
bower_components/PACE/.bower.json
vendored
@@ -40,6 +40,5 @@
|
||||
},
|
||||
"_source": "https://github.com/HubSpot/pace.git",
|
||||
"_target": "^1.0.2",
|
||||
"_originalSource": "pace",
|
||||
"_direct": true
|
||||
"_originalSource": "pace"
|
||||
}
|
||||
@@ -1,32 +1,14 @@
|
||||
{
|
||||
"name": "bootstrap-colorpicker",
|
||||
"main": [
|
||||
"dist/css/bootstrap-colorpicker.css",
|
||||
"dist/js/bootstrap-colorpicker.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": ">=1.10"
|
||||
},
|
||||
"ignore": [
|
||||
"\\.*",
|
||||
"/index.html",
|
||||
"/package.json",
|
||||
"/composer.json",
|
||||
"/Gruntfile.js",
|
||||
"/.travis.yml",
|
||||
"/travis.sh",
|
||||
"/server.js"
|
||||
],
|
||||
"homepage": "https://github.com/itsjavi/bootstrap-colorpicker",
|
||||
"version": "2.5.1",
|
||||
"_release": "2.5.1",
|
||||
"version": "2.5.3",
|
||||
"_release": "2.5.3",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "2.5.1",
|
||||
"commit": "db978b4d8c3436cdaed6e3a1a065f9f47bb686b1"
|
||||
"tag": "2.5.3",
|
||||
"commit": "525cd6a0aa26ae95803bbf34d231c4163136a314"
|
||||
},
|
||||
"_source": "https://github.com/itsjavi/bootstrap-colorpicker.git",
|
||||
"_target": "^2.5.1",
|
||||
"_originalSource": "bootstrap-colorpicker",
|
||||
"_direct": true
|
||||
"_originalSource": "bootstrap-colorpicker"
|
||||
}
|
||||
11
bower_components/bootstrap-colorpicker/.editorconfig
vendored
Normal file
11
bower_components/bootstrap-colorpicker/.editorconfig
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# EditorConfig is awesome: http://EditorConfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
47
bower_components/bootstrap-colorpicker/.github/CODE_OF_CONDUCT.md
vendored
Normal file
47
bower_components/bootstrap-colorpicker/.github/CODE_OF_CONDUCT.md
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team members through their social media sites or at _git @ itsjavi.com_.
|
||||
The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
||||
|
||||
[homepage]: http://contributor-covenant.org
|
||||
[version]: http://contributor-covenant.org/version/1/4/
|
||||
@@ -12,8 +12,10 @@ For feature requests, suggestions or ideas, add `[SUGGESTION]` before the title
|
||||
the following guidelines.
|
||||
|
||||
### Steps to submit an issue
|
||||
- Try to reproduce your problem in a separated environment, like in JSFiddle,
|
||||
[here is a template for it](http://jsfiddle.net/itsjavi/0vopxm13/), that you can fork in the same page.
|
||||
These steps are mandatory. Issues that are not clear or are not clearly reproduceable with a live example will be closed.
|
||||
|
||||
- Reproduce your problem in a separated environment, like in JSFiddle,
|
||||
[here is a template for it](http://jsfiddle.net/0vopxm13/157/), that you can fork in the same page.
|
||||
It already includes the required JS and CSS files.
|
||||
- Before posting your issue, consider adding this information:
|
||||
* Expected behaviour: what should happen?
|
||||
@@ -27,14 +29,14 @@ the following guidelines.
|
||||
|
||||
Patches and new features are welcome!
|
||||
|
||||
- Prerequisites: having `node`, `npm`, `bower` and `grunt` installed in your machine.
|
||||
- After a fresh clone for your fork, you need to run `npm install && bower install` inside the project's root folder.
|
||||
- Prerequisites: having `node`, `npm`, `yarn` and `grunt` installed in your machine.
|
||||
- After a fresh clone for your fork, you need to run `yarn install` inside the project's root folder.
|
||||
- For checking your changes in the browser you can execute `node serve` and navigate to http://localhost:5000/
|
||||
- Before any commit run always `grunt` inside the project's root folder, to update the dist files
|
||||
(never modify them manually).
|
||||
- Do not change the plugin coding style.
|
||||
- Check that the index.html demos aren't broken (modify if necessary).
|
||||
- Test your code at least in Chrome, Firefox and IE >= 10 / Edge.
|
||||
- Test your code at least in Chrome, Firefox and Edge.
|
||||
- Any new feature should come with updated docs if applicable (a demonstration).
|
||||
- Generate the `/dist` files executing `grunt` before your Pull Request.
|
||||
- Push to your fork and submit the pull request.
|
||||
51
bower_components/bootstrap-colorpicker/.github/ISSUE_TEMPLATE.md
vendored
Normal file
51
bower_components/bootstrap-colorpicker/.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<!--
|
||||
|
||||
THIS TEMPLATE IS MANDATORY!!
|
||||
|
||||
Thank you for your contribution to bootstrap-colorpicker! Please replace {Please write here *} with your description.
|
||||
Please note that issues not following this template may be potentially discarded if they are not easily reproduceable
|
||||
with live examples (in case of code issues) and/or the description is not clear enough.
|
||||
-->
|
||||
|
||||
### Brief description
|
||||
|
||||
{Please write here a summary of the issue}
|
||||
|
||||
<!--
|
||||
The following sections are only mandatory for bug reports.
|
||||
For feature requests and other kind of tickets, you only need to fill the first section,
|
||||
optionally with additional comments and examples.
|
||||
-->
|
||||
### Which software are you using?
|
||||
|
||||
- bootstrap-colorpicker version: {Please write here}
|
||||
- bootstrap version: {Please write here}
|
||||
- jQuery version: {Please write here}
|
||||
- Browser name and version: {Please write here}
|
||||
- Operative System name an version: {Please write here}
|
||||
|
||||
### What's the expected or desirable behavior?
|
||||
|
||||
{Please write here in case of code-related issues or remove this section}
|
||||
|
||||
### What's the actual current behavior?
|
||||
|
||||
{Please write here in case of code-related issues or remove this section}
|
||||
|
||||
### Are there some other related issues or PRs?
|
||||
|
||||
{Please write here if applicable the issue numbers or remove this section}
|
||||
|
||||
### Steps to reproduce
|
||||
|
||||
{Please write here in case of code-related issues or remove this section}
|
||||
|
||||
<!--
|
||||
Live examples are MANDATORY for code-related issues
|
||||
You have a JsFiddle template here: http://jsfiddle.net/0vopxm13/157/ which is using the latest master version of the library.
|
||||
-->
|
||||
*Live example*: {Please write here a link to your JsFiddle example}
|
||||
|
||||
### Additional Comments (if any)
|
||||
|
||||
{Please write here}
|
||||
38
bower_components/bootstrap-colorpicker/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
38
bower_components/bootstrap-colorpicker/.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<!--
|
||||
|
||||
THIS TEMPLATE IS MANDATORY!!
|
||||
|
||||
Thank you for your contribution to bootstrap-colorpicker! Please replace {Please write here} with your description.
|
||||
Please note that PRs not following this template may be potentially discarded if they are not clear enough.
|
||||
-->
|
||||
|
||||
### Is your PR fixing an issue or introduces a new feature?
|
||||
|
||||
{Please write here}
|
||||
|
||||
### In case of fix, how this PR fixes the problem?
|
||||
|
||||
{Please write here only in case of fix PR or remove the section}
|
||||
|
||||
{Please also mention the related issue numbers you are trying to close, if applicable}
|
||||
|
||||
### In case of new feature, what are the benefits and use cases?
|
||||
|
||||
{Please write here only in case of feature PR or remove the section}
|
||||
|
||||
### Check list
|
||||
Please mark with `x` inside the `[ ]` for anything that applies to this PR.
|
||||
|
||||
- [ ] All tests passed in travis-ci
|
||||
- [ ] Regenerated the `dist` files via `grunt`
|
||||
- [ ] All documentation examples are still working after testing them via `node serve`
|
||||
- [ ] Added an example in the documentation for the newly introduced feature
|
||||
- [ ] Provided an example via JsFiddle in the description of this PR
|
||||
- [ ] Tested at least with latest Chrome, Firefox and Mobile (iOS Safari and/or Chrome for Android)
|
||||
- [ ] This PR also introduces coding style changes (indentation, etc), in a separated commit
|
||||
- [ ] The commit history is understandable and grouped into the minimum number of commits possible
|
||||
- [ ] I've followed all other [`CONTRIBUTING.md`](.github/CONTRIBUTING.md#pull-requests) guidelines for Pull Requests.
|
||||
|
||||
### Additional Comments (if any)
|
||||
|
||||
{Please write here}
|
||||
13
bower_components/bootstrap-colorpicker/.gitignore
vendored
Normal file
13
bower_components/bootstrap-colorpicker/.gitignore
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
*~
|
||||
.DS_Store
|
||||
.DS_Store*
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
*.log
|
||||
/node_modules/
|
||||
/bower_components/
|
||||
/nbproject/
|
||||
static_server.js
|
||||
*.php
|
||||
.idea
|
||||
package-lock.json
|
||||
18
bower_components/bootstrap-colorpicker/.jshintrc
vendored
Normal file
18
bower_components/bootstrap-colorpicker/.jshintrc
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"bitwise": false,
|
||||
"browser": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"eqnull": true,
|
||||
"esnext": true,
|
||||
"immed": true,
|
||||
"jquery": true,
|
||||
"latedef": true,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"node": true,
|
||||
"strict": false,
|
||||
"trailing": true,
|
||||
"undef": true,
|
||||
"predef" : ["define"]
|
||||
}
|
||||
21
bower_components/bootstrap-colorpicker/.npmignore
vendored
Normal file
21
bower_components/bootstrap-colorpicker/.npmignore
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
*~
|
||||
.DS_Store
|
||||
.DS_Store*
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
*.log
|
||||
/node_modules/
|
||||
/bower_components/
|
||||
/nbproject/
|
||||
/gh-pages/
|
||||
/package-lock.json
|
||||
Gruntfile.js
|
||||
/build
|
||||
/docs
|
||||
/tests
|
||||
/spec
|
||||
.*
|
||||
/src/docs
|
||||
*.psd
|
||||
*.ai
|
||||
composer.json
|
||||
13
bower_components/bootstrap-colorpicker/.travis.yml
vendored
Normal file
13
bower_components/bootstrap-colorpicker/.travis.yml
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "6"
|
||||
- "8"
|
||||
before_script:
|
||||
- npm install -g grunt-cli
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||
|
||||
script:
|
||||
- yarn install
|
||||
- grunt --verbose
|
||||
# Check that files didn't change after running grunt. It should be run before pushing any code change.
|
||||
- if ! git diff --name-only --quiet -- dist docs src index.html --; then echo \"Files where modified after grunt execution!!...\"; exit 1; fi
|
||||
188
bower_components/bootstrap-colorpicker/Gruntfile.js
vendored
Normal file
188
bower_components/bootstrap-colorpicker/Gruntfile.js
vendored
Normal file
@@ -0,0 +1,188 @@
|
||||
'use strict';
|
||||
module.exports = function (grunt) {
|
||||
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
less: {
|
||||
dist: {
|
||||
options: {
|
||||
strictMath: true,
|
||||
sourceMap: true,
|
||||
outputSourceFiles: true,
|
||||
sourceMapURL: '<%= pkg.name %>.css.map',
|
||||
sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map'
|
||||
},
|
||||
src: 'src/less/colorpicker.less',
|
||||
dest: 'dist/css/<%= pkg.name %>.css'
|
||||
}
|
||||
},
|
||||
cssmin: {
|
||||
options: {
|
||||
compatibility: 'ie8',
|
||||
keepSpecialComments: '*',
|
||||
sourceMap: true,
|
||||
advanced: false
|
||||
},
|
||||
dist: {
|
||||
src: 'dist/css/<%= pkg.name %>.css',
|
||||
dest: 'dist/css/<%= pkg.name %>.min.css'
|
||||
}
|
||||
},
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: '.jshintrc'
|
||||
},
|
||||
files: [
|
||||
'Gruntfile.js',
|
||||
'docs/docs.js',
|
||||
'dist/js/<%= pkg.name %>.js'
|
||||
]
|
||||
},
|
||||
jsbeautifier: {
|
||||
options: {
|
||||
js: {
|
||||
braceStyle: "collapse",
|
||||
breakChainedMethods: false,
|
||||
e4x: false,
|
||||
evalCode: false,
|
||||
indentChar: " ",
|
||||
indentLevel: 0,
|
||||
indentSize: 2,
|
||||
indentWithTabs: false,
|
||||
jslintHappy: false,
|
||||
keepArrayIndentation: false,
|
||||
keepFunctionIndentation: false,
|
||||
maxPreserveNewlines: 2,
|
||||
preserveNewlines: true,
|
||||
spaceBeforeConditional: true,
|
||||
spaceInParen: false,
|
||||
unescapeStrings: false,
|
||||
wrapLineLength: 0,
|
||||
endWithNewline: true
|
||||
}
|
||||
},
|
||||
src: ['src/js/*.js', 'docs/docs.js'],
|
||||
dist: ['dist/js/<%= pkg.name %>.js']
|
||||
},
|
||||
combine: {
|
||||
js: {
|
||||
input: 'src/js/colorpicker-plugin-wrapper.js',
|
||||
output: 'dist/js/<%= pkg.name %>.js',
|
||||
tokens: [{
|
||||
token: "//@version",
|
||||
string: '<%= pkg.version %>'
|
||||
}, {
|
||||
token: "//@colorpicker-color",
|
||||
file: 'src/js/colorpicker-color.js'
|
||||
}, {
|
||||
token: "//@colorpicker-defaults",
|
||||
file: 'src/js/colorpicker-defaults.js'
|
||||
}, {
|
||||
token: "//@colorpicker-component",
|
||||
file: 'src/js/colorpicker-component.js'
|
||||
}]
|
||||
},
|
||||
less: {
|
||||
input: 'src/less/colorpicker.less',
|
||||
output: 'src/less/colorpicker.less',
|
||||
tokens: [{
|
||||
token: "//@version",
|
||||
string: '<%= pkg.version %>'
|
||||
}]
|
||||
}
|
||||
},
|
||||
strip_code: {
|
||||
src: {
|
||||
src: 'dist/js/*.js'
|
||||
}
|
||||
},
|
||||
uglify: {
|
||||
options: {
|
||||
banner: '/*!\n * Bootstrap Colorpicker v<%= pkg.version %>\n' +
|
||||
' * https://itsjavi.com/bootstrap-colorpicker/\n */\n'
|
||||
},
|
||||
dist: {
|
||||
files: {
|
||||
'dist/js/<%= pkg.name %>.min.js': [
|
||||
'dist/js/<%= pkg.name %>.js'
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
less: {
|
||||
files: [
|
||||
'src/less/*.less'
|
||||
],
|
||||
tasks: ['combine:less', 'less', 'cssmin']
|
||||
},
|
||||
js: {
|
||||
files: [
|
||||
'src/js/*.js',
|
||||
'docs/docs.js'
|
||||
],
|
||||
tasks: ['jsbeautifier:src', 'combine:js', 'jsbeautifier:dist', 'uglify', 'jshint']
|
||||
},
|
||||
handlebars: {
|
||||
files: [
|
||||
'docs/*.hbs',
|
||||
'docs/**/*.hbs',
|
||||
'docs/helpers/**/*.js'
|
||||
],
|
||||
tasks: ['assemble']
|
||||
}
|
||||
},
|
||||
assemble: {
|
||||
options: {
|
||||
assets: 'docs/assets',
|
||||
helpers: ['docs/helpers/code'],
|
||||
partials: ['docs/includes/**/*.hbs'],
|
||||
layout: ['docs/layout.hbs'],
|
||||
data: ['package.json'],
|
||||
flatten: true
|
||||
},
|
||||
site: {
|
||||
src: ['docs/pages/*.hbs'],
|
||||
dest: './'
|
||||
}
|
||||
},
|
||||
clean: {
|
||||
dist: [
|
||||
'dist/css/*',
|
||||
'dist/js/*',
|
||||
'index_new.html'
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
// Load tasks
|
||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
||||
grunt.loadNpmTasks('grunt-contrib-less');
|
||||
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
||||
grunt.loadNpmTasks('grunt-jsbeautifier');
|
||||
grunt.loadNpmTasks('grunt-combine');
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-assemble');
|
||||
grunt.loadNpmTasks('grunt-strip-code');
|
||||
|
||||
// Register tasks
|
||||
grunt.registerTask('default', [
|
||||
'clean',
|
||||
'combine:less',
|
||||
'less',
|
||||
'cssmin',
|
||||
'jsbeautifier:src',
|
||||
'combine:js',
|
||||
'jsbeautifier:dist',
|
||||
'strip_code',
|
||||
'uglify',
|
||||
'assemble',
|
||||
'jshint'
|
||||
]);
|
||||
grunt.registerTask('dev', [
|
||||
'watch'
|
||||
]);
|
||||
|
||||
};
|
||||
14
bower_components/bootstrap-colorpicker/README.md
vendored
14
bower_components/bootstrap-colorpicker/README.md
vendored
@@ -1,24 +1,24 @@
|
||||
# Bootstrap Colorpicker 2
|
||||
|
||||
Fancy and customizable color picker plugin for Twitter Bootstrap
|
||||
Simple and customizable colorpicker component for Twitter Bootstrap.
|
||||
|
||||
[](https://travis-ci.org/itsjavi/bootstrap-colorpicker)
|
||||
[](https://travis-ci.org/farbelous/bootstrap-colorpicker)
|
||||
|
||||
## Installation
|
||||
For downloading the source code, you have many choices:
|
||||
|
||||
- Downloading the [latest source code ZIP file](https://github.com/itsjavi/bootstrap-colorpicker/archive/master.zip)
|
||||
- Cloning the source code: `git clone https://github.com/itsjavi/bootstrap-colorpicker.git`
|
||||
- Installing via Bower: `bower install bootstrap-colorpicker`
|
||||
- Downloading the [latest v2.x source code ZIP file](https://github.com/farbelous/bootstrap-colorpicker/archive/v2.x.zip)
|
||||
- Cloning the source code: `git clone https://github.com/farbelous/bootstrap-colorpicker.git`
|
||||
- Installing via NPM: `npm install bootstrap-colorpicker`
|
||||
- Installing via Yarn: `yarn add bootstrap-colorpicker`
|
||||
- Installing via Composer: `composer require itsjavi/bootstrap-colorpicker`
|
||||
|
||||
## Getting started
|
||||
- For using the plugin you will only need the files under the `dist` folder
|
||||
- You can read the [documentation here](https://itsjavi.com/bootstrap-colorpicker/)
|
||||
- [Documentation and demos](https://farbelous.github.io/bootstrap-colorpicker/v2/)
|
||||
|
||||
## Contributing and reporting issues
|
||||
If you want to contribute to the source code or report issues and suggestions, please read the [CONTRIBUTING.md](CONTRIBUTING.md) guidelines first. Some steps are mandatory in order to accept a Pull Request.
|
||||
If you want to contribute to the source code or report issues and suggestions, please read the [CONTRIBUTING.md](.github/CONTRIBUTING.md) guidelines first. Some steps are mandatory in order to accept a Pull Request.
|
||||
|
||||
## Credits
|
||||
Originally written by [Stefan Petre](http://www.eyecon.ro/)
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"name": "bootstrap-colorpicker",
|
||||
"main": [
|
||||
"dist/css/bootstrap-colorpicker.css",
|
||||
"dist/js/bootstrap-colorpicker.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": ">=1.10"
|
||||
},
|
||||
"ignore": [
|
||||
"\\.*",
|
||||
"/index.html",
|
||||
"/package.json",
|
||||
"/composer.json",
|
||||
"/Gruntfile.js",
|
||||
"/.travis.yml",
|
||||
"/travis.sh",
|
||||
"/server.js"
|
||||
]
|
||||
}
|
||||
15
bower_components/bootstrap-colorpicker/composer.json
vendored
Normal file
15
bower_components/bootstrap-colorpicker/composer.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"name": "itsjavi/bootstrap-colorpicker",
|
||||
"description": "Fancy and customizable colorpicker plugin for Twitter Bootstrap",
|
||||
"license": "Apache License Version 2.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Javier Aguilar",
|
||||
"homepage": "https://itsjavi.com"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "dev",
|
||||
"require": {
|
||||
"components/jquery" : ">=1.10"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"version":3,"sources":["src/less/colorpicker.less"],"names":[],"mappings":";;;;;;;;AAqBA,wBACE,MAAA,MACA,OAAA,MAXA,iBAAsB,iDAatB,OAAA,UACA,MAAA,KACA,0BACE,QAAA,MACA,OAAA,IACA,MAAA,IACA,OAAA,IAAA,MAAA,KAfF,sBAAA,IACA,mBAAA,IACA,cAAA,IAeE,SAAA,SACA,IAAA,EACA,KAAA,EACA,OAAA,KAAA,EAAA,EAAA,KACA,4BACE,QAAA,MACA,OAAA,IACA,MAAA,IACA,OAAA,IAAA,MAAA,KAzBJ,sBAAA,IACA,mBAAA,IACA,cAAA,IA8BF,mBADA,iBAEE,MAAA,KACA,OAAA,MACA,MAAA,KACA,OAAA,WACA,YAAA,IACA,cAAA,IAIiB,qBADF,mBAEf,QAAA,MACA,OAAA,IACA,WAAA,KACA,WAAA,IAAA,MAAA,KACA,SAAA,SACA,IAAA,EACA,KAAA,EACA,MAAA,KACA,WAAA,KAGF,iBA1DE,iBAAsB,0CA8DxB,mBA9DE,iBAAsB,4CAgEtB,QAAA,KAKF,mBADA,iBADA,wBAGE,gBAAA,QAGF,aACE,QAAA,IACA,UAAA,MACA,WAAA,IAxEA,sBAAA,IACA,mBAAA,IACA,cAAA,IAwEA,QAAA,KAIU,mBADA,oBAEV,QAAA,MACA,QAAA,GACA,YAAA,EAGU,mBACV,MAAA,KAGU,oBACV,QAAA,GACA,QAAA,aACA,YAAA,IAAA,MAAA,YACA,aAAA,IAAA,MAAA,YACA,cAAA,IAAA,MAAA,KACA,oBAAA,eACA,SAAA,SACA,IAAA,KACA,KAAA,IAGU,mBACV,QAAA,GACA,QAAA,aACA,YAAA,IAAA,MAAA,YACA,aAAA,IAAA,MAAA,YACA,cAAA,IAAA,MAAA,KACA,SAAA,SACA,IAAA,KACA,KAAA,IAGW,iBACX,SAAA,SAGU,oCACV,UAAA,MAGkC,uDAClC,QAAA,MAGF,mBACE,OAAA,KACA,WAAA,IACA,MAAA,KAlIA,iBAAsB,4CAoItB,oBAAA,EAAA,KAGiB,uBACjB,OAAA,KAGF,uBACE,QAAA,KACA,OAAA,KACA,WAAA,IACA,MAAA,KAGqB,yBACrB,OAAA,QACA,MAAA,KACA,OAAA,KACA,MAAA,KAGuB,2BACvB,YAAA,IAI2B,+BADW,0CAEtC,QAAA,aACA,OAAA,QACA,OAAA,KACA,eAAA,SACA,MAAA,KAGU,gCACV,SAAA,SACA,QAAA,aACA,MAAA,KACA,QAAA,KAGU,oCACV,MAAA,MACA,UAAA,MACA,OAAA,KAGkC,4DAClC,cAAA,IAGkC,uDAClC,MAAA,MAIkC,uDADA,qDAElC,MAAA,MACA,OAAA,KACA,MAAA,KACA,OAAA,WACA,YAAA,EACA,cAAA,IAIqD,yDADF,uDAEnD,QAAA,MACA,OAAA,KACA,WAAA,KACA,SAAA,SACA,IAAA,EACA,KAAA,EACA,MAAA,IACA,OAAA,KACA,WAAA,EAGkC,qDAlNlC,iBAAsB,qDAsNY,uDAtNlC,iBAAsB,uDA0NN,0BAChB,KAAA,KACA,MAAA,IAGgB,yBAChB,KAAA,KACA,MAAA,IAGmB,6BACnB,aAAA,EACA,YAAA,EAGmB,4BACnB,aAAA,EACA,YAAA,EAQC,uCAAA,qCAAA,4CAAA,2CAAA,iCACC,QAAA,MASD,sCAAA,oCAAA,2CAAA,0CAAA,gCACC,QAAA,KAIe,wCACjB,QAAA"}
|
||||
{"version":3,"sources":["src/less/colorpicker.less"],"names":[],"mappings":";;;;;;;;AAoBA,wBACE,MAAA,MACA,OAAA,MAXA,iBAAsB,g7KAatB,OAAA,UACA,MAAA,KACA,0BACE,QAAA,MACA,OAAA,IACA,MAAA,IACA,OAAA,IAAA,MAAA,KAfF,sBAAA,IACA,mBAAA,IACA,cAAA,IAeE,SAAA,SACA,IAAA,EACA,KAAA,EACA,OAAA,KAAA,EAAA,EAAA,KACA,4BACE,QAAA,MACA,OAAA,IACA,MAAA,IACA,OAAA,IAAA,MAAA,KAzBJ,sBAAA,IACA,mBAAA,IACA,cAAA,IA8BF,mBADA,iBAEE,MAAA,KACA,OAAA,MACA,MAAA,KACA,OAAA,WACA,YAAA,IACA,cAAA,IAIiB,qBADF,mBAEf,QAAA,MACA,OAAA,IACA,WAAA,KACA,WAAA,IAAA,MAAA,KACA,SAAA,SACA,IAAA,EACA,KAAA,EACA,MAAA,KACA,WAAA,KAGF,iBA1DE,iBAAsB,4rBA8DxB,mBA9DE,iBAAsB,wqBAgEtB,QAAA,KAKF,mBADA,iBADA,wBAGE,gBAAA,QAGF,aACE,QAAA,IACA,UAAA,MACA,WAAA,IAxEA,sBAAA,IACA,mBAAA,IACA,cAAA,IAwEA,QAAA,KAIU,mBADA,oBAEV,QAAA,MACA,QAAA,GACA,YAAA,EAGU,mBACV,MAAA,KAGU,oBACV,QAAA,GACA,QAAA,aACA,YAAA,IAAA,MAAA,YACA,aAAA,IAAA,MAAA,YACA,cAAA,IAAA,MAAA,KACA,oBAAA,eACA,SAAA,SACA,IAAA,KACA,KAAA,IAGU,mBACV,QAAA,GACA,QAAA,aACA,YAAA,IAAA,MAAA,YACA,aAAA,IAAA,MAAA,YACA,cAAA,IAAA,MAAA,KACA,SAAA,SACA,IAAA,KACA,KAAA,IAGW,iBACX,SAAA,SAGU,oCACV,UAAA,MAGkC,uDAClC,QAAA,MAGF,mBACE,OAAA,KACA,WAAA,IACA,MAAA,KAlIA,iBAAsB,wqBAoItB,oBAAA,EAAA,KAGiB,uBACjB,OAAA,KAGF,uBACE,QAAA,KACA,OAAA,KACA,WAAA,IACA,MAAA,KAGqB,yBACrB,OAAA,QACA,MAAA,KACA,OAAA,KACA,MAAA,KAGuB,2BACvB,YAAA,IAI2B,+BADW,0CAEtC,QAAA,aACA,OAAA,QACA,OAAA,KACA,eAAA,SACA,MAAA,KAGU,gCACV,SAAA,SACA,QAAA,aACA,MAAA,KACA,QAAA,KAGU,oCACV,MAAA,MACA,UAAA,MACA,OAAA,KAGkC,4DAClC,cAAA,IAGkC,uDAClC,MAAA,MAIkC,uDADA,qDAElC,MAAA,MACA,OAAA,KACA,MAAA,KACA,OAAA,WACA,YAAA,EACA,cAAA,IAIqD,yDADF,uDAEnD,QAAA,MACA,OAAA,KACA,WAAA,KACA,SAAA,SACA,IAAA,EACA,KAAA,EACA,MAAA,IACA,OAAA,KACA,WAAA,EAGkC,qDAlNlC,iBAAsB,4pBAsNY,uDAtNlC,iBAAsB,owBA0NN,0BAChB,KAAA,KACA,MAAA,IAGgB,yBAChB,KAAA,KACA,MAAA,IAGmB,6BACnB,aAAA,EACA,YAAA,EAGmB,4BACnB,aAAA,EACA,YAAA,EAQC,uCAAA,qCAAA,4CAAA,2CAAA,iCACC,QAAA,MASD,sCAAA,oCAAA,2CAAA,0CAAA,gCACC,QAAA,KAIe,wCACjB,QAAA"}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Bootstrap Colorpicker v2.5.1
|
||||
* Bootstrap Colorpicker v2.5.2
|
||||
* https://itsjavi.com/bootstrap-colorpicker/
|
||||
*
|
||||
* Originally written by (c) 2012 Stefan Petre
|
||||
@@ -38,14 +38,9 @@
|
||||
val, predefinedColors, fallbackColor, fallbackFormat, hexNumberSignPrefix) {
|
||||
this.fallbackValue = fallbackColor ?
|
||||
(
|
||||
fallbackColor && (typeof fallbackColor.h !== 'undefined') ?
|
||||
fallbackColor :
|
||||
this.value = {
|
||||
h: 0,
|
||||
s: 0,
|
||||
b: 0,
|
||||
a: 1
|
||||
}
|
||||
(typeof fallbackColor === 'string') ?
|
||||
this.parse(fallbackColor) :
|
||||
fallbackColor
|
||||
) :
|
||||
null;
|
||||
|
||||
@@ -345,21 +340,26 @@
|
||||
a: a
|
||||
};
|
||||
},
|
||||
toHex: function(h, s, b, a) {
|
||||
if (arguments.length === 0) {
|
||||
toHex: function(ignoreFormat, h, s, b, a) {
|
||||
if (arguments.length <= 1) {
|
||||
h = this.value.h;
|
||||
s = this.value.s;
|
||||
b = this.value.b;
|
||||
a = this.value.a;
|
||||
}
|
||||
|
||||
var prefix = '#';
|
||||
var rgb = this.toRGB(h, s, b, a);
|
||||
|
||||
if (this.rgbaIsTransparent(rgb)) {
|
||||
return 'transparent';
|
||||
}
|
||||
|
||||
var hexStr = (this.hexNumberSignPrefix ? '#' : '') + (
|
||||
if (!ignoreFormat) {
|
||||
prefix = (this.hexNumberSignPrefix ? '#' : '');
|
||||
}
|
||||
|
||||
var hexStr = prefix + (
|
||||
(1 << 24) +
|
||||
(parseInt(rgb.r) << 16) +
|
||||
(parseInt(rgb.g) << 8) +
|
||||
@@ -397,10 +397,10 @@
|
||||
};
|
||||
},
|
||||
toAlias: function(r, g, b, a) {
|
||||
var c, rgb = (arguments.length === 0) ? this.toHex() : this.toHex(r, g, b, a);
|
||||
var c, rgb = (arguments.length === 0) ? this.toHex(true) : this.toHex(true, r, g, b, a);
|
||||
|
||||
// support predef. colors in non-hex format too, as defined in the alias itself
|
||||
var original = this.origFormat === 'alias' ? rgb : this.toString(this.origFormat, false);
|
||||
var original = this.origFormat === 'alias' ? rgb : this.toString(false, this.origFormat);
|
||||
|
||||
for (var alias in this.colors) {
|
||||
c = this.colors[alias].toLowerCase().trim();
|
||||
@@ -475,6 +475,9 @@
|
||||
* @returns {Object} Object containing h,s,b,a,format properties or FALSE if failed to parse
|
||||
*/
|
||||
parse: function(strVal) {
|
||||
if (typeof strVal !== 'string') {
|
||||
return this.fallbackValue;
|
||||
}
|
||||
if (arguments.length === 0) {
|
||||
return false;
|
||||
}
|
||||
@@ -525,9 +528,10 @@
|
||||
*
|
||||
* @param {string} [format] (default: rgba)
|
||||
* @param {boolean} [translateAlias] Return real color for pre-defined (non-standard) aliases (default: false)
|
||||
* @param {boolean} [forceRawValue] Forces hashtag prefix when getting hex color (default: false)
|
||||
* @returns {String}
|
||||
*/
|
||||
toString: function(format, translateAlias) {
|
||||
toString: function(forceRawValue, format, translateAlias) {
|
||||
format = format || this.origFormat || this.fallbackFormat;
|
||||
translateAlias = translateAlias || false;
|
||||
|
||||
@@ -563,7 +567,7 @@
|
||||
break;
|
||||
case 'hex':
|
||||
{
|
||||
return this.toHex();
|
||||
return this.toHex(forceRawValue);
|
||||
}
|
||||
break;
|
||||
case 'alias':
|
||||
@@ -571,7 +575,7 @@
|
||||
c = this.toAlias();
|
||||
|
||||
if (c === false) {
|
||||
return this.toString(this.getValidFallbackFormat());
|
||||
return this.toString(forceRawValue, this.getValidFallbackFormat());
|
||||
}
|
||||
|
||||
if (translateAlias && !(c in Color.webColors) && (c in this.predefinedColors)) {
|
||||
@@ -787,6 +791,8 @@
|
||||
this.updateData(this.color);
|
||||
}
|
||||
|
||||
this.disabled = false;
|
||||
|
||||
// Setup picker
|
||||
var $picker = this.picker = $(this.options.template);
|
||||
if (this.options.customClass) {
|
||||
@@ -855,7 +861,7 @@
|
||||
'keyup.colorpicker': $.proxy(this.keyup, this)
|
||||
});
|
||||
this.input.on({
|
||||
'change.colorpicker': $.proxy(this.change, this)
|
||||
'input.colorpicker': $.proxy(this.change, this)
|
||||
});
|
||||
if (this.component === false) {
|
||||
this.element.on({
|
||||
@@ -975,12 +981,12 @@
|
||||
});
|
||||
},
|
||||
updateData: function(val) {
|
||||
val = val || this.color.toString(this.format, false);
|
||||
val = val || this.color.toString(false, this.format);
|
||||
this.element.data('color', val);
|
||||
return val;
|
||||
},
|
||||
updateInput: function(val) {
|
||||
val = val || this.color.toString(this.format, false);
|
||||
val = val || this.color.toString(false, this.format);
|
||||
if (this.input !== false) {
|
||||
this.input.prop('value', val);
|
||||
this.input.trigger('change');
|
||||
@@ -1011,13 +1017,13 @@
|
||||
});
|
||||
|
||||
this.picker.find('.colorpicker-saturation')
|
||||
.css('backgroundColor', (this.options.hexNumberSignPrefix ? '' : '#') + this.color.toHex(this.color.value.h, 1, 1, 1));
|
||||
.css('backgroundColor', this.color.toHex(true, this.color.value.h, 1, 1, 1));
|
||||
|
||||
this.picker.find('.colorpicker-alpha')
|
||||
.css('backgroundColor', (this.options.hexNumberSignPrefix ? '' : '#') + this.color.toHex());
|
||||
.css('backgroundColor', this.color.toHex(true));
|
||||
|
||||
this.picker.find('.colorpicker-color, .colorpicker-color div')
|
||||
.css('backgroundColor', this.color.toString(this.format, true));
|
||||
.css('backgroundColor', this.color.toString(true, this.format));
|
||||
|
||||
return val;
|
||||
},
|
||||
@@ -1034,16 +1040,16 @@
|
||||
var icn = this.component.find('i').eq(0);
|
||||
if (icn.length > 0) {
|
||||
icn.css({
|
||||
'backgroundColor': color.toString(this.format, true)
|
||||
'backgroundColor': color.toString(true, this.format)
|
||||
});
|
||||
} else {
|
||||
this.component.css({
|
||||
'backgroundColor': color.toString(this.format, true)
|
||||
'backgroundColor': color.toString(true, this.format)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return color.toString(this.format, false);
|
||||
return color.toString(false, this.format);
|
||||
},
|
||||
update: function(force) {
|
||||
var val;
|
||||
@@ -1099,34 +1105,31 @@
|
||||
return (this.input !== false);
|
||||
},
|
||||
isDisabled: function() {
|
||||
if (this.hasInput()) {
|
||||
return (this.input.prop('disabled') === true);
|
||||
}
|
||||
return false;
|
||||
return this.disabled;
|
||||
},
|
||||
disable: function() {
|
||||
if (this.hasInput()) {
|
||||
this.input.prop('disabled', true);
|
||||
this.element.trigger({
|
||||
type: 'disable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
this.disabled = true;
|
||||
this.element.trigger({
|
||||
type: 'disable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
},
|
||||
enable: function() {
|
||||
if (this.hasInput()) {
|
||||
this.input.prop('disabled', false);
|
||||
this.element.trigger({
|
||||
type: 'enable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
this.disabled = false;
|
||||
this.element.trigger({
|
||||
type: 'enable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
},
|
||||
currentSlider: null,
|
||||
mousePointer: {
|
||||
@@ -1245,7 +1248,24 @@
|
||||
return false;
|
||||
},
|
||||
change: function(e) {
|
||||
this.keyup(e);
|
||||
this.color = this.createColor(this.input.val());
|
||||
// Change format dynamically
|
||||
// Only occurs if user choose the dynamic format by
|
||||
// setting option format to false
|
||||
if (this.color.origFormat && this.options.format === false) {
|
||||
this.format = this.color.origFormat;
|
||||
}
|
||||
if (this.getValue(false) !== false) {
|
||||
this.updateData();
|
||||
this.updateComponent();
|
||||
this.updatePicker();
|
||||
}
|
||||
|
||||
this.element.trigger({
|
||||
type: 'changeColor',
|
||||
color: this.color,
|
||||
value: this.input.val()
|
||||
});
|
||||
},
|
||||
keyup: function(e) {
|
||||
if ((e.keyCode === 38)) {
|
||||
@@ -1258,20 +1278,8 @@
|
||||
this.color.value.a = Math.round((this.color.value.a - 0.01) * 100) / 100;
|
||||
}
|
||||
this.update(true);
|
||||
} else {
|
||||
this.color = this.createColor(this.input.val());
|
||||
// Change format dynamically
|
||||
// Only occurs if user choose the dynamic format by
|
||||
// setting option format to false
|
||||
if (this.color.origFormat && this.options.format === false) {
|
||||
this.format = this.color.origFormat;
|
||||
}
|
||||
if (this.getValue(false) !== false) {
|
||||
this.updateData();
|
||||
this.updateComponent();
|
||||
this.updatePicker();
|
||||
}
|
||||
}
|
||||
|
||||
this.element.trigger({
|
||||
type: 'changeColor',
|
||||
color: this.color,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2,41 +2,18 @@
|
||||
<article class="col-md-12">
|
||||
<hr>
|
||||
<div class="social">
|
||||
<a href="https://github.com/itsjavi/bootstrap-colorpicker/" target="_blank"
|
||||
class="btn btn-default btn-sm"><span class="octicon octicon-mark-github"></span> Source code</a>
|
||||
<a href="https://github.com/itsjavi/bootstrap-colorpicker/archive/master.zip" target="_blank"
|
||||
class="btn btn-success btn-sm"><i class="glyphicon glyphicon-download-alt"></i> Download latest</a>
|
||||
|
||||
<div class="share-btn share-btn-twitter">
|
||||
<a href="https://twitter.com/share" class="twitter-share-button" data-size="large" data-related="itsjaviaguilar"
|
||||
data-hashtags="bootstrap">Tweet</a>
|
||||
<script>!function (d, s, id) {
|
||||
var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
|
||||
if (!d.getElementById(id)) {
|
||||
js = d.createElement(s);
|
||||
js.id = id;
|
||||
js.src = p + '://platform.twitter.com/widgets.js';
|
||||
fjs.parentNode.insertBefore(js, fjs);
|
||||
}
|
||||
}(document, 'script', 'twitter-wjs');</script>
|
||||
</div>
|
||||
|
||||
<div class="share-btn share-btn-google-plus">
|
||||
<!-- Place this tag where you want the +1 button to render. -->
|
||||
<div class="g-plusone" data-size="large"></div>
|
||||
|
||||
<!-- Place this tag after the last +1 button tag. -->
|
||||
<script type="text/javascript">
|
||||
(function () {
|
||||
var po = document.createElement('script');
|
||||
po.type = 'text/javascript';
|
||||
po.async = true;
|
||||
po.src = 'https://apis.google.com/js/plusone.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(po, s);
|
||||
})();
|
||||
</script>
|
||||
</div>
|
||||
<a href="https://github.com/farbelous/bootstrap-colorpicker/" target="_blank"
|
||||
class="btn btn-default btn-sm"><span class="octicon octicon-mark-github"></span>
|
||||
Source code
|
||||
</a>
|
||||
<a href="https://github.com/farbelous/bootstrap-colorpicker/releases" target="_blank"
|
||||
class="btn btn-default btn-sm">
|
||||
Latest Releases
|
||||
</a>
|
||||
<a href="https://github.com/farbelous/bootstrap-colorpicker/archive/2.5.2.zip" target="_blank"
|
||||
class="btn btn-success btn-sm"><i class="glyphicon glyphicon-download-alt"></i>
|
||||
Download v2.5.2
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
</article>
|
||||
|
||||
@@ -6,12 +6,19 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Colorpicker for Twitter Bootstrap</title>
|
||||
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85082661-5"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date()); gtag('config', 'UA-85082661-5');
|
||||
</script>
|
||||
|
||||
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="//cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" rel="stylesheet">
|
||||
<link href="dist/css/bootstrap-colorpicker.min.css" rel="stylesheet">
|
||||
<link href="docs/assets/main.css" rel="stylesheet">
|
||||
|
||||
<script src="//code.jquery.com/jquery-3.1.1.min.js"></script>
|
||||
<script src="//code.jquery.com/jquery-3.3.1.min.js"></script>
|
||||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
<script src="dist/js/bootstrap-colorpicker.js"></script>
|
||||
</head>
|
||||
|
||||
@@ -11,6 +11,11 @@
|
||||
href="https://twitter.com/stefanpetre/" target="_blank">Stefan Petre</a> and maintained by
|
||||
<a href="https://itsjavi.com/" target="_blank">Javi Aguilar</a> and the Github community.
|
||||
</p>
|
||||
<p class="alert alert-warning">
|
||||
<b>NOTE</b> That this is an older version of the library documentation, please check
|
||||
the project <a href="https://github.com/farbelous/bootstrap-colorpicker/blob/master/README.md">README</a>
|
||||
to find the documentation for the newer and latest versions.
|
||||
</p>
|
||||
</article>
|
||||
</div>
|
||||
{{> social }}
|
||||
|
||||
794
bower_components/bootstrap-colorpicker/index.html
vendored
Normal file
794
bower_components/bootstrap-colorpicker/index.html
vendored
Normal file
@@ -0,0 +1,794 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Colorpicker for Twitter Bootstrap</title>
|
||||
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85082661-5"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date()); gtag('config', 'UA-85082661-5');
|
||||
</script>
|
||||
|
||||
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="//cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" rel="stylesheet">
|
||||
<link href="dist/css/bootstrap-colorpicker.min.css" rel="stylesheet">
|
||||
<link href="docs/assets/main.css" rel="stylesheet">
|
||||
|
||||
<script src="//code.jquery.com/jquery-3.3.1.min.js"></script>
|
||||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
||||
<script src="dist/js/bootstrap-colorpicker.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="page-header">
|
||||
<h1><i class="glyphicon glyphicon-tint"></i> Bootstrap Colorpicker 2.5.2
|
||||
<small>for Twitter Bootstrap</small>
|
||||
</h1>
|
||||
</div>
|
||||
<div class="row">
|
||||
<article class="col-md-12">
|
||||
<p>
|
||||
Fancy and customizable colorpicker plugin for Twitter Bootstrap.
|
||||
Originally written by <a
|
||||
href="https://twitter.com/stefanpetre/" target="_blank">Stefan Petre</a> and maintained by
|
||||
<a href="https://itsjavi.com/" target="_blank">Javi Aguilar</a> and the Github community.
|
||||
</p>
|
||||
<p class="alert alert-warning">
|
||||
<b>NOTE</b> That this is an older version of the library documentation, please check
|
||||
the project <a href="https://github.com/farbelous/bootstrap-colorpicker/blob/master/README.md">README</a>
|
||||
to find the documentation for the newer and latest versions.
|
||||
</p>
|
||||
</article>
|
||||
</div>
|
||||
<div class="row">
|
||||
<article class="col-md-12">
|
||||
<hr>
|
||||
<div class="social">
|
||||
<a href="https://github.com/farbelous/bootstrap-colorpicker/" target="_blank"
|
||||
class="btn btn-default btn-sm"><span class="octicon octicon-mark-github"></span>
|
||||
Source code
|
||||
</a>
|
||||
<a href="https://github.com/farbelous/bootstrap-colorpicker/releases" target="_blank"
|
||||
class="btn btn-default btn-sm">
|
||||
Latest Releases
|
||||
</a>
|
||||
<a href="https://github.com/farbelous/bootstrap-colorpicker/archive/2.5.2.zip" target="_blank"
|
||||
class="btn btn-success btn-sm"><i class="glyphicon glyphicon-download-alt"></i>
|
||||
Download v2.5.2
|
||||
</a>
|
||||
</div>
|
||||
<hr>
|
||||
</article>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-7">
|
||||
<h2>Documentation</h2>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>Call the colopicker via javascript:</p>
|
||||
<pre class="well">$('.sample-selector').colorpicker({ /*options...*/ });</pre>
|
||||
<h3>Options</h3>
|
||||
|
||||
<p>
|
||||
You can set colorpicker options either as a plugin parameter or data-* attributes
|
||||
</p>
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 100px;">Name</th>
|
||||
<th style="width: 50px;">Type</th>
|
||||
<th style="width: 100px;">Default</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>format</td>
|
||||
<td>string</td>
|
||||
<td>false</td>
|
||||
<td>If not false, forces the color format to be hex, rgb or rgba, otherwise the format is
|
||||
automatically detected.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>color</td>
|
||||
<td>string</td>
|
||||
<td>false</td>
|
||||
<td>If not false, sets the color to this value.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>container</td>
|
||||
<td>string or jQuery Element</td>
|
||||
<td>false</td>
|
||||
<td>If not false, the picker will be contained inside this element, otherwise it will be
|
||||
appended to the document body.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>component</td>
|
||||
<td>string or jQuery Element</td>
|
||||
<td>'.add-on, .input-group-addon'</td>
|
||||
<td>Children selector for the component or element that trigger the colorpicker and which
|
||||
background color will change (needs an inner <i> element).
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>input</td>
|
||||
<td>string or jQuery Element</td>
|
||||
<td>'input'</td>
|
||||
<td>Children selector for the input that will store the picker selected value.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hexNumberSignPrefix</td>
|
||||
<td>boolean</td>
|
||||
<td>true</td>
|
||||
<td>If true, put a '#' (number sign) before hex strings.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>horizontal</td>
|
||||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
<td>If true, the hue and alpha channel bars will be rendered horizontally, above the saturation
|
||||
selector.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>inline</td>
|
||||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
<td>If true, forces to show the colorpicker as an inline element.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>sliders</td>
|
||||
<td>object</td>
|
||||
<td><abbr title='please, read the source code to see this value'>[...]</abbr></td>
|
||||
<td>Vertical sliders configuration (read source code if you really need to tweak this).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>slidersHorz</td>
|
||||
<td>object</td>
|
||||
<td><abbr title='please, read the source code to see this value'>[...]</abbr></td>
|
||||
<td>Horizontal sliders configuration (read source code if you really need to tweak this).</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>template</td>
|
||||
<td>string</td>
|
||||
<td><abbr title='please, read the source code to see this value'>[...]</abbr></td>
|
||||
<td>Customizes the default colorpicker HTML template.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>align</td>
|
||||
<td>string</td>
|
||||
<td>'right'</td>
|
||||
<td>By default, the colorpicker is aligned to the right of the input. If you need to switch it
|
||||
to the left, set align to 'left'.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>customClass</td>
|
||||
<td>string</td>
|
||||
<td>null</td>
|
||||
<td>Adds this class to the colorpicker widget.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>colorSelectors</td>
|
||||
<td>object</td>
|
||||
<td>null</td>
|
||||
<td>List of pre selected colors (hex format). If you choose one of these colors, the alias is returned instead of the hex
|
||||
code.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>fallbackColor</td>
|
||||
<td>string</td>
|
||||
<td>null</td>
|
||||
<td>
|
||||
Fallback color string that will be applied when the color failed to be parsed.
|
||||
If <var>null</var>, it will keep the current color if any.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>fallbackFormat</td>
|
||||
<td>string</td>
|
||||
<td>hex</td>
|
||||
<td>
|
||||
Fallback color format (e.g. when not specified or for alias mode, when selecting non aliased colors)
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>jQuery API Methods</h3>
|
||||
|
||||
<p>General usage methods</p>
|
||||
<h4>.colorpicker(options)</h4>
|
||||
|
||||
<p>Initializes an colorpicker.</p>
|
||||
|
||||
<h4>.colorpicker('getValue', defaultValue)</h4>
|
||||
|
||||
<p>Gets the value from the input or the data attribute (if has no input), otherwise returns the default
|
||||
value, which defaults to #000000 if not specified.</p>
|
||||
|
||||
<h4>.colorpicker('setValue', value)</h4>
|
||||
|
||||
<p>Set a new value for the color picker (also updates everything). Triggers 'changeColor' event.</p>
|
||||
|
||||
<h4>.colorpicker('show')</h4>
|
||||
|
||||
<p>Show the color picker</p>
|
||||
|
||||
<h4>.colorpicker('hide')</h4>
|
||||
|
||||
<p>Hide the color picker</p>
|
||||
|
||||
<h4>.colorpicker('reposition')</h4>
|
||||
|
||||
<p>Updates the color picker's position relative to the element</p>
|
||||
|
||||
<h4>.colorpicker('update')</h4>
|
||||
|
||||
<p>Refreshes the widget colors (this is done automatically)</p>
|
||||
|
||||
<h4>.colorpicker('enable')</h4>
|
||||
|
||||
<p>Enable the color picker.</p>
|
||||
|
||||
<h4>.colorpicker('disable')</h4>
|
||||
|
||||
<p>Disable the color picker.</p>
|
||||
|
||||
<h4>.colorpicker('destroy')</h4>
|
||||
|
||||
<p>Destroys the colorpicker widget and unbind all .colorpicker events from the element and component</p>
|
||||
|
||||
<h4>.data('colorpicker')</h4>
|
||||
|
||||
<p>Access to the colorpicker API directly</p>
|
||||
|
||||
<h4>.data('colorpicker').color</h4>
|
||||
|
||||
<p>Access to the colorpicker Color object information</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h3>Color object methods</h3>
|
||||
|
||||
<p>Each triggered events have a color object (avaliable through event.color, see the example at the
|
||||
bottom) used internally by the picker. This object has several useful methods. These are the more
|
||||
commonly used:</p>
|
||||
|
||||
<h4>.setColor(value)</h4>
|
||||
|
||||
<p>Set a new color. The value is parsed and tries to do a quess on the format.</p>
|
||||
|
||||
<h4>.setHue(value)</h4>
|
||||
|
||||
<p>Set the HUE with a value between 0 and 1.</p>
|
||||
|
||||
<h4>.setSaturation(value)</h4>
|
||||
|
||||
<p>Set the saturation with a value between 0 and 1.</p>
|
||||
|
||||
<h4>.setBrightness(value)</h4>
|
||||
|
||||
<p>Set the brightness with a value between 0 and 1.</p>
|
||||
|
||||
<h4>.setAlpha(value)</h4>
|
||||
|
||||
<p>Set the transparency with a value between 0 and 1.</p>
|
||||
|
||||
<h4>.toRGB()</h4>
|
||||
|
||||
<p>Returns a hash with red, green, blue and alpha.</p>
|
||||
|
||||
<h4>.toHex()</h4>
|
||||
|
||||
<p>Returns a string with HEX format for the current color.</p>
|
||||
|
||||
<h4>.toHSL()</h4>
|
||||
|
||||
<p>Returns a hash with HSLA values.</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<h3>Events</h3>
|
||||
|
||||
<p>The colorpicker plugin exposes some events</p>
|
||||
|
||||
<table class="table table-bordered table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 150px;">Event</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>create</td>
|
||||
<td>This event fires immediately when the color picker is created.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>showPicker</td>
|
||||
<td>This event fires immediately when the color picker is displayed.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hidePicker</td>
|
||||
<td>This event is fired immediately when the color picker is hidden.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>changeColor</td>
|
||||
<td>This event is fired when the color is changed.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>disable</td>
|
||||
<td>This event is fired immediately when the color picker is disabled, except if it was
|
||||
initialized as disabled.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>enable</td>
|
||||
<td>This event is fired immediately when the color picker is enabled, except upon
|
||||
initialization.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>destroy</td>
|
||||
<td>This event fires immediately when the color picker is destroyed.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<h2>Examples</h2>
|
||||
<hr>
|
||||
|
||||
<div class="example">
|
||||
<div class="example-title">Simple input field</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<input id="cp1" type="text" class="form-control" value="#5367ce"/>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp1').colorpicker();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><input id="cp1" type="text" class="form-control" value="#5367ce" />
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp1').colorpicker();
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">As a component</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<div id="cp2" class="input-group colorpicker-component">
|
||||
<input type="text" value="#00AABB" class="form-control"/>
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp2').colorpicker();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><div id="cp2" class="input-group colorpicker-component">
|
||||
<input type="text" value="#00AABB" class="form-control" />
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp2').colorpicker();
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">With custom options</div>
|
||||
<div class="example-description">Sample overriding the initial color and format</div>
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<div id="cp3" class="input-group colorpicker-component">
|
||||
<input type="text" value="#00AABB" class="form-control"/>
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp3').colorpicker({
|
||||
color: '#AA3399',
|
||||
format: 'rgb'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><div id="cp3" class="input-group colorpicker-component">
|
||||
<input type="text" value="#00AABB" class="form-control" />
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp3').colorpicker({
|
||||
color: '#AA3399',
|
||||
format: 'rgb'
|
||||
});
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Working with events</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<a href="#" class="btn btn-default" id="cp4">Change background color</a>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp4').colorpicker().on('changeColor', function (e) {
|
||||
$('body')[0].style.backgroundColor = e.color.toString('rgba');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><a href="#" class="btn btn-default" id="cp4">Change background color</a>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp4').colorpicker().on('changeColor', function(e) {
|
||||
$('body')[0].style.backgroundColor = e.color.toString(
|
||||
'rgba');
|
||||
});
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Transparent color support</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<input type="text" class="form-control" id="cp5"/>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp5').colorpicker({
|
||||
color: "transparent",
|
||||
format: "hex"
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><input type="text" class="form-control" id="cp5" />
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp5').colorpicker({
|
||||
color: "transparent",
|
||||
format: "hex"
|
||||
});
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Horizontal mode</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<input type="text" class="form-control" id="cp6" />
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp6').colorpicker({
|
||||
color: "#88cc33",
|
||||
horizontal: true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><input type="text" class="form-control" id="cp6" />
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp6').colorpicker({
|
||||
color: "#88cc33",
|
||||
horizontal: true
|
||||
});
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Inline mode</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<div id="cp7" class="inl-bl"></div>
|
||||
<style>
|
||||
.inl-bl {
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp7').colorpicker({
|
||||
color:'#ffaa00',
|
||||
container: true,
|
||||
inline:true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><div id="cp7" class="inl-bl"></div>
|
||||
<style>
|
||||
.inl-bl {
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp7').colorpicker({
|
||||
color: '#ffaa00',
|
||||
container: true,
|
||||
inline: true
|
||||
});
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Aliased color palette</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<div id="cp8" data-format="alias" class="input-group colorpicker-component">
|
||||
<input type="text" value="primary" class="form-control"/>
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp8').colorpicker({
|
||||
colorSelectors: {
|
||||
'black': '#000000',
|
||||
'white': '#ffffff',
|
||||
'red': '#FF0000',
|
||||
'default': '#777777',
|
||||
'primary': '#337ab7',
|
||||
'success': '#5cb85c',
|
||||
'info': '#5bc0de',
|
||||
'warning': '#f0ad4e',
|
||||
'danger': '#d9534f'
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><div id="cp8" data-format="alias" class="input-group colorpicker-component">
|
||||
<input type="text" value="primary" class="form-control" />
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp8').colorpicker({
|
||||
colorSelectors: {
|
||||
'black': '#000000',
|
||||
'white': '#ffffff',
|
||||
'red': '#FF0000',
|
||||
'default': '#777777',
|
||||
'primary': '#337ab7',
|
||||
'success': '#5cb85c',
|
||||
'info': '#5bc0de',
|
||||
'warning': '#f0ad4e',
|
||||
'danger': '#d9534f'
|
||||
}
|
||||
});
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Customized widget size</div>
|
||||
<div class="example-description">Also showing the support of HTML color names</div>
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<input id="cp9" type="text" class="form-control" value="pink"/>
|
||||
<style>
|
||||
.colorpicker-2x .colorpicker-saturation {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.colorpicker-2x .colorpicker-hue,
|
||||
.colorpicker-2x .colorpicker-alpha {
|
||||
width: 30px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.colorpicker-2x .colorpicker-color,
|
||||
.colorpicker-2x .colorpicker-color div {
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp9').colorpicker({
|
||||
customClass: 'colorpicker-2x',
|
||||
sliders: {
|
||||
saturation: {
|
||||
maxLeft: 200,
|
||||
maxTop: 200
|
||||
},
|
||||
hue: {
|
||||
maxTop: 200
|
||||
},
|
||||
alpha: {
|
||||
maxTop: 200
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><input id="cp9" type="text" class="form-control" value="pink" />
|
||||
<style>
|
||||
.colorpicker-2x .colorpicker-saturation {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.colorpicker-2x .colorpicker-hue,
|
||||
.colorpicker-2x .colorpicker-alpha {
|
||||
width: 30px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.colorpicker-2x .colorpicker-color,
|
||||
.colorpicker-2x .colorpicker-color div {
|
||||
height: 30px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp9').colorpicker({
|
||||
customClass: 'colorpicker-2x',
|
||||
sliders: {
|
||||
saturation: {
|
||||
maxLeft: 200,
|
||||
maxTop: 200
|
||||
},
|
||||
hue: {
|
||||
maxTop: 200
|
||||
},
|
||||
alpha: {
|
||||
maxTop: 200
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Disabled / enabled status</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<div id="cp10" class="input-group colorpicker-component">
|
||||
<input disabled type="text" value="" class="form-control"/>
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<br>
|
||||
<p>
|
||||
<a class="btn btn-sm btn-default enable-button" href="#">Enable</a>
|
||||
<a class="btn btn-sm btn-default disable-button" href="#">Disable</a>
|
||||
</p>
|
||||
<script>
|
||||
$(function () {
|
||||
$(".disable-button").click(function(e) {
|
||||
e.preventDefault();
|
||||
$("#cp10").colorpicker('disable');
|
||||
});
|
||||
|
||||
$(".enable-button").click(function(e) {
|
||||
e.preventDefault();
|
||||
$("#cp10").colorpicker('enable');
|
||||
});
|
||||
$('#cp10').colorpicker();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><div id="cp10" class="input-group colorpicker-component">
|
||||
<input disabled type="text" value="" class="form-control" />
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
<br>
|
||||
<p>
|
||||
<a class="btn btn-sm btn-default enable-button" href="#">Enable</a>
|
||||
<a class="btn btn-sm btn-default disable-button" href="#">Disable</a>
|
||||
</p>
|
||||
<script>
|
||||
$(function() {
|
||||
$(".disable-button").click(function(e) {
|
||||
e.preventDefault();
|
||||
$("#cp10").colorpicker('disable');
|
||||
});
|
||||
|
||||
$(".enable-button").click(function(e) {
|
||||
e.preventDefault();
|
||||
$("#cp10").colorpicker('enable');
|
||||
});
|
||||
$('#cp10').colorpicker();
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
<div class="example">
|
||||
<div class="example-title">Inside a modal</div>
|
||||
|
||||
<div class="example-content well">
|
||||
<div class="example-content-widget">
|
||||
<button class="btn btn-primary btn-md" data-toggle="modal" data-target="#myModal">
|
||||
Show modal
|
||||
</button>
|
||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
<div id="cp11" class="input-group colorpicker-component">
|
||||
<input type="text" value="" class="form-control"/>
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
$('#cp11').colorpicker();
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
<button type="button" class="btn btn-link btn-xs example-code-toggle" data-toggle="button">View source</button>
|
||||
<div class="example-code"><button class="btn btn-primary btn-md" data-toggle="modal" data-target="#myModal">
|
||||
Show modal
|
||||
</button>
|
||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
|
||||
aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
<div id="cp11" class="input-group colorpicker-component">
|
||||
<input type="text" value="" class="form-control" />
|
||||
<span class="input-group-addon"><i></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function() {
|
||||
$('#cp11').colorpicker();
|
||||
});
|
||||
</script></div> </div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
$('.example-code-toggle').on('click', function () {
|
||||
$(this).parent().find('.example-code').toggle();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
48
bower_components/bootstrap-colorpicker/package.json
vendored
Normal file
48
bower_components/bootstrap-colorpicker/package.json
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "bootstrap-colorpicker",
|
||||
"version": "2.5.3",
|
||||
"description": "Fancy and customizable colorpicker plugin for Twitter Bootstrap",
|
||||
"main": "./dist/js/bootstrap-colorpicker.js",
|
||||
"homepage": "https://itsjavi.com/bootstrap-colorpicker/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/itsjavi/bootstrap-colorpicker.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/itsjavi/bootstrap-colorpicker/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"bootstrap",
|
||||
"colorpicker"
|
||||
],
|
||||
"author": "Javier Aguilar",
|
||||
"license": "Apache-2.0",
|
||||
"licenses": [
|
||||
{
|
||||
"type": "Apache-2.0",
|
||||
"url": "http://opensource.org/licenses/Apache-2.0"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": ">=1.10"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "jasmine"
|
||||
},
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.5",
|
||||
"grunt-assemble": "~0.4.0",
|
||||
"grunt-combine": "~0.8.3",
|
||||
"grunt-contrib-clean": "~1.0.0",
|
||||
"grunt-contrib-cssmin": "~1.0.1",
|
||||
"grunt-contrib-jshint": "~1.0.0",
|
||||
"grunt-contrib-less": "~1.2.0",
|
||||
"grunt-contrib-uglify": "~1.0.0",
|
||||
"grunt-contrib-watch": "~1.0.0",
|
||||
"grunt-jsbeautifier": "~0.2.10",
|
||||
"grunt-strip-code": "^1.0.6",
|
||||
"jasmine": "^2.6.0",
|
||||
"jquery": ">=1.10",
|
||||
"jsdom": "^10.1.0"
|
||||
}
|
||||
}
|
||||
11
bower_components/bootstrap-colorpicker/spec/color/hex-color-spec.js
vendored
Normal file
11
bower_components/bootstrap-colorpicker/spec/color/hex-color-spec.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
var Color = require("../../src/js/colorpicker-color.js");
|
||||
|
||||
it("should return color in raw format", function(){
|
||||
var color = new Color('aabbcc');
|
||||
expect(color.toHex(true)).toEqual("#aabbcc");
|
||||
});
|
||||
|
||||
it("should return color formatted", function(){
|
||||
var color = new Color('aabbcc');
|
||||
expect(color.toHex()).toEqual("aabbcc");
|
||||
});
|
||||
11
bower_components/bootstrap-colorpicker/spec/support/jasmine.json
vendored
Normal file
11
bower_components/bootstrap-colorpicker/spec/support/jasmine.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"spec_dir": "spec",
|
||||
"spec_files": [
|
||||
"**/*[sS]pec.js"
|
||||
],
|
||||
"helpers": [
|
||||
"helpers/**/*.js"
|
||||
],
|
||||
"stopSpecOnExpectationFailure": false,
|
||||
"random": false
|
||||
}
|
||||
@@ -1,3 +1,10 @@
|
||||
/* test-code */
|
||||
if (typeof module === "object" && typeof module.exports === "object") {
|
||||
var jsdom = require("jsdom");
|
||||
var JSDOM = jsdom.JSDOM;
|
||||
var $ = require('jquery')((new JSDOM('<!DOCTYPE html><p>Hello world</p>')).window);
|
||||
}
|
||||
/* end-test-code */
|
||||
/**
|
||||
* Color manipulation helper class
|
||||
*
|
||||
@@ -12,14 +19,9 @@ var Color = function(
|
||||
val, predefinedColors, fallbackColor, fallbackFormat, hexNumberSignPrefix) {
|
||||
this.fallbackValue = fallbackColor ?
|
||||
(
|
||||
fallbackColor && (typeof fallbackColor.h !== 'undefined') ?
|
||||
fallbackColor :
|
||||
this.value = {
|
||||
h: 0,
|
||||
s: 0,
|
||||
b: 0,
|
||||
a: 1
|
||||
}
|
||||
(typeof fallbackColor === 'string') ?
|
||||
this.parse(fallbackColor) :
|
||||
fallbackColor
|
||||
) :
|
||||
null;
|
||||
|
||||
@@ -319,21 +321,26 @@ Color.prototype = {
|
||||
a: a
|
||||
};
|
||||
},
|
||||
toHex: function(h, s, b, a) {
|
||||
if (arguments.length === 0) {
|
||||
toHex: function(ignoreFormat, h, s, b, a) {
|
||||
if (arguments.length <= 1) {
|
||||
h = this.value.h;
|
||||
s = this.value.s;
|
||||
b = this.value.b;
|
||||
a = this.value.a;
|
||||
}
|
||||
|
||||
var prefix = '#';
|
||||
var rgb = this.toRGB(h, s, b, a);
|
||||
|
||||
if (this.rgbaIsTransparent(rgb)) {
|
||||
return 'transparent';
|
||||
}
|
||||
|
||||
var hexStr = (this.hexNumberSignPrefix ? '#' : '') + (
|
||||
if (!ignoreFormat) {
|
||||
prefix = (this.hexNumberSignPrefix ? '#' : '');
|
||||
}
|
||||
|
||||
var hexStr = prefix + (
|
||||
(1 << 24) +
|
||||
(parseInt(rgb.r) << 16) +
|
||||
(parseInt(rgb.g) << 8) +
|
||||
@@ -371,10 +378,10 @@ Color.prototype = {
|
||||
};
|
||||
},
|
||||
toAlias: function(r, g, b, a) {
|
||||
var c, rgb = (arguments.length === 0) ? this.toHex() : this.toHex(r, g, b, a);
|
||||
var c, rgb = (arguments.length === 0) ? this.toHex(true) : this.toHex(true, r, g, b, a);
|
||||
|
||||
// support predef. colors in non-hex format too, as defined in the alias itself
|
||||
var original = this.origFormat === 'alias' ? rgb : this.toString(this.origFormat, false);
|
||||
var original = this.origFormat === 'alias' ? rgb : this.toString(false, this.origFormat);
|
||||
|
||||
for (var alias in this.colors) {
|
||||
c = this.colors[alias].toLowerCase().trim();
|
||||
@@ -449,6 +456,9 @@ Color.prototype = {
|
||||
* @returns {Object} Object containing h,s,b,a,format properties or FALSE if failed to parse
|
||||
*/
|
||||
parse: function(strVal) {
|
||||
if (typeof strVal !== 'string') {
|
||||
return this.fallbackValue;
|
||||
}
|
||||
if (arguments.length === 0) {
|
||||
return false;
|
||||
}
|
||||
@@ -499,9 +509,10 @@ Color.prototype = {
|
||||
*
|
||||
* @param {string} [format] (default: rgba)
|
||||
* @param {boolean} [translateAlias] Return real color for pre-defined (non-standard) aliases (default: false)
|
||||
* @param {boolean} [forceRawValue] Forces hashtag prefix when getting hex color (default: false)
|
||||
* @returns {String}
|
||||
*/
|
||||
toString: function(format, translateAlias) {
|
||||
toString: function(forceRawValue, format, translateAlias) {
|
||||
format = format || this.origFormat || this.fallbackFormat;
|
||||
translateAlias = translateAlias || false;
|
||||
|
||||
@@ -537,7 +548,7 @@ Color.prototype = {
|
||||
break;
|
||||
case 'hex':
|
||||
{
|
||||
return this.toHex();
|
||||
return this.toHex(forceRawValue);
|
||||
}
|
||||
break;
|
||||
case 'alias':
|
||||
@@ -545,7 +556,7 @@ Color.prototype = {
|
||||
c = this.toAlias();
|
||||
|
||||
if (c === false) {
|
||||
return this.toString(this.getValidFallbackFormat());
|
||||
return this.toString(forceRawValue, this.getValidFallbackFormat());
|
||||
}
|
||||
|
||||
if (translateAlias && !(c in Color.webColors) && (c in this.predefinedColors)) {
|
||||
@@ -660,3 +671,6 @@ Color.prototype = {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
/* test-code */
|
||||
module.exports = Color;
|
||||
/* end-test-code */
|
||||
|
||||
@@ -32,6 +32,8 @@ var Colorpicker = function(element, options) {
|
||||
this.updateData(this.color);
|
||||
}
|
||||
|
||||
this.disabled = false;
|
||||
|
||||
// Setup picker
|
||||
var $picker = this.picker = $(this.options.template);
|
||||
if (this.options.customClass) {
|
||||
@@ -100,7 +102,7 @@ var Colorpicker = function(element, options) {
|
||||
'keyup.colorpicker': $.proxy(this.keyup, this)
|
||||
});
|
||||
this.input.on({
|
||||
'change.colorpicker': $.proxy(this.change, this)
|
||||
'input.colorpicker': $.proxy(this.change, this)
|
||||
});
|
||||
if (this.component === false) {
|
||||
this.element.on({
|
||||
@@ -220,12 +222,12 @@ Colorpicker.prototype = {
|
||||
});
|
||||
},
|
||||
updateData: function(val) {
|
||||
val = val || this.color.toString(this.format, false);
|
||||
val = val || this.color.toString(false, this.format);
|
||||
this.element.data('color', val);
|
||||
return val;
|
||||
},
|
||||
updateInput: function(val) {
|
||||
val = val || this.color.toString(this.format, false);
|
||||
val = val || this.color.toString(false, this.format);
|
||||
if (this.input !== false) {
|
||||
this.input.prop('value', val);
|
||||
this.input.trigger('change');
|
||||
@@ -256,13 +258,13 @@ Colorpicker.prototype = {
|
||||
});
|
||||
|
||||
this.picker.find('.colorpicker-saturation')
|
||||
.css('backgroundColor', (this.options.hexNumberSignPrefix ? '' : '#') + this.color.toHex(this.color.value.h, 1, 1, 1));
|
||||
.css('backgroundColor', this.color.toHex(true, this.color.value.h, 1, 1, 1));
|
||||
|
||||
this.picker.find('.colorpicker-alpha')
|
||||
.css('backgroundColor', (this.options.hexNumberSignPrefix ? '' : '#') + this.color.toHex());
|
||||
.css('backgroundColor', this.color.toHex(true));
|
||||
|
||||
this.picker.find('.colorpicker-color, .colorpicker-color div')
|
||||
.css('backgroundColor', this.color.toString(this.format, true));
|
||||
.css('backgroundColor', this.color.toString(true, this.format));
|
||||
|
||||
return val;
|
||||
},
|
||||
@@ -279,16 +281,16 @@ Colorpicker.prototype = {
|
||||
var icn = this.component.find('i').eq(0);
|
||||
if (icn.length > 0) {
|
||||
icn.css({
|
||||
'backgroundColor': color.toString(this.format, true)
|
||||
'backgroundColor': color.toString(true, this.format)
|
||||
});
|
||||
} else {
|
||||
this.component.css({
|
||||
'backgroundColor': color.toString(this.format, true)
|
||||
'backgroundColor': color.toString(true, this.format)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
return color.toString(this.format, false);
|
||||
return color.toString(false, this.format);
|
||||
},
|
||||
update: function(force) {
|
||||
var val;
|
||||
@@ -344,34 +346,31 @@ Colorpicker.prototype = {
|
||||
return (this.input !== false);
|
||||
},
|
||||
isDisabled: function() {
|
||||
if (this.hasInput()) {
|
||||
return (this.input.prop('disabled') === true);
|
||||
}
|
||||
return false;
|
||||
return this.disabled;
|
||||
},
|
||||
disable: function() {
|
||||
if (this.hasInput()) {
|
||||
this.input.prop('disabled', true);
|
||||
this.element.trigger({
|
||||
type: 'disable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
this.disabled = true;
|
||||
this.element.trigger({
|
||||
type: 'disable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
},
|
||||
enable: function() {
|
||||
if (this.hasInput()) {
|
||||
this.input.prop('disabled', false);
|
||||
this.element.trigger({
|
||||
type: 'enable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
this.disabled = false;
|
||||
this.element.trigger({
|
||||
type: 'enable',
|
||||
color: this.color,
|
||||
value: this.getValue()
|
||||
});
|
||||
return true;
|
||||
},
|
||||
currentSlider: null,
|
||||
mousePointer: {
|
||||
@@ -490,7 +489,24 @@ Colorpicker.prototype = {
|
||||
return false;
|
||||
},
|
||||
change: function(e) {
|
||||
this.keyup(e);
|
||||
this.color = this.createColor(this.input.val());
|
||||
// Change format dynamically
|
||||
// Only occurs if user choose the dynamic format by
|
||||
// setting option format to false
|
||||
if (this.color.origFormat && this.options.format === false) {
|
||||
this.format = this.color.origFormat;
|
||||
}
|
||||
if (this.getValue(false) !== false) {
|
||||
this.updateData();
|
||||
this.updateComponent();
|
||||
this.updatePicker();
|
||||
}
|
||||
|
||||
this.element.trigger({
|
||||
type: 'changeColor',
|
||||
color: this.color,
|
||||
value: this.input.val()
|
||||
});
|
||||
},
|
||||
keyup: function(e) {
|
||||
if ((e.keyCode === 38)) {
|
||||
@@ -503,20 +519,8 @@ Colorpicker.prototype = {
|
||||
this.color.value.a = Math.round((this.color.value.a - 0.01) * 100) / 100;
|
||||
}
|
||||
this.update(true);
|
||||
} else {
|
||||
this.color = this.createColor(this.input.val());
|
||||
// Change format dynamically
|
||||
// Only occurs if user choose the dynamic format by
|
||||
// setting option format to false
|
||||
if (this.color.origFormat && this.options.format === false) {
|
||||
this.format = this.color.origFormat;
|
||||
}
|
||||
if (this.getValue(false) !== false) {
|
||||
this.updateData();
|
||||
this.updateComponent();
|
||||
this.updatePicker();
|
||||
}
|
||||
}
|
||||
|
||||
this.element.trigger({
|
||||
type: 'changeColor',
|
||||
color: this.color,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Bootstrap Colorpicker v2.5.1
|
||||
* Bootstrap Colorpicker v2.5.2
|
||||
* https://itsjavi.com/bootstrap-colorpicker/
|
||||
*
|
||||
* Originally written by (c) 2012 Stefan Petre
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2362
bower_components/bootstrap-colorpicker/yarn.lock
vendored
Normal file
2362
bower_components/bootstrap-colorpicker/yarn.lock
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -10,12 +10,12 @@
|
||||
},
|
||||
"ignore": [],
|
||||
"homepage": "https://github.com/eternicode/bootstrap-datepicker",
|
||||
"version": "1.7.1",
|
||||
"_release": "1.7.1",
|
||||
"version": "1.8.0",
|
||||
"_release": "1.8.0",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.7.1",
|
||||
"commit": "9008cc328620c1695a0c95d036e57d356fca5c03"
|
||||
"tag": "v1.8.0",
|
||||
"commit": "0d32bc5d91da11d9a3587537c3c36ce7ee815c94"
|
||||
},
|
||||
"_source": "https://github.com/eternicode/bootstrap-datepicker.git",
|
||||
"_target": "^1.7.0",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
*
|
||||
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
*
|
||||
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
*
|
||||
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
*
|
||||
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
*
|
||||
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
||||
*/
|
||||
@@ -676,7 +676,6 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus {
|
||||
min-width: 16px;
|
||||
padding: 4px 5px;
|
||||
line-height: 1.42857143;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
border-width: 1px 0;
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
*
|
||||
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
||||
*/
|
||||
@@ -676,7 +676,6 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus {
|
||||
min-width: 16px;
|
||||
padding: 4px 5px;
|
||||
line-height: 1.42857143;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
border-width: 1px 0;
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,12 +1,12 @@
|
||||
/*!
|
||||
* Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
* Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker)
|
||||
*
|
||||
* Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
|
||||
*/
|
||||
|
||||
(function(factory){
|
||||
if (typeof define === "function" && define.amd) {
|
||||
define(["jquery"], factory);
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
@@ -1141,10 +1141,6 @@
|
||||
nextIsDisabled,
|
||||
factor = 1;
|
||||
switch (this.viewMode){
|
||||
case 0:
|
||||
prevIsDisabled = year <= startYear && month <= startMonth;
|
||||
nextIsDisabled = year >= endYear && month >= endMonth;
|
||||
break;
|
||||
case 4:
|
||||
factor *= 10;
|
||||
/* falls through */
|
||||
@@ -1155,8 +1151,12 @@
|
||||
factor *= 10;
|
||||
/* falls through */
|
||||
case 1:
|
||||
prevIsDisabled = Math.floor(year / factor) * factor <= startYear;
|
||||
nextIsDisabled = Math.floor(year / factor) * factor + factor >= endYear;
|
||||
prevIsDisabled = Math.floor(year / factor) * factor < startYear;
|
||||
nextIsDisabled = Math.floor(year / factor) * factor + factor > endYear;
|
||||
break;
|
||||
case 0:
|
||||
prevIsDisabled = year <= startYear && month < startMonth;
|
||||
nextIsDisabled = year >= endYear && month > endMonth;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1532,6 +1532,11 @@
|
||||
p.setRange(range);
|
||||
});
|
||||
},
|
||||
clearDates: function(){
|
||||
$.each(this.pickers, function(i, p){
|
||||
p.clearDates();
|
||||
});
|
||||
},
|
||||
dateUpdated: function(e){
|
||||
// `this.updating` is a workaround for preventing infinite recursion
|
||||
// between `changeDate` triggering and `setUTCDate` calling. Until
|
||||
@@ -1998,7 +2003,7 @@
|
||||
|
||||
/* DATEPICKER VERSION
|
||||
* =================== */
|
||||
$.fn.datepicker.version = '1.7.1';
|
||||
$.fn.datepicker.version = '1.8.0';
|
||||
|
||||
$.fn.datepicker.deprecated = function(msg){
|
||||
var console = window.console;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
!function(a){a.fn.datepicker.dates["en-CA"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:0,format:"yyyy-mm-dd"}}(jQuery);
|
||||
!function(a){a.fn.datepicker.dates["en-CA"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:0,format:"yyyy-mm-dd"},a.fn.datepicker.deprecated("This filename doesn't follow the convention, use bootstrap-datepicker.en-CA.js instead.")}(jQuery);
|
||||
@@ -1 +1 @@
|
||||
!function(a){a.fn.datepicker.dates.cs={days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"],daysShort:["Ned","Pon","Úte","Stř","Čtv","Pát","Sob"],daysMin:["Ne","Po","Út","St","Čt","Pá","So"],months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],monthsShort:["Led","Úno","Bře","Dub","Kvě","Čer","Čnc","Srp","Zář","Říj","Lis","Pro"],today:"Dnes",clear:"Vymazat",monthsTitle:"Měsíc",weekStart:1,format:"dd.m.yyyy"}}(jQuery);
|
||||
!function(a){a.fn.datepicker.dates.cs={days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"],daysShort:["Ned","Pon","Úte","Stř","Čtv","Pát","Sob"],daysMin:["Ne","Po","Út","St","Čt","Pá","So"],months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],monthsShort:["Led","Úno","Bře","Dub","Kvě","Čer","Čnc","Srp","Zář","Říj","Lis","Pro"],today:"Dnes",clear:"Vymazat",monthsTitle:"Měsíc",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
|
||||
@@ -1 +1 @@
|
||||
!function(a){a.fn.datepicker.dates.da={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"I Dag",weekStart:1,clear:"Nulstil",format:"dd/mm/yyyy"}}(jQuery);
|
||||
!function(a){a.fn.datepicker.dates.da={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"I Dag",weekStart:1,clear:"Nulstil",format:"dd/mm/yyyy",monthsTitle:"Måneder"}}(jQuery);
|
||||
1
bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-CA.min.js
vendored
Normal file
1
bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.en-CA.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(a){a.fn.datepicker.dates["en-CA"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:0,format:"yyyy-mm-dd"}}(jQuery);
|
||||
@@ -1 +1 @@
|
||||
!function(a){a.fn.datepicker.dates.lv={days:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"],daysShort:["Sv","P","O","T","C","Pk","S"],daysMin:["Sv","Pr","Ot","Tr","Ce","Pk","Se"],months:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],today:"Šodien",clear:"Nodzēst",weekStart:1}}(jQuery);
|
||||
!function(a){a.fn.datepicker.dates.lv={days:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"],daysShort:["Sv","P","O","T","C","Pk","S"],daysMin:["Sv","Pr","Ot","Tr","Ce","Pk","Se"],months:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],monthsTitle:"Mēneši",today:"Šodien",clear:"Nodzēst",weekStart:1}}(jQuery);
|
||||
@@ -1 +0,0 @@
|
||||
!function(a){a.fn.datepicker.dates.nb={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I Dag",format:"dd.mm.yyyy"}}(jQuery);
|
||||
@@ -1 +1 @@
|
||||
!function(a){a.fn.datepicker.dates.no={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I dag",clear:"Nullstill",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
|
||||
!function(a){a.fn.datepicker.dates.no={days:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"],daysShort:["søn","man","tir","ons","tor","fre","lør"],daysMin:["sø","ma","ti","on","to","fr","lø"],months:["januar","februar","mars","april","mai","juni","juli","august","september","oktober","vovember","desember"],monthsShort:["jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des"],today:"i dag",monthsTitle:"Måneder",clear:"Nullstill",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
|
||||
@@ -1 +1 @@
|
||||
!function(a){a.fn.datepicker.dates.sv={days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],daysShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],daysMin:["Sö","Må","Ti","On","To","Fr","Lö"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Idag",format:"yyyy-mm-dd",weekStart:1,clear:"Rensa"}}(jQuery);
|
||||
!function(a){a.fn.datepicker.dates.sv={days:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],daysShort:["sön","mån","tis","ons","tor","fre","lör"],daysMin:["sö","må","ti","on","to","fr","lö"],months:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],monthsShort:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],today:"Idag",format:"yyyy-mm-dd",weekStart:1,clear:"Rensa"}}(jQuery);
|
||||
1
bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.tk.min.js
vendored
Normal file
1
bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.tk.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(a){a.fn.datepicker.dates.tk={days:["Ýekşenbe","Duşenbe","Sişenbe","Çarşenbe","Penşenbe","Anna","Şenbe"],daysShort:["Ýek","Duş","Siş","Çar","Pen","Ann","Şen"],daysMin:["Ýe","Du","Si","Ça","Pe","An","Şe"],months:["Ýanwar","Fewral","Mart","Aprel","Maý","Iýun","Iýul","Awgust","Sentýabr","Oktýabr","Noýabr","Dekabr"],monthsShort:["Ýan","Few","Mar","Apr","Maý","Iýn","Iýl","Awg","Sen","Okt","Noý","Dek"],today:"Bu gün",monthsTitle:"Aýlar",clear:"Aýyr",weekStart:1,format:"dd.mm.yyyy"}}(jQuery);
|
||||
@@ -18,8 +18,8 @@
|
||||
* ========================================================= */
|
||||
|
||||
(function(factory){
|
||||
if (typeof define === "function" && define.amd) {
|
||||
define(["jquery"], factory);
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['jquery'], factory);
|
||||
} else if (typeof exports === 'object') {
|
||||
factory(require('jquery'));
|
||||
} else {
|
||||
@@ -1154,10 +1154,6 @@
|
||||
nextIsDisabled,
|
||||
factor = 1;
|
||||
switch (this.viewMode){
|
||||
case 0:
|
||||
prevIsDisabled = year <= startYear && month <= startMonth;
|
||||
nextIsDisabled = year >= endYear && month >= endMonth;
|
||||
break;
|
||||
case 4:
|
||||
factor *= 10;
|
||||
/* falls through */
|
||||
@@ -1168,8 +1164,12 @@
|
||||
factor *= 10;
|
||||
/* falls through */
|
||||
case 1:
|
||||
prevIsDisabled = Math.floor(year / factor) * factor <= startYear;
|
||||
nextIsDisabled = Math.floor(year / factor) * factor + factor >= endYear;
|
||||
prevIsDisabled = Math.floor(year / factor) * factor < startYear;
|
||||
nextIsDisabled = Math.floor(year / factor) * factor + factor > endYear;
|
||||
break;
|
||||
case 0:
|
||||
prevIsDisabled = year <= startYear && month < startMonth;
|
||||
nextIsDisabled = year >= endYear && month > endMonth;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1545,6 +1545,11 @@
|
||||
p.setRange(range);
|
||||
});
|
||||
},
|
||||
clearDates: function(){
|
||||
$.each(this.pickers, function(i, p){
|
||||
p.clearDates();
|
||||
});
|
||||
},
|
||||
dateUpdated: function(e){
|
||||
// `this.updating` is a workaround for preventing infinite recursion
|
||||
// between `changeDate` triggering and `setUTCDate` calling. Until
|
||||
@@ -2011,7 +2016,7 @@
|
||||
|
||||
/* DATEPICKER VERSION
|
||||
* =================== */
|
||||
$.fn.datepicker.version = '1.7.1';
|
||||
$.fn.datepicker.version = '1.8.0';
|
||||
|
||||
$.fn.datepicker.deprecated = function(msg){
|
||||
var console = window.console;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* Canadian English translation for bootstrap-datepicker
|
||||
* Mike Nacey <mnacey@gmail.com>
|
||||
* DEPRECATED: This filename doesn't follow the convention, use bootstrap-datepicker.en-CA.js instead
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datepicker.dates['en-CA'] = {
|
||||
@@ -15,4 +16,7 @@
|
||||
weekStart: 0,
|
||||
format: "yyyy-mm-dd"
|
||||
};
|
||||
|
||||
$.fn.datepicker.deprecated('This filename doesn\'t follow the convention, use bootstrap-datepicker.en-CA.js instead.');
|
||||
|
||||
}(jQuery));
|
||||
|
||||
@@ -14,6 +14,6 @@
|
||||
clear: "Vymazat",
|
||||
monthsTitle: "Měsíc",
|
||||
weekStart: 1,
|
||||
format: "dd.m.yyyy"
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
today: "I Dag",
|
||||
weekStart: 1,
|
||||
clear: "Nulstil",
|
||||
format: "dd/mm/yyyy"
|
||||
format: "dd/mm/yyyy",
|
||||
monthsTitle:"Måneder"
|
||||
};
|
||||
}(jQuery));
|
||||
|
||||
18
bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-CA.js
vendored
Normal file
18
bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.en-CA.js
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Canadian English translation for bootstrap-datepicker
|
||||
* Mike Nacey <mnacey@gmail.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datepicker.dates['en-CA'] = {
|
||||
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
|
||||
daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
||||
daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
||||
months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
|
||||
today: "Today",
|
||||
monthsTitle: "Months",
|
||||
clear: "Clear",
|
||||
weekStart: 0,
|
||||
format: "yyyy-mm-dd"
|
||||
};
|
||||
}(jQuery));
|
||||
@@ -10,6 +10,7 @@
|
||||
daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
|
||||
months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
monthsTitle: "Mēneši",
|
||||
today: "Šodien",
|
||||
clear: "Nodzēst",
|
||||
weekStart: 1
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/**
|
||||
* Norwegian (bokmål) translation for bootstrap-datepicker
|
||||
* Fredrik Sundmyhr <http://github.com/fsundmyhr>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datepicker.dates['nb'] = {
|
||||
days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"],
|
||||
daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
|
||||
daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø"],
|
||||
months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
||||
today: "I Dag",
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
@@ -1,14 +1,16 @@
|
||||
/**
|
||||
* Norwegian translation for bootstrap-datepicker
|
||||
**/
|
||||
* Norwegian translation for bootstrap-datepicker
|
||||
* George Gooding <george@nettsentrisk.no>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datepicker.dates['no'] = {
|
||||
days: ['Søndag', 'Mandag', 'Tirsdag', 'Onsdag', 'Torsdag', 'Fredag', 'Lørdag'],
|
||||
daysShort: ['Søn', 'Man', 'Tir', 'Ons', 'Tor', 'Fre', 'Lør'],
|
||||
daysMin: ['Sø', 'Ma', 'Ti', 'On', 'To', 'Fr', 'Lø'],
|
||||
months: ['Januar', 'Februar', 'Mars', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Desember'],
|
||||
monthsShort: ['Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
|
||||
today: 'I dag',
|
||||
days: ['søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag'],
|
||||
daysShort: ['søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør'],
|
||||
daysMin: ['sø', 'ma', 'ti', 'on', 'to', 'fr', 'lø'],
|
||||
months: ['januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'vovember', 'desember'],
|
||||
monthsShort: ['jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des'],
|
||||
today: 'i dag',
|
||||
monthsTitle: 'Måneder',
|
||||
clear: 'Nullstill',
|
||||
weekStart: 1,
|
||||
format: 'dd.mm.yyyy'
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datepicker.dates['sv'] = {
|
||||
days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"],
|
||||
daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"],
|
||||
daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö"],
|
||||
months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
|
||||
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
||||
days: ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"],
|
||||
daysShort: ["sön", "mån", "tis", "ons", "tor", "fre", "lör"],
|
||||
daysMin: ["sö", "må", "ti", "on", "to", "fr", "lö"],
|
||||
months: ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december"],
|
||||
monthsShort: ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec"],
|
||||
today: "Idag",
|
||||
format: "yyyy-mm-dd",
|
||||
weekStart: 1,
|
||||
|
||||
18
bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.tk.js
vendored
Normal file
18
bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.tk.js
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Turkmen translation for bootstrap-datepicker
|
||||
* N'Bayramberdiyev <nbayramberdiyev@outlook.com>
|
||||
*/
|
||||
;(function($){
|
||||
$.fn.datepicker.dates['tk'] = {
|
||||
days: ["Ýekşenbe", "Duşenbe", "Sişenbe", "Çarşenbe", "Penşenbe", "Anna", "Şenbe"],
|
||||
daysShort: ["Ýek", "Duş", "Siş", "Çar", "Pen", "Ann", "Şen"],
|
||||
daysMin: ["Ýe", "Du", "Si", "Ça", "Pe", "An", "Şe"],
|
||||
months: ["Ýanwar", "Fewral", "Mart", "Aprel", "Maý", "Iýun", "Iýul", "Awgust", "Sentýabr", "Oktýabr", "Noýabr", "Dekabr"],
|
||||
monthsShort: ["Ýan", "Few", "Mar", "Apr", "Maý", "Iýn", "Iýl", "Awg", "Sen", "Okt", "Noý", "Dek"],
|
||||
today: "Bu gün",
|
||||
monthsTitle: "Aýlar",
|
||||
clear: "Aýyr",
|
||||
weekStart: 1,
|
||||
format: "dd.mm.yyyy"
|
||||
};
|
||||
}(jQuery));
|
||||
@@ -250,7 +250,6 @@
|
||||
min-width: 16px;
|
||||
padding: 4px 5px;
|
||||
line-height: @line-height-base;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
border-width: 1px 0;
|
||||
margin-left: -5px;
|
||||
margin-right: -5px;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "bootstrap-datepicker",
|
||||
"description": "A datepicker for Bootstrap",
|
||||
"version": "1.7.1",
|
||||
"version": "1.8.0",
|
||||
"license": "Apache-2.0",
|
||||
"keywords": [
|
||||
"datepicker",
|
||||
|
||||
@@ -1626,13 +1626,13 @@ test('Nav arrow html templates .prev click', function () {
|
||||
equal(target.text(), '2011');
|
||||
});
|
||||
|
||||
test('Visibility of the prev and next arrows for decade/century/millenium views with startDate and endDate', function(){
|
||||
test('Visibility of the prev and next arrows for year/decade/century/millenium views with startDate and endDate', function(){
|
||||
var input = $('<input />')
|
||||
.appendTo('#qunit-fixture')
|
||||
.val('01/01/2015')
|
||||
.datepicker({
|
||||
format: 'dd/mm/yyyy',
|
||||
startView: 2,
|
||||
startView: 1,
|
||||
startDate: '01/12/2014',
|
||||
endDate: '01/12/2016'
|
||||
}),
|
||||
@@ -1642,6 +1642,12 @@ test('Visibility of the prev and next arrows for decade/century/millenium views
|
||||
|
||||
input.focus();
|
||||
|
||||
target = picker.find('.datepicker-months thead th.prev');
|
||||
ok(!target.hasClass('disabled'), 'Prev switcher is not hidden');
|
||||
target = picker.find('.datepicker-months thead th.next');
|
||||
ok(!target.hasClass('disabled'), 'Next switcher is not hidden');
|
||||
|
||||
picker.find('.datepicker-months thead th.datepicker-switch').click();
|
||||
target = picker.find('.datepicker-years thead th.prev');
|
||||
ok(target.hasClass('disabled'), 'Prev switcher is hidden');
|
||||
target = picker.find('.datepicker-years thead th.next');
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="assets/qunit.css" />
|
||||
<link rel="stylesheet" href="assets/qunit.css">
|
||||
<script src="assets/qunit.js"></script>
|
||||
<!-- console.log for test failures: enable locally if you need extra debug info-->
|
||||
<!--<script src="assets/qunit-logging.js"></script>-->
|
||||
|
||||
@@ -18,15 +18,14 @@
|
||||
"moment": ">=2.9.0"
|
||||
},
|
||||
"homepage": "https://github.com/dangrossman/bootstrap-daterangepicker",
|
||||
"version": "2.1.25",
|
||||
"_release": "2.1.25",
|
||||
"version": "2.1.27",
|
||||
"_release": "2.1.27",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v2.1.25",
|
||||
"commit": "29bbf5a04df69fda363cedb534272ac344524e57"
|
||||
"tag": "v2.1.27",
|
||||
"commit": "d4aabfbceaf57117e1af33f3f82e92162719eee9"
|
||||
},
|
||||
"_source": "https://github.com/dangrossman/bootstrap-daterangepicker.git",
|
||||
"_target": "^2.1.25",
|
||||
"_originalSource": "bootstrap-daterangepicker",
|
||||
"_direct": true
|
||||
"_originalSource": "bootstrap-daterangepicker"
|
||||
}
|
||||
@@ -23,7 +23,7 @@ for convenience. It is available under the [MIT license](http://www.opensource.o
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2012-2016 Dan Grossman
|
||||
Copyright (c) 2012-2017 Dan Grossman
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
/**
|
||||
* @version: 2.1.25
|
||||
* @version: 2.1.27
|
||||
* @author: Dan Grossman http://www.dangrossman.info/
|
||||
* @copyright: Copyright (c) 2012-2017 Dan Grossman. All rights reserved.
|
||||
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
|
||||
* @website: https://www.daterangepicker.com/
|
||||
* @website: http://www.daterangepicker.com/
|
||||
*/
|
||||
// Follow the UMD template https://github.com/umdjs/umd/blob/master/templates/returnExportsGlobal.js
|
||||
(function (root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Make globaly available as well
|
||||
define(['moment', 'jquery'], function (moment, jquery) {
|
||||
return (root.daterangepicker = factory(moment, jquery));
|
||||
if (!jquery.fn) jquery.fn = {}; // webpack server rendering
|
||||
return factory(moment, jquery);
|
||||
});
|
||||
} else if (typeof module === 'object' && module.exports) {
|
||||
// Node / Browserify
|
||||
@@ -20,7 +21,8 @@
|
||||
jQuery = require('jquery');
|
||||
if (!jQuery.fn) jQuery.fn = {};
|
||||
}
|
||||
module.exports = factory(require('moment'), jQuery);
|
||||
var moment = (typeof window != 'undefined' && typeof window.moment != 'undefined') ? window.moment : require('moment');
|
||||
module.exports = factory(moment, jQuery);
|
||||
} else {
|
||||
// Browser globals
|
||||
root.daterangepicker = factory(root.moment, root.jQuery);
|
||||
@@ -422,7 +424,8 @@
|
||||
.on('click.daterangepicker', '.daterangepicker_input input', $.proxy(this.showCalendars, this))
|
||||
.on('focus.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsFocused, this))
|
||||
.on('blur.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsBlurred, this))
|
||||
.on('change.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsChanged, this));
|
||||
.on('change.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsChanged, this))
|
||||
.on('keydown.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsKeydown, this));
|
||||
|
||||
this.container.find('.ranges')
|
||||
.on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this))
|
||||
@@ -436,10 +439,11 @@
|
||||
'click.daterangepicker': $.proxy(this.show, this),
|
||||
'focus.daterangepicker': $.proxy(this.show, this),
|
||||
'keyup.daterangepicker': $.proxy(this.elementChanged, this),
|
||||
'keydown.daterangepicker': $.proxy(this.keydown, this)
|
||||
'keydown.daterangepicker': $.proxy(this.keydown, this) //IE 11 compatibility
|
||||
});
|
||||
} else {
|
||||
this.element.on('click.daterangepicker', $.proxy(this.toggle, this));
|
||||
this.element.on('keydown.daterangepicker', $.proxy(this.toggle, this));
|
||||
}
|
||||
|
||||
//
|
||||
@@ -499,7 +503,7 @@
|
||||
this.endDate = moment(endDate);
|
||||
|
||||
if (!this.timePicker)
|
||||
this.endDate = this.endDate.endOf('day');
|
||||
this.endDate = this.endDate.add(1,'d').startOf('day').subtract(1,'second');
|
||||
|
||||
if (this.timePicker && this.timePickerIncrement)
|
||||
this.endDate.minute(Math.round(this.endDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);
|
||||
@@ -1370,8 +1374,10 @@
|
||||
var customRange = true;
|
||||
var i = 0;
|
||||
for (var range in this.ranges) {
|
||||
if (this.timePicker) {
|
||||
if (this.startDate.isSame(this.ranges[range][0]) && this.endDate.isSame(this.ranges[range][1])) {
|
||||
if (this.timePicker) {
|
||||
var format = this.timePickerSeconds ? "YYYY-MM-DD hh:mm:ss" : "YYYY-MM-DD hh:mm";
|
||||
//ignore times when comparing dates if time picker seconds is not enabled
|
||||
if (this.startDate.format(format) == this.ranges[range][0].format(format) && this.endDate.format(format) == this.ranges[range][1].format(format)) {
|
||||
customRange = false;
|
||||
this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').html();
|
||||
break;
|
||||
@@ -1560,10 +1566,22 @@
|
||||
|
||||
},
|
||||
|
||||
formInputsKeydown: function(e) {
|
||||
// This function ensures that if the 'enter' key was pressed in the input, then the calendars
|
||||
// are updated with the startDate and endDate.
|
||||
// This behaviour is automatic in Chrome/Firefox/Edge but not in IE 11 hence why this exists.
|
||||
// Other browsers and versions of IE are untested and the behaviour is unknown.
|
||||
if (e.keyCode === 13) {
|
||||
// Prevent the calendar from being updated twice on Chrome/Firefox/Edge
|
||||
e.preventDefault();
|
||||
this.formInputsChanged(e);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
elementChanged: function() {
|
||||
if (!this.element.is('input')) return;
|
||||
if (!this.element.val().length) return;
|
||||
if (this.element.val().length < this.locale.format.length) return;
|
||||
|
||||
var dateString = this.element.val().split(this.locale.separator),
|
||||
start = null,
|
||||
@@ -1591,6 +1609,14 @@
|
||||
if ((e.keyCode === 9) || (e.keyCode === 13)) {
|
||||
this.hide();
|
||||
}
|
||||
|
||||
//hide on esc and prevent propagation
|
||||
if (e.keyCode === 27) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
this.hide();
|
||||
}
|
||||
},
|
||||
|
||||
updateElement: function() {
|
||||
@@ -1612,11 +1638,12 @@
|
||||
};
|
||||
|
||||
$.fn.daterangepicker = function(options, callback) {
|
||||
var implementOptions = $.extend(true, {}, $.fn.daterangepicker.defaultOptions, options);
|
||||
this.each(function() {
|
||||
var el = $(this);
|
||||
if (el.data('daterangepicker'))
|
||||
el.data('daterangepicker').remove();
|
||||
el.data('daterangepicker', new DateRangePicker(el, options, callback));
|
||||
el.data('daterangepicker', new DateRangePicker(el, implementOptions, callback));
|
||||
});
|
||||
return this;
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package.describe({
|
||||
name: 'dangrossman:bootstrap-daterangepicker',
|
||||
version: '2.1.25',
|
||||
version: '2.1.27',
|
||||
summary: 'Date range picker component for Bootstrap',
|
||||
git: 'https://github.com/dangrossman/bootstrap-daterangepicker',
|
||||
documentation: 'README.md'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bootstrap-daterangepicker",
|
||||
"version": "2.1.25",
|
||||
"version": "2.1.27",
|
||||
"description": "Date range picker component for Bootstrap",
|
||||
"main": "daterangepicker.js",
|
||||
"style": "daterangepicker.css",
|
||||
|
||||
@@ -39,15 +39,6 @@
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<a href="http://www.websitegoodies.com" rel="nofollow" style="background: #f49a16">
|
||||
<span class="fa-stack">
|
||||
<i class="fa fa-circle fa-stack-2x"></i>
|
||||
<i class="fa fa-wrench fa-stack-1x fa-inverse" style="color: #f49a16"></i>
|
||||
</span>
|
||||
Website Goodies
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.improvely.com" rel="nofollow" style="background: #00caff">
|
||||
<span class="fa-stack">
|
||||
@@ -67,12 +58,12 @@
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://www.visitorboost.com" rel="nofollow" style="background: #f55443">
|
||||
<a href="http://www.websitegoodies.com" rel="nofollow" style="background: #06c">
|
||||
<span class="fa-stack">
|
||||
<i class="fa fa-circle fa-stack-2x"></i>
|
||||
<i class="fa fa-line-chart fa-stack-1x fa-inverse" style="color: #f55443"></i>
|
||||
<i class="fa fa-wrench fa-stack-1x fa-inverse" style="color: #06c"></i>
|
||||
</span>
|
||||
Visitor Boost
|
||||
Website Goodies
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -210,7 +201,7 @@
|
||||
</div>
|
||||
<div class="col-md-4 col-xs-12">
|
||||
<h4>Demo:</h4>
|
||||
<input class="pull-right" type="text" name="daterange" value="01/15/2015 - 02/15/2015" />
|
||||
<input class="pull-right" type="text" name="daterange" value="01/15/2017 - 02/15/2017" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -238,7 +229,7 @@
|
||||
</div>
|
||||
<div class="col-md-5 col-xs-12">
|
||||
<h4>Demo:</h4>
|
||||
<input class="pull-right" type="text" name="daterange2" value="01/01/2015 1:30 PM - 01/01/2015 2:00 PM" />
|
||||
<input class="pull-right" type="text" name="daterange2" value="01/01/2017 1:30 PM - 01/01/2017 2:00 PM" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -410,12 +401,12 @@
|
||||
|
||||
<div class="form-group">
|
||||
<label for="startDate">startDate</label>
|
||||
<input type="text" class="form-control" id="startDate" value="07/01/2015">
|
||||
<input type="text" class="form-control" id="startDate" value="07/01/2017">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="endDate">endDate</label>
|
||||
<input type="text" class="form-control" id="endDate" value="07/15/2015">
|
||||
<input type="text" class="form-control" id="endDate" value="07/15/2017">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
@@ -775,7 +766,7 @@
|
||||
|
||||
<p>The MIT License (MIT)</p>
|
||||
|
||||
<p>Copyright (c) 2012-2015 <a href="http://www.dangrossman.info">Dan Grossman</a></p>
|
||||
<p>Copyright (c) 2012-2017 <a href="http://www.dangrossman.info">Dan Grossman</a></p>
|
||||
|
||||
<p>
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
@@ -821,13 +812,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Begin W3Counter Tracking Code -->
|
||||
<script type="text/javascript" src="https://www.w3counter.com/tracker.js"></script>
|
||||
<script type="text/javascript">
|
||||
w3counter(90840);
|
||||
</script>
|
||||
<noscript>
|
||||
<div><a href="http://www.w3counter.com"><img src="https://www.w3counter.com/tracker.php?id=90840" style="border: 0" alt="W3Counter" /></a></div>
|
||||
</noscript>
|
||||
<script type="text/javascript" src="https://www.w3counter.com/tracker.js?id=90840"></script>
|
||||
<!-- End W3Counter Tracking Code -->
|
||||
|
||||
<script type="text/javascript">
|
||||
@@ -836,13 +821,12 @@
|
||||
(function(e,t){window._improvely=[];var n=e.getElementsByTagName("script")[0];var r=e.createElement("script");r.type="text/javascript";r.src="https://"+im_domain+".iljmp.com/improvely.js";r.async=true;n.parentNode.insertBefore(r,n);if(typeof t.init=="undefined"){t.init=function(e,t){window._improvely.push(["init",e,t])};t.goal=function(e){window._improvely.push(["goal",e])};t.conversion=function(e){window._improvely.push(["conversion",e])};t.label=function(e){window._improvely.push(["label",e])}}window.improvely=t;t.init(im_domain,im_project_id)})(document,window.improvely||[])
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
Shopify = { shop: 'www.improvely.com' };
|
||||
</script>
|
||||
<script type="text/javascript" src="https://icf.improvely.com/icf-button.js?shop=www.improvely.com"></script>
|
||||
<script>
|
||||
!function(e){window._wsg=7;var t=e.getElementsByTagName("script")[0],s=e.createElement("script");s.type="text/javascript",s.src="https://www.websitegoodies.com/js/widgets.js",t.parentNode.insertBefore(s,t)}(document);
|
||||
</script>
|
||||
|
||||
<div id="footer">
|
||||
Copyright © 2015 <a href="http://www.awio.com">Awio Web Services LLC</a>.
|
||||
Copyright © 2012-2017 <a href="http://www.awio.com">Awio Web Services LLC</a>.
|
||||
|
||||
Developed and maintained by <a href="http://www.dangrossman.info/">Dan Grossman</a>.
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ input[type="text"] {
|
||||
border: 0;
|
||||
}
|
||||
.navbar-inverse {
|
||||
background: #222;
|
||||
background: #ccc;
|
||||
}
|
||||
.navbar .container {
|
||||
padding: 0 20px;
|
||||
@@ -124,4 +124,4 @@ input[type="text"] {
|
||||
float: none;
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ $(document).ready(function() {
|
||||
if ($('#cancelClass').val().length && $('#cancelClass').val() != 'btn-default')
|
||||
options.cancelClass = $('#cancelClass').val();
|
||||
|
||||
$('#config-text').val("$('#demo').daterangepicker(" + JSON.stringify(options, null, ' ') + ", function(start, end, label) {\n console.log(\"New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')\");\n});");
|
||||
$('#config-text').val("$('#demo').daterangepicker(" + JSON.stringify(options, null, ' ') + ", function(start, end, label) {\n console.log('New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')');\n});");
|
||||
|
||||
$('#config-demo').daterangepicker(options, function(start, end, label) { console.log('New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')'); });
|
||||
|
||||
|
||||
@@ -29,6 +29,5 @@
|
||||
},
|
||||
"_source": "https://github.com/pammacdotnet/bootstrap-slider.git",
|
||||
"_target": "*",
|
||||
"_originalSource": "bootstrap-slider",
|
||||
"_direct": true
|
||||
"_originalSource": "bootstrap-slider"
|
||||
}
|
||||
@@ -41,6 +41,5 @@
|
||||
},
|
||||
"_source": "https://github.com/jdewit/bootstrap-timepicker.git",
|
||||
"_target": "^0.5.2",
|
||||
"_originalSource": "bootstrap-timepicker",
|
||||
"_direct": true
|
||||
"_originalSource": "bootstrap-timepicker"
|
||||
}
|
||||
15
bower_components/bootstrap/.bower.json
vendored
15
bower_components/bootstrap/.bower.json
vendored
@@ -11,7 +11,7 @@
|
||||
"framework",
|
||||
"web"
|
||||
],
|
||||
"homepage": "http://getbootstrap.com",
|
||||
"homepage": "https://getbootstrap.com/",
|
||||
"license": "MIT",
|
||||
"moduleType": "globals",
|
||||
"main": [
|
||||
@@ -31,15 +31,14 @@
|
||||
"dependencies": {
|
||||
"jquery": "1.9.1 - 3"
|
||||
},
|
||||
"version": "3.3.7",
|
||||
"_release": "3.3.7",
|
||||
"version": "3.4.1",
|
||||
"_release": "3.4.1",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v3.3.7",
|
||||
"commit": "0b9c4a4007c44201dce9a6cc1a38407005c26c86"
|
||||
"tag": "v3.4.1",
|
||||
"commit": "68b0d231a13201eb14acd3dc84e51543d16e5f7e"
|
||||
},
|
||||
"_source": "https://github.com/twbs/bootstrap.git",
|
||||
"_target": "^3.3.7",
|
||||
"_originalSource": "bootstrap",
|
||||
"_direct": true
|
||||
"_target": "^3.4.0",
|
||||
"_originalSource": "bootstrap"
|
||||
}
|
||||
4
bower_components/bootstrap/CHANGELOG.md
vendored
4
bower_components/bootstrap/CHANGELOG.md
vendored
@@ -1,5 +1,5 @@
|
||||
Bootstrap uses [GitHub's Releases feature](https://github.com/blog/1547-release-your-software) for its changelogs.
|
||||
Bootstrap uses [GitHub's Releases feature](https://blog.github.com/2013-07-02-release-your-software/) for its changelogs.
|
||||
|
||||
See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap.
|
||||
|
||||
Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release.
|
||||
Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com/) contain summaries of the most noteworthy changes made in each release.
|
||||
|
||||
6
bower_components/bootstrap/Gemfile
vendored
6
bower_components/bootstrap/Gemfile
vendored
@@ -1,6 +1,8 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
group :development, :test do
|
||||
gem 'jekyll', '~> 3.1.2'
|
||||
gem 'jekyll-sitemap', '~> 0.11.0'
|
||||
gem 'jekyll', '~> 3.8.5'
|
||||
gem 'jekyll-redirect-from', '~> 0.14.0'
|
||||
gem 'jekyll-sitemap', '~> 1.2.0'
|
||||
gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?
|
||||
end
|
||||
|
||||
81
bower_components/bootstrap/Gemfile.lock
vendored
81
bower_components/bootstrap/Gemfile.lock
vendored
@@ -1,43 +1,74 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.4.0)
|
||||
colorator (0.1)
|
||||
ffi (1.9.14-x64-mingw32)
|
||||
jekyll (3.1.6)
|
||||
colorator (~> 0.1)
|
||||
addressable (2.6.0)
|
||||
public_suffix (>= 2.0.2, < 4.0)
|
||||
colorator (1.1.0)
|
||||
concurrent-ruby (1.1.4)
|
||||
em-websocket (0.5.1)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0.6.0)
|
||||
eventmachine (1.2.7)
|
||||
eventmachine (1.2.7-x64-mingw32)
|
||||
ffi (1.10.0)
|
||||
ffi (1.10.0-x64-mingw32)
|
||||
forwardable-extended (2.6.0)
|
||||
http_parser.rb (0.6.0)
|
||||
i18n (0.9.5)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jekyll (3.8.5)
|
||||
addressable (~> 2.4)
|
||||
colorator (~> 1.0)
|
||||
em-websocket (~> 0.5)
|
||||
i18n (~> 0.7)
|
||||
jekyll-sass-converter (~> 1.0)
|
||||
jekyll-watch (~> 1.1)
|
||||
kramdown (~> 1.3)
|
||||
liquid (~> 3.0)
|
||||
jekyll-watch (~> 2.0)
|
||||
kramdown (~> 1.14)
|
||||
liquid (~> 4.0)
|
||||
mercenary (~> 0.3.3)
|
||||
rouge (~> 1.7)
|
||||
pathutil (~> 0.9)
|
||||
rouge (>= 1.7, < 4)
|
||||
safe_yaml (~> 1.0)
|
||||
jekyll-sass-converter (1.4.0)
|
||||
jekyll-redirect-from (0.14.0)
|
||||
jekyll (~> 3.3)
|
||||
jekyll-sass-converter (1.5.2)
|
||||
sass (~> 3.4)
|
||||
jekyll-sitemap (0.11.0)
|
||||
addressable (~> 2.4.0)
|
||||
jekyll-watch (1.4.0)
|
||||
listen (~> 3.0, < 3.1)
|
||||
kramdown (1.11.1)
|
||||
liquid (3.0.6)
|
||||
listen (3.0.8)
|
||||
jekyll-sitemap (1.2.0)
|
||||
jekyll (~> 3.3)
|
||||
jekyll-watch (2.1.2)
|
||||
listen (~> 3.0)
|
||||
kramdown (1.17.0)
|
||||
liquid (4.0.1)
|
||||
listen (3.1.5)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
ruby_dep (~> 1.2)
|
||||
mercenary (0.3.6)
|
||||
rb-fsevent (0.9.7)
|
||||
rb-inotify (0.9.7)
|
||||
ffi (>= 0.5.0)
|
||||
rouge (1.11.1)
|
||||
pathutil (0.16.2)
|
||||
forwardable-extended (~> 2.6)
|
||||
public_suffix (3.0.3)
|
||||
rb-fsevent (0.10.3)
|
||||
rb-inotify (0.10.0)
|
||||
ffi (~> 1.0)
|
||||
rouge (3.3.0)
|
||||
ruby_dep (1.5.0)
|
||||
safe_yaml (1.0.4)
|
||||
sass (3.4.22)
|
||||
sass (3.7.3)
|
||||
sass-listen (~> 4.0.0)
|
||||
sass-listen (4.0.0)
|
||||
rb-fsevent (~> 0.9, >= 0.9.4)
|
||||
rb-inotify (~> 0.9, >= 0.9.7)
|
||||
wdm (0.1.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
x64-mingw32
|
||||
|
||||
DEPENDENCIES
|
||||
jekyll (~> 3.1.2)
|
||||
jekyll-sitemap (~> 0.11.0)
|
||||
jekyll (~> 3.8.5)
|
||||
jekyll-redirect-from (~> 0.14.0)
|
||||
jekyll-sitemap (~> 1.2.0)
|
||||
wdm (~> 0.1.1)
|
||||
|
||||
BUNDLED WITH
|
||||
1.12.5
|
||||
1.17.3
|
||||
|
||||
275
bower_components/bootstrap/Gruntfile.js
vendored
275
bower_components/bootstrap/Gruntfile.js
vendored
@@ -1,7 +1,7 @@
|
||||
/*!
|
||||
* Bootstrap's Gruntfile
|
||||
* http://getbootstrap.com
|
||||
* Copyright 2013-2016 Twitter, Inc.
|
||||
* https://getbootstrap.com/
|
||||
* Copyright 2013-2019 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
@@ -104,7 +104,7 @@ module.exports = function (grunt) {
|
||||
banner: '<%= banner %>\n<%= jqueryCheck %>\n<%= jqueryVersionCheck %>',
|
||||
stripBanners: false
|
||||
},
|
||||
bootstrap: {
|
||||
core: {
|
||||
src: [
|
||||
'js/transition.js',
|
||||
'js/alert.js',
|
||||
@@ -125,78 +125,90 @@ module.exports = function (grunt) {
|
||||
|
||||
uglify: {
|
||||
options: {
|
||||
compress: {
|
||||
warnings: false
|
||||
},
|
||||
compress: true,
|
||||
mangle: true,
|
||||
preserveComments: /^!|@preserve|@license|@cc_on/i
|
||||
ie8: true,
|
||||
output: {
|
||||
comments: /^!|@preserve|@license|@cc_on/i
|
||||
}
|
||||
},
|
||||
core: {
|
||||
src: '<%= concat.bootstrap.dest %>',
|
||||
src: '<%= concat.core.dest %>',
|
||||
dest: 'dist/js/<%= pkg.name %>.min.js'
|
||||
},
|
||||
customize: {
|
||||
src: configBridge.paths.customizerJs,
|
||||
dest: 'docs/assets/js/customize.min.js'
|
||||
},
|
||||
docsJs: {
|
||||
docs: {
|
||||
src: configBridge.paths.docsJs,
|
||||
dest: 'docs/assets/js/docs.min.js'
|
||||
}
|
||||
},
|
||||
|
||||
qunit: {
|
||||
options: {
|
||||
inject: 'js/tests/unit/phantom.js'
|
||||
},
|
||||
files: 'js/tests/index.html'
|
||||
},
|
||||
|
||||
less: {
|
||||
compileCore: {
|
||||
options: {
|
||||
ieCompat: true,
|
||||
strictMath: true,
|
||||
sourceMap: true,
|
||||
outputSourceFiles: true
|
||||
},
|
||||
core: {
|
||||
options: {
|
||||
strictMath: true,
|
||||
sourceMap: true,
|
||||
outputSourceFiles: true,
|
||||
sourceMapURL: '<%= pkg.name %>.css.map',
|
||||
sourceMapFilename: 'dist/css/<%= pkg.name %>.css.map'
|
||||
},
|
||||
src: 'less/bootstrap.less',
|
||||
dest: 'dist/css/<%= pkg.name %>.css'
|
||||
},
|
||||
compileTheme: {
|
||||
theme: {
|
||||
options: {
|
||||
strictMath: true,
|
||||
sourceMap: true,
|
||||
outputSourceFiles: true,
|
||||
sourceMapURL: '<%= pkg.name %>-theme.css.map',
|
||||
sourceMapFilename: 'dist/css/<%= pkg.name %>-theme.css.map'
|
||||
},
|
||||
src: 'less/theme.less',
|
||||
dest: 'dist/css/<%= pkg.name %>-theme.css'
|
||||
},
|
||||
docs: {
|
||||
options: {
|
||||
sourceMapURL: 'docs.css.map',
|
||||
sourceMapFilename: 'docs/assets/css/docs.css.map'
|
||||
},
|
||||
src: 'docs/assets/less/docs.less',
|
||||
dest: 'docs/assets/css/docs.css'
|
||||
},
|
||||
docsIe: {
|
||||
options: {
|
||||
sourceMap: false
|
||||
},
|
||||
src: 'docs/assets/less/ie10-viewport-bug-workaround.less',
|
||||
dest: 'docs/assets/css/ie10-viewport-bug-workaround.css'
|
||||
}
|
||||
},
|
||||
|
||||
autoprefixer: {
|
||||
postcss: {
|
||||
options: {
|
||||
browsers: configBridge.config.autoprefixerBrowsers
|
||||
map: {
|
||||
inline: false,
|
||||
sourcesContent: true
|
||||
},
|
||||
processors: [
|
||||
require('autoprefixer')(configBridge.config.autoprefixer)
|
||||
]
|
||||
},
|
||||
core: {
|
||||
options: {
|
||||
map: true
|
||||
},
|
||||
src: 'dist/css/<%= pkg.name %>.css'
|
||||
},
|
||||
theme: {
|
||||
options: {
|
||||
map: true
|
||||
},
|
||||
src: 'dist/css/<%= pkg.name %>-theme.css'
|
||||
},
|
||||
docs: {
|
||||
src: ['docs/assets/css/src/docs.css']
|
||||
src: 'docs/assets/css/docs.css'
|
||||
},
|
||||
examples: {
|
||||
options: {
|
||||
map: false
|
||||
},
|
||||
expand: true,
|
||||
cwd: 'docs/examples/',
|
||||
src: ['**/*.css'],
|
||||
@@ -204,76 +216,47 @@ module.exports = function (grunt) {
|
||||
}
|
||||
},
|
||||
|
||||
csslint: {
|
||||
stylelint: {
|
||||
options: {
|
||||
csslintrc: 'less/.csslintrc'
|
||||
configFile: 'grunt/.stylelintrc',
|
||||
reportNeedlessDisables: false
|
||||
},
|
||||
dist: [
|
||||
'dist/css/bootstrap.css',
|
||||
'dist/css/bootstrap-theme.css'
|
||||
'less/**/*.less'
|
||||
],
|
||||
docs: [
|
||||
'docs/assets/less/**/*.less'
|
||||
],
|
||||
examples: [
|
||||
'docs/examples/**/*.css'
|
||||
],
|
||||
docs: {
|
||||
options: {
|
||||
ids: false,
|
||||
'overqualified-elements': false
|
||||
},
|
||||
src: 'docs/assets/css/src/docs.css'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
cssmin: {
|
||||
options: {
|
||||
// TODO: disable `zeroUnits` optimization once clean-css 3.2 is released
|
||||
// and then simplify the fix for https://github.com/twbs/bootstrap/issues/14837 accordingly
|
||||
compatibility: 'ie8',
|
||||
keepSpecialComments: '*',
|
||||
sourceMap: true,
|
||||
sourceMapInlineSources: true,
|
||||
advanced: false
|
||||
level: {
|
||||
1: {
|
||||
specialComments: 'all'
|
||||
}
|
||||
}
|
||||
},
|
||||
minifyCore: {
|
||||
core: {
|
||||
src: 'dist/css/<%= pkg.name %>.css',
|
||||
dest: 'dist/css/<%= pkg.name %>.min.css'
|
||||
},
|
||||
minifyTheme: {
|
||||
theme: {
|
||||
src: 'dist/css/<%= pkg.name %>-theme.css',
|
||||
dest: 'dist/css/<%= pkg.name %>-theme.min.css'
|
||||
},
|
||||
docs: {
|
||||
src: [
|
||||
'docs/assets/css/ie10-viewport-bug-workaround.css',
|
||||
'docs/assets/css/src/pygments-manni.css',
|
||||
'docs/assets/css/src/docs.css'
|
||||
],
|
||||
src: 'docs/assets/css/docs.css',
|
||||
dest: 'docs/assets/css/docs.min.css'
|
||||
}
|
||||
},
|
||||
|
||||
csscomb: {
|
||||
options: {
|
||||
config: 'less/.csscomb.json'
|
||||
},
|
||||
dist: {
|
||||
expand: true,
|
||||
cwd: 'dist/css/',
|
||||
src: ['*.css', '!*.min.css'],
|
||||
dest: 'dist/css/'
|
||||
},
|
||||
examples: {
|
||||
expand: true,
|
||||
cwd: 'docs/examples/',
|
||||
src: '**/*.css',
|
||||
dest: 'docs/examples/'
|
||||
},
|
||||
docs: {
|
||||
src: 'docs/assets/css/src/docs.css',
|
||||
dest: 'docs/assets/css/src/docs.css'
|
||||
}
|
||||
},
|
||||
|
||||
copy: {
|
||||
fonts: {
|
||||
expand: true,
|
||||
@@ -313,41 +296,6 @@ module.exports = function (grunt) {
|
||||
}
|
||||
},
|
||||
|
||||
htmlmin: {
|
||||
dist: {
|
||||
options: {
|
||||
collapseBooleanAttributes: true,
|
||||
collapseWhitespace: true,
|
||||
conservativeCollapse: true,
|
||||
decodeEntities: false,
|
||||
minifyCSS: {
|
||||
compatibility: 'ie8',
|
||||
keepSpecialComments: 0
|
||||
},
|
||||
minifyJS: true,
|
||||
minifyURLs: false,
|
||||
processConditionalComments: true,
|
||||
removeAttributeQuotes: true,
|
||||
removeComments: true,
|
||||
removeOptionalAttributes: true,
|
||||
removeOptionalTags: true,
|
||||
removeRedundantAttributes: true,
|
||||
removeScriptTypeAttributes: true,
|
||||
removeStyleLinkTypeAttributes: true,
|
||||
removeTagWhitespace: false,
|
||||
sortAttributes: true,
|
||||
sortClassName: true
|
||||
},
|
||||
expand: true,
|
||||
cwd: '_gh_pages',
|
||||
dest: '_gh_pages',
|
||||
src: [
|
||||
'**/*.html',
|
||||
'!examples/**/*.html'
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
pug: {
|
||||
options: {
|
||||
pretty: true,
|
||||
@@ -366,67 +314,40 @@ module.exports = function (grunt) {
|
||||
htmllint: {
|
||||
options: {
|
||||
ignore: [
|
||||
'Attribute "autocomplete" not allowed on element "button" at this point.',
|
||||
'Attribute "autocomplete" is only allowed when the input type is "color", "date", "datetime", "datetime-local", "email", "hidden", "month", "number", "password", "range", "search", "tel", "text", "time", "url", or "week".',
|
||||
'Element "img" is missing required attribute "src".'
|
||||
]
|
||||
],
|
||||
noLangDetect: true
|
||||
},
|
||||
src: '_gh_pages/**/*.html'
|
||||
src: ['_gh_pages/**/*.html', 'js/tests/**/*.html']
|
||||
},
|
||||
|
||||
watch: {
|
||||
src: {
|
||||
files: '<%= jshint.core.src %>',
|
||||
tasks: ['jshint:core', 'qunit', 'concat']
|
||||
tasks: ['jshint:core', 'exec:karma', 'concat']
|
||||
},
|
||||
test: {
|
||||
files: '<%= jshint.test.src %>',
|
||||
tasks: ['jshint:test', 'qunit']
|
||||
tasks: ['jshint:test', 'exec:karma']
|
||||
},
|
||||
less: {
|
||||
files: 'less/**/*.less',
|
||||
tasks: 'less'
|
||||
}
|
||||
},
|
||||
|
||||
'saucelabs-qunit': {
|
||||
all: {
|
||||
options: {
|
||||
build: process.env.TRAVIS_JOB_ID,
|
||||
throttled: 10,
|
||||
maxRetries: 3,
|
||||
maxPollRetries: 4,
|
||||
urls: ['http://127.0.0.1:3000/js/tests/index.html?hidepassed'],
|
||||
browsers: grunt.file.readYAML('grunt/sauce_browsers.yml')
|
||||
}
|
||||
tasks: ['less', 'copy']
|
||||
},
|
||||
docs: {
|
||||
files: 'docs/assets/less/**/*.less',
|
||||
tasks: ['less']
|
||||
}
|
||||
},
|
||||
|
||||
exec: {
|
||||
npmUpdate: {
|
||||
command: 'npm update'
|
||||
}
|
||||
},
|
||||
|
||||
compress: {
|
||||
main: {
|
||||
options: {
|
||||
archive: 'bootstrap-<%= pkg.version %>-dist.zip',
|
||||
mode: 'zip',
|
||||
level: 9,
|
||||
pretty: true
|
||||
},
|
||||
files: [
|
||||
{
|
||||
expand: true,
|
||||
cwd: 'dist/',
|
||||
src: ['**'],
|
||||
dest: 'bootstrap-<%= pkg.version %>-dist'
|
||||
}
|
||||
]
|
||||
browserstack: {
|
||||
command: 'cross-env BROWSER=true karma start grunt/karma.conf.js'
|
||||
},
|
||||
karma: {
|
||||
command: 'karma start grunt/karma.conf.js'
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -441,16 +362,14 @@ module.exports = function (grunt) {
|
||||
return !process.env.TWBS_TEST || process.env.TWBS_TEST === subset;
|
||||
};
|
||||
var isUndefOrNonZero = function (val) {
|
||||
return val === undefined || val !== '0';
|
||||
return typeof val === 'undefined' || val !== '0';
|
||||
};
|
||||
|
||||
// Test task.
|
||||
var testSubtasks = [];
|
||||
// Skip core tests if running a different subset of the test suite
|
||||
if (runSubset('core') &&
|
||||
// Skip core tests if this is a Savage build
|
||||
process.env.TRAVIS_REPO_SLUG !== 'twbs-savage/bootstrap') {
|
||||
testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'csslint:dist', 'test-js', 'docs']);
|
||||
if (runSubset('core')) {
|
||||
testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'stylelint:dist', 'test-js', 'docs']);
|
||||
}
|
||||
// Skip HTML validation if running a different subset of the test suite
|
||||
if (runSubset('validate-html') &&
|
||||
@@ -458,24 +377,23 @@ module.exports = function (grunt) {
|
||||
isUndefOrNonZero(process.env.TWBS_DO_VALIDATOR)) {
|
||||
testSubtasks.push('validate-html');
|
||||
}
|
||||
// Only run Sauce Labs tests if there's a Sauce access key
|
||||
if (typeof process.env.SAUCE_ACCESS_KEY !== 'undefined' &&
|
||||
// Skip Sauce if running a different subset of the test suite
|
||||
runSubset('sauce-js-unit') &&
|
||||
// Skip Sauce on Travis when [skip sauce] is in the commit message
|
||||
isUndefOrNonZero(process.env.TWBS_DO_SAUCE)) {
|
||||
testSubtasks.push('connect');
|
||||
testSubtasks.push('saucelabs-qunit');
|
||||
// Only run BrowserStack tests if there's a BrowserStack access key
|
||||
if (typeof process.env.BROWSER_STACK_USERNAME !== 'undefined' &&
|
||||
// Skip BrowserStack if running a different subset of the test suite
|
||||
runSubset('browserstack') &&
|
||||
// Skip BrowserStack on Travis when [skip browserstack] is in the commit message
|
||||
isUndefOrNonZero(process.env.TWBS_DO_BROWSERSTACK)) {
|
||||
testSubtasks.push('exec:browserstack');
|
||||
}
|
||||
|
||||
grunt.registerTask('test', testSubtasks);
|
||||
grunt.registerTask('test-js', ['jshint:core', 'jshint:test', 'jshint:grunt', 'jscs:core', 'jscs:test', 'jscs:grunt', 'qunit']);
|
||||
grunt.registerTask('test-js', ['jshint:core', 'jshint:test', 'jshint:grunt', 'jscs:core', 'jscs:test', 'jscs:grunt', 'exec:karma']);
|
||||
|
||||
// JS distribution task.
|
||||
grunt.registerTask('dist-js', ['concat', 'uglify:core', 'commonjs']);
|
||||
|
||||
// CSS distribution task.
|
||||
grunt.registerTask('less-compile', ['less:compileCore', 'less:compileTheme']);
|
||||
grunt.registerTask('dist-css', ['less-compile', 'autoprefixer:core', 'autoprefixer:theme', 'csscomb:dist', 'cssmin:minifyCore', 'cssmin:minifyTheme']);
|
||||
grunt.registerTask('dist-css', ['less:core', 'less:theme', 'postcss:core', 'postcss:theme', 'cssmin:core', 'cssmin:theme']);
|
||||
|
||||
// Full distribution task.
|
||||
grunt.registerTask('dist', ['clean:dist', 'dist-css', 'copy:fonts', 'dist-js']);
|
||||
@@ -483,7 +401,9 @@ module.exports = function (grunt) {
|
||||
// Default task.
|
||||
grunt.registerTask('default', ['clean:dist', 'copy:fonts', 'test']);
|
||||
|
||||
grunt.registerTask('build-glyphicons-data', function () { generateGlyphiconsData.call(this, grunt); });
|
||||
grunt.registerTask('build-glyphicons-data', function () {
|
||||
generateGlyphiconsData.call(this, grunt);
|
||||
});
|
||||
|
||||
// task for building customizer
|
||||
grunt.registerTask('build-customizer', ['build-customizer-html', 'build-raw-files']);
|
||||
@@ -494,18 +414,17 @@ module.exports = function (grunt) {
|
||||
});
|
||||
|
||||
grunt.registerTask('commonjs', 'Generate CommonJS entrypoint module in dist dir.', function () {
|
||||
var srcFiles = grunt.config.get('concat.bootstrap.src');
|
||||
var srcFiles = grunt.config.get('concat.core.src');
|
||||
var destFilepath = 'dist/js/npm.js';
|
||||
generateCommonJSModule(grunt, srcFiles, destFilepath);
|
||||
});
|
||||
|
||||
// Docs task.
|
||||
grunt.registerTask('docs-css', ['autoprefixer:docs', 'autoprefixer:examples', 'csscomb:docs', 'csscomb:examples', 'cssmin:docs']);
|
||||
grunt.registerTask('lint-docs-css', ['csslint:docs', 'csslint:examples']);
|
||||
grunt.registerTask('docs-js', ['uglify:docsJs', 'uglify:customize']);
|
||||
grunt.registerTask('docs-css', ['less:docs', 'less:docsIe', 'postcss:docs', 'postcss:examples', 'cssmin:docs']);
|
||||
grunt.registerTask('lint-docs-css', ['stylelint:docs', 'stylelint:examples']);
|
||||
grunt.registerTask('docs-js', ['uglify:docs', 'uglify:customize']);
|
||||
grunt.registerTask('lint-docs-js', ['jshint:assets', 'jscs:assets']);
|
||||
grunt.registerTask('docs', ['docs-css', 'lint-docs-css', 'docs-js', 'lint-docs-js', 'clean:docs', 'copy:docs', 'build-glyphicons-data', 'build-customizer']);
|
||||
grunt.registerTask('docs-github', ['jekyll:github', 'htmlmin']);
|
||||
|
||||
grunt.registerTask('prep-release', ['dist', 'docs', 'docs-github', 'compress']);
|
||||
grunt.registerTask('prep-release', ['dist', 'docs', 'jekyll:github']);
|
||||
};
|
||||
|
||||
4
bower_components/bootstrap/ISSUE_TEMPLATE.md
vendored
4
bower_components/bootstrap/ISSUE_TEMPLATE.md
vendored
@@ -1,7 +1,7 @@
|
||||
Before opening an issue:
|
||||
|
||||
- [Search for duplicate or closed issues](https://github.com/twbs/bootstrap/issues?utf8=%E2%9C%93&q=is%3Aissue)
|
||||
- [Validate](http://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
|
||||
- [Validate](https://validator.w3.org/nu/) and [lint](https://github.com/twbs/bootlint#in-the-browser) any HTML to avoid common problems
|
||||
- Prepare a [reduced test case](https://css-tricks.com/reduced-test-cases/) for any bugs
|
||||
- Read the [contributing guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md)
|
||||
|
||||
@@ -14,7 +14,7 @@ When reporting a bug, include:
|
||||
|
||||
- Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
|
||||
- Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
|
||||
- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com)
|
||||
- Reduced test cases and potential fixes using [JS Bin](https://jsbin.com/)
|
||||
|
||||
When suggesting a feature, include:
|
||||
|
||||
|
||||
2
bower_components/bootstrap/LICENSE
vendored
2
bower_components/bootstrap/LICENSE
vendored
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2011-2016 Twitter, Inc.
|
||||
Copyright (c) 2011-2019 Twitter, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
53
bower_components/bootstrap/README.md
vendored
53
bower_components/bootstrap/README.md
vendored
@@ -1,16 +1,15 @@
|
||||
# [Bootstrap](http://getbootstrap.com)
|
||||
# [Bootstrap](https://getbootstrap.com/)
|
||||
|
||||
[](https://bootstrap-slack.herokuapp.com)
|
||||
[](https://bootstrap-slack.herokuapp.com/)
|
||||

|
||||
[](https://www.npmjs.com/package/bootstrap)
|
||||
[](https://travis-ci.org/twbs/bootstrap)
|
||||
[](https://david-dm.org/twbs/bootstrap#info=devDependencies)
|
||||
[](https://www.nuget.org/packages/Bootstrap)
|
||||
[](https://saucelabs.com/u/bootstrap)
|
||||
|
||||
Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thornton](https://twitter.com/fat), and maintained by the [core team](https://github.com/orgs/twbs/people) with the massive support and involvement of the community.
|
||||
|
||||
To get started, check out <http://getbootstrap.com>!
|
||||
To get started, check out <https://getbootstrap.com/>!
|
||||
|
||||
|
||||
## Table of contents
|
||||
@@ -22,6 +21,7 @@ To get started, check out <http://getbootstrap.com>!
|
||||
* [Community](#community)
|
||||
* [Versioning](#versioning)
|
||||
* [Creators](#creators)
|
||||
* [Thanks](#thanks)
|
||||
* [Copyright and license](#copyright-and-license)
|
||||
|
||||
|
||||
@@ -29,14 +29,14 @@ To get started, check out <http://getbootstrap.com>!
|
||||
|
||||
Several quick start options are available:
|
||||
|
||||
* [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.3.7.zip).
|
||||
* [Download the latest release](https://github.com/twbs/bootstrap/archive/v3.4.1.zip).
|
||||
* Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.
|
||||
* Install with [Bower](http://bower.io): `bower install bootstrap`.
|
||||
* Install with [npm](https://www.npmjs.com): `npm install bootstrap@3`.
|
||||
* Install with [Meteor](https://www.meteor.com): `meteor add twbs:bootstrap`.
|
||||
* Install with [Composer](https://getcomposer.org): `composer require twbs/bootstrap`.
|
||||
* Install with [Bower](https://bower.io/): `bower install bootstrap`.
|
||||
* Install with [npm](https://www.npmjs.com/): `npm install bootstrap@3`.
|
||||
* Install with [Meteor](https://www.meteor.com/): `meteor add twbs:bootstrap`.
|
||||
* Install with [Composer](https://getcomposer.org/): `composer require twbs/bootstrap`.
|
||||
|
||||
Read the [Getting started page](http://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more.
|
||||
Read the [Getting started page](https://getbootstrap.com/docs/3.4/getting-started/) for information on the framework contents, templates and examples, and more.
|
||||
|
||||
### What's included
|
||||
|
||||
@@ -64,7 +64,7 @@ bootstrap/
|
||||
└── glyphicons-halflings-regular.woff2
|
||||
```
|
||||
|
||||
We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developer.chrome.com/devtools/docs/css-preprocessors) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme.
|
||||
We provide compiled CSS and JS (`bootstrap.*`), as well as compiled and minified CSS and JS (`bootstrap.min.*`). CSS [source maps](https://developers.google.com/web/tools/chrome-devtools/javascript/source-maps) (`bootstrap.*.map`) are available for use with certain browsers' developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme.
|
||||
|
||||
|
||||
## Bugs and feature requests
|
||||
@@ -76,20 +76,20 @@ Note that **feature requests must target [Bootstrap v4](https://github.com/twbs/
|
||||
|
||||
## Documentation
|
||||
|
||||
Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](http://jekyllrb.com) and publicly hosted on GitHub Pages at <http://getbootstrap.com>. The docs may also be run locally.
|
||||
Bootstrap's documentation, included in this repo in the root directory, is built with [Jekyll](https://jekyllrb.com/) and publicly hosted on GitHub Pages at <https://getbootstrap.com/>. The docs may also be run locally.
|
||||
|
||||
### Running documentation locally
|
||||
|
||||
1. If necessary, [install Jekyll](http://jekyllrb.com/docs/installation) and other Ruby dependencies with `bundle install`.
|
||||
**Note for Windows users:** Read [this unofficial guide](http://jekyll-windows.juthilo.com/) to get Jekyll up and running without problems.
|
||||
1. If necessary, [install Jekyll](https://jekyllrb.com/docs/installation/) and other Ruby dependencies with `bundle install`.
|
||||
**Note for Windows users:** Read [this guide](https://jekyllrb.com/docs/installation/windows/) to get Jekyll up and running without problems.
|
||||
2. From the root `/bootstrap` directory, run `bundle exec jekyll serve` in the command line.
|
||||
4. Open `http://localhost:9001` in your browser, and voilà.
|
||||
|
||||
Learn more about using Jekyll by reading its [documentation](http://jekyllrb.com/docs/home/).
|
||||
Learn more about using Jekyll by reading its [documentation](https://jekyllrb.com/docs/).
|
||||
|
||||
### Documentation for previous releases
|
||||
|
||||
Documentation for v2.3.2 has been made available for the time being at <http://getbootstrap.com/2.3.2/> while folks transition to Bootstrap 3.
|
||||
Documentation for v2.3.2 has been made available for the time being at <https://getbootstrap.com/2.3.2/> while folks transition to Bootstrap 3.
|
||||
|
||||
[Previous releases](https://github.com/twbs/bootstrap/releases) and their documentation are also available for download.
|
||||
|
||||
@@ -102,7 +102,7 @@ Moreover, if your pull request contains JavaScript patches or features, you must
|
||||
|
||||
**Bootstrap v3 is now closed off to new features.** It has gone into maintenance mode so that we can focus our efforts on [Bootstrap v4](https://github.com/twbs/bootstrap/tree/v4-dev), the future of the framework. Pull requests which add new features (rather than fix bugs) should target [Bootstrap v4 (the `v4-dev` git branch)](https://github.com/twbs/bootstrap/tree/v4-dev) instead.
|
||||
|
||||
Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.
|
||||
Editor preferences are available in the [editor config](https://github.com/twbs/bootstrap/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at <https://editorconfig.org/>.
|
||||
|
||||
|
||||
## Community
|
||||
@@ -110,18 +110,25 @@ Editor preferences are available in the [editor config](https://github.com/twbs/
|
||||
Get updates on Bootstrap's development and chat with the project maintainers and community members.
|
||||
|
||||
* Follow [@getbootstrap on Twitter](https://twitter.com/getbootstrap).
|
||||
* Read and subscribe to [The Official Bootstrap Blog](http://blog.getbootstrap.com).
|
||||
* Join [the official Slack room](https://bootstrap-slack.herokuapp.com).
|
||||
* Read and subscribe to [The Official Bootstrap Blog](https://blog.getbootstrap.com/).
|
||||
* Join [the official Slack room](https://bootstrap-slack.herokuapp.com/).
|
||||
* Chat with fellow Bootstrappers in IRC. On the `irc.freenode.net` server, in the `##bootstrap` channel.
|
||||
* Implementation help may be found at Stack Overflow (tagged [`twitter-bootstrap-3`](https://stackoverflow.com/questions/tagged/twitter-bootstrap-3)).
|
||||
* Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/browse/keyword/bootstrap) or similar delivery mechanisms for maximum discoverability.
|
||||
* Developers should use the keyword `bootstrap` on packages which modify or add to the functionality of Bootstrap when distributing through [npm](https://www.npmjs.com/search?q=keywords:bootstrap) or similar delivery mechanisms for maximum discoverability.
|
||||
|
||||
|
||||
## Versioning
|
||||
|
||||
For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](http://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible.
|
||||
For transparency into our release cycle and in striving to maintain backward compatibility, Bootstrap is maintained under [the Semantic Versioning guidelines](https://semver.org/). Sometimes we screw up, but we'll adhere to those rules whenever possible.
|
||||
|
||||
See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](http://blog.getbootstrap.com) contain summaries of the most noteworthy changes made in each release.
|
||||
See [the Releases section of our GitHub project](https://github.com/twbs/bootstrap/releases) for changelogs for each release version of Bootstrap. Release announcement posts on [the official Bootstrap blog](https://blog.getbootstrap.com/) contain summaries of the most noteworthy changes made in each release.
|
||||
|
||||
|
||||
## Thanks
|
||||
|
||||
<img src="https://live.browserstack.com/images/opensource/browserstack-logo.svg" alt="BrowserStack Logo" width="490" height="106">
|
||||
|
||||
Thanks to [BrowserStack](https://www.browserstack.com/) for providing the infrastructure that allows us to test in real browsers!
|
||||
|
||||
|
||||
## Creators
|
||||
@@ -139,4 +146,4 @@ See [the Releases section of our GitHub project](https://github.com/twbs/bootstr
|
||||
|
||||
## Copyright and license
|
||||
|
||||
Code and documentation copyright 2011-2016 Twitter, Inc. Code released under [the MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE).
|
||||
Code and documentation copyright 2011-2019 Twitter, Inc. Code released under [the MIT license](https://github.com/twbs/bootstrap/blob/master/LICENSE). Docs released under [Creative Commons](https://github.com/twbs/bootstrap/blob/master/docs/LICENSE).
|
||||
|
||||
2
bower_components/bootstrap/bower.json
vendored
2
bower_components/bootstrap/bower.json
vendored
@@ -11,7 +11,7 @@
|
||||
"framework",
|
||||
"web"
|
||||
],
|
||||
"homepage": "http://getbootstrap.com",
|
||||
"homepage": "https://getbootstrap.com/",
|
||||
"license": "MIT",
|
||||
"moduleType": "globals",
|
||||
"main": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
||||
* Copyright 2011-2016 Twitter, Inc.
|
||||
* Bootstrap v3.4.1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
.btn-default,
|
||||
@@ -9,9 +9,9 @@
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-primary:active,
|
||||
@@ -25,8 +25,8 @@
|
||||
.btn-info.active,
|
||||
.btn-warning.active,
|
||||
.btn-danger.active {
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
.btn-default.disabled,
|
||||
.btn-primary.disabled,
|
||||
@@ -47,7 +47,7 @@ fieldset[disabled] .btn-info,
|
||||
fieldset[disabled] .btn-warning,
|
||||
fieldset[disabled] .btn-danger {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.btn-default .badge,
|
||||
.btn-primary .badge,
|
||||
@@ -62,15 +62,15 @@ fieldset[disabled] .btn-danger {
|
||||
background-image: none;
|
||||
}
|
||||
.btn-default {
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dbdbdb;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.btn-default:hover,
|
||||
@@ -106,9 +106,9 @@ fieldset[disabled] .btn-default.active {
|
||||
}
|
||||
.btn-primary {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
@@ -147,9 +147,9 @@ fieldset[disabled] .btn-primary.active {
|
||||
}
|
||||
.btn-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
@@ -188,9 +188,9 @@ fieldset[disabled] .btn-success.active {
|
||||
}
|
||||
.btn-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
@@ -229,9 +229,9 @@ fieldset[disabled] .btn-info.active {
|
||||
}
|
||||
.btn-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
@@ -270,9 +270,9 @@ fieldset[disabled] .btn-warning.active {
|
||||
}
|
||||
.btn-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
@@ -311,81 +311,81 @@ fieldset[disabled] .btn-danger.active {
|
||||
}
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus {
|
||||
background-color: #e8e8e8;
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #e8e8e8;
|
||||
}
|
||||
.dropdown-menu > .active > a,
|
||||
.dropdown-menu > .active > a:hover,
|
||||
.dropdown-menu > .active > a:focus {
|
||||
background-color: #2e6da4;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
background-color: #2e6da4;
|
||||
}
|
||||
.navbar-default {
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
||||
background-image: -o-linear-gradient(top, #ffffff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f8f8f8));
|
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.navbar-default .navbar-nav > .open > a,
|
||||
.navbar-default .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
|
||||
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
|
||||
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.navbar-brand,
|
||||
.navbar-nav > li > a {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
.navbar-inverse {
|
||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.navbar-inverse .navbar-nav > .open > a,
|
||||
.navbar-inverse .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
|
||||
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
|
||||
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.navbar-inverse .navbar-brand,
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.navbar-static-top,
|
||||
.navbar-fixed-top,
|
||||
@@ -398,120 +398,120 @@ fieldset[disabled] .btn-danger.active {
|
||||
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
|
||||
color: #fff;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
}
|
||||
.alert {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.alert-success {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b2dba1;
|
||||
}
|
||||
.alert-info {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #9acfea;
|
||||
}
|
||||
.alert-warning {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #f5e79e;
|
||||
}
|
||||
.alert-danger {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dca7a7;
|
||||
}
|
||||
.progress {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-striped {
|
||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
}
|
||||
.list-group {
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
|
||||
}
|
||||
.list-group-item.active,
|
||||
.list-group-item.active:hover,
|
||||
.list-group-item.active:focus {
|
||||
text-shadow: 0 -1px 0 #286090;
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2b669a;
|
||||
@@ -522,66 +522,66 @@ fieldset[disabled] .btn-danger.active {
|
||||
text-shadow: none;
|
||||
}
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-primary > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-success > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-info > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-warning > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-danger > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.well {
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dcdcdc;
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user