Skip to content

Commit

Permalink
Former Product transformed to importable ZMS Content Object Definition
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho committed Sep 14, 2019
1 parent a8374d2 commit 74d5b8d
Show file tree
Hide file tree
Showing 36 changed files with 1,413 additions and 2,413 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
zms3.formulator
===============

This Python Package is an Extension for the ZMS3 Publishing System <http://www.zms-publishing.com> (Open Source Content Management for Science, Technology and Medicine) to integrate the `JSON Editor by Jeremy Dorn <http://jeremydorn.com/json-editor>`_, Redwood City, CA.
This ZMS Content Object Definition is an Extension for the ZMS3 Publishing System <http://www.zms-publishing.com> (Open Source Content Management for Science, Technology and Medicine) to integrate the `JSON Editor by Jeremy Dorn <http://jeremydorn.com/json-editor>`_, Redwood City, CA.

A JSON Schema is generated based on special content objects and used to transform it into an HTML Form handling all the front-end validations.

Expand Down
7 changes: 7 additions & 0 deletions ZMSFormulator/ACE_onChangeJS.dtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- ACE-Editor3 onChangeJS -->
<div class="col-sm-2"></div>
<div class="col-sm-10" style="top:-2.5em;padding:0;">
<div class="ACE_Editor">
<div id="ACE_Editor3"></div>
</div>
</div>
7 changes: 7 additions & 0 deletions ZMSFormulator/ACE_onReadyJS.dtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- ACE-Editor2 onReadyJS -->
<div class="col-sm-2"></div>
<div class="col-sm-10" style="top:-2.5em;padding:0;">
<div class="ACE_Editor">
<div id="ACE_Editor2"></div>
</div>
</div>
9 changes: 9 additions & 0 deletions ZMSFormulator/ACE_optionsJS.zpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- ACE-Editor1 optionsJS -->
<tal:block tal:condition="python:request.get('ZMS_INSERT',None) is None">
<div class="col-sm-2"></div>
<div class="col-sm-10" style="top:-2.5em;padding:0;">
<div class="ACE_Editor">
<div id="ACE_Editor1"></div>
</div>
</div>
</tal:block>
5 changes: 5 additions & 0 deletions ZMSFormulator/HINT_FROM.zpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- Mail Address [FROM] HINT -->
<tal:block tal:condition="python:request.get('ZMS_INSERT',None) is None">
<div class="col-sm-2"></div>
<div class="col-sm-10" style="font-size:x-small;margin-bottom:2em;">Leave blank to use default <code tal:content="python:here.getConfProperty('ZMSAdministrator.email','ZMSAdministrator.email')">ZMSAdministrator.email</code> set in System-Properties.</div>
</tal:block>
5 changes: 5 additions & 0 deletions ZMSFormulator/ZMSFORMULATORINTERFACE.zpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- JSON-Editor README -->
<tal:block tal:condition="python:request.get('ZMS_INSERT',None) is None">
<div class="col-sm-2"></div>
<div class="col-sm-10" style="font-size:x-small;margin-bottom:2em;">See <a href="https://github.com/json-editor/json-editor/blob/1.3.5/README.md" target="_blank">JSON-Editor README</a> for options and usage of custom Schema (JSON).</div>
</tal:block>
Loading

0 comments on commit 74d5b8d

Please sign in to comment.