@extends('layouts.app') @section('content')

Template Manager

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

Upload New Template

@csrf

Upload a ZIP file containing the template with template.json

@forelse($templates as $template)

{{ $template->name }}

Version: {{ $template->version }}

Author: {{ $template->author }}

@if($template->active) Active @endif
@if(!$template->active)
@csrf
@endif @if(!$template->active)
@csrf @method('DELETE')
@endif
@empty
No templates installed
@endforelse
@endsection