| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <html
- xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
- xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
- xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
- data-namespace-typo3-fluid="true">
- <f:layout name="Backend" />
- <f:section name="List">
- <h1>Dashboard</h1>
- <h2>Add words (comma-separated) with a category</h2>
- <f:flashMessages />
- <f:form action="create">
- <label for="termList">Terms:</label>
- <f:form.textfield name="termList" /><br>
- <label for="categoryTitle">Category:</label>
- <f:form.textfield name="categoryTitle" /><br>
- <!-- <f:form.select name="category" options="{categories}" optionValueField="uid" optionLabelField="title" /><br>-->
- <label for="typeTitle">Type:</label>
- <f:form.textfield name="typeTitle" /><br>
- <label for="urlTitle">URL:</label>
- <f:form.textfield name="urlTitle" /><br>
- <f:form.submit value="Save" />
- </f:form>
- <h2>List of terms</h2>
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>Term</th>
- <th>Type</th>
- <th>Category</th>
- <th>Url</th>
- </tr>
- </thead>
- <tbody>
- <f:for each="{terms}" as="term">
- <tr>
- <td>{term.uid}</td>
- <td>{term.term}</td>
- <td>{term.type.title}</td>
- <td>{term.category.title}</td>
- <td>{term.url.title}</td>
- </tr>
- </f:for>
- </tbody>
- </table>
- <h2>List of categories</h2>
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>Title</th>
- </tr>
- </thead>
- <tbody>
- <f:for each="{categories}" as="category">
- <tr>
- <td>{category.uid}</td>
- <td>{category.title}</td>
- </tr>
- </f:for>
- </tbody>
- </table>
- <h2>List of types</h2>
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>Title</th>
- </tr>
- </thead>
- <tbody>
- <f:for each="{types}" as="type">
- <tr>
- <td>{type.uid}</td>
- <td>{type.title}</td>
- </tr>
- </f:for>
- </tbody>
- </table>
- <h2>List of urls</h2>
- <table>
- <thead>
- <tr>
- <th>ID</th>
- <th>Title</th>
- </tr>
- </thead>
- <tbody>
- <f:for each="{urls}" as="url">
- <tr>
- <td>{url.uid}</td>
- <td>{url.title}</td>
- </tr>
- </f:for>
- </tbody>
- </table>
- </f:section>
- </html>
|