Changeset 984 for trunk/zoo-project/zoo-services/utils
- Timestamp:
- Mar 3, 2021, 3:41:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/utils/open-api/templates/index.html
r967 r984 18 18 #import json 19 19 #if "cache_file" in $inputs["tmpl"] 20 #set values=json.load(open($inputs["tmpl"]["cache_file"] ))20 #set values=json.load(open($inputs["tmpl"]["cache_file"], encoding='utf-8')) 21 21 #else 22 #set values= $inputs["tmpl"]["value"]22 #set values=json.loads($inputs["tmpl"]["value"]) 23 23 #end if 24 24 #except Exception as e 25 25 $e 26 #set values={} 26 27 #end try 27 28 <html lang="en"> … … 202 203 #end if 203 204 #end if 204 #if $obj["maxOccurs"] >1205 #if $obj["maxOccurs"]=="unbounded" or $obj["maxOccurs"]>1 205 206 <div class="btn-group" role="group" aria-label="Basic example"> 206 207 <button type="button" class="btn btn-secondary" onclick="addElementToList(\$(this));">Add</button> … … 525 526 <hr> 526 527 <address>$openapi["openapi"]["rootUrl"]$(currentUrl).html</address> 527 <!-- hhmts start -->Last modified: Wed Dec 16 16:06:56 CET 2020<!-- hhmts end -->528 <!-- hhmts start -->Last modified: Mon Mar 1 17:01:50 CET 2021 <!-- hhmts end --> 528 529 </main> 529 530 #if $currentKey=="root"
Note: See TracChangeset
for help on using the changeset viewer.