Initial Spark Install
This commit is contained in:
23
spark/install-stubs/resources/assets/js/app.js
vendored
Normal file
23
spark/install-stubs/resources/assets/js/app.js
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel Spark Bootstrap
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| First, we will load all of the "core" dependencies for Spark which are
|
||||
| libraries such as Vue and jQuery. This also loads the Spark helpers
|
||||
| for things such as HTTP calls, forms, and form validation errors.
|
||||
|
|
||||
| Next, we'll create the root Vue application for Spark. This will start
|
||||
| the entire application and attach it to the DOM. Of course, you may
|
||||
| customize this script as you desire and load your own components.
|
||||
|
|
||||
*/
|
||||
|
||||
require('spark-bootstrap');
|
||||
|
||||
require('./components/bootstrap');
|
||||
|
||||
var app = new Vue({
|
||||
mixins: [require('spark')]
|
||||
});
|
14
spark/install-stubs/resources/assets/js/components/bootstrap.js
vendored
Normal file
14
spark/install-stubs/resources/assets/js/components/bootstrap.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Laravel Spark Components
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here we will load the Spark components which makes up the core client
|
||||
| application. This is also a convenient spot for you to load all of
|
||||
| your components that you write while building your applications.
|
||||
*/
|
||||
|
||||
require('./../spark-components/bootstrap');
|
||||
|
||||
require('./home');
|
7
spark/install-stubs/resources/assets/js/components/home.js
vendored
Normal file
7
spark/install-stubs/resources/assets/js/components/home.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Vue.component('home', {
|
||||
props: ['user'],
|
||||
|
||||
mounted() {
|
||||
//
|
||||
}
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-braintree.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-braintree.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('auth/register-braintree');
|
||||
|
||||
Vue.component('spark-register-braintree', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-stripe.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/auth/register-stripe.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('auth/register-stripe');
|
||||
|
||||
Vue.component('spark-register-stripe', {
|
||||
mixins: [base]
|
||||
});
|
92
spark/install-stubs/resources/assets/js/spark-components/bootstrap.js
vendored
Normal file
92
spark/install-stubs/resources/assets/js/spark-components/bootstrap.js
vendored
Normal file
@@ -0,0 +1,92 @@
|
||||
|
||||
/**
|
||||
* Layout Components...
|
||||
*/
|
||||
require('./navbar/navbar');
|
||||
require('./notifications/notifications');
|
||||
|
||||
/**
|
||||
* Authentication Components...
|
||||
*/
|
||||
require('./auth/register-stripe');
|
||||
require('./auth/register-braintree');
|
||||
|
||||
/**
|
||||
* Settings Component...
|
||||
*/
|
||||
require('./settings/settings');
|
||||
|
||||
/**
|
||||
* Profile Settings Components...
|
||||
*/
|
||||
require('./settings/profile');
|
||||
require('./settings/profile/update-profile-photo');
|
||||
require('./settings/profile/update-contact-information');
|
||||
|
||||
/**
|
||||
* Teams Settings Components...
|
||||
*/
|
||||
require('./settings/teams');
|
||||
require('./settings/teams/create-team');
|
||||
require('./settings/teams/pending-invitations');
|
||||
require('./settings/teams/current-teams');
|
||||
require('./settings/teams/team-settings');
|
||||
require('./settings/teams/team-profile');
|
||||
require('./settings/teams/update-team-photo');
|
||||
require('./settings/teams/update-team-name');
|
||||
require('./settings/teams/team-membership');
|
||||
require('./settings/teams/send-invitation');
|
||||
require('./settings/teams/mailed-invitations');
|
||||
require('./settings/teams/team-members');
|
||||
|
||||
/**
|
||||
* Security Settings Components...
|
||||
*/
|
||||
require('./settings/security');
|
||||
require('./settings/security/update-password');
|
||||
require('./settings/security/enable-two-factor-auth');
|
||||
require('./settings/security/disable-two-factor-auth');
|
||||
|
||||
/**
|
||||
* API Settings Components...
|
||||
*/
|
||||
require('./settings/api');
|
||||
require('./settings/api/create-token');
|
||||
require('./settings/api/tokens');
|
||||
|
||||
/**
|
||||
* Subscription Settings Components...
|
||||
*/
|
||||
require('./settings/subscription');
|
||||
require('./settings/subscription/subscribe-stripe');
|
||||
require('./settings/subscription/subscribe-braintree');
|
||||
require('./settings/subscription/update-subscription');
|
||||
require('./settings/subscription/resume-subscription');
|
||||
require('./settings/subscription/cancel-subscription');
|
||||
|
||||
/**
|
||||
* Payment Method Components...
|
||||
*/
|
||||
require('./settings/payment-method-stripe');
|
||||
require('./settings/payment-method-braintree');
|
||||
require('./settings/payment-method/update-vat-id');
|
||||
require('./settings/payment-method/update-payment-method-stripe');
|
||||
require('./settings/payment-method/update-payment-method-braintree');
|
||||
require('./settings/payment-method/redeem-coupon');
|
||||
|
||||
/**
|
||||
* Billing History Components...
|
||||
*/
|
||||
require('./settings/invoices');
|
||||
require('./settings/invoices/update-extra-billing-information');
|
||||
require('./settings/invoices/invoice-list');
|
||||
|
||||
/**
|
||||
* Kiosk Components...
|
||||
*/
|
||||
require('./kiosk/kiosk');
|
||||
require('./kiosk/announcements');
|
||||
require('./kiosk/metrics');
|
||||
require('./kiosk/users');
|
||||
require('./kiosk/profile');
|
||||
require('./kiosk/add-discount');
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/add-discount.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/add-discount.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/add-discount');
|
||||
|
||||
Vue.component('spark-kiosk-add-discount', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/announcements.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/announcements.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/announcements');
|
||||
|
||||
Vue.component('spark-kiosk-announcements', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/kiosk.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/kiosk.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/kiosk');
|
||||
|
||||
Vue.component('spark-kiosk', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/metrics.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/metrics.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/metrics');
|
||||
|
||||
Vue.component('spark-kiosk-metrics', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/profile.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/profile.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/profile');
|
||||
|
||||
Vue.component('spark-kiosk-profile', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/users.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/kiosk/users.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('kiosk/users');
|
||||
|
||||
Vue.component('spark-kiosk-users', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/navbar/navbar.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/navbar/navbar.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('navbar/navbar');
|
||||
|
||||
Vue.component('spark-navbar', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/notifications/notifications.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/notifications/notifications.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('notifications/notifications');
|
||||
|
||||
Vue.component('spark-notifications', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/api.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/api.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/api');
|
||||
|
||||
Vue.component('spark-api', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/create-token.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/create-token.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/api/create-token');
|
||||
|
||||
Vue.component('spark-create-token', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/tokens.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/api/tokens.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/api/tokens');
|
||||
|
||||
Vue.component('spark-tokens', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/invoices');
|
||||
|
||||
Vue.component('spark-invoices', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices/invoice-list.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/invoices/invoice-list.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/invoices/invoice-list');
|
||||
|
||||
Vue.component('spark-invoice-list', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/invoices/update-extra-billing-information');
|
||||
|
||||
Vue.component('spark-update-extra-billing-information', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method-braintree');
|
||||
|
||||
Vue.component('spark-payment-method-braintree', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/payment-method-stripe.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/payment-method-stripe.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method-stripe');
|
||||
|
||||
Vue.component('spark-payment-method-stripe', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/redeem-coupon');
|
||||
|
||||
Vue.component('spark-redeem-coupon', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/update-payment-method-braintree');
|
||||
|
||||
Vue.component('spark-update-payment-method-braintree', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/update-payment-method-stripe');
|
||||
|
||||
Vue.component('spark-update-payment-method-stripe', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/payment-method/update-vat-id');
|
||||
|
||||
Vue.component('spark-update-vat-id', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/profile.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/profile.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/profile');
|
||||
|
||||
Vue.component('spark-profile', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/profile/update-contact-information');
|
||||
|
||||
Vue.component('spark-update-contact-information', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/profile/update-profile-photo');
|
||||
|
||||
Vue.component('spark-update-profile-photo', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/security.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/security.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security');
|
||||
|
||||
Vue.component('spark-security', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security/disable-two-factor-auth');
|
||||
|
||||
Vue.component('spark-disable-two-factor-auth', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security/enable-two-factor-auth');
|
||||
|
||||
Vue.component('spark-enable-two-factor-auth', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/security/update-password');
|
||||
|
||||
Vue.component('spark-update-password', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/settings.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/settings.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/settings');
|
||||
|
||||
Vue.component('spark-settings', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/subscription.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/subscription.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription');
|
||||
|
||||
Vue.component('spark-subscription', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/cancel-subscription');
|
||||
|
||||
Vue.component('spark-cancel-subscription', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/resume-subscription');
|
||||
|
||||
Vue.component('spark-resume-subscription', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/subscribe-braintree');
|
||||
|
||||
Vue.component('spark-subscribe-braintree', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/subscribe-stripe');
|
||||
|
||||
Vue.component('spark-subscribe-stripe', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/subscription/update-subscription');
|
||||
|
||||
Vue.component('spark-update-subscription', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams');
|
||||
|
||||
Vue.component('spark-teams', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/create-team.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/create-team.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/create-team');
|
||||
|
||||
Vue.component('spark-create-team', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/current-teams.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/current-teams.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/current-teams');
|
||||
|
||||
Vue.component('spark-current-teams', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/mailed-invitations');
|
||||
|
||||
Vue.component('spark-mailed-invitations', {
|
||||
mixins: [base]
|
||||
});
|
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/pending-invitations');
|
||||
|
||||
Vue.component('spark-pending-invitations', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/send-invitation.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/send-invitation.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/send-invitation');
|
||||
|
||||
Vue.component('spark-send-invitation', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-members.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-members.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-members');
|
||||
|
||||
Vue.component('spark-team-members', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-membership.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-membership.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-membership');
|
||||
|
||||
Vue.component('spark-team-membership', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-profile.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-profile.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-profile');
|
||||
|
||||
Vue.component('spark-team-profile', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-settings.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/team-settings.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/team-settings');
|
||||
|
||||
Vue.component('spark-team-settings', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-name.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-name.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/update-team-name');
|
||||
|
||||
Vue.component('spark-update-team-name', {
|
||||
mixins: [base]
|
||||
});
|
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-photo.js
vendored
Normal file
5
spark/install-stubs/resources/assets/js/spark-components/settings/teams/update-team-photo.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
var base = require('settings/teams/update-team-photo');
|
||||
|
||||
Vue.component('spark-update-team-photo', {
|
||||
mixins: [base]
|
||||
});
|
4
spark/install-stubs/resources/assets/less/app.less
Normal file
4
spark/install-stubs/resources/assets/less/app.less
Normal file
@@ -0,0 +1,4 @@
|
||||
@import "./../../../node_modules/bootstrap/less/bootstrap";
|
||||
|
||||
// @import "./spark/spark";
|
||||
@import "./../../../vendor/laravel/spark/resources/assets/less/spark";
|
118
spark/install-stubs/resources/lang/en/validation.php
Normal file
118
spark/install-stubs/resources/lang/en/validation.php
Normal file
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'The :attribute must be accepted.',
|
||||
'active_url' => 'The :attribute is not a valid URL.',
|
||||
'after' => 'The :attribute must be a date after :date.',
|
||||
'alpha' => 'The :attribute may only contain letters.',
|
||||
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
|
||||
'alpha_num' => 'The :attribute may only contain letters and numbers.',
|
||||
'array' => 'The :attribute must be an array.',
|
||||
'before' => 'The :attribute must be a date before :date.',
|
||||
'between' => [
|
||||
'numeric' => 'The :attribute must be between :min and :max.',
|
||||
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
||||
'string' => 'The :attribute must be between :min and :max characters.',
|
||||
'array' => 'The :attribute must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'confirmed' => 'The :attribute confirmation does not match.',
|
||||
'country' => 'The :attribute field is not a valid country.',
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
'digits' => 'The :attribute must be :digits digits.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'distinct' => 'The :attribute field has a duplicate value.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'filled' => 'The :attribute field is required.',
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'in_array' => 'The :attribute field does not exist in :other.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'max' => [
|
||||
'numeric' => 'The :attribute may not be greater than :max.',
|
||||
'file' => 'The :attribute may not be greater than :max kilobytes.',
|
||||
'string' => 'The :attribute may not be greater than :max characters.',
|
||||
'array' => 'The :attribute may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The :attribute must be at least :min.',
|
||||
'file' => 'The :attribute must be at least :min kilobytes.',
|
||||
'string' => 'The :attribute must be at least :min characters.',
|
||||
'array' => 'The :attribute must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'numeric' => 'The :attribute must be a number.',
|
||||
'present' => 'The :attribute field must be present.',
|
||||
'regex' => 'The :attribute format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_unless' => 'The :attribute field is required unless :other is in :values.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values is present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
'file' => 'The :attribute must be :size kilobytes.',
|
||||
'string' => 'The :attribute must be :size characters.',
|
||||
'array' => 'The :attribute must contain :size items.',
|
||||
],
|
||||
'state' => 'This state is not valid for the specified country.',
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'url' => 'The :attribute format is invalid.',
|
||||
'vat_id' => 'This VAT identification number is invalid.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Attributes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used to swap attribute place-holders
|
||||
| with something more reader friendly such as E-Mail Address instead
|
||||
| of "email". This simply helps us make messages a little cleaner.
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [
|
||||
'team' => Spark::teamString()
|
||||
],
|
||||
|
||||
];
|
20
spark/install-stubs/resources/views/home.blade.php
Normal file
20
spark/install-stubs/resources/views/home.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
@extends('spark::layouts.app')
|
||||
|
||||
@section('content')
|
||||
<home :user="user" inline-template>
|
||||
<div class="container">
|
||||
<!-- Application Dashboard -->
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Dashboard</div>
|
||||
|
||||
<div class="panel-body">
|
||||
Your application's dashboard.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</home>
|
||||
@endsection
|
94
spark/install-stubs/resources/views/welcome.blade.php
Normal file
94
spark/install-stubs/resources/views/welcome.blade.php
Normal file
@@ -0,0 +1,94 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Meta Information -->
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>@yield('title', config('app.name'))</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600' rel='stylesheet' type='text/css'>
|
||||
|
||||
<style>
|
||||
body, html {
|
||||
background: url('/img/spark-bg.png');
|
||||
background-repeat: repeat;
|
||||
background-size: 300px 200px;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.full-height {
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.flex-column {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flex-fill {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.links {
|
||||
padding: 1em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.links a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.links button {
|
||||
background-color: #3097D1;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
font-family: 'Open Sans';
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
padding: 15px;
|
||||
text-transform: uppercase;
|
||||
width: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="full-height flex-column">
|
||||
<nav class="links">
|
||||
<a href="/login" style="margin-right: 15px;">
|
||||
<button>
|
||||
Login
|
||||
</button>
|
||||
</a>
|
||||
|
||||
<a href="/register">
|
||||
<button>
|
||||
Register
|
||||
</button>
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
<div class="flex-fill flex-center">
|
||||
<h1 class="text-center">
|
||||
<img src="/img/color-logo.png">
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user