Skip to content

Commit bb3b0d5

Browse files
committed
Adding Bootstrap-touchspin widget
1 parent 924511b commit bb3b0d5

29 files changed

+3417
-6
lines changed

OPEN_SOURCE_LICENCES.txt

+19
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,7 @@ bootstrap-datepicker - Apache 2.0 License
11401140
See the License for the specific language governing permissions and
11411141
limitations under the License.
11421142

1143+
11431144
-----------------------------------------------------------
11441145
bootstrap switch - Apache 2.0 License
11451146
-----------------------------------------------------------
@@ -1345,3 +1346,21 @@ bootstrap switch - Apache 2.0 License
13451346
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13461347
See the License for the specific language governing permissions and
13471348
limitations under the License.
1349+
1350+
1351+
-----------------------------------------------------------
1352+
bootstrap-touchspin - Apache 2.0 License
1353+
-----------------------------------------------------------
1354+
1355+
Bootstrap TouchSpin v1.0.0
1356+
1357+
A mobile and touch friendly input spinner component for Bootstrap 3.
1358+
1359+
https://github.com/istvan-meszaros/bootstrap-touchspin
1360+
http://www.virtuosoft.eu/code/bootstrap-touchspin/
1361+
Copyright 2013 István Ujj-Mészáros
1362+
1363+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
1364+
1365+
http://www.apache.org/licenses/LICENSE-2.0
1366+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

QUICKSTART.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,21 @@ We provide compiled CSS and JS (`patternfly.*`), as well as compiled and minifie
7575
<!-- Note: jquery.dataTables.js must occur in the html source before patternfly*.js.-->
7676
<script src="bower_components/patternfly/dist/js/patternfly.js"></script>
7777

78-
<!-- Bootstrap Date Picker -->
79-
<script src="bower_components/patternfly/components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
80-
8178
<!-- Bootstrap Combobox -->
8279
<script src="bower_components/patternfly/components/bootstrap-combobox/js/bootstrap-combobox.js"></script>
8380

81+
<!-- Bootstrap Date Picker -->
82+
<script src="bower_components/patternfly/components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
83+
8484
<!-- Bootstrap Select -->
8585
<script src="bower_components/patternfly/components/bootstrap-select/dist/js/bootstrap-select.min.js"></script>
8686

8787
<!-- Bootstrap Switch -->
8888
<script src="bower_components/patternfly/components/bootstrap-switch/dist/js/bootstrap-switch.min.js"></script>
8989

90+
<!-- Bootstrap Touchspin -->
91+
<script src="bower_components/patternfly/components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.min.js"></script>
92+
9093
<!-- Bootstrap Tree View -->
9194
<script src="bower_components/patternfly/components/bootstrap-treeview/dist/bootstrap-treeview.min.js"></script>
9295

