{% extends 'base.html' %} {% block title %}Plain Text to JSON{% endblock %} {%block content %}

Plain Text to JSON

Units to Convert {% include '_checkbox.html' with name="all-or-range" value="all_verses_in_file" label="All verses in file" type="radio" checked=True hyperscript="on change if me.checked add @disabled to .units then remove @disabled from #auto-input then remove @disabled from #inputFile then add @required to #inputFile end" only %}
{% include '_checkbox.html' with name="all-or-range" value="range_of_verses" label="Range of verses" type="radio" hyperscript="on change if me.checked add @disabled to .units then remove @disabled from .range then add @required to .units then remove @disabled from #auto-input then remove @disabled from #inputFile then add @required to #inputFile end" only %} {% include '_input_floating.html' with name="range-from" label="From" classes="range units" disabled=True only %} {% include '_input_floating.html' with name="range-to" label="To" classes="range units" disabled=True only %}
{% include '_checkbox.html' with name="all-or-range" value="single_verse" label="Single Verse" type="radio" hyperscript="on change if me.checked add @disabled to .units then remove @disabled from .ref then add @checked to #manual-input then add @disabled to #auto-input then remove @disabled from .ranges then add @required to .ranges then remove @required from #inputFile then add @disabled to #inputFile end" only %} {% include '_input_floating.html' with name="single-ref" label="Verse Number" classes="ref units" disabled=True only %}
{% include '_input_floating.html' with id="inputText" name="input_text" label="Text" classes="ref units" disabled=True only %}
Transcription Info
{% include '_checkbox.html' with name="ref-prefix" value="manual" label="Manual" type="radio" hyperscript="on change if me.checked remove @disabled from .ranges then add @required to .ranges end" only %} {% include '_input_floating.html' with name="siglum" label="Siglum" classes="ranges" disabled=True only %} {% include '_input_floating.html' with name="unit-prefix" label="Verse Chapter" classes="ranges" disabled=True only %}
{% include '_checkbox.html' with name="ref-prefix" value="auto" label="Auto from file name" type="radio" checked=True hyperscript="on change if me.checked add @disabled to .ranges then remove @required from .ranges end" only %}
{% include '_input_floating.html' with id="inputFile" name="input_file" label="Input File" value=settings.txt2json_input_file required=True style="direction: rtl; text-align: right;" only %}
{% include '_input_floating.html' with id="outputDir" name="output_directory" label="Output Folder" value=settings.txt2json_output_dir style="direction: rtl; text-align: right;" required=True only %}
{% endblock %}