kuvia/resources/views/tenant/watermark.blade.php

53 lines
1.8 KiB
PHP
Raw Normal View History

2021-01-20 20:25:29 +00:00
@extends('layout/template')
@section('content')
2021-01-27 00:47:07 +00:00
<div class="alert-warning alert" style="margin-top: 20px;">
This is just for functional testing, need to be redesign.
</div>
2021-01-20 21:35:41 +00:00
<h1>Watermark for {{ $current_tenant->name }}</h1>
<p>
<div class="alert alert-info">
If you set/change/delete the Watermark it will effect your space and traffic in the following ways:
<ul>
<li>Your Space will increase by the size of the Watermark</li>
<li>All cached Images need to be regenerate that will increase your traffic (one time)</li>
<li>If you add new Images the Watermark need to be downloaded, that will increase your traffic (each time)</li>
</ul>
</div>
</p>
2021-01-20 20:43:58 +00:00
<div class="row">
<div class="col-md-6">
2021-01-20 21:35:41 +00:00
<h3>Update Watermark</h3>
2021-01-20 20:43:58 +00:00
<form method="post" enctype="multipart/form-data">
@csrf
<input type="file" name="files[]" class="form-control" >
<input type="submit" value="Upload Watermark" class="btn btn-outline-success">
</form>
2021-01-20 21:35:41 +00:00
@if (!is_null($current_tenant->watermark))
<h3>Delete Watermark</h3>
<a href="/s/watermark/delete" class="btn btn-outline-danger">Delete Watermark</a>
@endif
</div>
<div class="col-md-6">
Current Watermark:<br>
@if (!is_null($current_tenant->watermark))
<img src="/s/watermark/image" style="max-width: 100%;">
@endif
2021-01-20 20:43:58 +00:00
</div>
</div>
2021-01-20 20:25:29 +00:00
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
2021-01-20 20:43:58 +00:00
2021-01-20 20:25:29 +00:00
@endsection