Add view to create new projects
This commit is contained in:
@@ -7,30 +7,52 @@
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h3>Angaben zum Projekt</h3>
|
||||
<form method="post" action="#">
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>Projektname <span class="req">*</span></label>
|
||||
<div><input type="text" name="title" class="short text" value=""> <span class="error"><strong>ERROR:</strong> Error message.</span></div>
|
||||
</li>
|
||||
<li>
|
||||
<label>Beschreibung</label>
|
||||
<div><textarea name="description" rows="6" cols="60" tabindex="1" class="textarea"></textarea></div>
|
||||
</li>
|
||||
<li>
|
||||
<label>3D-Modell <span class="req">*</span></label>
|
||||
<div><input type="file" class="file" name="model"></div>
|
||||
</li>
|
||||
<li>
|
||||
<label>Konfiguration <span class="req">*</span></label>
|
||||
<div><input type="file" class="file" name="model"></div>
|
||||
</li>
|
||||
<li>
|
||||
<input type="button" value="Submit" class="button"> <input type="button" value="Reset" class="button">
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<form method="post" action="<?=site_url('projects/create')?>">
|
||||
<h3>Erforderliche Angaben zum Projekt</h3>
|
||||
<?php echo validation_errors(); ?>
|
||||
<ul>
|
||||
<li>
|
||||
<label>Projektname <span class="req">*</span></label>
|
||||
<div>
|
||||
<input type="text" name="name" class="short text" tabindex="1" value="<?=set_value('name')?>">
|
||||
<?=form_error('name')?>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<label>Beschreibung</label><br />
|
||||
<label class="note">Eine Beschreibung ist hilfreich, wenn Sie dieses Projekt später für andere Mitarbeiter freigeben möchten.</label>
|
||||
<div>
|
||||
<textarea name="description" rows="6" cols="60" tabindex="2" class="textarea"><?=set_value('description')?></textarea>
|
||||
<?=form_error('description')?>
|
||||
</div>
|
||||
</li>
|
||||
</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>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user