Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rjs_json_form
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
rjs_json_form
Commits
4b800469
Commit
4b800469
authored
Jun 08, 2018
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename schema_editor to jsonform
parent
7af5689d
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
Gruntfile.js
Gruntfile.js
+1
-1
demo/gadget_demo_json_schema_form.html
demo/gadget_demo_json_schema_form.html
+3
-3
jsonform.gadget.html
jsonform.gadget.html
+2
-2
jsonform.gadget.js
jsonform.gadget.js
+1
-1
jsonform/gadget_json_generated_form_child.html
jsonform/gadget_json_generated_form_child.html
+0
-0
jsonform/gadget_json_generated_form_child.js
jsonform/gadget_json_generated_form_child.js
+0
-0
jsonform/tv4.js
jsonform/tv4.js
+0
-0
No files found.
Gruntfile.js
View file @
4b800469
...
@@ -66,7 +66,7 @@ module.exports = function (grunt) {
...
@@ -66,7 +66,7 @@ module.exports = function (grunt) {
},
},
client
:
{
client
:
{
src
:
[
'
schema.gadget.js
'
,
src
:
[
'
schema.gadget.js
'
,
'
schema_editor
/gadget_json_generated_form_child.js
'
,
'
jsonform
/gadget_json_generated_form_child.js
'
,
'
demo/gadget_demo_json_schema_form.js
'
],
'
demo/gadget_demo_json_schema_form.js
'
],
directives
:
{
directives
:
{
maxlen
:
79
,
maxlen
:
79
,
...
...
demo/gadget_demo_json_schema_form.html
View file @
4b800469
...
@@ -21,10 +21,10 @@
...
@@ -21,10 +21,10 @@
Demo UI for JSON Scheme form generator
Demo UI for JSON Scheme form generator
</h3>
</h3>
</section>
</section>
<div
data-gadget-url=
"../
schema
.gadget.html"
<div
data-gadget-url=
"../
jsonform
.gadget.html"
data-gadget-scope=
"schema"
data-gadget-scope=
"schema"
data-gadget-sandbox=
"public"
></div>
data-gadget-sandbox=
"public"
></div>
<div
data-gadget-url=
"../
schema
.gadget.html"
<div
data-gadget-url=
"../
jsonform
.gadget.html"
data-gadget-scope=
"document"
data-gadget-scope=
"document"
data-gadget-sandbox=
"public"
></div>
data-gadget-sandbox=
"public"
></div>
<br>
<br>
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<div
class=
"field_container"
>
<div
class=
"field_container"
>
<div
class=
"left"
>
<div
class=
"left"
>
<div
class=
"ui-field-contain"
>
<div
class=
"ui-field-contain"
>
<div
data-gadget-url=
"../
schema
.gadget.html"
<div
data-gadget-url=
"../
jsonform
.gadget.html"
data-gadget-scope=
"form_view"
data-gadget-scope=
"form_view"
data-gadget-sandbox=
"public"
>
data-gadget-sandbox=
"public"
>
</div>
</div>
...
...
schema
.gadget.html
→
jsonform
.gadget.html
View file @
4b800469
...
@@ -6,10 +6,10 @@
...
@@ -6,10 +6,10 @@
<title>
ERP5
</title>
<title>
ERP5
</title>
<link
rel=
"stylesheet"
href=
"gadget_erp5_nojqm.css"
>
<link
rel=
"stylesheet"
href=
"gadget_erp5_nojqm.css"
>
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"rsvp.js"
type=
"text/javascript"
></script>
<script
src=
"
schema_editor
/tv4.js"
type=
"text/javascript"
></script>
<script
src=
"
jsonform
/tv4.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"renderjs.js"
type=
"text/javascript"
></script>
<script
src=
"jio.js"
type=
"text/javascript"
></script>
<script
src=
"jio.js"
type=
"text/javascript"
></script>
<script
src=
"
schema
.gadget.js"
type=
"text/javascript"
></script>
<script
src=
"
jsonform
.gadget.js"
type=
"text/javascript"
></script>
</head>
</head>
<body>
<body>
</body>
</body>
...
...
schema
.gadget.js
→
jsonform
.gadget.js
View file @
4b800469
...
@@ -528,7 +528,7 @@
...
@@ -528,7 +528,7 @@
return
RSVP
.
Queue
()
return
RSVP
.
Queue
()
.
push
(
function
()
{
.
push
(
function
()
{
if
(
!
g
.
props
.
form_gadget
)
{
if
(
!
g
.
props
.
form_gadget
)
{
return
g
.
declareGadget
(
'
schema_editor
/gadget_json_generated_form_child.html
'
,
return
g
.
declareGadget
(
'
jsonform
/gadget_json_generated_form_child.html
'
,
{
scope
:
"
j
"
+
Math
.
random
().
toString
(
36
).
substr
(
2
,
9
)})
{
scope
:
"
j
"
+
Math
.
random
().
toString
(
36
).
substr
(
2
,
9
)})
.
push
(
function
(
json_form_child
)
{
.
push
(
function
(
json_form_child
)
{
g
.
props
.
form_gadget
=
json_form_child
;
g
.
props
.
form_gadget
=
json_form_child
;
...
...
schema_editor
/gadget_json_generated_form_child.html
→
jsonform
/gadget_json_generated_form_child.html
View file @
4b800469
File moved
schema_editor
/gadget_json_generated_form_child.js
→
jsonform
/gadget_json_generated_form_child.js
View file @
4b800469
File moved
schema_editor
/tv4.js
→
jsonform
/tv4.js
View file @
4b800469
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment