diff --git a/resources/views/back/page.blade copy.php b/resources/views/back/page.blade copy.php deleted file mode 100644 index 959add5..0000000 --- a/resources/views/back/page.blade copy.php +++ /dev/null @@ -1,199 +0,0 @@ -@extends('frame') - -@section('title', 'The Dash | Edit Page') - -@php - @if($mode == 'edit') - $id = $page['id']; - $uuid = $page['uuid']; - $slug = $page['slug']; - $feature = $page['feature']; - $layout = $page['layout'] - $tags = $page['tags']; - $content = $page['content']; - $date = $page['created']; - $updated = $page['updated']; - $media = $page['media']; - $files = $page['docs']; - @else - $id = ""; - $uuid = ""; - $slug = ""; - $feature = ""; - $layout = ""; - $tags = ""; - $content = ""; - $date = ""; - $updated = ""; - $media = ""; - $files = ""; - @endif - -@endphp - - @section('main-content') -
- @if($page['feature'] == null) -
- -
- -
- -
- @else -
- -
- -
- @if(count($media)>1) - {% for item in media %} - {% set fileName = item.file|split('/') %} - {% if item.type == "mp4" %} - -
- - -
- {% else %} -
- -
- {% endif %} - {% endfor %} - @else - {% if media[0] != '' %} - {% set fileName = media[0].file|split('/') %} - {% if media[0].type == "mp4" %} -
- -
- - {% else %} -
- -
- {% endif %} - {% else %} - {% endif %} - @endif -
- -
- {% if files|length > 1 %} - {% for item in files %} - {% set fileName = item.file|split('/') %} - {% if item.type == "mp3" %} -
- - -
- {% else %} -
- {{ fileName[6] }}" - -
- {% endif %} - {% endfor %} - {% else %} - {% if files[0] != '' %} - {% set fileName = files[0].file|split('/') %} - {% if files[0].type == "mp3" %} -
- - -
- {% else %} -
- {{ fileName[6] }}" - -
- {% endif %} - - {% else %} - - {% endif %} - {% endif %} - -
- @endif -
-
-
-
- TITLE - -
-
- TAGS - -
-
- LAYOUTS - -
-
- OPTIONS - {% apply spaceless %} - {{ include("dash/partials/options.twig") }} - {% endapply %} -
-
- UPDATED - - {{ updated }} - -
-
- CREATED - - {{ date }} - - - -
-
- -
-
- {% apply spaceless %} - {{ include("dash/partials/editor.twig") }} - {% endapply %} -
- -
-                
-            
-
-
- @endsection diff --git a/resources/views/includes/options.blade.php b/resources/views/includes/options.blade.php index d93f1bc..9d76d49 100644 --- a/resources/views/includes/options.blade.php +++ b/resources/views/includes/options.blade.php @@ -29,19 +29,15 @@ if($page['published']) - - - - -