You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.7 KiB
Smarty

9 years ago
<div id="upload-picture-modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="upload-picture" aria-hidden="true">
10 years ago
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="upload-picture">[[user:upload_picture]]</h3>
10 years ago
</div>
<div class="modal-body">
<form id="uploadForm" action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="userPhotoInput">[[user:upload_a_picture]]</label>
10 years ago
<input type="file" id="userPhotoInput" name="files[]">
<!-- IF showHelp -->
<p class="help-block">
[[user:image_spec]]
<!-- IF fileSize --><span id="file-size-block">([[uploads:maximum-file-size, {fileSize}]])</span><!-- ENDIF fileSize -->
</p>
<!-- ENDIF showHelp -->
10 years ago
</div>
<input type="hidden" id="params" name="params" />
</form>
<div id="upload-progress-box" class="progress progress-striped hide">
10 years ago
<div id="upload-progress-bar" class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="0" aria-valuemin="0">
<span class="sr-only"> [[success:success]]</span>
</div>
</div>
<div id="alert-status" class="alert alert-info hide"></div>
<div id="alert-success" class="alert alert-success hide"></div>
<div id="alert-error" class="alert alert-danger hide"></div>
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
<button id="pictureUploadSubmitBtn" class="btn btn-primary">[[user:upload_picture]]</button>
</div>
</div>
</div>
</div>