bower.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"bootstrap-datepicker": "~1.4.0",
2929
"bootstrap-select": "~1.7.3",
3030
"bootstrap-switch": "~3.3.2",
31+
"bootstrap-touchspin": "~3.0.3",
3132
"bootstrap-treeview": "~1.2.0",
3233
"c3": "~0.4.10",
3334
"datatables": "~1.10.7",
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "bootstrap-touchspin",
3+
"version": "3.0.3",
4+
"homepage": "http://www.virtuosoft.eu/code/bootstrap-touchspin/",
5+
"authors": [
6+
{
7+
"name": "István Ujj-Mészáros",
8+
"url": "https://github.com/istvan-ujjmeszaros"
9+
}
10+
],
11+
"description": "Bootstrap TouchSpin is a mobile and touch friendly input spinner component for Bootstrap 3.",
12+
"dependencies": {
13+
"jquery": ">=1.9.0",
14+
"bootstrap": ">=3.0.0"
15+
},
16+
"license": "Apache License, Version 2.0",
17+
"keywords": [
18+
"jquery",
19+
"plugin",
20+
"bootstrap",
21+
"ui"
22+
],
23+
"ignore": [
24+
"**/.*",
25+
"node_modules",
26+
"bower_components",
27+
"test",
28+
"tests"
29+
],
30+
"_release": "3.0.3",
31+
"_resolution": {
32+
"type": "version",
33+
"tag": "3.0.3",
34+
"commit": "81fc55dd525f08a6af6f3a8465026ae1e672bdae"
35+
},
36+
"_source": "git://github.com/istvan-ujjmeszaros/bootstrap-touchspin.git",
37+
"_target": "~3.0.3",
38+
"_originalSource": "bootstrap-touchspin",
39+
"_direct": true
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Contributing
2+
3+
Before sending a pull request remember to follow [jQuery Core Style Guide](http://contribute.jquery.org/style-guide/js/).
4+
5+
1. Fork it!
6+
2. Create your feature branch: `git checkout -b my-new-feature`
7+
3. Make your changes on the `src` folder, never on the `dist` folder.
8+
4. Commit your changes: `git commit -m 'Add some feature'`
9+
5. Push to the branch: `git push origin my-new-feature`
10+
6. Submit a pull request :D
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
module.exports = function (grunt) {
2+
3+
grunt.initConfig({
4+
5+
// Import package manifest
6+
pkg: grunt.file.readJSON("bootstrap-touchspin.jquery.json"),
7+
8+
// Banner definitions
9+
meta: {
10+
banner: "/*\n" +
11+
" * <%= pkg.title || pkg.name %> - v<%= pkg.version %>\n" +
12+
" * <%= pkg.description %>\n" +
13+
" * <%= pkg.homepage %>\n" +
14+
" *\n" +
15+
" * Made by <%= pkg.author.name %>\n" +
16+
" * Under <%= pkg.licenses[0].type %> License\n" +
17+
" */\n"
18+
},
19+
20+
// Concat definitions
21+
concat: {
22+
js: {
23+
src: ["src/jquery.bootstrap-touchspin.js"],
24+
dest: "dist/jquery.bootstrap-touchspin.js"
25+
},
26+
css: {
27+
src: ["src/jquery.bootstrap-touchspin.css"],
28+
dest: "dist/jquery.bootstrap-touchspin.css"
29+
},
30+
options: {
31+
banner: "<%= meta.banner %>"
32+
}
33+
},
34+
35+
// Lint definitions
36+
jshint: {
37+
files: ["src/jquery.bootstrap-touchspin.js"],
38+
options: {
39+
jshintrc: ".jshintrc"
40+
}
41+
},
42+
43+
// Minify definitions
44+
uglify: {
45+
js: {
46+
src: ["dist/jquery.bootstrap-touchspin.js"],
47+
dest: "dist/jquery.bootstrap-touchspin.min.js"
48+
},
49+
options: {
50+
banner: "<%= meta.banner %>"
51+
}
52+
},
53+
54+
cssmin: {
55+
css: {
56+
src: ["dist/jquery.bootstrap-touchspin.css"],
57+
dest: "dist/jquery.bootstrap-touchspin.min.css"
58+
},
59+
options: {
60+
banner: "<%= meta.banner %>"
61+
}
62+
}
63+
});
64+
65+
grunt.loadNpmTasks("grunt-contrib-concat");
66+
grunt.loadNpmTasks("grunt-contrib-jshint");
67+
grunt.loadNpmTasks("grunt-contrib-uglify");
68+
grunt.loadNpmTasks("grunt-contrib-cssmin");
69+
70+
grunt.registerTask("default", ["jshint", "concat", "uglify", "cssmin"]);
71+
grunt.registerTask("travis", ["jshint"]);
72+
73+
};
+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Bootstrap TouchSpin
2+
v1.0.0
3+
4+
A mobile and touch friendly input spinner component for Bootstrap 3.
5+
6+
https://github.com/istvan-meszaros/bootstrap-touchspin
7+
http://www.virtuosoft.eu/code/bootstrap-touchspin/
8+
9+
Copyright 2013 István Ujj-Mészáros
10+
11+
Licensed under the Apache License, Version 2.0 (the "License");
12+
you may not use this file except in compliance with the License.
13+
You may obtain a copy of the License at
14+
15+
http://www.apache.org/licenses/LICENSE-2.0
16+
17+
Unless required by applicable law or agreed to in writing, software
18+
distributed under the License is distributed on an "AS IS" BASIS,
19+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20+
See the License for the specific language governing permissions and
21+
limitations under the License.
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Bootstrap TouchSpin [![Build Status](https://secure.travis-ci.org/istvan-ujjmeszaros/bootstrap-touchspin.png?branch=master)](https://travis-ci.org/istvan-ujjmeszaros/bootstrap-touchspin)
2+
3+
##### Bootstrap TouchSpin is a mobile and touch friendly input spinner component for Bootstrap 3.
4+
5+
- [Website](http://www.virtuosoft.eu/code/bootstrap-touchspin/)
6+
7+
Please report issues and feel free to make feature suggestions as well.
8+
9+
## License
10+
11+
Apache License, Version 2.0
12+
13+
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/73ffb6b38e5099909d7b13c577d7e5c8 "githalytics.com")](http://githalytics.com/istvan-ujjmeszaros/bootstrap-touchspin)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "bootstrap-touchspin",
3+
"title": "Bootstrap TouchSpin",
4+
"description": "A mobile and touch friendly input spinner component for Bootstrap 3.",
5+
"keywords": [
6+
"input",
7+
"bootstrap",
8+
"number",
9+
"range",
10+
"spinbutton",
11+
"spinner"
12+
],
13+
"version": "3.0.1",
14+
"author": {
15+
"name": "István Ujj-Mészáros",
16+
"url": "https://github.com/istvan-ujjmeszaros"
17+
},
18+
"licenses": [
19+
{
20+
"type": "Apache License v2.0",
21+
"url": "http://www.apache.org/licenses/LICENSE-2.0"
22+
}
23+
],
24+
"homepage": "http://www.virtuosoft.eu/code/bootstrap-touchspin/",
25+
"demo": "http://www.virtuosoft.eu/code/bootstrap-touchspin/",
26+
"docs": "http://www.virtuosoft.eu/code/bootstrap-touchspin/",
27+
"download": "https://github.com/istvan-ujjmeszaros/bootstrap-touchspin/archive/master.zip",
28+
"dependencies": {
29+
"jquery": ">=1.7"
30+
}
31+
}
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "bootstrap-touchspin",
3+
"version": "3.0.1",
4+
"homepage": "http://www.virtuosoft.eu/code/bootstrap-touchspin/",
5+
"authors": [
6+
{
7+
"name": "István Ujj-Mészáros",
8+
"url": "https://github.com/istvan-ujjmeszaros"
9+
}
10+
],
11+
"description": "Bootstrap TouchSpin is a mobile and touch friendly input spinner component for Bootstrap 3.",
12+
"dependencies": {
13+
"jquery": ">=1.9.0",
14+
"bootstrap": ">=3.0.0"
15+
},
16+
"license": "Apache License, Version 2.0",
17+
"keywords": [
18+
"jquery",
19+
"plugin",
20+
"bootstrap",
21+
"ui"
22+
],
23+
"ignore": [
24+
"**/.*",
25+
"node_modules",
26+
"bower_components",
27+
"test",
28+
"tests"
29+
]
30+
}

0 commit comments

Comments
 (0)