{% extends "layout.html" %} {% from 'modalaceedit.html' import modal_ace_edit_head %} {% from 'modalaceedit.html' import modal_ace_edit_body %} {% from 'modalaceedit.html' import modal_ace_edit_button %} {% from 'modalaceedit.html' import modal_ace_edit_jsfooter %} {% set yamleditors={ "rulfile":{ "textidstring":"yamlrulfile", "varstring":"rulfilestring", "modalidstring":"modalrulfileid", "title":"Set Modfile", "editorvar":"editorrulfile", "buttontext":"Open rulfile", "buttonidstring":"yamlrulfilebuttonid", "contentid":"rulfiletext" }, "exprulfile":{ "textidstring":"yamlexprulfile", "varstring":"exprulfilestring", "modalidstring":"modalexprulfileid", "title":"Output File", "editorvar":"editorexprulfile", "buttontext":"See Output", "buttonidstring":"yamlexprulfilebuttonid", "contentid":"exprulfiletext" } } %} {% block title %}Rulfile Beutify{% endblock %} {% block head %} {{ modal_ace_edit_head(yamleditors) }} {% endblock %} {% block content %} {% for acekey in yamleditors %} {{ modal_ace_edit_body(yamleditors[acekey]) }} {% endfor %}
import your rulfile
upload {{ modal_ace_edit_button(yamleditors["rulfile"]) }}(Select your Base)
Click
Download/see result
download/{{ modal_ace_edit_button(yamleditors["exprulfile"]) }}