X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=examples%2Fbiojson-doc%2Ftemplates%2Fbox.html;fp=examples%2Fbiojson-doc%2Ftemplates%2Fbox.html;h=c39369d69301444929e939d5c41bf84e7f704199;hb=1ba05544b34253204ef6410017a179c31fe5e23d;hp=0000000000000000000000000000000000000000;hpb=f8ce78dc02ce9d96129fcc4882749f43869928ff;p=jalview.git diff --git a/examples/biojson-doc/templates/box.html b/examples/biojson-doc/templates/box.html new file mode 100755 index 0000000..c39369d --- /dev/null +++ b/examples/biojson-doc/templates/box.html @@ -0,0 +1,157 @@ +{{! + Copyright 2013 Laurent Bovet (laurent.bovet@windmaster.ch) + + 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 + + http://www.apache.org/licenses/LICENSE-2.0 + + 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. +}} +{{#scope this}} +
+
+
+ {{#name this}}
{{__name}}
{{/name}} +
{{desc this}}
+
+
+
+
{}
+
+
+
+ {{#sub this}} +
+
+
+ {{#primitive this}} + {{signature this null this}} + {{/primitive}} + {{#equals type "array"}} + {{signature this "array" items}} + {{/equals}} + {{#if allOf}} + {{signature this "all of" allOf}} + {{/if}} + {{#if anyOf}} + {{signature this "any of" anyOf}} + {{/if}} + {{#if oneOf}} + {{signature this "one of" oneOf}} + {{/if}} + {{#if not}} + {{signature this "not" not}} + {{/if}} +
+
+
+ {{#boxes}} +
+ {{schema this}} +
+ {{/boxes}} +
+
+ {{/sub}} + {{#if properties}} + {{#each properties}} +
+
+
{{@key}}
+
+ {{#main this}} + {{signature this null this}} + {{/main}} + {{#equals type "array"}} + {{signature this "array" items}} + {{/equals}} + {{#if allOf}} + {{signature this "all of" allOf}} + {{/if}} + {{#if anyOf}} + {{signature this "any of" anyOf}} + {{/if}} + {{#if oneOf}} + {{signature this "one of" oneOf}} + {{/if}} + {{#if additionalProperties}} + {{signature this "map" additionalProperties}} + {{/if}} + {{#if not}} + {{signature this "not" not}} + {{/if}} +
+
{{desc this}}
+
+
+ {{#boxes}} +
+ {{schema this}} +
+ {{/boxes}} +
+
+ {{/each}} + {{/if}} + + {{#if patternProperties}} + {{#each patternProperties}} +
+
+
{{@key}}
+
+ {{#main this}} + {{signature this null this}} + {{/main}} + {{#equals type "array"}} + {{signature this "array" items}} + {{/equals}} + {{#if allOf}} + {{signature this "all of" allOf}} + {{/if}} + {{#if anyOf}} + {{signature this "any of" anyOf}} + {{/if}} + {{#if oneOf}} + {{signature this "one of" oneOf}} + {{/if}} + {{#if not}} + {{signature this "not" not}} + {{/if}} +
+
{{desc this}}
+
+
+ {{#boxes}} +
+ {{schema this}} +
+ {{/boxes}} +
+
+ {{/each}} + {{/if}} + + {{#if additionalProperties}} +
+
+
additional
+
+ {{schema ../additionalProperties}} +
+
+
+ {{/if}} +
+
+
+{{source this}}
+
+
+
+{{/scope}}