Formular: ARCHIUM FORM thorax object: Unterschied zwischen den Versionen
Aus artux
Artux1zu2>SandroSchwarzentrub |
Artux1zu2>SandroSchwarzentrub |
||
Zeile 10: | Zeile 10: | ||
<!-- --> | <!-- --> | ||
<includeonly> | <includeonly> | ||
<!-- MAGIC WORDS --> | |||
__NOEDITSECTION__ | |||
__NOTOC__ | |||
<!-- --> | |||
<!-- DEFINE THAT THIS FORM CREATES A NEW OBJECT --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt, Literatur, Thema)}}} | |||
{{{field|type|mandatory|default=object|hidden}}} | |||
{{{end template}}} | |||
<!-- --> | |||
<!-- DEFINE FORM FIELDS --> | |||
<!-- define signature input field --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}} | |||
{{{field|signature | |||
|mandatory | |||
|unique | |||
|input type=combobox | |||
|default={{PAGENAME}} | |||
|placeholder=Pflichteintrag | |||
|cargo table=ARCHIUM_TABLE_hascher_signature | |||
|cargo field=ARCHIUM_PROPERTY_hascher_signature | |||
}}} | |||
{{{end template}}} | |||
<!-- --> | |||
<!-- define title input field --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}} | |||
{{{field|title | |||
|mandatory | |||
|input type=combobox | |||
|default={{PAGENAME}} | |||
|placeholder=Pflichteintrag | |||
|cargo table=ARCHIUM_TABLE_hascher_title | |||
|cargo field=ARCHIUM_PROPERTY_hascher_title | |||
}}} | |||
{{{end template}}} | |||
<!-- --> | |||
<!-- define description input field --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}} | |||
{{{field|description | |||
|input type=text with autocomplete | |||
|default={{PAGENAME}} | |||
|placeholder=Beschreibung | |||
|cargo table=ARCHIUM_TABLE_hascher_description | |||
|cargo field=ARCHIUM_PROPERTY_hascher_description}}} | |||
{{{end template}}} | |||
<!-- --> | |||
<!-- define remark input field --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_remark|label=Anmerkungen(Objekt)}}} | |||
{{{field|remark | |||
|input type=text with autocomplete | |||
|default={{PAGENAME}} | |||
|placeholder=Anmerkung | |||
|cargo table=ARCHIUM_TABLE_hascher_remark | |||
|cargo field=ARCHIUM_PROPERTY_hascher_remark | |||
}}} | |||
{{{end template}}} | |||
<!-- define date of creation input fields --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}} | |||
{{{field|date_of_creation | |||
|mandatory | |||
|input type=date | |||
|default=now | |||
}}} | |||
{{{end template}}} | |||
<!-- define timeframe input fields --> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}} | |||
{{{field|date_from | |||
|input type=date | |||
|default=now | |||
}}} | |||
{{{field|date_until | |||
|input type=date | |||
|default=now | |||
}}} | |||
{{{end template}}} | |||
<table style="width:100%" "border: 1px solid black"> | |||
<tr> | |||
<th>Datum der Erstellung</th> | |||
<th>Zeitraum</th> | |||
</tr> | |||
<tr> | |||
<td>Testdatum1</td> | |||
<td>Testzeitraum</td> | |||
</tr> | |||
</table> | |||
<div class="archium-grid-container"> | |||
<div class="archium-grid-item"> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_signature|multiple}}} | |||
{{{field|signature | {{{field|signature | ||
|mandatory | |mandatory | ||
Zeile 32: | Zeile 109: | ||
}}} | }}} | ||
{{{end template}}} | {{{end template}}} | ||
< | </div> | ||
< | <div class="archium-grid-item"> | ||
{{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}} | |||
{{{field|title | {{{field|title | ||
|mandatory | |mandatory | ||
Zeile 44: | Zeile 121: | ||
}}} | }}} | ||
{{{end template}}} | {{{end template}}} | ||
< | </div> | ||
< | <div class="archium-grid-item" style="grid-column: 1 / span 2;"> | ||
{{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}} | |||
{{{field|description | |||
|input type=text with autocomplete | |||
|default={{PAGENAME}} | |||
|placeholder=Beschreibung | |||
|cargo table=ARCHIUM_TABLE_hascher_description | |||
|cargo field=ARCHIUM_PROPERTY_hascher_description}}} | |||
{{{end template}}} | |||
< | </div> | ||
< | <div class="archium-grid-item">4</div> | ||
</div> | |||
<div class="archium-grid-container2"> | |||
<div class="archium-grid-item"> | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}} | |||
< | |||
{{{field|date_of_creation | {{{field|date_of_creation | ||
|mandatory | |mandatory | ||
Zeile 73: | Zeile 144: | ||
}}} | }}} | ||
{{{end template}}} | {{{end template}}} | ||
< | </div> | ||
<div class="archium-grid-item">2</div> | |||
<div class="archium-grid-item">3</div> | |||
<div class="archium-grid-item">4</div> | |||
</div> | |||
< | |||
</ | |||
{{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}} | |||
{{{field | |||
|date_of_creation | |||
|mandatory | |||
|input type=date | |||
|default=now}}} | |||
</includeonly> | </includeonly> | ||
<!-- --> | <!-- --> |
Version vom 6. März 2020, 08:22 Uhr