Add view to create new projects
This commit is contained in:
@@ -7,30 +7,52 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<h3>Angaben zum Projekt</h3>
|
|
||||||
<form method="post" action="#">
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>
|
<form method="post" action="<?=site_url('projects/create')?>">
|
||||||
<label>Projektname <span class="req">*</span></label>
|
<h3>Erforderliche Angaben zum Projekt</h3>
|
||||||
<div><input type="text" name="title" class="short text" value=""> <span class="error"><strong>ERROR:</strong> Error message.</span></div>
|
<?php echo validation_errors(); ?>
|
||||||
</li>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<label>Beschreibung</label>
|
<label>Projektname <span class="req">*</span></label>
|
||||||
<div><textarea name="description" rows="6" cols="60" tabindex="1" class="textarea"></textarea></div>
|
<div>
|
||||||
</li>
|
<input type="text" name="name" class="short text" tabindex="1" value="<?=set_value('name')?>">
|
||||||
<li>
|
<?=form_error('name')?>
|
||||||
<label>3D-Modell <span class="req">*</span></label>
|
</div>
|
||||||
<div><input type="file" class="file" name="model"></div>
|
</li>
|
||||||
</li>
|
<li>
|
||||||
<li>
|
<label>Beschreibung</label><br />
|
||||||
<label>Konfiguration <span class="req">*</span></label>
|
<label class="note">Eine Beschreibung ist hilfreich, wenn Sie dieses Projekt später für andere Mitarbeiter freigeben möchten.</label>
|
||||||
<div><input type="file" class="file" name="model"></div>
|
<div>
|
||||||
</li>
|
<textarea name="description" rows="6" cols="60" tabindex="2" class="textarea"><?=set_value('description')?></textarea>
|
||||||
<li>
|
<?=form_error('description')?>
|
||||||
<input type="button" value="Submit" class="button"> <input type="button" value="Reset" class="button">
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<h3>Optionale Angaben</h3>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>3D-Modell</label><br />
|
||||||
|
<label class="note">Falls ein 3D-Modell für jeden Versuch als Standard definiert werden soll, so können Sie dieses hier hochladen.<br />
|
||||||
|
Es kann weiterhin bei jedem Versuch ein anderes Modell gewählt werden.</label>
|
||||||
|
<div>
|
||||||
|
<input type="file" class="file" name="defaultmodel" tabindex="3" value="<?=set_value('defaultmodel')?>">
|
||||||
|
<?=form_error('defaultmodel')?>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>Standard-Konfiguration <span class="req">*</span></label><br />
|
||||||
|
<label class="note">Laden Sie eine Konfiguration hoch, die als Vorgabe für alle Versuche verwendet wird.<br />
|
||||||
|
Diese Konfiguration kann bei jedem Versuch geändert werden.</label>
|
||||||
|
<div>
|
||||||
|
<input type="file" class="file" name="defaultconfig" tabindex="4" value="<?=set_value('defaultconfig')?>">
|
||||||
|
<?=form_error('defaultconfig')?>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<input type="submit" tabindex="5" value="Projekt anlegen" class="button" />
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user