source: branches/branch-1.8/zoo-project/zoo-services/utils/open-api/templates/index.html @ 971

Last change on this file since 971 was 967, checked in by djay, 4 years ago

Add support for the two inputs / outputs syntaxes discussed in SWG in both the ZOO-Kernel and the HTML basic UI. Update documentation, add a section for the ZOO-API in Python language section. Rename variables in service.c to ease readabiliy.

File size: 22.3 KB
Line 
1<!doctype html>
2#import zoo
3#import html,os
4#set removeCacheFile=False
5#set strUrl=$inputs["tmpl"]["xlink:href"]
6#set currentUrl=$strUrl.replace($openapi["openapi"]["rootUrl"],"")
7#if $currentUrl=="/"
8#set currentKey="root"
9#set $currentUrl="/index"
10#else
11#set currentKey=$currentUrl
12#end if
13#set urlCompnents=$currentUrl.split('/')
14#*
15* Load the JSON content from the API
16*#
17#try
18#import json
19#if "cache_file" in $inputs["tmpl"]
20#set values=json.load(open($inputs["tmpl"]["cache_file"]))
21#else
22#set values=$inputs["tmpl"]["value"]
23#end if
24#except Exception as e
25$e
26#end try
27<html lang="en">
28  <head>
29    <!-- Required meta tags -->
30    <meta charset="utf-8">
31    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
32
33    <!-- Bootstrap CSS -->
34    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
35
36    <!-- Custom styles for this template -->
37    <link href="$openapi["openapi"]["rootUrl"]/../static/openapi.css" rel="stylesheet">
38
39    <title>#if "id" in $values#$values["id"]#else##if $currentKey in $openapi and "title" in $openapi[$currentKey]#$openapi[$currentKey]["title"]#else#Landing Page#end if##end if#</title>
40  </head>
41  <body itemscope itemtype="https://schema.org/DataCatalog">
42    <header>
43     <!-- Fixed navbar -->
44      <nav
45        class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"
46        itemprop="creator"
47        itemscope itemtype="https://schema.org/Organization" >
48        <a class="navbar-brand" href="#">
49          <img itemprop="logo" src="http://zoo-project.org/img/zoo-sun-logo.png" width="55" height="30" class="d-inline-block align-top" alt="">
50           <span itemprop="name">$conf["provider"]["providerName"]</span>
51        </a>
52        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
53          <span class="navbar-toggler-icon"></span>
54        </button>
55        <div class="collapse navbar-collapse" id="navbarCollapse">
56          <ul class="navbar-nav mr-auto"
57            itemscope itemtype="https://schema.org/BreadcrumbList">
58            <li class="nav-item #if $currentKey=="root"# active#end if#"
59              itemprop="itemListElement" itemscope
60              itemtype="https://schema.org/ListItem">
61              <a itemprop="item" class="nav-link"
62                href="$openapi["openapi"]["rootUrl"]/index.html">
63                <span itemprop="name">Home #if $currentKey=="root"# <span class="sr-only">(current)</span>#end if#</span>
64                <meta itemprop="position" content="1" />
65              </a>
66            </li>
67            #if $currentKey!="root"
68            #for i in range(1,len($urlCompnents))
69            <li
70              itemprop="itemListElement" itemscope
71              itemtype="https://schema.org/ListItem"
72              class="nav-item #if $i+1==len($urlCompnents)#active#end if#">
73            #set prefix=""
74            #for j in range(1,$i)
75            #set $prefix+="/"+$urlCompnents[$j]
76            #end for
77              <a itemprop="item" class="nav-link" href="$openapi["openapi"]["rootUrl"]$(prefix)/$(urlCompnents[$i]).html">
78                <span itemprop="name">
79            #if $i==2
80            $(urlCompnents[$i])
81            #else
82            $(urlCompnents[$i].title())
83            #end if
84            #if $i+1==len($urlCompnents)
85            <span class="sr-only">(current)</span>
86            #end if
87                <meta itemprop="position" content="$(i+1)" />
88                </span>
89              </a>
90            </li>
91            #end for
92            #end if
93          </ul>
94        </div>
95       </nav>
96    </header>
97        <script>
98        var System={};
99        </script>
100
101#def printRel($o,$v)
102#if $v in $o
103$o[$v]
104#else
105View default (no title found for $v).
106#end if
107#end def
108#*
109       
110*#
111#def printControl(obj)
112#if "type" not in $obj
113#set oType="format"
114#else
115#set oType=$obj["type"]
116#end if
117        <div class="input-group">
118          <div class="input-group-prepend">
119            <div class="input-group-text">$obj["title"]</div>
120          </div>
121          #if "ph" in $obj 
122          <input type="text"
123            #if "value" in $obj#value="$obj["value"]""#end if#
124            #if "id" in $obj#data-id="$obj["id"]"#end if#
125            class="form-control" data-name="$obj["title"]" name="$(oType)_$obj["name"]" placeholder="$obj["ph"]" #if "required" in $obj#required#end if#/>
126          #else
127          <select name="$(oType)_$obj["name"]" class="form-control" #if "required" in $obj#required#end if#>
128          #for i in range(len($obj["options"]))
129            <option>$obj["options"][$i]</option>
130          #end for
131          </select>
132          #end if
133          #if "required" in $obj
134          <div class="invalid-feedback">
135            Please set a value for $obj["id"].
136          </div>
137          #end if
138        </div>
139#end def
140#def printCard(obj)
141      <div class="card" #if "attrs" in $obj#$obj["attrs"]#end if#>
142        <div class="card-header" id="heading$(obj["id"])">
143          <h4 class="mb-0">
144            <button class="btn btn-link btn-block text-left" type="button" data-toggle="collapse" data-target="#collapse$(obj["id"])" aria-expanded="true" aria-controls="collapse$(obj["id"])">
145              $obj["title"]
146            </button>
147          </h4>
148        </div>
149        <div id="collapse$(obj["id"])" class="collapse #if "class" in $obj#$obj["class"]#end if#" aria-labelledby="heading$(obj["id"])">
150          <div class="card-body">
151            $obj["content"]
152          </div>
153        </div>
154      </div>
155#end def
156#def printInputContent($obj)
157#set cName=$obj["id"].replace(".","_")
158#if "formats" in $obj["input"]
159 #set cFormats=[]
160  #for j in range(len($obj["input"]["formats"]))
161  #set $cFormats+=[$obj["input"]["formats"][$j]["mimeType"]]
162  #end for
163  $printControl({"title": "format","type": "input_format","name": $cName,"options":$cFormats})
164  #set largs={"id": $obj["id"],"title": "href","type": "input_value","name": $cName,"ph":"URL"}
165  #if $obj["minOccurs"]>0
166  #set $largs["required"]=True
167  #end if
168  $printControl($largs)
169#else
170 #if "literalDataDomains" in $obj["input"]
171  #set cDataDomain=$obj["input"]["literalDataDomains"][0]
172  #set largs={"id": $obj["id"],"title": $cDataDomain["dataType"]["name"],"type": "input_value", "name": $cName,}
173  #if $obj["minOccurs"]>0
174  #set $largs["required"]=True
175  #end if
176  #if "anyValue" in $cDataDomain["valueDefinition"]
177   #set $largs["ph"]="Value"
178      $printControl($largs)
179  #else
180   #if "allowedValues" in $cDataDomain["valueDefinition"]
181    #set $largs["options"]=$cDataDomain["valueDefinition"]["allowedValues"]
182    $printControl($largs)
183   #else
184    ELSE
185    $obj
186   #end if
187  #end if
188  #if "defaultValue" in $cDataDomain
189      <script>
190        System["function_$cName"]=function(){
191          try{
192            jQuery("input[name='input_value_$cName'],select[name='input_value_$cName]']").val($cDataDomain["defaultValue"]);
193          }catch(e){
194            jQuery("input[name='input_value_$cName'],select[name='input_value_$cName']").val("$cDataDomain["defaultValue"]");
195          }
196        }
197      </script>
198  #end if
199 #else
200  $obj
201  ELSE
202 #end if
203#end if
204#if $obj["maxOccurs"]>1
205        <div class="btn-group" role="group" aria-label="Basic example">
206          <button type="button" class="btn btn-secondary" onclick="addElementToList(\$(this));">Add</button>
207          <button type="button" class="btn btn-secondary" onclick="delElementToList(\$(this));">Delete</button>
208        </div>
209#end if
210#end def
211#def printProvider(conf)
212#set provider=$conf["provider"]
213      <b itemprop="name">$provider["providerName"]</b>
214      <p><a itemprop="url" href="$provider["providerSite"]">$provider["providerSite"]</a></p>
215#end def
216#def printContact(conf)
217#set provider=$conf["provider"]
218#set alt=$openapi["provider_alt"]
219#set elements=list($alt.keys())
220      <b>Address</b>
221      #for i in ["addressDeliveryPoint","addressCity","addressAdministrativeArea","addressPostalCode","addressCountry","addressElectronicMailAddress","phoneVoice","phoneFacsimile"]
222      #if i!="addressElectronicMailAddress" and $provider[$i]!="False"
223      <p itemprop="$(alt[$i.lower()])">
224      #if i=="phoneVoice"
225      Phone
226      <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-telephone" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
227        <path fill-rule="evenodd" d="M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.568 17.568 0 0 0 4.168 6.608 17.569 17.569 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.678.678 0 0 0-.58-.122l-2.19.547a1.745 1.745 0 0 1-1.657-.459L5.482 8.062a1.745 1.745 0 0 1-.46-1.657l.548-2.19a.678.678 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511z"/>
228      </svg>
229      #end if
230      $provider[$i]
231      </p>
232      #else
233      #if i=="addressElectronicMailAddress"
234      <b>Email</b>
235      <p itemprop="$(alt[$i.lower()])">
236      $provider[$i]
237      </p>
238      #end if
239      #end if
240      #end for
241#end def     
242#def printIndentification(conf)
243#set provider=$conf["provider"]
244$printCard({"id": "provider","title": "Provider","content": $printProvider($conf),"class": "show"})
245$printCard({"id": "contact","title": "Contact","content": $printContact($conf),"class": "show","attrs":'itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"'})
246#end def
247     
248#if $currentKey=="root"
249  <div class="container-fluid">
250  <div class="row">
251      <div class="col-sm-8">
252#end if
253        <!-- $currentUrl -->
254      <!-- Begin page content -->     
255      <main #if $currentKey!="root"#class="container-fluid"#end if#>
256        <h1 itemprop="name">#if "id" in $values#$values["id"]: #end if##if "title" in $values#$html.escape($values["title"])#else##if len($urlCompnents)==2#$currentUrl[1:].title()#else#$currentUrl[1:]#end if##end if#</h1>
257        #if "description" in $values#<p itemprop="description">$html.escape($values["description"])</p>#end if#
258        #if $currentKey=="root"
259        <div class="keywords">
260          #for i in $conf["identification"]["keywords"].split(',')
261          <button type="button"
262            class="btn btn-outline-info">$i</button>
263          #end for
264        </div>
265        License:
266        <a itemprop="license" href="$openapi["openapi"]["license_url"]">$openapi["openapi"]["license_name"]</a>
267        #end if
268    #if "inputs" in $values
269#set $cid="JOBSOCKET-"+$conf["lenv"]["usid"]
270        <form class="needs-validation" data-id="$cid" novalidate>
271          <input type="hidden" name="oapi_ioAsArray" value="#if "io_as_array" in $openapi["openapi"]#$openapi["openapi"]["io_as_array"]#else#false#end if#" />
272          <input type="hidden" name="oapi_wsUrl" value="$openapi["openapi"]["wsurl"]" />
273          <input type="hidden" name="oapi_jobUrl" value="$openapi["openapi"]["rootUrl"]$(currentUrl)/jobs" />
274          <input type="hidden" name="oapi_reqID" value="$cid" />
275          <h3>Inputs</h3>
276          <div class="accordion" id="accordionInputExample">
277            #for i in range(len(values["inputs"]))
278            #set cInput=$values["inputs"][$i]
279            #set cName=$cInput["id"].replace(".","_")
280            $printCard({"id": $cName, "title": $cInput["id"],"content":'<p>'+$cInput["description"]+'</p>'+$printInputContent($cInput)})
281            #end for   
282          </div>
283     
284          <h3>Outputs</h3>
285          <div class="accordion" id="accordionOutputExample">
286            #for i in range(len(values["outputs"]))
287            #set cOutput=$values["outputs"][$i]
288            #set cName=$cOutput["id"].replace(".","_")
289            #set cFormats=[]
290            #if "formats" in $cOutput["output"]
291            #for j in range(len($cOutput["output"]["formats"]))
292            #set cFormats+=[$cOutput["output"]["formats"][$j]["mimeType"]]
293            #end for
294            #end if
295            #set cTransmissions=[]
296            #for j in range(len($values["outputTransmission"]))
297            #set cTransmissions+=[$values["outputTransmission"][$j]]
298            #end for
299            #set cContent="<p>"+$cOutput["description"]+"</p>"
300            #if len(cFormats)>0
301            #set $cContent+=$printControl({"id": $cOutput["id"], "title": "format","type": "format","name": $cName,"options":$cFormats})
302            #end if
303            #if len(cTransmissions)>0
304            #set $cContent+=$printControl({"id": $cOutput["id"], "title": "transmission","type": "transmission","name": $cName,"options":$cTransmissions})
305            #end if
306            $printCard({"id": $cName+"_"+str($i),"title": $cOutput["id"],"content": $cContent})
307            #end for
308          </div>
309   
310          <h3>Execution options</h3>
311          <div class="accordion" id="accordionExampleExecutionMode">
312            #set cContent=""
313            #set cUrl=$openapi["openapi"]["publisherurl"]+cid+"&type="
314            #for a in ["successUri","inProgressUri","failedUri"]
315            #set $cContent+=$printControl({"title": $a,"type": "main_value","name": $a,"ph":"URL","value":$cUrl+$a.replace("Uri","")})
316            #end for
317            $printCard({"id":"ModeOne","title":"Subscribers","content": $cContent})
318            $printCard({"id":"ModeTwo","title":"Response","content": $printControl({"title":"format","type": "main_value","name": "format","options":["document","raw"]})})
319            $printCard({"id":"ModeThree","title":"Mode","content": $printControl({"title":"mode","type": "main_value","name": "mode","options":["async","sync"]})})
320          </div>
321         
322          <button type="submit" class="btn btn-primary" >Submit</button>
323        </form>
324    <div class="modal" tabindex="-1" id="exampleModal">
325      <div class="modal-dialog modal-xl">
326        <div class="modal-content">
327          <div class="modal-header">
328            <h5 class="modal-title">Your request</h5>
329            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
330              <span aria-hidden="true">&times;</span>
331            </button>
332          </div>
333          <div class="modal-body">
334            <textarea name="modalText" class="form-control" style="min-height:300px"></textarea>
335            <pre id="result"></pre>
336            <div id="progress_details" style="display:none">
337              <p id="prgress_description"></p>
338              <div class="progress">
339                <div class="progress-bar progress-bar-striped progress-bar-animated" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"></div>
340              </div>
341            </div>
342          </div>
343          <div class="modal-footer">
344            <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
345            <button type="button" class="btn btn-primary">Submit Job</button>
346          </div>
347        </div>
348      </div>
349    </div>
350    <script src="$openapi["openapi"]["rootUrl"]/../static/openapi.js"></script>
351    #end if
352   
353    #try
354    #if "links" in $values
355    #for i in range(len($values["links"]))
356    #if $i%2==0   
357    <h2>$values["links"][$i]["title"]</h2>
358    <p>
359      <a href="$values["links"][$i]["href"]">$printRel($openapi["links_title"],$values["links"][$i]["rel"])</a>
360    </p>
361    #if $i+1<=len($values["links"]) and len($values["links"])>1 and not($values["links"][$i+1]["rel"]=="alternate" and $openapi["openapi"]["full_html_support"]=="true")
362    <p><a href="$values["links"][$i+1]["href"]">$printRel($openapi["links_title"],$values["links"][$i+1]["rel"])</a></p>
363    #end if
364    #end if
365    #end for
366    #end if
367    #except Exception as e
368    $e
369    #end try
370    #if "conformsTo" in $values
371    <ul>
372      #for i in range(len($values["conformsTo"]))
373      <li>
374      <a href="$values["conformsTo"][$i]">$values["conformsTo"][$i]</a>
375      </li>
376      #end for
377    </ul>
378    #end if
379    #if "jobs" in $urlCompnents
380    #set $removeCacheFile=True
381    #end if
382    #if hasattr($values, "__len__") and isinstance($values,list) and len($values)>0
383    <table class="table table-striped">
384      <thead>
385        <tr>
386          #if "jobs" not in $urlCompnents
387          #*
388          * Processes list
389          *#
390          <th scope="col">#</th>
391          <th scope="col">Title</th>
392          <th scope="col">Version</th>
393          #else
394          #*
395          * Jobs list
396          *#
397          <th scope="col">#</th>
398          <th scope="col">Message</th>
399          <th scope="col">Links</th>
400          #end if
401        </tr>
402      </thead>
403      <tbody>   
404        #for i in range(len($values))
405        <tr>
406          #if "jobs" not in $urlCompnents
407          #*
408          * Processes list
409          *#
410          <th scope="row">
411            <a href="$(values[$i]["links"][0]["href"][:-1]).html">
412              <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-link-45deg" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
413                <path d="M4.715 6.542L3.343 7.914a3 3 0 1 0 4.243 4.243l1.828-1.829A3 3 0 0 0 8.586 5.5L8 6.086a1.001 1.001 0 0 0-.154.199 2 2 0 0 1 .861 3.337L6.88 11.45a2 2 0 1 1-2.83-2.83l.793-.792a4.018 4.018 0 0 1-.128-1.287z"/>
414                <path d="M6.586 4.672A3 3 0 0 0 7.414 9.5l.775-.776a2 2 0 0 1-.896-3.346L9.12 3.55a2 2 0 0 1 2.83 2.83l-.793.792c.112.42.155.855.128 1.287l1.372-1.372a3 3 0 0 0-4.243-4.243L6.586 4.672z"/>
415              </svg>
416            $values[$i]["id"]
417            </a>
418          </th>
419          <td>$values[$i]["title"]</td>
420          <td>#if "version" in $values[$i]#$values[$i]["version"]#else#1.0.0#end if#</td>
421          #else
422          #*
423          * Jobs list
424          *#
425          #set cValue=$values[$i]["infos"]
426          <th scope="row">
427            #if "status" in $cValue and $cValue["status"]=="successful"
428            <svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-check-circle-fill text-success" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
429              <path fill-rule="evenodd" d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
430            </svg>
431            #else
432            #if "status" in $cValue and $cValue["status"]=="failed"
433            <svg width="1.0625em" height="1em" viewBox="0 0 17 16" class="bi bi-exclamation-triangle-fill text-error" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
434              <path fill-rule="evenodd" d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5a.905.905 0 0 0-.9.995l.35 3.507a.552.552 0 0 0 1.1 0l.35-3.507A.905.905 0 0 0 8 5zm.002 6a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"/>
435            </svg>
436            #end if
437            #end if
438            $cValue["jobID"]
439          </th>
440          <td>$cValue["message"]</td>
441          <td>
442          <div class="dropdown">
443            <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
444            Action
445            </button>
446            <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
447              #for j in range(len($cValue["links"]))
448              #set $cValueLink=$cValue["links"][$j]
449              #if $cValueLink["href"].count("result")==0
450              <a class="dropdown-item delete"
451                href="#"
452                data-value="$(cValueLink["href"])">Delete</a>
453              #end if
454              <a class="dropdown-item" href="$(cValueLink["href"]).html">$cValueLink["title"]</a>
455              #end for       
456            </div>
457          </div>
458          </td>
459          #end if
460        </tr>   
461        #end for
462      </tbody>
463    </table>
464    <script>
465    System["jobListDelete"]=function(){
466      \$(".delete").each(function(){
467        \$(this).off("click");
468        \$(this).click(function(){
469          console.log("OK");
470          \$.ajax({
471            url: \$(this).data("value"),
472            type: "DELETE",
473            success: function(){
474              console.log(arguments);
475            }
476          });
477        });
478      });
479    }
480    </script>
481    #end if
482
483      <div class="microlight">$json.dumps(values)</div>
484      <textarea class="form-control" style="height: 300px;"></textarea>
485      <script>
486      window.onload = function(){
487        var jsContent=\$(".microlight").html();
488        var tmpStr=js_beautify(jsContent);
489        \$("textarea").last().val(tmpStr);
490        \$(".microlight").remove();
491        for(var i in System){
492          System[i]();
493        }
494        System["JSON_STR"]=JSON.parse(tmpStr);
495        var forms = document.getElementsByClassName('needs-validation');
496        // Loop over them and prevent submission
497        var validation = Array.prototype.filter.call(forms, function(form) {
498          form.addEventListener('submit', function(event) {
499            event.preventDefault();
500            event.stopPropagation();
501            if (form.checkValidity() === false) {
502              event.preventDefault();
503              event.stopPropagation();
504              for(var i=0;i<System["JSON_STR"]["inputs"].length;i++){
505                var cName=System["JSON_STR"]["inputs"][i]["id"].replace(/\./g,"_");
506                var selector=
507                  'input[name="input_value_'+cName+'"]:invalid,'+
508                  'select[name="input_value_'+cName+'"]:invalid';
509                if(\$(selector).length>0){
510                  \$(selector).each(function(){
511                    if(!\$(this).parent().parent().parent().hasClass("show"))
512                      \$(this).parent().parent().parent().parent().find(".btn").first().click();
513                  });
514                }
515              }             
516            }else{
517              loadRequest();
518            }
519            form.classList.add('was-validated');
520          }, false);
521        });
522     
523      }
524      </script>
525      <hr>
526      <address>$openapi["openapi"]["rootUrl"]$(currentUrl).html</address>
527      <!-- hhmts start -->Last modified: Wed Dec 16 16:06:56 CET 2020 <!-- hhmts end -->
528    </main>
529#if $currentKey=="root"
530    </div> 
531    <div class="col-sm-4"
532      itemprop="provider"
533      itemscope itemtype="https://schema.org/Organization">
534      $printIndentification($conf)
535    </div>
536   </div>
537  </div>
538#end if
539     
540
541    <footer class="footer" itemscope itemtype="https://schema.org/SoftwareApplication">
542      <div class="container-fluid">
543        <span class="text-muted">
544          Powered by
545          <a target="_blank" itemprop="url"
546            href="http://www.zoo-project.org/"><span itemprop="name">ZOO-Project</span></a>
547          <span itemprop="version">$zoo.VERSION</span>.
548          <meta itemprop="applicationCategory" content="WebService" />
549        #try
550        #set sysname=$os.uname()
551        #except Exception as e
552        #set sysname=["Unknown"]
553        #end try
554          <meta itemprop="operatingSystem" content="$sysname[0]" />
555        </span>
556      </div>
557    </footer>
558
559    <!-- JS, Popper.js, and jQuery -->
560    <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
561    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
562    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
563    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.13.0/beautify.min.js" integrity="sha512-84xqGKD+OW9ElGeIq5RkXhsKveQx+kAjahn9r7f/Vm9J0bDrwEabW3MQNgYdTzLBnwfrTGs0nuPx3pZxh6itNg==" crossorigin="anonymous"></script>
564  </body>
565</html>
566#if "cache_file" in $inputs["tmpl"] and $removeCacheFile
567<!-- REMOVED ! -->     
568#import os
569$(os.remove($inputs["tmpl"]["cache_file"]))
570#end if
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png