komponente finished
This commit is contained in:
BIN
Praktikum3/bt/templates/.DS_Store
vendored
BIN
Praktikum3/bt/templates/.DS_Store
vendored
Binary file not shown.
@ -1,28 +0,0 @@
|
||||
<!-- Template -->
|
||||
<form id="idForm" class="clContent">
|
||||
<h2 id="idContentHeader" class="clContentHeader">
|
||||
Literaturauswertung / Formular
|
||||
</h2>
|
||||
<div id="idContentArea" class="clContentArea">
|
||||
|
||||
<input type="hidden" value="#context.data.id#" id="id_s" name="id_s" />
|
||||
<div class="clFormRow">
|
||||
<label for="title_s">Titel <span class="clRequired"></span></label>
|
||||
<input type="text" value="#context.data.title#" id="title_s" name="title_s" autofocus required />
|
||||
</div>
|
||||
<div class="clFormRow">
|
||||
<label for="author_s">Autor <span class="clRequired"></span></label>
|
||||
<input type="text" value="#context.data.author#" id="author_s" name="author_s" required />
|
||||
</div>
|
||||
<div class="clFormRow">
|
||||
<label for="evalyear_s">Jahr de Auswertung</label>
|
||||
<input type="url" value="#context.data.evalyear#" id="evalyear_s" name="evalyear_s" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="idButtonArea" class="clButtonArea">
|
||||
<button data-action="back" class="clButton">Zurück</button>
|
||||
<button data-action="save" class="clButton">Speichern</button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- EOF -->
|
@ -1,7 +1,7 @@
|
||||
<!-- Template -->
|
||||
<form id="idForm" class="clContent">
|
||||
<h2 id="idContentHeader" class="clContentHeader">
|
||||
Literatur- / Quellenverzeichnis / Formular
|
||||
Pflege Komponenten
|
||||
</h2>
|
||||
<div id="idContentArea" class="clContentArea">
|
||||
|
||||
@ -10,16 +10,16 @@
|
||||
<label for="name_s">Name <span class="clRequired"></span></label>
|
||||
<input type="text" value="#context.data.name#" id="name_s" name="name_s" autofocus required />
|
||||
</div>
|
||||
<div class="clFormRow">
|
||||
<label for="typ_s">Typ <span class="clRequired"></span></label>
|
||||
<input type="text" value="#context.data.typ#" id="typ_s" name="typ_s" required />
|
||||
</div>
|
||||
<div class="clFormRow">
|
||||
<label for="referenz_s">Referenz</label>
|
||||
<input type="url" value="#context.data.referenz#" id="referenz_s" name="referenz_s" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<label for="projekt-id_s">Projekt <span class="clRequired"></span></label>
|
||||
<select name="projekt-id_s">
|
||||
@var rows_o = context['projekt'];@
|
||||
@for var key_s in rows_o@
|
||||
@var row_o = rows_o[key_s];@
|
||||
<option value="#key_s#">#row_o['name']#</option>
|
||||
@endfor@
|
||||
</select>
|
||||
|
||||
<div id="idButtonArea" class="clButtonArea">
|
||||
<button data-action="back" class="clButton">Zurück</button>
|
||||
<button data-action="save" class="clButton">Speichern</button>
|
25
Praktikum3/bt/templates/komponentelist.tpl
Executable file
25
Praktikum3/bt/templates/komponentelist.tpl
Executable file
@ -0,0 +1,25 @@
|
||||
<!-- Template -->
|
||||
<div id="idListContent" class="clContent">
|
||||
<h2 id="idContentHeader" class="clContentHeader">
|
||||
Pflege Komponenten
|
||||
</h2>
|
||||
<div id="idContentArea" class="clContentArea">
|
||||
<table id="idList">
|
||||
<tr class="listheader"><th>Name</th><th>ID</th><th>Projekt-ID</th></tr>
|
||||
@var rows_o = context['data'];@
|
||||
@for var key_s in rows_o@
|
||||
<tr id='#key_s#'>
|
||||
@var row_o = rows_o[key_s];@
|
||||
<td>#row_o['name']#</td><td>#row_o['id']#</td><td>#row_o['projekt-id']#</td>
|
||||
</tr>
|
||||
@endfor@
|
||||
</table>
|
||||
</div>
|
||||
<div id="idButtonArea" class="clButtonArea">
|
||||
<button data-action="add" class="clButton">Hinzufügen</button>
|
||||
<button data-action="edit" class="clButton">Bearbeiten</button>
|
||||
<button data-action="delete" class="clButton">Löschen</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- EOF -->
|
Reference in New Issue
Block a user