Files
snipe-it/app/views/backend/settings/backups.blade.php
T
snipe 818d1769b8 Automated backup to dump SQL and zip uploaded files
Usage:

`php artisan snipeit:backup`

This can be set on a cron or scheduled task
2015-06-22 15:52:26 -07:00

53 lines
1.8 KiB
PHP

@extends('backend/layouts/default')
{{-- Page title --}}
@section('title')
@lang('admin/settings/general.backups') ::
@parent
@stop
{{-- Page content --}}
@section('content')
<div class="user-profile">
<!-- header -->
<div class="row-fluid profile">
<!-- bio, new note & orders column -->
<div class="col-md-9 bio">
<h3 class="name">@lang('admin/settings/general.backups')</h3>
<div class="profile-box">
<br>
<!-- checked out assets table -->
<table class="table table-hover">
<thead>
<th>File</th>
<th>Created</th>
<th>Size</th>
</thead>
<tbody>
@foreach ($files as $file)
<tr>
<td><a href="backups/download/{{{ $file['filename'] }}}">{{{ $file['filename'] }}}</a></td>
<td>{{{ date("M d, Y g:i A", $file['modified']) }}} </td>
<td>{{{ $file['filesize'] }}}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
<!-- side address column -->
<div class="col-md-3 address pull-right">
<br /><br />
<p>Backup files are located in: {{{ $path }}}</p>
</div>
@stop