istic-openstack/client/partials/image/upload.html
2016-04-26 23:36:33 +02:00

32 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="modal fade" id="uploadImageModal" ng-controller="uploadImageCtrl">
<div class="modal-dialog">
<div class="modal-content"></div>
</div>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<!--<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>-->
<h4 class="modal-title">Upload Image</h4>
</div>
<div class="modal-body">
<form action="../server/index.php" method="post">
<input type="hidden" name="task" value="image" />
<input type="hidden" name="token" value="{{ token }}" />
<input type="hidden" name="action" value="uploadImage" />
<input type="hidden" name="id" value="60ed9403-419e-4ea8-933f-dd1750d97360" />
<input type="hidden" name="file_name" value="bob.iso" />
<input name="file" type="file" />
<input type="submit" value="Upload" />
</form>
<div class="modal-footer">
<!--<a href="#" data-dismiss="modal" class="btn btn-default">Close</a>-->
<a class="btn btn-lg btn-primary btn-block" id="loginButton" ng-click="doUpload()">Upload</a>
</div>
</div>
</div>
</div>