forked from shopperlabs/shopper-react
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
268 additions
and
9,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
/vendor | ||
composer.lock | ||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"/js/login.js": "/js/login.js?id=4582565fbd468d95e68e", | ||
"/css/login.css": "/css/login.css?id=d5210ae8b9e982a48aa2", | ||
"/js/login.js": "/js/login.js?id=0ead881a9e848c53d468", | ||
"/css/login.css": "/css/login.css?id=bcece9b51815964b959b", | ||
"/css/shopper.css": "/css/shopper.css?id=09fa142477d7a67721b5", | ||
"/js/shopper.js": "/js/shopper.js?id=63751ae37466661da603" | ||
"/js/shopper.js": "/js/shopper.js?id=61bf2cbd50dbd9af26a3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 48 additions & 23 deletions
71
resources/views/pages/dashboard/_algolia-indices.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,49 @@ | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['products'] }}</h2> | ||
<p class="card-content">{{ __('Records in products') }}</p> | ||
@if (!is_null(env('ALGOLIA_APP_ID')) && !empty(env('ALGOLIA_APP_ID'))) | ||
|
||
<div class="algolia-items bg-white"> | ||
<div class="algolia-header mb-4"> | ||
<h3 class="text-lg font-bold nova-algolia-card-title"> | ||
<svg class="nova-algolia-card-title-logo" data-icon="algolia" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"> | ||
<path fill="#5468ff" d="M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z" class=""></path> | ||
</svg> | ||
Algolia | ||
</h3> | ||
<a href="https://www.algolia.com/dashboard" target="_blank">{{ __('Go to Algolia Dashboard') }} <i class="fas fa-angle-double-right"></i></a> | ||
</div> | ||
<div class="row"> | ||
@if ($algolia['status'] === 'error') | ||
<div class="col-sm-12 text-center"> | ||
<span class="text-danger"><i class="far fa-3x fa-frown"></i></span> | ||
<h4 class="text-danger">{{ $algolia['message'] }}</h4> | ||
<p class="text-helper">{{ __("Or you don't have an Algolia App. Please go to Algolia website and create an App.") }}</p> | ||
</div> | ||
@else | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['products'] }}</h2> | ||
<p class="card-content">{{ __('Records in products') }}</p> | ||
</div> | ||
</div> | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['categories'] }}</h2> | ||
<p class="card-content">{{ __('Records in categories') }}</p> | ||
</div> | ||
</div> | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['brands'] }}</h2> | ||
<p class="card-content">{{ __('Records in brands') }}</p> | ||
</div> | ||
</div> | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['users'] }}</h2> | ||
<p class="card-content">{{ __('Records in users') }}</p> | ||
</div> | ||
</div> | ||
@endif | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['categories'] }}</h2> | ||
<p class="card-content">{{ __('Records in categories') }}</p> | ||
</div> | ||
</div> | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['brands'] }}</h2> | ||
<p class="card-content">{{ __('Records in brands') }}</p> | ||
</div> | ||
</div> | ||
<div class="col-sm-12 col-md-3"> | ||
<div class="card"> | ||
<h2 class="card-title">{{ $algolia['users'] }}</h2> | ||
<p class="card-content">{{ __('Records in users') }}</p> | ||
</div> | ||
</div> | ||
|
||
@endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.