2017 © Pedro Peláez
 

library spark-kiosk-notify

Create user notifications from your kiosk

image

vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  • Tuesday, May 2, 2017
  • by vmitchell85
  • Repository
  • 2 Watchers
  • 16 Stars
  • 607 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 8 Versions
  • 4 % Grown

The README.md

Spark Kiosk Notify

Adds a notification panel to your Laravel Spark Kiosk, allowing you to send notifications to users., (*1)

Spark 4.x

Spark 4.0 replaced vue-resource for axios. The 2.1 release has been updated to use axios., (*2)

If you are upgrading to Spark 4.0 you will need to remove the spark-kiosk-notify.js file and republish the resources., (*3)

Please note the path was updated as well., (*4)

Vue 1.x

If you are using Vue 1.x please use the 1.0.5 release. The 2.x release is updated for Vue 2.x, (*5)

Planned / Desired Features

  • View notifications
  • Update notifications
  • Delete notifications
  • Send Notification on User's tab
  • Select Multiple Users
  • Search for users instead of listing? Listing all could be an issue if you have many users.
  • Switch to SparkForm?

Installation process

This package comes with predefined views and routes to use with your existing Spark installation., (*6)

In order to install the Spark Kiosk Notifications Package into your Spark application:, (*7)

1. Add this composer package to your composer.json using the command below, (*8)

composer require vmitchell85/spark-kiosk-notify, (*9)

2. Add the following to providers array in config\app.php, (*10)

vmitchell85\SparkKioskNotify\SparkKioskNotifyServiceProvider::class,, (*11)

3. Publish the Spark resources (views, VueJS components):, (*12)

php artisan vendor:publish --provider="vmitchell85\SparkKioskNotify\SparkKioskNotifyServiceProvider", (*13)

4. Add the javascript components to your bootstrap.js file, (*14)

Add require('./components/SparkKioskNotify/spark-kiosk-notify'); to your resources/assets/js/components/app.js file., (*15)

5. Compile the Javascript components, (*16)

npm run dev, (*17)

6. Add the HTML snippets, (*18)

File: resources/views/vendor/spark/kiosk.blade.php, (*19)

Place a link to the notifications settings tab:, (*20)

<!-- Notifications Link -->
<li role="presentation">
    <a href="#notifications" aria-controls="notifications" role="tab" data-toggle="tab">
        <i class="fa fa-fw fa-btn fa-bell"></i>Notifications
    </a>
</li>

Inside the <!-- Tab Panels --> section, place the code to load the notifications tab:, (*21)

<!-- Notifications -->
<div role="tabpanel" class="tab-pane" id="notifications">
    @include('spark-kiosk-notify::notifications')
</div>

7. Try it out, (*22)

Log into your Spark application and access the new notifications tab located at:, (*23)

http://your-spark.url/spark/kiosk#/notifications, (*24)

The Versions

02/05 2017

dev-master

9999999-dev https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk

02/05 2017

v2.1

2.1.0.0 https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk

16/01 2017

v2.0

2.0.0.0 https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk

12/08 2016

1.0.5

1.0.5.0 https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk

01/08 2016

v1.0.3

1.0.3.0 https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk

01/08 2016

v1.0.2

1.0.2.0 https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk

01/08 2016

v1.0.1

1.0.1.0 https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk

01/08 2016

1.0.0

1.0.0.0 https://github.com/vmitchell85/spark-kiosk-notify

Create user notifications from your kiosk

  Sources   Download

MIT

by Vince Mitchell

laravel spark notifications kiosk