Fork of https://github.com/modality/charred-black. Short term, has some fixes. Long term, may include a tool to create and edit stock/lifepath/skill/trait data. http://charred.obscuritus.ca:8080/#/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
charred-gold/src/views/partials/upload_character.erb

27 lines
944 B

<div class='modal-header'>
<h3 class='modal-title'>Upload Character</h3>
</div>
<form action='/upload_charfile' enctype='multipart/form-data' id='char_upload_form' method='post' ng-submit='ok()' target='uploadiframe'>
<div class='modal-body'>
<p>
Select a previously saved .char file to upload.
</p>
<p>
<fieldset>
<div class='input-group input-group-sm'>
<span class='input-group-btn'>
<span class='btn btn-default btn-file'>
Browse
<input name='charfile' placeholder='browse...' type='file'>
</span>
</span>
<input class='form-control' readonly='' style='width: 12em' type='text'>
</div>
</fieldset>
</p>
</div>
<div class='modal-footer'>
<button class='btn btn-primary' type='submit'>OK</button>
<button class='btn btn-warning' ng-click='cancel()' type='reset'>Cancel</button>
</div>
</form>