investment/view/source_form.xml
2022-11-20 20:40:51 +01:00

54 lines
1.9 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of the investment-module from m-ds for Tryton.
The COPYRIGHT file at the top level of this repository contains the
full copyright notices and license terms. -->
<form col="6">
<label name="name"/>
<field name="name"/>
<newline/>
<label name="url"/>
<field name="url" colspan="3"/>
<label name="nohtml"/>
<field name="nohtml"/>
<label xalign="0.0" colspan="6" id="labtempl"
string="URL parameter placeholders: ${isin}, ${nsin}, ${symbol}"/>
<separator colspan="6" id="seprgx" string="Regular expressions to find data"/>
<label name="rgxdate"/>
<field name="rgxdate"/>
<label name="rgxrate"/>
<field name="rgxrate"/>
<newline/>
<label name="rgxisin"/>
<field name="rgxisin"/>
<label name="rgxnsin"/>
<field name="rgxnsin"/>
<label name="rgxsymbol"/>
<field name="rgxsymbol"/>
<notebook colspan="6">
<page id="pgparam" col="6" string="Test parameters">
<label name="used_url"/>
<field name="used_url" colspan="5"/>
<label name="isin"/>
<field name="isin"/>
<label name="nsin"/>
<field name="nsin"/>
<label name="symbol"/>
<field name="symbol"/>
<separator name="text" colspan="6" string="Result"/>
<field name="text" colspan="6" xexpand="1"/>
</page>
<page id="pginfo" col="1" string="How to">
<label xalign="0.0" id="lab1"
string="Configure a source for receiving course data here. The source is queried with the parameters according to schedule."/>
<label xalign="0.0" id="lab2"
string="Select a website where the price data, ISIN, date, etc. is contained in the loaded HTML file."/>
<label xalign="0.0" id="lab3"
string="Purely javascript-based websites do not work here."/>
</page>
</notebook>
</form>