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