From 2b114b862293ce12fd63ce01f26247f7c4505f63 Mon Sep 17 00:00:00 2001 From: Axel Date: Wed, 17 May 2023 23:12:46 +0200 Subject: [PATCH] =?UTF-8?q?[WIP]=C2=A0Responsive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/homepage.blade.php | 96 +++-- resources/views/layout.blade.php | 6 +- resources/views/login.blade.php | 116 +++--- resources/views/upload.blade.php | 578 ++++++++++++++--------------- 4 files changed, 397 insertions(+), 399 deletions(-) diff --git a/resources/views/homepage.blade.php b/resources/views/homepage.blade.php index 853bd6a..7e1b817 100644 --- a/resources/views/homepage.blade.php +++ b/resources/views/homepage.blade.php @@ -106,62 +106,60 @@ @section('content')
-
-
-

-
{{ config('app.name') }}
-

-
+
+

+
{{ config('app.name') }}
+

+
-
-

-

@lang('app.existing-bundles')

-

-

+
+

+

@lang('app.existing-bundles')

+

+

- @lang('app.no-existing-bundle') - + - + - + - - + + -

@lang('app.or-create')

+

@lang('app.or-create')

- +
diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php index 24188ae..f6f289b 100644 --- a/resources/views/layout.blade.php +++ b/resources/views/layout.blade.php @@ -16,7 +16,11 @@ -
@yield('content')
+
+
+ @yield('content') +
+
@stack('scripts') diff --git a/resources/views/login.blade.php b/resources/views/login.blade.php index 3e38b92..258e9d1 100644 --- a/resources/views/login.blade.php +++ b/resources/views/login.blade.php @@ -55,70 +55,68 @@ @section('content')
-
-
-

+
+

-
{{ config('app.name') }}
-

+
{{ config('app.name') }}
+

+
+ +
+

+

@lang('app.authentication')

+

+ + + + + {{-- Login --}} +
+

+ @lang('app.login') + * +

+ +
-
-

-

@lang('app.authentication')

-

+ {{-- Password --}} +
+

+ @lang('app.password') + * +

- + +
- - {{-- Login --}} -
-

- @lang('app.login') - * -

- - -
- - {{-- Password --}} -
-

- @lang('app.password') - * -

- - -
- - {{-- Buttons --}} -
-
 
-
- @include('partials.button', [ - 'way' => 'right', - 'text' => __('app.do-login'), - 'icon' => '', - 'action' => 'loginUser' - ]) -
+ {{-- Buttons --}} +
+
 
+
+ @include('partials.button', [ + 'way' => 'right', + 'text' => __('app.do-login'), + 'icon' => '', + 'action' => 'loginUser' + ])
diff --git a/resources/views/upload.blade.php b/resources/views/upload.blade.php index 36bf9d7..d836483 100644 --- a/resources/views/upload.blade.php +++ b/resources/views/upload.blade.php @@ -400,337 +400,335 @@ @section('content')
-
-
-

-
- {{-- If bundle is locked --}} -

- - +

+

+
+ {{-- If bundle is locked --}} +

+ + + +

+
+ + {{-- App's title --}} +
{{ config('app.name') }}
+ + + {{-- Bundle status --}} +
+ {{-- If bundle is expired --}} +

+ + + +

+ +
+ +

+
+ + {{-- Modal box --}} + -

+
+ {{-- Steps --}} +
+
- {{-- Modal box --}} - -
- {{-- Steps --}} -
- -
+ +
-
- - {{-- STEP 1 --}} -
-

- @lang('app.upload-settings') -

- - {{-- Title --}} -
+ {{-- Expiration --}} +
+

- @lang('app.upload-title') + @lang('app.upload-expiry') *

+ +
+ + {{-- Max downloads --}} +
+

+ @lang('app.max-downloads') +

+
- {{-- Description --}} -
- @lang('app.upload-description') + {{-- Password --}} +
+ @lang('app.bundle-password') - -
- - {{-- Expiration --}} -
-
-

- @lang('app.upload-expiry') - * -

- - -
- - {{-- Max downloads --}} -
-

- @lang('app.max-downloads') -

- - -
- - {{-- Password --}} -
- @lang('app.bundle-password') - - -
-
- - {{-- Buttons --}} -
-
 
-
- @include('partials.button', [ - 'way' => 'right', - 'text' => __('app.start-uploading'), - 'icon' => '', - 'action' => 'uploadStep' - ]) -
+ name="password" + id="upload-password" + />
- {{-- STEP 2 --}} -
+ {{-- Buttons --}} +
+
 
+
+ @include('partials.button', [ + 'way' => 'right', + 'text' => __('app.start-uploading'), + 'icon' => '', + 'action' => 'uploadStep' + ]) +
+
+
+ + {{-- STEP 2 --}} +
+

+ @lang('app.upload-files-title') +

+ +
+ {{-- Dropzone --}} +
+
+
+ @lang('app.maximum-filesize') + {{ Upload::fileMaxSize(true) }} +
+
+
+ +
+

+

@lang('app.files-list')

+
+

+

+
+

+ + @lang('app.no-file') + + {{-- Files list --}} +
    + +
+
+
+ + {{-- Buttons --}} +
+
+ @include('partials.button', [ + 'way' => 'left', + 'text' => __('app.back'), + 'icon' => '', + 'action' => 'back' + ]) +
+
+ @include('partials.button', [ + 'way' => 'right', + 'text' => __('app.complete-upload'), + 'icon' => '', + 'action' => 'completeStep' + ]) +
+
+
+ + {{-- STEP 3 --}} +