From c18d65c8c0105d8c2bd11278bf7b19b7164ad24f Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 3 Mar 2020 18:54:26 +0100 Subject: [PATCH] wip #3456 @2 --- app/Models/Quiz.php | 2 +- config/app.php | 2 +- config/backpack/base.php | 13 ++- public/images/logo.svg | 96 +++++++++++++++++++ .../cubist/fluidbooktoolbox/css/style.less | 0 .../cubist/fluidbooktoolbox/js/bundle.js | 0 6 files changed, 106 insertions(+), 7 deletions(-) create mode 100644 public/images/logo.svg create mode 100644 public/packages/cubist/fluidbooktoolbox/css/style.less create mode 100644 public/packages/cubist/fluidbooktoolbox/js/bundle.js diff --git a/app/Models/Quiz.php b/app/Models/Quiz.php index d79edf3bd..32d57bf37 100644 --- a/app/Models/Quiz.php +++ b/app/Models/Quiz.php @@ -45,7 +45,7 @@ class Quiz extends CubistMagicAbstractModel 'name' => 'questions', 'type' => 'BunchOfFieldsMultiple', 'bunch' => 'App\SubForms\Question', - 'label' => 'Questions', + 'label' => '', 'add_label' => 'Add question', 'tab' => 'Questions / Answers', ]); diff --git a/config/app.php b/config/app.php index be2f22020..c9960cde5 100644 --- a/config/app.php +++ b/config/app.php @@ -13,7 +13,7 @@ return [ | */ - 'name' => env('APP_NAME', 'Quiz Factory'), + 'name' => env('APP_NAME', 'Laravel'), /* |-------------------------------------------------------------------------- diff --git a/config/backpack/base.php b/config/backpack/base.php index 9a4b67d5f..e4f0eb129 100644 --- a/config/backpack/base.php +++ b/config/backpack/base.php @@ -13,7 +13,7 @@ return [ // Date & Datetime Format Syntax: https://carbon.nesbot.com/docs/#api-localization - 'default_date_format' => 'D MMM YYYY', + 'default_date_format' => 'D MMM YYYY', 'default_datetime_format' => 'D MMM YYYY, HH:mm', // Direction, according to language @@ -44,6 +44,7 @@ return [ // CSS files that are loaded in all pages, using Laravel's asset() helper 'styles' => [ 'packages/backpack/base/css/bundle.css', + 'packages/cubist/fluidbooktoolbox/css/style.css', // Here's what's inside the bundle: // 'packages/@digitallyhappy/backstrap/css/style.min.css', @@ -60,6 +61,7 @@ return [ // Example (load font-awesome instead of line-awesome): // 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css', + ], // CSS files that are loaded in all pages, using Laravel's mix() helper @@ -72,7 +74,7 @@ return [ // ------ // Menu logo. You can replace this with an tag if you have a logo. - 'project_logo' => 'QUIZ FACTORY', + 'project_logo' => 'Fluidbook Toolbox', // Show / hide breadcrumbs on admin panel pages. 'breadcrumbs' => true, @@ -106,10 +108,10 @@ return [ // change background color with bg-dark, bg-primary, bg-secondary, bg-danger, bg-warning, bg-success, bg-info, bg-blue, bg-light-blue, bg-indigo, bg-purple, bg-pink, bg-red, bg-orange, bg-yellow, bg-green, bg-teal, bg-cyan, bg-white // Developer or company name. Shown in footer. - 'developer_name' => 'Cubedesigners', + 'developer_name' => 'Fluidbook', // Developer website. Link in footer. Type false if you want to hide it. - 'developer_link' => 'https://www.cubedesigners.com', + 'developer_link' => 'https://www.fluidbook.com', // Show powered by Laravel Backpack in the footer? true/false 'show_powered_by' => false, @@ -122,6 +124,7 @@ return [ 'scripts' => [ // Backstrap includes jQuery, Bootstrap, CoreUI, PNotify, Popper 'packages/backpack/base/js/bundle.js', + 'packages/cubist/fluidbooktoolbox/js/bundle.css', // examples (everything inside the bundle, loaded from CDN) // 'https://code.jquery.com/jquery-3.4.1.min.js', @@ -212,7 +215,7 @@ return [ // Username column for authentication // The Backpack default is the same as the Laravel default (email) // If you need to switch to username, you also need to create that column in your db - 'authentication_column' => 'email', + 'authentication_column' => 'email', 'authentication_column_name' => 'Email', // The guard that protects the Backpack admin panel. diff --git a/public/images/logo.svg b/public/images/logo.svg new file mode 100644 index 000000000..355f80f66 --- /dev/null +++ b/public/images/logo.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/packages/cubist/fluidbooktoolbox/css/style.less b/public/packages/cubist/fluidbooktoolbox/css/style.less new file mode 100644 index 000000000..e69de29bb diff --git a/public/packages/cubist/fluidbooktoolbox/js/bundle.js b/public/packages/cubist/fluidbooktoolbox/js/bundle.js new file mode 100644 index 000000000..e69de29bb -- 2.39.5