Page 1 of 1

ServiceDesk HTML tag {% ... %}

Published: September 2, 2015 - 9:41 AM
by lduriez
Hello,

I'm currently working on the "service desk" section accessible via this link http://localhost:8088 on machines with the agent installed.

I'm trying to understand how the code works so I can eventually develop a web portal that offers similar functionality to the WAPT console (allowing for user-specific access rights).

The HTML pages for this service desk are located in the installation directory at: ../waptservice/template.

Within the code of these pages, there's a {% ... %} tag containing "classic" code (if statements, for statements, etc.), but I don't understand the language of these tags. It looks like PHP, but the usual PHP tag is... Luc

Does anyone have any idea what this tag means and the language it uses

?

Re: ServiceDesk HTML tag {% ... %}

Published: September 2, 2015 - 9:57 AM
by htouvet
The waptservice on workstations uses the python-flask + python-jinja2 combination.

The templates are therefore written in jinja2.
The documentation is here: http://jinja.pocoo.org/

Hubert.