From: Vincent Vanwaelscappel Date: Thu, 18 Jun 2020 18:16:52 +0000 (+0200) Subject: wip #3717 @2 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ce2f0ed3aa87b231c35e0594801e3e0216101d1b;p=fluidbook-toolbox.git wip #3717 @2 --- diff --git a/.gitignore b/.gitignore index 0f7df0fbe..632b9dba8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ Homestead.json Homestead.yaml npm-debug.log yarn-error.log +/public/packages/fluidbook/toolbox/css/style.css +/public/packages/fluidbook/toolbox/css/style.css.map diff --git a/config/backpack/base.php b/config/backpack/base.php index 93b9083a5..847cd4fe1 100644 --- a/config/backpack/base.php +++ b/config/backpack/base.php @@ -45,7 +45,7 @@ return [ 'styles' => [ 'packages/backpack/base/css/bundle.css', 'packages/featherlight/featherlight.min.css', - 'packages/cubist/fluidbooktoolbox/css/style.css', + 'packages/fluidbook/toolbox/css/style.css', // Here's what's inside the bundle: // 'packages/@digitallyhappy/backstrap/css/style.min.css', @@ -126,7 +126,7 @@ return [ // Backstrap includes jQuery, Bootstrap, CoreUI, PNotify, Popper 'packages/backpack/base/js/bundle.js', 'packages/featherlight/featherlight.min.js', - 'packages/cubist/fluidbooktoolbox/js/bundle.js', + 'packages/fluidbook/toolbox/js/bundle.js', // examples (everything inside the bundle, loaded from CDN) diff --git a/public/images/logo-light.svg b/public/images/logo-light.svg new file mode 100644 index 000000000..4df1d8600 --- /dev/null +++ b/public/images/logo-light.svg @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/packages/cubist/fluidbooktoolbox/css/style.less b/public/packages/cubist/fluidbooktoolbox/css/style.less deleted file mode 100644 index 42a2c5603..000000000 --- a/public/packages/cubist/fluidbooktoolbox/css/style.less +++ /dev/null @@ -1,17 +0,0 @@ -.app-header{ - flex: 0 0 70px; - background-color: #263340; - - .navbar-brand{ - width: 300px; - padding: 20px 15px; - } - - .navbar-toggler{ - display: none; - } -} - -.help-block{ - opacity: 0.5; -} diff --git a/public/packages/cubist/fluidbooktoolbox/js/bundle.js b/public/packages/cubist/fluidbooktoolbox/js/bundle.js deleted file mode 100644 index e69de29bb..000000000 diff --git a/public/packages/fluidbook/toolbox/css/style.less b/public/packages/fluidbook/toolbox/css/style.less new file mode 100644 index 000000000..9c1ef1d34 --- /dev/null +++ b/public/packages/fluidbook/toolbox/css/style.less @@ -0,0 +1,77 @@ +body { + background-color: #fafafa; +} + +.bg-light{ + background-color: transparent !important; +} + +.btn { + font-weight: 600; +} + +body:not(.align-items-center){ + footer>div{ + width: 100%; + } +} + +main{ + nav.d-lg-block{ + visibility: hidden; + } +} + +.app-header { + flex: 0 0 70px; + background-color: #263340; + + .navbar-brand { + width: 300px; + padding: 20px 15px; + } + + .navbar-toggler { + display: none; + } +} + +.help-block { + opacity: 0.5; +} + +.table{ + border: 0; + &.bg-white { + background: transparent !important; + } + th{ + background-color: transparent; + border: 0; + } + td:first-child{ + border-left: 1px solid rgba(0,40,100,.12); + } + td:last-child{ + border-right: 1px solid rgba(0,40,100,.12); + } + tr:last-child{ + td{ + border-bottom: 1px solid rgba(0,40,100,.12); + } + } + &#crudTable{ + tfoot{ + display: none; + } + } +} + +.bulk-button{ + &.disabled{ + visibility: hidden; + } +} +#datatable_button_stack{ + visibility: hidden; +} diff --git a/public/packages/fluidbook/toolbox/js/bundle.js b/public/packages/fluidbook/toolbox/js/bundle.js new file mode 100644 index 000000000..e69de29bb diff --git a/resources/views/vendor/backpack/base/auth/login.blade.php b/resources/views/vendor/backpack/base/auth/login.blade.php new file mode 100644 index 000000000..4128ce265 --- /dev/null +++ b/resources/views/vendor/backpack/base/auth/login.blade.php @@ -0,0 +1,68 @@ +@extends(backpack_view('layouts.plain')) + +@section('content') +
+
+

Logo Fluidbook Toolbox

+
+
+
+ {!! csrf_field() !!} + +
+ + +
+ + + @if ($errors->has($username)) + + {{ $errors->first($username) }} + + @endif +
+
+ +
+ + +
+ + + @if ($errors->has('password')) + + {{ $errors->first('password') }} + + @endif +
+
+ +
+
+
+ +
+
+
+ +
+
+ +
+
+
+
+
+ @if (backpack_users_have_email()) + + @endif + @if (config('backpack.base.registration_open')) + + @endif +
+
+@endsection diff --git a/resources/views/vendor/backpack/base/inc/footer.blade.php b/resources/views/vendor/backpack/base/inc/footer.blade.php new file mode 100644 index 000000000..ba55e5d99 --- /dev/null +++ b/resources/views/vendor/backpack/base/inc/footer.blade.php @@ -0,0 +1,10 @@ +@if (config('backpack.base.show_powered_by') || config('backpack.base.developer_link')) +
+ @if (config('backpack.base.developer_link') && config('backpack.base.developer_name')) + {{ trans('backpack::base.powered_by') }} {{ config('backpack.base.developer_name') }}. + @endif + @if (config('backpack.base.show_powered_by')) + {{ trans('backpack::base.powered_by') }} Backpack for Laravel. + @endif +
+@endif