Formular:ARCHIUM FORM hascher object: Unterschied zwischen den Versionen

Aus Denkmalpflege
Wechseln zu:Navigation, Suche
Zeile 10: Zeile 10:
 
<!--  -->
 
<!--  -->
 
<includeonly>
 
<includeonly>
<!-- MAGIC WORDS -->
+
    <!-- MAGIC WORDS -->
__NOEDITSECTION__
+
    __NOEDITSECTION__
__NOTOC__
+
    __NOTOC__
<!--  -->
+
    <!--  -->
<!-- DEFINE THAT THIS FORM CREATES A NEW OBJECT -->
+
    <!-- DEFINE THAT THIS FORM CREATES A NEW OBJECT -->
{{{for template|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt, Literatur, Thema)}}}
+
    {{{for template|ARCHIUM_TEMPLATE_hascher_type|label=Typ(Objekt, Literatur, Thema)}}}
    {{{field|type|mandatory|default=object|hidden}}}
+
        {{{field|type|mandatory|default=object|hidden}}}
{{{end template}}}
+
    {{{end template}}}
<!--  -->
+
    <!--  -->
<!-- DEFINE FORM FIELDS -->
+
    <!-- DEFINE FORM FIELDS -->
<!-- define signature input field -->
+
    <!-- define signature input field -->
{{{for template|ARCHIUM_TEMPLATE_hascher_signature|label=Signatur(Objekt)}}}
+
    {{{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 -->
 
<nobr>
 
{{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
 
    {{{field|date_of_creation
 
        |mandatory
 
        |input type=date
 
        |default=now
 
    }}}
 
</nobr>
 
{{{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 111: Zeile 32:
 
         }}}
 
         }}}
 
     {{{end template}}}
 
     {{{end template}}}
     </div>
+
     <!--  -->
     <div class="archium-grid-item">
+
     <!-- define title input field -->
        {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
+
    {{{for template|ARCHIUM_TEMPLATE_hascher_title|label=Titel(Objekt)}}}
 
         {{{field|title
 
         {{{field|title
 
             |mandatory
 
             |mandatory
Zeile 123: Zeile 44:
 
         }}}
 
         }}}
 
     {{{end template}}}
 
     {{{end template}}}
     </div>
+
     <!--  -->
     <div class="archium-grid-item" style="grid-column: 1 / span 2;">
+
     <!-- define description input field -->
        {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
+
    {{{for template|ARCHIUM_TEMPLATE_hascher_description|label=Beschreibung(Objekt)}}}
    {{{field|description
+
        {{{field|description
        |input type=text with autocomplete
+
            |input type=text with autocomplete
        |default={{PAGENAME}}
+
            |default={{PAGENAME}}
        |placeholder=Beschreibung
+
            |placeholder=Beschreibung
        |cargo table=ARCHIUM_TABLE_hascher_description
+
            |cargo table=ARCHIUM_TABLE_hascher_description
        |cargo field=ARCHIUM_PROPERTY_hascher_description}}}
+
            |cargo field=ARCHIUM_PROPERTY_hascher_description}}}
{{{end template}}}
+
    {{{end template}}}
     </div>
+
     <!--  -->
     <div class="archium-grid-item">4</div>
+
     <!-- define remark input field -->
     </div>
+
     {{{for template|ARCHIUM_TEMPLATE_hascher_remark|label=Anmerkungen(Objekt)}}}
 
+
        {{{field|remark
     <div class="archium-grid-container2">
+
            |input type=text with autocomplete
    <div class="archium-grid-item">
+
            |default={{PAGENAME}}
        {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
+
            |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
 
         {{{field|date_of_creation
 
             |mandatory
 
             |mandatory
Zeile 146: Zeile 73:
 
         }}}
 
         }}}
 
     {{{end template}}}
 
     {{{end template}}}
     </div>
+
     <!-- define timeframe input fields -->
    <div class="archium-grid-item">2</div>
+
    {{{for template|ARCHIUM_TEMPLATE_hascher_timeframe|label=Zeiten(Objekt)}}}
    <div class="archium-grid-item">3</div>
+
        {{{field|date_from
    <div class="archium-grid-item">4</div>
+
            |input type=date
    </div>
+
            |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
 +
                    |mandatory
 +
                    |unique
 +
                    |input type=combobox
 +
                    |default={{PAGENAME}}
 +
                    |placeholder=Pflichteintrag
 +
                    |cargo table=ARCHIUM_TABLE_hascher_signature
 +
                    |cargo field=ARCHIUM_PROPERTY_hascher_signature
 +
                }}}
 +
        {{{end template}}}
 +
        </div>
 +
        <div class="archium-grid-item">
 +
            {{{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}}}
 +
        </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>
  
{{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
+
      <div class="archium-grid-container2">
{{{field
+
        <div class="archium-grid-item">
    |date_of_creation
+
            {{{for template|ARCHIUM_TEMPLATE_hascher_date_of_creation|label=Erstellungsdatum(Objekt)}}}
    |mandatory
+
                {{{field|date_of_creation
    |input type=date
+
                    |mandatory
    |default=now}}}
+
                    |input type=date
 +
                    |default=now
 +
                }}}
 +
            {{{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>
 
</includeonly>
 
</includeonly>
 
<!--  -->
 
<!--  -->

Version vom 6. März 2020, 09:42 Uhr