1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 00:35:59 +00:00

Update admin config view

This commit is contained in:
Daniel Supernault 2019-06-20 20:54:27 -06:00
parent 095b135f4f
commit ed1b1e746c
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -24,7 +24,11 @@
<div id="editor">{{$config}}</div> <div id="editor">{{$config}}</div>
<hr> <hr>
<div class="d-flex justify-content-between px-3"> <div class="d-flex justify-content-between px-3">
@if($backup)
<button class="btn btn-outline-secondary font-weight-bold py-1 btn-restore">Restore backup .env</button> <button class="btn btn-outline-secondary font-weight-bold py-1 btn-restore">Restore backup .env</button>
@else
<div></div>
@endif
<button class="btn btn-primary font-weight-bold py-1 btn-save">Save</button> <button class="btn btn-primary font-weight-bold py-1 btn-save">Save</button>
</div> </div>
</div> </div>