Skip to content

Commit 4735977

Browse files
committed
init import
0 parents  commit 4735977

15 files changed

+555
-0
lines changed

.gitignore

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
10+
# Directory for instrumented libs generated by jscoverage/JSCover
11+
lib-cov
12+
13+
bower_components
14+
15+
# Coverage directory used by tools like istanbul
16+
coverage
17+
18+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
19+
.grunt
20+
21+
# Compiled binary addons (http://nodejs.org/api/addons.html)
22+
build/Release
23+
24+
# Dependency directory
25+
# Commenting this out is preferred by some people, see
26+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
27+
node_modules
28+
29+
# Users Environment Variables
30+
.lock-wscript

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 chengz
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
schema-form-datetimepicker
2+
==========================
3+
4+
AngularStrap Date and Time Picker implementation for Schema Form

app.js

+55
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"name": "schema-form-file-upload",
3+
"main": [
4+
"schema-form-file-upload.min.js"
5+
],
6+
"version": "0.1.0",
7+
"authors": [
8+
"Cheng Zhu",
9+
"Cheng Zhu<cheng@aqmin.com>"
10+
],
11+
"moduleType": [
12+
"globals"
13+
],
14+
"keywords": [
15+
"angular-schema-form",
16+
"schema-form",
17+
"form",
18+
"json",
19+
"json-schema",
20+
"schema"
21+
],
22+
"license": "MIT",
23+
"ignore": [
24+
"**/.*",
25+
"node_modules",
26+
"bower_components",
27+
"test",
28+
"coverage"
29+
],
30+
"dependencies": {
31+
"ng-flow": ">= 2.5.1",
32+
"angular-strap": ">= 2.1.0",
33+
"angular-translate": ">= 2.3.0"
34+
},
35+
"devDependencies": {
36+
"angular-schema-form": ">= 0.7",
37+
"angular-mocks": ">= 1.2"
38+
}
39+
}

example.html

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html lang='en' ng-app='app'>
3+
<head>
4+
<meta charset='utf-8'>
5+
<meta content='IE=edge' http-equiv='X-UA-Compatible'>
6+
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
7+
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" media="all" rel="stylesheet" />
8+
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" media="screen" rel="stylesheet" />
9+
<link href="strap.min.css" media="all" rel="stylesheet" />
10+
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
11+
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js"></script>
12+
<script src="bower_components/angular/angular.js"></script>
13+
<script src="bower_components/angular-sanitize/angular-sanitize.min.js"></script>
14+
<script src='bower_components/angular-strap/dist/angular-strap.js'></script>
15+
<script src='bower_components/angular-strap/dist/angular-strap.tpl.min.js'></script>
16+
<script src='bower_components/angular-translate/angular-translate.min.js'></script>
17+
<script src="bower_components/ng-flow/dist/ng-flow-standalone.js"></script>
18+
<script src="bower_components/tv4/tv4.js"></script>
19+
<script src="bower_components/objectpath/lib/ObjectPath.js"></script>
20+
<script src="bower_components/angular-schema-form/dist/schema-form.min.js"></script>
21+
<script src="bower_components/angular-schema-form/dist/bootstrap-decorator.min.js"></script>
22+
<script src="schema-form-file-upload.js"></script>
23+
<script src="app.js"></script>
24+
<style type="text/css" rel="stylesheet">
25+
.flow-drag-enter {
26+
background: green;
27+
}
28+
</style>
29+
</head>
30+
<body ng-controller='UploadController'>
31+
<form sf-schema="schema" sf-form="form" sf-model="model"></form>
32+
<button ng-click='changeSource()'>Change</button>
33+
</body>
34+
</html>

0 commit comments

Comments
 (0)