mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-05 20:57:49 +02:00
Uploading new plugins via the admin panel #215
This commit is contained in:
@@ -110,16 +110,15 @@
|
||||
Form::hidden('csrf', Security::token())
|
||||
);
|
||||
?>
|
||||
<div class="fileupload fileupload-new fileupload-controls" data-provides="fileupload">
|
||||
<button class="btn btn-default btn-file"><span class="fileupload-new"><?php echo __('Select file', 'plugins'); ?></span><span class="fileupload-exists"><?php echo __('Change', 'plugins'); ?></span><input type="file" name="file" /></button>
|
||||
<div class="fileinput fileinput-new pull-left" data-provides="fileinput">
|
||||
<span class="btn btn-default btn-file"><span class="fileinput-new"><?php echo __('Select file', 'filesmanager'); ?></span><span class="fileinput-exists"><?php echo __('Change', 'filesmanager'); ?></span><input type="file" name="file"></span>
|
||||
<?php
|
||||
echo (
|
||||
Form::submit('upload_file', __('Upload', 'plugins'), array('class' => 'btn btn-primary')).
|
||||
Form::close()
|
||||
);
|
||||
?>
|
||||
<span class="fileupload-preview"></span>
|
||||
|
||||
<span class="fileinput-filename"></span>
|
||||
</div>
|
||||
<div id="uploadArea" class="upload-area">
|
||||
<div id="fuProgress" class="upload-progress"></div>
|
||||
@@ -163,4 +162,4 @@
|
||||
<div class="modal-body"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user