├── public
├── favicon.ico
├── packages
│ └── .gitkeep
├── robots.txt
├── img
│ ├── icons.png
│ ├── user.jpg
│ ├── user2.jpg
│ ├── avatar.png
│ ├── avatar04.png
│ ├── avatar2.png
│ ├── avatar3.png
│ ├── avatar5.png
│ ├── user-bg.png
│ ├── ajax-loader.gif
│ ├── ajax-loader1.gif
│ ├── credit
│ │ ├── cirrus.png
│ │ ├── mestro.png
│ │ ├── paypal.png
│ │ ├── visa.png
│ │ ├── paypal2.png
│ │ ├── mastercard.png
│ │ └── american-express.png
│ ├── blur-background04.jpg
│ ├── blur-background08.jpg
│ ├── blur-background09.jpg
│ ├── sprite-skin-flat.png
│ ├── sprite-skin-nice.png
│ └── bootstrap-colorpicker
│ │ ├── hue.png
│ │ ├── alpha.png
│ │ ├── saturation.png
│ │ ├── alpha-horizontal.png
│ │ └── hue-horizontal.png
├── fonts
│ ├── ionicons.eot
│ ├── ionicons.ttf
│ ├── FontAwesome.otf
│ ├── ionicons.woff
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.ttf
│ └── glyphicons-halflings-regular.woff
├── css
│ ├── iCheck
│ │ ├── flat
│ │ │ ├── red.png
│ │ │ ├── aero.png
│ │ │ ├── blue.png
│ │ │ ├── flat.png
│ │ │ ├── green.png
│ │ │ ├── grey.png
│ │ │ ├── orange.png
│ │ │ ├── pink.png
│ │ │ ├── purple.png
│ │ │ ├── red@2x.png
│ │ │ ├── yellow.png
│ │ │ ├── aero@2x.png
│ │ │ ├── blue@2x.png
│ │ │ ├── flat@2x.png
│ │ │ ├── green@2x.png
│ │ │ ├── grey@2x.png
│ │ │ ├── pink@2x.png
│ │ │ ├── orange@2x.png
│ │ │ ├── purple@2x.png
│ │ │ ├── yellow@2x.png
│ │ │ ├── flat.css
│ │ │ ├── red.css
│ │ │ ├── aero.css
│ │ │ ├── blue.css
│ │ │ ├── grey.css
│ │ │ ├── pink.css
│ │ │ ├── green.css
│ │ │ ├── orange.css
│ │ │ ├── purple.css
│ │ │ └── yellow.css
│ │ ├── line
│ │ │ ├── line.png
│ │ │ └── line@2x.png
│ │ ├── minimal
│ │ │ ├── red.png
│ │ │ ├── aero.png
│ │ │ ├── blue.png
│ │ │ ├── green.png
│ │ │ ├── grey.png
│ │ │ ├── pink.png
│ │ │ ├── aero@2x.png
│ │ │ ├── blue@2x.png
│ │ │ ├── green@2x.png
│ │ │ ├── grey@2x.png
│ │ │ ├── minimal.png
│ │ │ ├── orange.png
│ │ │ ├── pink@2x.png
│ │ │ ├── purple.png
│ │ │ ├── red@2x.png
│ │ │ ├── yellow.png
│ │ │ ├── minimal@2x.png
│ │ │ ├── orange@2x.png
│ │ │ ├── purple@2x.png
│ │ │ ├── yellow@2x.png
│ │ │ ├── minimal.css
│ │ │ └── red.css
│ │ ├── square
│ │ │ ├── aero.png
│ │ │ ├── blue.png
│ │ │ ├── grey.png
│ │ │ ├── pink.png
│ │ │ ├── red.png
│ │ │ ├── green.png
│ │ │ ├── orange.png
│ │ │ ├── purple.png
│ │ │ ├── red@2x.png
│ │ │ ├── square.png
│ │ │ ├── yellow.png
│ │ │ ├── aero@2x.png
│ │ │ ├── blue@2x.png
│ │ │ ├── green@2x.png
│ │ │ ├── grey@2x.png
│ │ │ ├── orange@2x.png
│ │ │ ├── pink@2x.png
│ │ │ ├── purple@2x.png
│ │ │ ├── square@2x.png
│ │ │ ├── yellow@2x.png
│ │ │ ├── square.css
│ │ │ └── red.css
│ │ ├── polaris
│ │ │ ├── polaris.png
│ │ │ ├── polaris@2x.png
│ │ │ └── polaris.css
│ │ ├── futurico
│ │ │ ├── futurico.png
│ │ │ ├── futurico@2x.png
│ │ │ └── futurico.css
│ │ └── all.css
│ ├── images
│ │ ├── animated-overlay.gif
│ │ ├── ui-icons_217bc0_256x240.png
│ │ ├── ui-icons_2e83ff_256x240.png
│ │ ├── ui-icons_469bdd_256x240.png
│ │ ├── ui-icons_6da8d5_256x240.png
│ │ ├── ui-icons_cd0a0a_256x240.png
│ │ ├── ui-icons_d8e7f3_256x240.png
│ │ ├── ui-icons_f9bd01_256x240.png
│ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ ├── ui-bg_flat_55_fbec88_40x100.png
│ │ ├── ui-bg_glass_75_d0e5f5_1x400.png
│ │ ├── ui-bg_glass_85_dfeffc_1x400.png
│ │ ├── ui-bg_glass_95_fef1ec_1x400.png
│ │ ├── ui-bg_inset-hard_100_f5f8f9_1x100.png
│ │ ├── ui-bg_inset-hard_100_fcfdfd_1x100.png
│ │ └── ui-bg_gloss-wave_55_5c9ccc_500x100.png
│ ├── datatables
│ │ └── images
│ │ │ ├── sort_asc.png
│ │ │ ├── sort_both.png
│ │ │ ├── sort_desc.png
│ │ │ ├── sort_asc_disabled.png
│ │ │ └── sort_desc_disabled.png
│ ├── jQueryUI
│ │ └── images
│ │ │ ├── animated-overlay.gif
│ │ │ ├── ui-icons_222222_256x240.png
│ │ │ ├── ui-icons_454545_256x240.png
│ │ │ ├── ui-icons_888888_256x240.png
│ │ │ ├── ui-icons_ffffff_256x240.png
│ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png
│ │ │ ├── ui-bg_flat_55_f39c12_40x100.png
│ │ │ ├── ui-bg_flat_65_ffffff_40x100.png
│ │ │ ├── ui-bg_flat_75_dadada_40x100.png
│ │ │ ├── ui-bg_flat_75_e6e6e6_40x100.png
│ │ │ ├── ui-bg_flat_75_ffffff_40x100.png
│ │ │ ├── ui-bg_flat_100_e6e7e8_40x100.png
│ │ │ └── ui-bg_flat_100_f56954_40x100.png
│ ├── morris
│ │ └── morris.css
│ ├── fullcalendar
│ │ └── fullcalendar.print.css
│ └── jvectormap
│ │ └── jquery-jvectormap-1.2.2.css
├── uploads
│ ├── 1410802754_file.png
│ ├── 1410803067_file.png
│ ├── 1410803135_file.ico
│ └── 1410803157_file.png
├── js
│ └── plugins
│ │ ├── input-mask
│ │ ├── phone-codes
│ │ │ └── readme.txt
│ │ └── jquery.inputmask.phone.extensions.js
│ │ ├── ckeditor
│ │ ├── plugins
│ │ │ ├── icons.png
│ │ │ ├── icons_hidpi.png
│ │ │ ├── link
│ │ │ │ └── images
│ │ │ │ │ ├── anchor.png
│ │ │ │ │ └── hidpi
│ │ │ │ │ └── anchor.png
│ │ │ ├── image
│ │ │ │ └── images
│ │ │ │ │ └── noimage.png
│ │ │ ├── magicline
│ │ │ │ └── images
│ │ │ │ │ ├── icon.png
│ │ │ │ │ └── hidpi
│ │ │ │ │ └── icon.png
│ │ │ ├── fakeobjects
│ │ │ │ └── images
│ │ │ │ │ └── spacer.gif
│ │ │ ├── about
│ │ │ │ └── dialogs
│ │ │ │ │ ├── logo_ckeditor.png
│ │ │ │ │ ├── hidpi
│ │ │ │ │ └── logo_ckeditor.png
│ │ │ │ │ └── about.js
│ │ │ ├── dialog
│ │ │ │ └── dialogDefinition.js
│ │ │ ├── specialchar
│ │ │ │ └── dialogs
│ │ │ │ │ └── lang
│ │ │ │ │ └── _translationstatus.txt
│ │ │ ├── a11yhelp
│ │ │ │ └── dialogs
│ │ │ │ │ └── lang
│ │ │ │ │ ├── _translationstatus.txt
│ │ │ │ │ ├── zh-cn.js
│ │ │ │ │ └── zh.js
│ │ │ ├── scayt
│ │ │ │ ├── README.md
│ │ │ │ ├── LICENSE.md
│ │ │ │ └── dialogs
│ │ │ │ │ └── toolbar.css
│ │ │ └── wsc
│ │ │ │ ├── README.md
│ │ │ │ ├── dialogs
│ │ │ │ └── wsc.css
│ │ │ │ └── LICENSE.md
│ │ ├── skins
│ │ │ └── moono
│ │ │ │ ├── icons.png
│ │ │ │ ├── icons_hidpi.png
│ │ │ │ └── images
│ │ │ │ ├── arrow.png
│ │ │ │ ├── close.png
│ │ │ │ ├── lock.png
│ │ │ │ ├── refresh.png
│ │ │ │ ├── hidpi
│ │ │ │ ├── lock.png
│ │ │ │ ├── close.png
│ │ │ │ ├── refresh.png
│ │ │ │ └── lock-open.png
│ │ │ │ └── lock-open.png
│ │ ├── config.js
│ │ └── README.md
│ │ ├── datepicker
│ │ └── locales
│ │ │ ├── bootstrap-datepicker.kr.js
│ │ │ ├── bootstrap-datepicker.gl.js
│ │ │ ├── bootstrap-datepicker.ja.js
│ │ │ ├── bootstrap-datepicker.hr.js
│ │ │ ├── bootstrap-datepicker.zh-CN.js
│ │ │ ├── bootstrap-datepicker.az.js
│ │ │ ├── bootstrap-datepicker.cy.js
│ │ │ ├── bootstrap-datepicker.he.js
│ │ │ ├── bootstrap-datepicker.ms.js
│ │ │ ├── bootstrap-datepicker.no.js
│ │ │ ├── bootstrap-datepicker.ca.js
│ │ │ ├── bootstrap-datepicker.rs.js
│ │ │ ├── bootstrap-datepicker.th.js
│ │ │ ├── bootstrap-datepicker.bg.js
│ │ │ ├── bootstrap-datepicker.el.js
│ │ │ ├── bootstrap-datepicker.es.js
│ │ │ ├── bootstrap-datepicker.nl.js
│ │ │ ├── bootstrap-datepicker.sl.js
│ │ │ ├── bootstrap-datepicker.rs-latin.js
│ │ │ ├── bootstrap-datepicker.nb.js
│ │ │ ├── bootstrap-datepicker.sq.js
│ │ │ ├── bootstrap-datepicker.ua.js
│ │ │ ├── bootstrap-datepicker.id.js
│ │ │ ├── bootstrap-datepicker.tr.js
│ │ │ ├── bootstrap-datepicker.da.js
│ │ │ ├── bootstrap-datepicker.kk.js
│ │ │ ├── bootstrap-datepicker.pt-BR.js
│ │ │ ├── bootstrap-datepicker.ru.js
│ │ │ ├── bootstrap-datepicker.cs.js
│ │ │ ├── bootstrap-datepicker.is.js
│ │ │ ├── bootstrap-datepicker.sk.js
│ │ │ ├── bootstrap-datepicker.sv.js
│ │ │ ├── bootstrap-datepicker.fa.js
│ │ │ ├── bootstrap-datepicker.hu.js
│ │ │ ├── bootstrap-datepicker.ro.js
│ │ │ ├── bootstrap-datepicker.zh-TW.js
│ │ │ ├── bootstrap-datepicker.de.js
│ │ │ ├── bootstrap-datepicker.fr.js
│ │ │ ├── bootstrap-datepicker.mk.js
│ │ │ ├── bootstrap-datepicker.pt.js
│ │ │ ├── bootstrap-datepicker.vi.js
│ │ │ ├── bootstrap-datepicker.ar.js
│ │ │ ├── bootstrap-datepicker.it.js
│ │ │ ├── bootstrap-datepicker.fi.js
│ │ │ ├── bootstrap-datepicker.lv.js
│ │ │ ├── bootstrap-datepicker.nl-BE.js
│ │ │ ├── bootstrap-datepicker.lt.js
│ │ │ ├── bootstrap-datepicker.pl.js
│ │ │ ├── bootstrap-datepicker.sw.js
│ │ │ ├── bootstrap-datepicker.ka.js
│ │ │ └── bootstrap-datepicker.et.js
│ │ ├── flot
│ │ ├── jquery.flot.symbol.min.js
│ │ └── jquery.flot.threshold.min.js
│ │ ├── slimScroll
│ │ └── slimScroll.jquery.json
│ │ └── misc
│ │ └── jquery.ba-resize.min.js
├── less
│ ├── pace.less
│ ├── alerts.less
│ ├── invoice.less
│ ├── login_and_register.less
│ ├── 404_500_errors.less
│ ├── callout.less
│ ├── AdminLTE.less
│ ├── progress-bars.less
│ ├── vars.less
│ ├── forms.less
│ └── mailbox.less
├── .htaccess
└── LICENSE
├── database
├── seeds
│ ├── .gitkeep
│ └── DatabaseSeeder.php
├── migrations
│ ├── .gitkeep
│ ├── 2014_09_14_144726_create_crud_table_pairs.php
│ ├── 2015_03_09_062125_create_crud_relationships_table.php
│ ├── 2014_09_14_144356_create_crud_table.php
│ └── 2014_09_14_144541_create_crud_table_rows.php
└── .gitignore
├── app
├── Handlers
│ ├── Events
│ │ └── .gitkeep
│ └── Commands
│ │ └── .gitkeep
├── Http
│ ├── routes.php
│ ├── Requests
│ │ └── Request.php
│ ├── FormComponents
│ │ ├── ComponentInterface.php
│ │ ├── Range.php
│ │ ├── Radio.php
│ │ ├── Select.php
│ │ ├── Checkbox.php
│ │ ├── ValidationFailException.php
│ │ ├── HasOne.php
│ │ └── BelongsTo.php
│ ├── Controllers
│ │ └── Controller.php
│ ├── Middleware
│ │ ├── VerifyCsrfToken.php
│ │ ├── CRUDMiddleware.php
│ │ ├── RedirectIfAuthenticated.php
│ │ └── Authenticate.php
│ └── Kernel.php
├── Events
│ └── Event.php
├── Commands
│ └── Command.php
├── Providers
│ ├── ConfigServiceProvider.php
│ ├── BusServiceProvider.php
│ ├── EventServiceProvider.php
│ ├── AppServiceProvider.php
│ ├── AnnotationsServiceProvider.php
│ └── RouteServiceProvider.php
├── Models
│ ├── Relationship.php
│ ├── TablePair.php
│ └── User.php
├── Console
│ ├── Commands
│ │ └── Inspire.php
│ └── Kernel.php
├── Exceptions
│ └── Handler.php
└── Utils.php
├── storage
├── .gitignore
├── app
│ └── .gitignore
├── logs
│ └── .gitignore
└── framework
│ ├── cache
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ ├── sessions
│ └── .gitignore
│ └── .gitignore
├── resources
├── assets
│ └── less
│ │ └── app.less
├── views
│ ├── tables
│ │ └── components
│ │ │ ├── password.blade.php
│ │ │ ├── text.blade.php
│ │ │ ├── number.blade.php
│ │ │ ├── content_editor.blade.php
│ │ │ ├── range.blade.php
│ │ │ ├── has_one.blade.php
│ │ │ ├── belongs_to.blade.php
│ │ │ ├── select.blade.php
│ │ │ ├── radio.blade.php
│ │ │ └── checkbox.blade.php
│ ├── layouts
│ │ ├── notifications.blade.php
│ │ ├── header.blade.php
│ │ └── master.blade.php
│ └── errors
│ │ └── 503.blade.php
└── lang
│ └── en
│ ├── pagination.php
│ └── passwords.php
├── .gitignore
├── .gitattributes
├── phpspec.yml
├── package.json
├── tests
├── ExampleTest.php
└── TestCase.php
├── .env.example
├── gulpfile.js
├── server.php
├── phpunit.xml
├── config
├── services.php
├── view.php
└── compile.php
├── readme.md
├── composer.json
├── bootstrap
├── autoload.php
└── app.php
└── artisan
/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/database/seeds/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Handlers/Events/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/database/migrations/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/packages/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Handlers/Commands/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Http/routes.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 | {!! Form::password($column_name, ['class' => 'form-control', 'placeholder' => "Enter {$column_name}"]) !!}
4 |
--------------------------------------------------------------------------------
/resources/views/tables/components/text.blade.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 | {!! Form::text($column_name, array_get($cols, $column_name),['class' => 'form-control', 'placeholder' => "Enter {$column_name}"]) !!}
4 |
--------------------------------------------------------------------------------
/resources/views/tables/components/number.blade.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 |
4 | {!! Form::number($column_name, array_get($cols, $column_name), ['class' => 'form-control', 'placeholder' => "Enter {$column_name}"]) !!}
5 |
--------------------------------------------------------------------------------
/resources/views/tables/components/content_editor.blade.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 |
5 |
--------------------------------------------------------------------------------
/tests/ExampleTest.php:
--------------------------------------------------------------------------------
1 | call('GET', '/');
13 |
14 | $this->assertEquals(200, $response->getStatusCode());
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/public/less/pace.less:
--------------------------------------------------------------------------------
1 | .pace .pace-progress {
2 | background: #00c0ef;
3 | position: fixed;
4 | z-index: 2000;
5 | top: 0;
6 | left: 0;
7 | height: 2px;
8 |
9 | -webkit-transition: width 1s;
10 | -moz-transition: width 1s;
11 | -o-transition: width 1s;
12 | transition: width 1s;
13 | }
14 |
15 | .pace-inactive {
16 | display: none;
17 | }
--------------------------------------------------------------------------------
/resources/views/layouts/notifications.blade.php:
--------------------------------------------------------------------------------
1 | @if (Session::has('flash_notification.message'))
2 |
3 |
4 |
5 | {!! Session::get('flash_notification.message') !!}
6 |
7 | @endif
--------------------------------------------------------------------------------
/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 |
4 |
5 | {!! '';
6 | $range = $column->pairs()->first();
7 | !!}
8 |
9 | {!! Form::selectRange($column_name, $range->key, $range->value, array_get($cols, $column_name), ['class' => 'form-control']) !!}
10 |
--------------------------------------------------------------------------------
/.env.example:
--------------------------------------------------------------------------------
1 | APP_ENV=local
2 | APP_DEBUG=true
3 | APP_KEY=SomeRandomString
4 |
5 | DB_HOST=localhost
6 | DB_DATABASE=homestead
7 | DB_USERNAME=homestead
8 | DB_PASSWORD=secret
9 |
10 | CACHE_DRIVER=file
11 | SESSION_DRIVER=file
12 | QUEUE_DRIVER=sync
13 |
14 | MAIL_DRIVER=smtp
15 | MAIL_HOST=mailtrap.io
16 | MAIL_PORT=2525
17 | MAIL_USERNAME=null
18 | MAIL_PASSWORD=null
19 |
--------------------------------------------------------------------------------
/database/seeds/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | call('UserTableSeeder');
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 |
2 |
3 | Options -MultiViews
4 |
5 |
6 | RewriteEngine On
7 |
8 | # Redirect Trailing Slashes...
9 | RewriteRule ^(.*)/$ /$1 [L,R=301]
10 |
11 | # Handle Front Controller...
12 | RewriteCond %{REQUEST_FILENAME} !-d
13 | RewriteCond %{REQUEST_FILENAME} !-f
14 | RewriteRule ^ index.php [L]
15 |
16 |
--------------------------------------------------------------------------------
/resources/views/tables/components/has_one.blade.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/views/tables/components/belongs_to.blade.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/resources/views/tables/components/select.blade.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 |
4 |
5 | {!! '';
6 | $names = $column->pairs()->lists('key');
7 | $values = $column->pairs()->lists('value');
8 | !!}
9 |
10 | {!! Form::select($column_name, array_combine($values, $names), array_get($cols, $column_name), ['class' => 'form-control']) !!}
11 |
--------------------------------------------------------------------------------
/tests/TestCase.php:
--------------------------------------------------------------------------------
1 | make('Illuminate\Contracts\Console\Kernel')->bootstrap();
15 |
16 | return $app;
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/public/css/morris/morris.css:
--------------------------------------------------------------------------------
1 | .morris-hover{position:absolute;z-index:1090;}.morris-hover.morris-default-style{border-radius:10px;padding:6px;color:#f9f9f9;background:rgba(0, 0, 0, 0.8);border:solid 2px rgba(0, 0, 0, 0.9);font-weight: 600;font-size:14px;text-align:center;}.morris-hover.morris-default-style .morris-hover-row-label{font-weight:bold;margin:0.25em 0;}
2 | .morris-hover.morris-default-style .morris-hover-point{white-space:nowrap;margin:0.1em 0;}
3 |
--------------------------------------------------------------------------------
/app/Http/FormComponents/Range.php:
--------------------------------------------------------------------------------
1 | $range['from'],
12 | 'value' => $range['to'],
13 | ]);
14 | $row->pairs()->save($pair);
15 | }
16 | }
--------------------------------------------------------------------------------
/resources/views/tables/components/radio.blade.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 |
4 | @foreach($column->pairs as $radio)
5 | @if(array_get($cols, $column_name) == $radio->value)
6 | {!! $radio->key !!}: {!! Form::radio($column_name, $radio->value, true) !!}
7 | @else
8 | {!! $radio->key !!}: {!! Form::radio($column_name, $radio->value, false) !!}
9 | @endif
10 |
11 | @endforeach
12 |
--------------------------------------------------------------------------------
/app/Http/Middleware/VerifyCsrfToken.php:
--------------------------------------------------------------------------------
1 |
2 | {!! Form::label($column_name, $column_name) !!}
3 |
4 | @foreach($column->pairs as $radio)
5 | @if(array_get($cols, $column_name) == $radio->value)
6 | {!! $radio->key !!}: {!! Form::checkbox($column_name, $radio->value, true) !!}
7 | @else
8 | {!! $radio->key !!}: {!! Form::checkbox($column_name, $radio->value, false) !!}
9 | @endif
10 |
11 | @endforeach
12 |
--------------------------------------------------------------------------------
/gulpfile.js:
--------------------------------------------------------------------------------
1 | var elixir = require('laravel-elixir');
2 |
3 | /*
4 | |--------------------------------------------------------------------------
5 | | Elixir Asset Management
6 | |--------------------------------------------------------------------------
7 | |
8 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks
9 | | for your Laravel application. By default, we are compiling the Less
10 | | file for our application, as well as publishing vendor resources.
11 | |
12 | */
13 |
14 | elixir(function(mix) {
15 | mix.less('app.less');
16 | });
17 |
--------------------------------------------------------------------------------
/resources/lang/en/pagination.php:
--------------------------------------------------------------------------------
1 | '« Previous',
17 | 'next' => 'Next »',
18 |
19 | ];
20 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.kr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Korean translation for bootstrap-datepicker
3 | * Gu Youn
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['kr'] = {
7 | days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"],
8 | daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"],
9 | daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"],
10 | months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
11 | monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]
12 | };
13 | }(jQuery));
14 |
--------------------------------------------------------------------------------
/app/Providers/ConfigServiceProvider.php:
--------------------------------------------------------------------------------
1 | .fa, > .glyphicon {
13 | position: absolute;
14 | left: -15px;
15 | top: -15px;
16 | width: 35px;
17 | height: 35px;
18 | .border-radius(50%);
19 | line-height: 35px;
20 | text-align: center;
21 | background: inherit;
22 | border: inherit;
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.gl.js:
--------------------------------------------------------------------------------
1 | ;(function($){
2 | $.fn.datepicker.dates['gl'] = {
3 | days: ["Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado", "Domingo"],
4 | daysShort: ["Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb", "Dom"],
5 | daysMin: ["Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa", "Do"],
6 | months: ["Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"],
7 | monthsShort: ["Xan", "Feb", "Mar", "Abr", "Mai", "Xun", "Xul", "Ago", "Sep", "Out", "Nov", "Dec"],
8 | today: "Hoxe",
9 | clear: "Limpar"
10 | };
11 | }(jQuery));
12 |
--------------------------------------------------------------------------------
/server.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 |
9 | $uri = urldecode(
10 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
11 | );
12 |
13 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the
14 | // built-in PHP web server. This provides a convenient way to test a Laravel
15 | // application without having installed a "real" web server software here.
16 | if ($uri !== '/' and file_exists(__DIR__.'/public'.$uri))
17 | {
18 | return false;
19 | }
20 |
21 | require_once __DIR__.'/public/index.php';
22 |
--------------------------------------------------------------------------------
/app/Http/FormComponents/Radio.php:
--------------------------------------------------------------------------------
1 | $value){
14 | $pair = new TablePair([
15 | 'key' => $pairs['names'][$key],
16 | 'value' => $pairs['values'] [$key],
17 | ]);
18 | $row->pairs()->save($pair);
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ja.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Japanese translation for bootstrap-datepicker
3 | * Norio Suzuki
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ja'] = {
7 | days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"],
8 | daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"],
9 | daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"],
10 | months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
11 | monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
12 | today: "今日",
13 | format: "yyyy/mm/dd"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/app/Http/FormComponents/Select.php:
--------------------------------------------------------------------------------
1 | $value){
14 | $pair = new TablePair([
15 | 'key' => $pairs['names'][$key],
16 | 'value' => $pairs['values'] [$key],
17 | ]);
18 | $row->pairs()->save($pair);
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/app/Http/FormComponents/Checkbox.php:
--------------------------------------------------------------------------------
1 | $value){
14 | $pair = new TablePair([
15 | 'key' => $pairs['names'][$key],
16 | 'value' => $pairs['values'] [$key],
17 | ]);
18 | $row->pairs()->save($pair);
19 | }
20 | }
21 |
22 | }
--------------------------------------------------------------------------------
/app/Models/Relationship.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Models\TableRow', 'row_id');
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/Console/Commands/Inspire.php:
--------------------------------------------------------------------------------
1 | comment(PHP_EOL.Inspiring::quote().PHP_EOL);
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.hr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Croatian localisation
3 | */
4 | ;(function($){
5 | $.fn.datepicker.dates['hr'] = {
6 | days: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota", "Nedjelja"],
7 | daysShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub", "Ned"],
8 | daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"],
9 | months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"],
10 | monthsShort: ["Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro"],
11 | today: "Danas"
12 | };
13 | }(jQuery));
14 |
--------------------------------------------------------------------------------
/app/Http/Middleware/CRUDMiddleware.php:
--------------------------------------------------------------------------------
1 | merge([
17 | 'creatable' => $request->has('creatable'),
18 | 'editable' => $request->has('editable'),
19 | 'listable' => $request->has('listable'),
20 | 'slug' => str_slug($request->get('table_name')),
21 | ]);
22 | return $next($request);
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Simplified Chinese translation for bootstrap-datepicker
3 | * Yuan Cheung
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['zh-CN'] = {
7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
12 | today: "今日",
13 | format: "yyyy年mm月dd日",
14 | weekStart: 1
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/app/Console/Kernel.php:
--------------------------------------------------------------------------------
1 | command('inspire')
26 | ->hourly();
27 | }
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.az.js:
--------------------------------------------------------------------------------
1 | // Azerbaijani
2 | ;(function($){
3 | $.fn.datepicker.dates['az'] = {
4 | days: ["Bazar", "Bazar ertəsi", "Çərşənbə axşamı", "Çərşənbə", "Cümə axşamı", "Cümə", "Şənbə", "Bazar"],
5 | daysShort: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş.", "B."],
6 | daysMin: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş.", "B."],
7 | months: ["Yanvar", "Fevral", "Mart", "Aprel", "May", "İyun", "İyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr"],
8 | monthsShort: ["Yan", "Fev", "Mar", "Apr", "May", "İyun", "İyul", "Avq", "Sen", "Okt", "Noy", "Dek"],
9 | today: "Bu gün",
10 | weekStart: 1
11 | };
12 | }(jQuery));
13 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.cy.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Welsh translation for bootstrap-datepicker
3 | * S. Morris
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['cy'] = {
7 | days: ["Sul", "Llun", "Mawrth", "Mercher", "Iau", "Gwener", "Sadwrn", "Sul"],
8 | daysShort: ["Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad", "Sul"],
9 | daysMin: ["Su", "Ll", "Ma", "Me", "Ia", "Gwe", "Sa", "Su"],
10 | months: ["Ionawr", "Chewfror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorfennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr"],
11 | monthsShort: ["Ion", "Chw", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tach", "Rha"],
12 | today: "Heddiw"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.he.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Hebrew translation for bootstrap-datepicker
3 | * Sagie Maoz
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['he'] = {
7 | days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"],
8 | daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
9 | daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"],
10 | months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"],
11 | monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"],
12 | today: "היום",
13 | rtl: true
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ms.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Malay translation for bootstrap-datepicker
3 | * Ateman Faiz
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ms'] = {
7 | days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"],
8 | daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"],
9 | daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"],
10 | months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"],
12 | today: "Hari Ini"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.no.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Norwegian translation for bootstrap-datepicker
3 | **/
4 | ;(function($){
5 | $.fn.datepicker.dates['no'] = {
6 | days: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
7 | daysShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
8 | daysMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
9 | months: ['Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'],
10 | monthsShort: ['Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'],
11 | today: 'I dag',
12 | clear: 'Nullstill',
13 | weekStart: 1,
14 | format: 'dd.mm.yyyy'
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ca.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Catalan translation for bootstrap-datepicker
3 | * J. Garcia
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ca'] = {
7 | days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"],
8 | daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"],
9 | daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"],
10 | months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"],
11 | monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"],
12 | today: "Avui"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.rs.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Serbian cyrillic translation for bootstrap-datepicker
3 | * Bojan Milosavlević
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['rs'] = {
7 | days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"],
8 | daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"],
9 | daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"],
10 | months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"],
11 | monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"],
12 | today: "Данас"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.th.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Thai translation for bootstrap-datepicker
3 | * Suchau Jiraprapot
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['th'] = {
7 | days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"],
8 | daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
9 | daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"],
10 | months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"],
11 | monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
12 | today: "วันนี้"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/resources/views/layouts/header.blade.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.bg.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Bulgarian translation for bootstrap-datepicker
3 | * Apostol Apostolov
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['bg'] = {
7 | days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"],
8 | daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"],
9 | daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"],
10 | months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"],
11 | monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"],
12 | today: "днес"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.el.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Greek translation for bootstrap-datepicker
3 | */
4 | ;(function($){
5 | $.fn.datepicker.dates['el'] = {
6 | days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"],
7 | daysShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"],
8 | daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα", "Κυ"],
9 | months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"],
10 | monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μάι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"],
11 | today: "Σήμερα"
12 | };
13 | }(jQuery));
14 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.es.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Spanish translation for bootstrap-datepicker
3 | * Bruno Bonamin
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['es'] = {
7 | days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
8 | daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"],
9 | daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"],
10 | months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
11 | monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
12 | today: "Hoy"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.nl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Dutch translation for bootstrap-datepicker
3 | * Reinier Goltstein
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['nl'] = {
7 | days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
8 | daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
9 | daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
10 | months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Vandaag"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.sl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Slovene translation for bootstrap-datepicker
3 | * Gregor Rudolf
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['sl'] = {
7 | days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
8 | daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
9 | daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
10 | months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Danes"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.rs-latin.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Serbian latin translation for bootstrap-datepicker
3 | * Bojan Milosavlević
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['rs-latin'] = {
7 | days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
8 | daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
9 | daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
10 | months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Danas"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.nb.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Norwegian (bokmål) translation for bootstrap-datepicker
3 | * Fredrik Sundmyhr
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['nb'] = {
7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
10 | months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
12 | today: "I Dag"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.sq.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Albanian translation for bootstrap-datepicker
3 | * Tomor Pupovci
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['sq'] = {
7 | days: ["E Diel", "E Hënë", "E martē", "E mërkurë", "E Enjte", "E Premte", "E Shtunë", "E Diel"],
8 | daysShort: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Shtu", "Die"],
9 | daysMin: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sht", "Di"],
10 | months: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"],
11 | monthsShort: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Korr", "Gu", "Sht", "Tet", "Nën", "Dhjet"],
12 | today: "Sot"
13 | };
14 | }(jQuery));
15 |
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ua.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Ukrainian translation for bootstrap-datepicker
3 | * Igor Polynets
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ua'] = {
7 | days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятница", "Субота", "Неділя"],
8 | daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"],
9 | daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"],
10 | months: ["Cічень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"],
11 | monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
12 | today: "Сьогодні",
13 | weekStart: 1
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.id.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Bahasa translation for bootstrap-datepicker
3 | * Azwar Akbar
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['id'] = {
7 | days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"],
8 | daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"],
9 | daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"],
10 | months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"],
12 | today: "Hari Ini",
13 | clear: "Kosongkan"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/less/invoice.less:
--------------------------------------------------------------------------------
1 | /*
2 | Page: Invoice
3 | */
4 |
5 | .invoice {
6 | position: relative;
7 | width: 90%;
8 | margin: 10px auto;
9 | background: #fff;
10 | border: 1px solid #f4f4f4;
11 | }
12 |
13 | .invoice-title {
14 | margin-top: 0;
15 | }
16 |
17 | /* Enhancement for printing */
18 | @media print {
19 | .invoice {
20 | width: 100%;
21 | border: 0;
22 | margin: 0;
23 | padding: 0;
24 | }
25 | .invoice-col {
26 | float: left;
27 | width: 33.3333333%;
28 | }
29 |
30 | .table-responsive {
31 | overflow: auto;
32 | > .table tr th,
33 | > .table tr td {
34 | white-space: normal!important;
35 | }
36 | }
37 |
38 | }
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.tr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Turkish translation for bootstrap-datepicker
3 | * Serkan Algur
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['tr'] = {
7 | days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"],
8 | daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"],
9 | daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"],
10 | months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
11 | monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
12 | today: "Bugün",
13 | format: "dd.mm.yyyy"
14 | };
15 | }(jQuery));
16 |
17 |
--------------------------------------------------------------------------------
/app/Providers/BusServiceProvider.php:
--------------------------------------------------------------------------------
1 | mapUsing(function($command)
17 | {
18 | return Dispatcher::simpleMapping(
19 | $command, 'App\Commands', 'App\Handlers\Commands'
20 | );
21 | });
22 | }
23 |
24 | /**
25 | * Register any application services.
26 | *
27 | * @return void
28 | */
29 | public function register()
30 | {
31 | //
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.da.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Danish translation for bootstrap-datepicker
3 | * Christian Pedersen
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['da'] = {
7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
10 | months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12 | today: "I Dag",
13 | clear: "Nulstil"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.kk.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Kazakh translation for bootstrap-datepicker
3 | * Yerzhan Tolekov
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['kk'] = {
7 | days: ["Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі", "Жексенбі"],
8 | daysShort: ["Жек", "Дүй", "Сей", "Сәр", "Бей", "Жұм", "Сен", "Жек"],
9 | daysMin: ["Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн", "Жк"],
10 | months: ["Қаңтар", "Ақпан", "Наурыз", "Сәуір", "Мамыр", "Маусым", "Шілде", "Тамыз", "Қыркүйек", "Қазан", "Қараша", "Желтоқсан"],
11 | monthsShort: ["Қаң", "Ақп", "Нау", "Сәу", "Мамыр", "Мау", "Шлд", "Тмз", "Қыр", "Қзн", "Қар", "Жел"],
12 | today: "Бүгін",
13 | weekStart: 1
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.pt-BR.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Brazilian translation for bootstrap-datepicker
3 | * Cauan Cabral
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['pt-BR'] = {
7 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
8 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
9 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
10 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
11 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
12 | today: "Hoje",
13 | clear: "Limpar"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/app/Http/FormComponents/ValidationFailException.php:
--------------------------------------------------------------------------------
1 | validator = $v;
21 | }
22 |
23 | /**
24 | * Get The Failed Validator
25 | *
26 | * @author Xuan
27 | * @return Validator
28 | */
29 | public function getValidator(){
30 | return $this->validator;
31 | }
32 | }
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ru.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Russian translation for bootstrap-datepicker
3 | * Victor Taranenko
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ru'] = {
7 | days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"],
8 | daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"],
9 | daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
10 | months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
11 | monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"],
12 | today: "Сегодня",
13 | weekStart: 1
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.cs.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Czech translation for bootstrap-datepicker
3 | * Matěj Koubík
4 | * Fixes by Michal Remiš
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['cs'] = {
8 | days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"],
9 | daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"],
10 | daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"],
11 | months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"],
12 | monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"],
13 | today: "Dnes"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.is.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Icelandic translation for bootstrap-datepicker
3 | * Hinrik Örn Sigurðsson
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['is'] = {
7 | days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"],
8 | daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"],
9 | daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"],
10 | months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"],
12 | today: "Í Dag"
13 | };
14 | }(jQuery));
15 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.sk.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Slovak translation for bootstrap-datepicker
3 | * Marek Lichtner
4 | * Fixes by Michal Remiš
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates["sk"] = {
8 | days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"],
9 | daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"],
10 | daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"],
11 | months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"],
12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
13 | today: "Dnes"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/app/Models/TablePair.php:
--------------------------------------------------------------------------------
1 |
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['sv'] = {
7 | days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
8 | daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
9 | daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
10 | months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Idag",
13 | format: "yyyy-mm-dd",
14 | weekStart: 1
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/app/Providers/EventServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
15 | 'EventListener',
16 | ],
17 | ];
18 |
19 | /**
20 | * Register any other events for your application.
21 | *
22 | * @param \Illuminate\Contracts\Events\Dispatcher $events
23 | * @return void
24 | */
25 | public function boot(DispatcherContract $events)
26 | {
27 | parent::boot($events);
28 |
29 | //
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.fa.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Persian translation for bootstrap-datepicker
3 | * Mostafa Rokooie
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['fa'] = {
7 | days: ["یکشنبه", "دوشنبه", "سهشنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه", "یکشنبه"],
8 | daysShort: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه", "یک"],
9 | daysMin: ["ی", "د", "س", "چ", "پ", "ج", "ش", "ی"],
10 | months: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"],
11 | monthsShort: ["ژان", "فور", "مار", "آور", "مه", "ژون", "ژوی", "اوت", "سپت", "اکت", "نوا", "دسا"],
12 | today: "امروز",
13 | clear: "پاک کن",
14 | weekStart: 1,
15 | format: "yyyy/mm/dd"
16 | };
17 | }(jQuery));
18 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.hu.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Hungarian translation for bootstrap-datepicker
3 | * Sotus László
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['hu'] = {
7 | days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"],
8 | daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"],
9 | daysMin: ["Va", "Hé", "Ke", "Sz", "Cs", "Pé", "Sz", "Va"],
10 | months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"],
12 | today: "Ma",
13 | weekStart: 1,
14 | format: "yyyy.mm.dd"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ro.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Romanian translation for bootstrap-datepicker
3 | * Cristian Vasile
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ro'] = {
7 | days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"],
8 | daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"],
9 | daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"],
10 | months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"],
11 | monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"],
12 | today: "Astăzi",
13 | clear: "Șterge",
14 | weekStart: 1
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.zh-TW.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Traditional Chinese translation for bootstrap-datepicker
3 | * Rung-Sheng Jang
4 | * FrankWu Fix more appropriate use of Traditional Chinese habit
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['zh-TW'] = {
8 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
9 | daysShort: ["週日", "週一", "週二", "週三", "週四", "週五", "週六", "週日"],
10 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
11 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
12 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
13 | today: "今天",
14 | format: "yyyy年mm月dd日",
15 | weekStart: 1
16 | };
17 | }(jQuery));
18 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.de.js:
--------------------------------------------------------------------------------
1 | /**
2 | * German translation for bootstrap-datepicker
3 | * Sam Zurcher
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['de'] = {
7 | days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"],
8 | daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"],
9 | daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"],
10 | months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
11 | monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
12 | today: "Heute",
13 | clear: "Löschen",
14 | weekStart: 1,
15 | format: "dd.mm.yyyy"
16 | };
17 | }(jQuery));
18 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.fr.js:
--------------------------------------------------------------------------------
1 | /**
2 | * French translation for bootstrap-datepicker
3 | * Nico Mollet
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['fr'] = {
7 | days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
8 | daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
9 | daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"],
10 | months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
11 | monthsShort: ["Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc"],
12 | today: "Aujourd'hui",
13 | clear: "Effacer",
14 | weekStart: 1,
15 | format: "dd/mm/yyyy"
16 | };
17 | }(jQuery));
18 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.mk.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Macedonian translation for bootstrap-datepicker
3 | * Marko Aleksic
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['mk'] = {
7 | days: ["Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота", "Недела"],
8 | daysShort: ["Нед", "Пон", "Вто", "Сре", "Чет", "Пет", "Саб", "Нед"],
9 | daysMin: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са", "Не"],
10 | months: ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"],
11 | monthsShort: ["Јан", "Фев", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Ное", "Дек"],
12 | today: "Денес",
13 | format: "dd.mm.yyyy"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.pt.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Portuguese translation for bootstrap-datepicker
3 | * Original code: Cauan Cabral
4 | * Tiago Melo
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['pt'] = {
8 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
9 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
10 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
11 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
12 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
13 | today: "Hoje",
14 | clear: "Limpar"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.vi.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Vietnamese translation for bootstrap-datepicker
3 | * An Vo
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['vi'] = {
7 | days: ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy", "Chủ nhật"],
8 | daysShort: ["CN", "Thứ 2", "Thứ 3", "Thứ 4", "Thứ 5", "Thứ 6", "Thứ 7", "CN"],
9 | daysMin: ["CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN"],
10 | months: ["Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12"],
11 | monthsShort: ["Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12"],
12 | today: "Hôm nay",
13 | clear: "Xóa",
14 | format: "dd/mm/yyyy"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/database/migrations/2014_09_14_144726_create_crud_table_pairs.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->integer('row_id');
18 | $table->string('key');
19 | $table->string('value');
20 | $table->timestamps();
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::dropIfExists("crud_table_pairs");
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ar.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Arabic translation for bootstrap-datepicker
3 | * Mohammed Alshehri
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ar'] = {
7 | days: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت", "الأحد"],
8 | daysShort: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت", "أحد"],
9 | daysMin: ["ح", "ن", "ث", "ع", "خ", "ج", "س", "ح"],
10 | months: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
11 | monthsShort: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"],
12 | today: "هذا اليوم",
13 | rtl: true
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.it.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Italian translation for bootstrap-datepicker
3 | * Enrico Rubboli
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['it'] = {
7 | days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"],
8 | daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"],
9 | daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"],
10 | months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
11 | monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"],
12 | today: "Oggi",
13 | clear: "Cancella",
14 | weekStart: 1,
15 | format: "dd/mm/yyyy"
16 | };
17 | }(jQuery));
18 |
--------------------------------------------------------------------------------
/app/Providers/AppServiceProvider.php:
--------------------------------------------------------------------------------
1 | app->bind(
29 | 'Illuminate\Contracts\Auth\Registrar',
30 | 'App\Services\Registrar'
31 | );
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.fi.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Finnish translation for bootstrap-datepicker
3 | * Jaakko Salonen
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['fi'] = {
7 | days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"],
8 | daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"],
9 | daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"],
10 | months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"],
11 | monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"],
12 | today: "tänään",
13 | weekStart: 1,
14 | format: "d.m.yyyy"
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.lv.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Latvian translation for bootstrap-datepicker
3 | * Artis Avotins
4 | */
5 |
6 | ;(function($){
7 | $.fn.datepicker.dates['lv'] = {
8 | days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"],
9 | daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"],
10 | daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se", "Sv"],
11 | months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"],
12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec"],
13 | today: "Šodien",
14 | weekStart: 1
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
2 | For licensing, see LICENSE.md or http://ckeditor.com/license
3 |
4 | cs.js Found: 118 Missing: 0
5 | cy.js Found: 118 Missing: 0
6 | de.js Found: 118 Missing: 0
7 | el.js Found: 16 Missing: 102
8 | eo.js Found: 118 Missing: 0
9 | et.js Found: 31 Missing: 87
10 | fa.js Found: 24 Missing: 94
11 | fi.js Found: 23 Missing: 95
12 | fr.js Found: 118 Missing: 0
13 | hr.js Found: 23 Missing: 95
14 | it.js Found: 118 Missing: 0
15 | nb.js Found: 118 Missing: 0
16 | nl.js Found: 118 Missing: 0
17 | no.js Found: 118 Missing: 0
18 | tr.js Found: 118 Missing: 0
19 | ug.js Found: 39 Missing: 79
20 | zh-cn.js Found: 118 Missing: 0
21 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.nl-BE.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Belgium-Dutch translation for bootstrap-datepicker
3 | * Julien Poulin
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['nl-BE'] = {
7 | days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"],
8 | daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
9 | daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"],
10 | months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
11 | monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12 | today: "Vandaag",
13 | clear: "Leegmaken",
14 | weekStart: 1,
15 | format: "dd/mm/yyyy"
16 | };
17 | }(jQuery));
18 |
--------------------------------------------------------------------------------
/resources/lang/en/passwords.php:
--------------------------------------------------------------------------------
1 | "Passwords must be at least six characters and match the confirmation.",
17 | "user" => "We can't find a user with that e-mail address.",
18 | "token" => "This password reset token is invalid.",
19 | "sent" => "We have e-mailed your password reset link!",
20 | "reset" => "Your password has been reset!",
21 |
22 | ];
23 |
--------------------------------------------------------------------------------
/public/css/fullcalendar/fullcalendar.print.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * FullCalendar v1.6.4 Print Stylesheet
3 | * Docs & License: http://arshaw.com/fullcalendar/
4 | * (c) 2013 Adam Shaw
5 | */
6 |
7 | /*
8 | * Include this stylesheet on your page to get a more printer-friendly calendar.
9 | * When including this stylesheet, use the media='print' attribute of the tag.
10 | * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
11 | */
12 |
13 |
14 | /* Events
15 | -----------------------------------------------------*/
16 | .fc-event {
17 | background: #fff !important;
18 | color: #000 !important;
19 | }
20 |
21 | /* for vertical events */
22 |
23 | .fc-event-bg {
24 | display: none !important;
25 | }
26 |
27 | .fc-event .ui-resizable-handle {
28 | display: none !important;
29 | }
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.lt.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Lithuanian translation for bootstrap-datepicker
3 | * Šarūnas Gliebus
4 | */
5 |
6 | ;(function($){
7 | $.fn.datepicker.dates['lt'] = {
8 | days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"],
9 | daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"],
10 | daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"],
11 | months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"],
12 | monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"],
13 | today: "Šiandien",
14 | weekStart: 1
15 | };
16 | }(jQuery));
17 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.pl.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Polish translation for bootstrap-datepicker
3 | * Robert
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['pl'] = {
7 | days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"],
8 | daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"],
9 | daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"],
10 | months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"],
11 | monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"],
12 | today: "Dzisiaj",
13 | weekStart: 1
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 | ./tests/
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.sw.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Swahili translation for bootstrap-datepicker
3 | * Edwin Mugendi
4 | * Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['sw'] = {
8 | days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"],
9 | daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"],
10 | daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"],
11 | months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"],
12 | monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"],
13 | today: "Leo"
14 | };
15 | }(jQuery));
16 |
--------------------------------------------------------------------------------
/public/css/jvectormap/jquery-jvectormap-1.2.2.css:
--------------------------------------------------------------------------------
1 | .jvectormap-label {
2 | position: absolute;
3 | display: none;
4 | border: solid 1px #CDCDCD;
5 | -webkit-border-radius: 3px;
6 | -moz-border-radius: 3px;
7 | border-radius: 3px;
8 | background: #292929;
9 | color: white;
10 | font-size: 10px!important;
11 | padding: 3px;
12 | z-index: 9999;
13 | }
14 |
15 | .jvectormap-zoomin, .jvectormap-zoomout {
16 | position: absolute;
17 | left: 10px;
18 | -webkit-border-radius: 3px;
19 | -moz-border-radius: 3px;
20 | border-radius: 3px;
21 | background: #292929;
22 | padding: 5px;
23 | color: white;
24 | cursor: pointer;
25 | line-height: 10px;
26 | text-align: center;
27 | font-weight: bold;
28 | }
29 |
30 | .jvectormap-zoomin {
31 | top: 10px;
32 | }
33 |
34 | .jvectormap-zoomout {
35 | top: 35px;
36 | }
--------------------------------------------------------------------------------
/app/Http/FormComponents/HasOne.php:
--------------------------------------------------------------------------------
1 | 'required',
11 | 'foreign_key' => 'required',
12 | 'show_column' => 'required',
13 | ];
14 |
15 | public function create(TableRow $row, Array $input)
16 | {
17 | $v = Validator::make($input, $this->rule);
18 | if($v->fails()){
19 | $exception = new ValidationFailException('Valid failed.');
20 | $exception->setValidator($v);
21 | throw $exception;
22 | }
23 | $input['local_key'] = $row->column_name;
24 |
25 | $row->relationship()->save(new Relationship($input));
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/resources/views/errors/503.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
33 |
34 |
35 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/Http/FormComponents/BelongsTo.php:
--------------------------------------------------------------------------------
1 | 'required',
11 | 'foreign_key' => 'required',
12 | 'show_column' => 'required',
13 | ];
14 |
15 | public function create(TableRow $row, Array $input)
16 | {
17 | $v = Validator::make($input, $this->rule);
18 | if($v->fails()){
19 | $exception = new ValidationFailException('Valid failed.');
20 | $exception->setValidator($v);
21 | throw $exception;
22 | }
23 | $input['local_key'] = $row->column_name;
24 |
25 | $row->relationship()->save(new Relationship($input));
26 | }
27 |
28 | }
--------------------------------------------------------------------------------
/config/services.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => '',
19 | 'secret' => '',
20 | ],
21 |
22 | 'mandrill' => [
23 | 'secret' => '',
24 | ],
25 |
26 | 'ses' => [
27 | 'key' => '',
28 | 'secret' => '',
29 | 'region' => 'us-east-1',
30 | ],
31 |
32 | 'stripe' => [
33 | 'model' => 'User',
34 | 'secret' => '',
35 | ],
36 |
37 | ];
38 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.ka.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Georgian translation for bootstrap-datepicker
3 | * Levan Melikishvili
4 | */
5 | ;(function($){
6 | $.fn.datepicker.dates['ka'] = {
7 | days: ["კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი", "კვირა"],
8 | daysShort: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ", "კვი"],
9 | daysMin: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა", "კვ"],
10 | months: ["იანვარი", "თებერვალი", "მარტი", "აპრილი", "მაისი", "ივნისი", "ივლისი", "აგვისტო", "სექტემბერი", "ოქტომები", "ნოემბერი", "დეკემბერი"],
11 | monthsShort: ["იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ"],
12 | today: "დღეს",
13 | clear: "გასუფთავება",
14 | weekStart: 1,
15 | format: "dd.mm.yyyy"
16 | };
17 | }(jQuery));
18 |
--------------------------------------------------------------------------------
/database/migrations/2015_03_09_062125_create_crud_relationships_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('table');
18 | $table->string('local_key');
19 | $table->string('foreign_key');
20 | $table->string('show_column');
21 | $table->unsignedInteger('row_id');
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::drop('crud_relationships');
33 | }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/public/js/plugins/datepicker/locales/bootstrap-datepicker.et.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Estonian translation for bootstrap-datepicker
3 | * Ando Roots
4 | * Fixes by Illimar Tambek <
5 | */
6 | ;(function($){
7 | $.fn.datepicker.dates['et'] = {
8 | days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev", "Pühapäev"],
9 | daysShort: ["Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup", "Pühap"],
10 | daysMin: ["P", "E", "T", "K", "N", "R", "L", "P"],
11 | months: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"],
12 | monthsShort: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"],
13 | today: "Täna",
14 | clear: "Tühjenda",
15 | weekStart: 1,
16 | format: "dd.mm.yyyy"
17 | };
18 | }(jQuery));
19 |
--------------------------------------------------------------------------------
/app/Http/Middleware/RedirectIfAuthenticated.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
25 | }
26 |
27 | /**
28 | * Handle an incoming request.
29 | *
30 | * @param \Illuminate\Http\Request $request
31 | * @param \Closure $next
32 | * @return mixed
33 | */
34 | public function handle($request, Closure $next)
35 | {
36 | if ($this->auth->check())
37 | {
38 | return new RedirectResponse(url('/home'));
39 | }
40 |
41 | return $next($request);
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/app/Models/User.php:
--------------------------------------------------------------------------------
1 | 'App\Http\Middleware\Authenticate',
28 | 'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
29 | 'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',
30 | ];
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/app/Http/Middleware/Authenticate.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
24 | }
25 |
26 | /**
27 | * Handle an incoming request.
28 | *
29 | * @param \Illuminate\Http\Request $request
30 | * @param \Closure $next
31 | * @return mixed
32 | */
33 | public function handle($request, Closure $next)
34 | {
35 | if ($this->auth->guest())
36 | {
37 | if ($request->ajax())
38 | {
39 | return response('Unauthorized.', 401);
40 | }
41 | else
42 | {
43 | return redirect()->guest('auth/login');
44 | }
45 | }
46 |
47 | return $next($request);
48 | }
49 |
50 | }
51 |
--------------------------------------------------------------------------------
/public/less/login_and_register.less:
--------------------------------------------------------------------------------
1 | /*
2 | Page: register and login
3 | */
4 |
5 | .form-box {
6 | width: 360px;
7 | margin: 90px auto 0 auto;
8 | .header {
9 | .border-radius(4px, 4px, 0, 0);
10 | background: @olive;
11 | box-shadow: inset 0px -3px 0px rgba(0,0,0,0.2);
12 | padding: 20px 10px;
13 | text-align: center;
14 | font-size: 26px;
15 | font-weight: 300;
16 | color: #fff;
17 | }
18 |
19 | .body, .footer {
20 | padding: 10px 20px;
21 | background: #fff;
22 | color: #444;
23 | > .form-group {
24 | margin-top: 20px;
25 | > input {
26 | border: #fff;
27 | }
28 | }
29 |
30 | > .btn {
31 | margin-bottom: 10px;
32 | }
33 | }
34 |
35 | .footer {
36 | .border-radius(0, 0, 4px, 4px);
37 | }
38 |
39 | @media (max-width: @screen-sm) {
40 | width: 90%;
41 | }
42 | }
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
2 | For licensing, see LICENSE.md or http://ckeditor.com/license
3 |
4 | cs.js Found: 30 Missing: 0
5 | cy.js Found: 30 Missing: 0
6 | da.js Found: 12 Missing: 18
7 | de.js Found: 30 Missing: 0
8 | el.js Found: 25 Missing: 5
9 | eo.js Found: 30 Missing: 0
10 | fa.js Found: 30 Missing: 0
11 | fi.js Found: 30 Missing: 0
12 | fr.js Found: 30 Missing: 0
13 | gu.js Found: 12 Missing: 18
14 | he.js Found: 30 Missing: 0
15 | it.js Found: 30 Missing: 0
16 | mk.js Found: 5 Missing: 25
17 | nb.js Found: 30 Missing: 0
18 | nl.js Found: 30 Missing: 0
19 | no.js Found: 30 Missing: 0
20 | pt-br.js Found: 30 Missing: 0
21 | ro.js Found: 6 Missing: 24
22 | tr.js Found: 30 Missing: 0
23 | ug.js Found: 27 Missing: 3
24 | vi.js Found: 6 Missing: 24
25 | zh-cn.js Found: 30 Missing: 0
26 |
--------------------------------------------------------------------------------
/app/Exceptions/Handler.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('crud_name');
18 | $table->string('table_name');
19 | $table->string('slug');
20 | $table->string('needle');
21 | $table->string('fontawesome_class');
22 | $table->boolean('creatable');
23 | $table->boolean('editable');
24 | $table->boolean('listable');
25 | $table->timestamps();
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | Schema::dropIfExists("crud_table");
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/public/js/plugins/flot/jquery.flot.symbol.min.js:
--------------------------------------------------------------------------------
1 | (function($){function processRawData(plot,series,datapoints){var handlers={square:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.rect(x-size,y-size,size+size,size+size)},diamond:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI/2);ctx.moveTo(x-size,y);ctx.lineTo(x,y-size);ctx.lineTo(x+size,y);ctx.lineTo(x,y+size);ctx.lineTo(x-size,y)},triangle:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(2*Math.PI/Math.sin(Math.PI/3));var height=size*Math.sin(Math.PI/3);ctx.moveTo(x-size/2,y+height/2);ctx.lineTo(x+size/2,y+height/2);if(!shadow){ctx.lineTo(x,y-height/2);ctx.lineTo(x-size/2,y+height/2)}},cross:function(ctx,x,y,radius,shadow){var size=radius*Math.sqrt(Math.PI)/2;ctx.moveTo(x-size,y-size);ctx.lineTo(x+size,y+size);ctx.moveTo(x-size,y+size);ctx.lineTo(x+size,y-size)}};var s=series.points.symbol;if(handlers[s])series.points.symbol=handlers[s]}function init(plot){plot.hooks.processDatapoints.push(processRawData)}$.plot.plugins.push({init:init,name:"symbols",version:"1.0"})})(jQuery);
--------------------------------------------------------------------------------
/public/less/404_500_errors.less:
--------------------------------------------------------------------------------
1 | /*
2 | Page: 404 and 500 error pages
3 | ------------------------------------
4 | */
5 |
6 | .error-page {
7 | width: 600px;
8 | margin: 20px auto 0 auto;
9 | @media screen and (max-width: @screen-sm) {
10 | width: 100%;
11 | }
12 | //For the error number e.g: 404
13 | > .headline {
14 | float: left;
15 | font-size: 100px;
16 | font-weight: 300;
17 | @media screen and (max-width: @screen-sm) {
18 | float: none;
19 | text-align: center;
20 | }
21 | }
22 | //For the message
23 | > .error-content {
24 | margin-left: 190px;
25 | @media screen and (max-width: @screen-sm) {
26 | margin-left: 0;
27 | }
28 | > h3 {
29 | font-weight: 300;
30 | font-size: 25px;
31 | @media screen and (max-width: @screen-sm) {
32 | text-align: center;
33 | }
34 | }
35 | display: block;
36 | }
37 | .clearfix();
38 | }
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/scayt/README.md:
--------------------------------------------------------------------------------
1 | CKEditor SCAYT Plugin
2 | =====================
3 |
4 | This plugin brings Spell Check As You Type (SCAYT) into CKEditor.
5 |
6 | SCAYT is a "installation-less", using the web-services of [WebSpellChecker.net](http://www.webspellchecker.net/). It's an out of the box solution.
7 |
8 | Installation
9 | ------------
10 |
11 | 1. Clone/copy this repository contents in a new "plugins/scayt" folder in your CKEditor installation.
12 | 2. Enable the "scayt" plugin in the CKEditor configuration file (config.js):
13 |
14 | config.extraPlugins = 'scayt';
15 |
16 | That's all. SCAYT will appear on the editor toolbar and will be ready to use.
17 |
18 | License
19 | -------
20 |
21 | Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html).
22 |
23 | See LICENSE.md for more information.
24 |
25 | Developed in cooperation with [WebSpellChecker.net](http://www.webspellchecker.net/).
26 |
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/wsc/README.md:
--------------------------------------------------------------------------------
1 | CKEditor WebSpellChecker Plugin
2 | ===============================
3 |
4 | This plugin brings Web Spell Checker (WSC) into CKEditor.
5 |
6 | WSC is "installation-less", using the web-services of [WebSpellChecker.net](http://www.webspellchecker.net/). It's an out of the box solution.
7 |
8 | Installation
9 | ------------
10 |
11 | 1. Clone/copy this repository contents in a new "plugins/wsc" folder in your CKEditor installation.
12 | 2. Enable the "wsc" plugin in the CKEditor configuration file (config.js):
13 |
14 | config.extraPlugins = 'wsc';
15 |
16 | That's all. WSC will appear on the editor toolbar and will be ready to use.
17 |
18 | License
19 | -------
20 |
21 | Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html).
22 |
23 | See LICENSE.md for more information.
24 |
25 | Developed in cooperation with [WebSpellChecker.net](http://www.webspellchecker.net/).
26 |
--------------------------------------------------------------------------------
/config/view.php:
--------------------------------------------------------------------------------
1 | [
17 | realpath(base_path('resources/views'))
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled View Path
23 | |--------------------------------------------------------------------------
24 | |
25 | | This option determines where all the compiled Blade templates will be
26 | | stored for your application. Typically, this is within the storage
27 | | directory. However, as usual, you are free to change this value.
28 | |
29 | */
30 |
31 | 'compiled' => realpath(storage_path().'/framework/views'),
32 |
33 | ];
34 |
--------------------------------------------------------------------------------
/database/migrations/2014_09_14_144541_create_crud_table_rows.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('table_name');
18 | $table->string('column_name');
19 | $table->string('type');
20 | $table->string('create_rule')->default('');
21 | $table->string('edit_rule')->default('');
22 | $table->boolean('creatable');
23 | $table->boolean('editable');
24 | $table->boolean('listable');
25 | $table->timestamps();
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | Schema::dropIfExists("crud_table_rows");
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/public/js/plugins/slimScroll/slimScroll.jquery.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "slimScroll",
3 | "version" : "1.2.0",
4 | "title" : "jQuery slimScroll scrollbar",
5 | "description" : "slimScroll is a small jQuery plugin that transforms any div into a scrollable area. slimScroll doesn't occupy any visual space as it only appears on a user initiated mouse-over.",
6 | "keywords" : ["scrollbar", "scroll", "slimscroll", "scrollable", "scrolling", "scroller", "ui"],
7 | "demo" : "http://rocha.la/jQuery-slimScroll/",
8 | "homepage" : "http://rocha.la/jQuery-slimScroll/",
9 | "download" : "http://rocha.la/jQuery-slimScroll/",
10 |
11 | "author" : {
12 | "name" : "Piotr Rochala",
13 | "url" : "http://rocha.la/"
14 | },
15 |
16 | "dependencies" : {
17 | "jquery" : ">= 1.7"
18 | },
19 |
20 | "licenses" : [
21 | {
22 | "type": "MIT",
23 | "url": "http://www.opensource.org/licenses/mit-license.php"
24 | },
25 | {
26 | "type": "GPL",
27 | "url": "http://www.opensource.org/licenses/gpl-license.php"
28 | }
29 | ]
30 | }
--------------------------------------------------------------------------------
/public/less/callout.less:
--------------------------------------------------------------------------------
1 |
2 | /*
3 | Component: callout
4 | ------------------------
5 | */
6 |
7 | // Base styles (regardless of theme)
8 | .callout {
9 | margin: 0 0 20px 0;
10 | padding: 15px 30px 15px 15px;
11 | border-left: 5px solid #eee;
12 |
13 | h4 {
14 | margin-top: 0;
15 | }
16 | p:last-child {
17 | margin-bottom: 0;
18 | }
19 | code,
20 | .highlight {
21 | background-color: #fff;
22 | }
23 |
24 | // Themes for different contexts
25 | &.callout-danger {
26 | background-color: #fcf2f2;
27 | border-color: #dFb5b4;
28 | }
29 | &.callout-warning {
30 | background-color: #fefbed;
31 | border-color: #f1e7bc;
32 | }
33 | &.callout-info {
34 | background-color: #f0f7fd;
35 | border-color: #d0e3f0;
36 | }
37 | // h4 header themes
38 | &.callout-danger h4 {
39 | color: #B94A48;
40 | }
41 |
42 | &.callout-warning h4 {
43 | color: #C09853;
44 | }
45 |
46 | &.callout-info h4 {
47 | color: #3A87AD;
48 | }
49 | }
--------------------------------------------------------------------------------
/app/Providers/AnnotationsServiceProvider.php:
--------------------------------------------------------------------------------
1 | group(['namespace' => $this->namespace], function($router)
39 | {
40 | require app_path('Http/routes.php');
41 | });
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "laravel/laravel",
3 | "description": "The Laravel Framework.",
4 | "keywords": ["framework", "laravel"],
5 | "license": "MIT",
6 | "type": "project",
7 | "require": {
8 | "laravel/framework": "5.0.*",
9 | "laravelcollective/html": "~5.0",
10 | "barryvdh/laravel-ide-helper": "~2.0",
11 | "laravelcollective/annotations": "~5.0",
12 | "laracasts/flash": "~1.3"
13 | },
14 | "require-dev": {
15 | "phpunit/phpunit": "~4.0",
16 | "phpspec/phpspec": "~2.1"
17 | },
18 | "autoload": {
19 | "classmap": [
20 | "database"
21 | ],
22 | "psr-4": {
23 | "App\\": "app/"
24 | }
25 | },
26 | "autoload-dev": {
27 | "classmap": [
28 | "tests/TestCase.php"
29 | ]
30 | },
31 | "scripts": {
32 | "post-install-cmd": [
33 | "php artisan clear-compiled",
34 | "php artisan optimize"
35 | ],
36 | "post-update-cmd": [
37 | "php artisan clear-compiled",
38 | "php artisan optimize"
39 | ],
40 | "post-create-project-cmd": [
41 | "php -r \"copy('.env.example', '.env');\"",
42 | "php artisan key:generate"
43 | ]
44 | },
45 | "config": {
46 | "preferred-install": "dist"
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/public/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2013 almasaeed2010
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/bootstrap/autoload.php:
--------------------------------------------------------------------------------
1 | .progress-bar {
22 | width: 100%!important;
23 | position: absolute;
24 | bottom: 0;
25 | }
26 |
27 | //Sizes
28 | &.sm {
29 | width: 20px;
30 | }
31 |
32 | &.xs {
33 | width: 10px;
34 | }
35 | }
36 | /* Remove margins from progress bars when put in a table */
37 | .table {
38 | tr > td .progress {
39 | margin: 0;
40 | }
41 | }
42 |
43 | // Variations
44 | // -------------------------
45 | .progress-bar-light-blue, .progress-bar-primary {
46 | .progress-bar-variant(@light-blue);
47 | }
48 | .progress-bar-green, .progress-bar-success {
49 | .progress-bar-variant(@green);
50 | }
51 |
52 | .progress-bar-aqua, .progress-bar-info {
53 | .progress-bar-variant(@aqua);
54 | }
55 |
56 | .progress-bar-yellow, .progress-bar-warning {
57 | .progress-bar-variant(@yellow);
58 | }
59 |
60 | .progress-bar-red, .progress-bar-danger {
61 | .progress-bar-variant(@red);
62 | }
--------------------------------------------------------------------------------
/config/compile.php:
--------------------------------------------------------------------------------
1 | [
17 |
18 | realpath(__DIR__.'/../app/Providers/AppServiceProvider.php'),
19 | realpath(__DIR__.'/../app/Providers/BusServiceProvider.php'),
20 | realpath(__DIR__.'/../app/Providers/ConfigServiceProvider.php'),
21 | realpath(__DIR__.'/../app/Providers/EventServiceProvider.php'),
22 | realpath(__DIR__.'/../app/Providers/RouteServiceProvider.php'),
23 |
24 | ],
25 |
26 | /*
27 | |--------------------------------------------------------------------------
28 | | Compiled File Providers
29 | |--------------------------------------------------------------------------
30 | |
31 | | Here you may list service providers which define a "compiles" function
32 | | that returns additional files that should be compiled, providing an
33 | | easy way to get common files from any packages you are utilizing.
34 | |
35 | */
36 |
37 | 'providers' => [
38 | //
39 | ],
40 |
41 | ];
42 |
--------------------------------------------------------------------------------
/app/Utils.php:
--------------------------------------------------------------------------------
1 | {$message}";
14 | }
15 |
16 | return $response;
17 | }
18 |
19 | public static function timestamp(){
20 | $dt = new DateTime;
21 | return $dt->format('Y-m-d H:i:s');
22 | }
23 |
24 | static function object_to_array($obj) {
25 | if(is_object($obj)) $obj = (array) $obj;
26 | if(is_array($obj)) {
27 | $new = array();
28 | foreach($obj as $key => $val) {
29 | $new[$key] = Utils::object_to_array($val);
30 | }
31 | }
32 | else $new = $obj;
33 | return $new;
34 | }
35 |
36 | static function removeTableMeta($table){
37 | $cols = DB::table('crud_table_rows')->where('table_name', $table->table_name)->get();
38 |
39 | foreach ($cols as $col) {
40 | if ($col->type == "radio" || $col->type == "range" || $col->type == "checkbox" || $col->type == "select") {
41 | DB::table("crud_table_pairs")->where("crud_table_id", $col->id)->delete();
42 | }
43 | }
44 |
45 | DB::table('crud_table_rows')->where('table_name', $table->table_name)->delete();
46 | }
47 |
48 |
49 | }
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 |
6 | CKEDITOR.editorConfig = function( config ) {
7 | // Define changes to default configuration here.
8 | // For the complete reference:
9 | // http://docs.ckeditor.com/#!/api/CKEDITOR.config
10 |
11 | // The toolbar groups arrangement, optimized for two toolbar rows.
12 | config.toolbarGroups = [
13 | { name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
14 | { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
15 | { name: 'links' },
16 | { name: 'insert' },
17 | { name: 'forms' },
18 | { name: 'tools' },
19 | { name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
20 | { name: 'others' },
21 | '/',
22 | { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
23 | { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
24 | { name: 'styles' },
25 | { name: 'colors' },
26 | { name: 'about' }
27 | ];
28 |
29 | // Remove some buttons, provided by the standard plugins, which we don't
30 | // need to have in the Standard(s) toolbar.
31 | config.removeButtons = 'Underline,Subscript,Superscript';
32 |
33 | // Se the most common block elements.
34 | config.format_tags = 'p;h1;h2;h3;pre';
35 |
36 | // Make dialogs simpler.
37 | config.removeDialogTabs = 'image:advanced;link:advanced';
38 | };
39 |
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/README.md:
--------------------------------------------------------------------------------
1 | CKEditor 4
2 | ==========
3 |
4 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
5 | http://ckeditor.com - See LICENSE.md for license information.
6 |
7 | CKEditor is a text editor to be used inside web pages. It's not a replacement
8 | for desktop text editors like Word or OpenOffice, but a component to be used as
9 | part of web applications and websites.
10 |
11 | ## Documentation
12 |
13 | The full editor documentation is available online at the following address:
14 | http://docs.ckeditor.com
15 |
16 | ## Installation
17 |
18 | Installing CKEditor is an easy task. Just follow these simple steps:
19 |
20 | 1. **Download** the latest version from the CKEditor website:
21 | http://ckeditor.com. You should have already completed this step, but be
22 | sure you have the very latest version.
23 | 2. **Extract** (decompress) the downloaded file into the root of your website.
24 |
25 | **Note:** CKEditor is by default installed in the `ckeditor` folder. You can
26 | place the files in whichever you want though.
27 |
28 | ## Checking Your Installation
29 |
30 | The editor comes with a few sample pages that can be used to verify that
31 | installation proceeded properly. Take a look at the `samples` directory.
32 |
33 | To test your installation, just call the following page at your website:
34 |
35 | http:////samples/index.html
36 |
37 | For example:
38 |
39 | http://www.example.com/ckeditor/samples/index.html
40 |
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/about/dialogs/about.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.dialog.add("about",function(a){var a=a.lang.about,b=CKEDITOR.plugins.get("about").path+"dialogs/"+(CKEDITOR.env.hidpi?"hidpi/":"")+"logo_ckeditor.png";return{title:CKEDITOR.env.ie?a.dlgTitle:a.title,minWidth:390,minHeight:230,contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[{type:"html",html:'"}]}],buttons:[CKEDITOR.dialog.cancelButton]}});
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/wsc/dialogs/wsc.css:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.html or http://ckeditor.com/license
4 | */
5 |
6 | html, body
7 | {
8 | background-color: transparent;
9 | margin: 0px;
10 | padding: 0px;
11 | }
12 |
13 | body
14 | {
15 | padding: 10px;
16 | }
17 |
18 | body, td, input, select, textarea
19 | {
20 | font-size: 11px;
21 | font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana;
22 | }
23 |
24 | .midtext
25 | {
26 | padding:0px;
27 | margin:10px;
28 | }
29 |
30 | .midtext p
31 | {
32 | padding:0px;
33 | margin:10px;
34 | }
35 |
36 | .Button
37 | {
38 | border: #737357 1px solid;
39 | color: #3b3b1f;
40 | background-color: #c7c78f;
41 | }
42 |
43 | .PopupTabArea
44 | {
45 | color: #737357;
46 | background-color: #e3e3c7;
47 | }
48 |
49 | .PopupTitleBorder
50 | {
51 | border-bottom: #d5d59d 1px solid;
52 | }
53 | .PopupTabEmptyArea
54 | {
55 | padding-left: 10px;
56 | border-bottom: #d5d59d 1px solid;
57 | }
58 |
59 | .PopupTab, .PopupTabSelected
60 | {
61 | border-right: #d5d59d 1px solid;
62 | border-top: #d5d59d 1px solid;
63 | border-left: #d5d59d 1px solid;
64 | padding: 3px 5px 3px 5px;
65 | color: #737357;
66 | }
67 |
68 | .PopupTab
69 | {
70 | margin-top: 1px;
71 | border-bottom: #d5d59d 1px solid;
72 | cursor: pointer;
73 | }
74 |
75 | .PopupTabSelected
76 | {
77 | font-weight: bold;
78 | cursor: default;
79 | padding-top: 4px;
80 | border-bottom: #f1f1e3 1px solid;
81 | background-color: #f1f1e3;
82 | }
83 |
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/wsc/LICENSE.md:
--------------------------------------------------------------------------------
1 | Software License Agreement
2 | ==========================
3 |
4 | **CKEditor WSC Plugin**
5 | Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved.
6 |
7 | Licensed under the terms of any of the following licenses at your choice:
8 |
9 | * GNU General Public License Version 2 or later (the "GPL"):
10 | http://www.gnu.org/licenses/gpl.html
11 |
12 | * GNU Lesser General Public License Version 2.1 or later (the "LGPL"):
13 | http://www.gnu.org/licenses/lgpl.html
14 |
15 | * Mozilla Public License Version 1.1 or later (the "MPL"):
16 | http://www.mozilla.org/MPL/MPL-1.1.html
17 |
18 | You are not required to, but if you want to explicitly declare the license you have chosen to be bound to when using, reproducing, modifying and distributing this software, just include a text file titled "legal.txt" in your version of this software, indicating your license choice.
19 |
20 | Sources of Intellectual Property Included in this plugin
21 | --------------------------------------------------------
22 |
23 | Where not otherwise indicated, all plugin content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, the plugin will incorporate work done by developers outside of CKSource with their express permission.
24 |
25 | Trademarks
26 | ----------
27 |
28 | CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
29 |
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/scayt/LICENSE.md:
--------------------------------------------------------------------------------
1 | Software License Agreement
2 | ==========================
3 |
4 | **CKEditor SCAYT Plugin**
5 | Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved.
6 |
7 | Licensed under the terms of any of the following licenses at your choice:
8 |
9 | * GNU General Public License Version 2 or later (the "GPL"):
10 | http://www.gnu.org/licenses/gpl.html
11 |
12 | * GNU Lesser General Public License Version 2.1 or later (the "LGPL"):
13 | http://www.gnu.org/licenses/lgpl.html
14 |
15 | * Mozilla Public License Version 1.1 or later (the "MPL"):
16 | http://www.mozilla.org/MPL/MPL-1.1.html
17 |
18 | You are not required to, but if you want to explicitly declare the license you have chosen to be bound to when using, reproducing, modifying and distributing this software, just include a text file titled "legal.txt" in your version of this software, indicating your license choice.
19 |
20 | Sources of Intellectual Property Included in this plugin
21 | --------------------------------------------------------
22 |
23 | Where not otherwise indicated, all plugin content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, the plugin will incorporate work done by developers outside of CKSource with their express permission.
24 |
25 | Trademarks
26 | ----------
27 |
28 | CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
29 |
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/scayt/dialogs/toolbar.css:
--------------------------------------------------------------------------------
1 | a
2 | {
3 | text-decoration:none;
4 | padding: 2px 4px 4px 6px;
5 | display : block;
6 | border-width: 1px;
7 | border-style: solid;
8 | margin : 0px;
9 | }
10 |
11 | a.cke_scayt_toogle:hover,
12 | a.cke_scayt_toogle:focus,
13 | a.cke_scayt_toogle:active
14 | {
15 | border-color: #316ac5;
16 | background-color: #dff1ff;
17 | color : #000;
18 | cursor: pointer;
19 | margin : 0px;
20 | }
21 | a.cke_scayt_toogle {
22 | color : #316ac5;
23 | border-color: #fff;
24 | }
25 | .scayt_enabled a.cke_scayt_item {
26 | color : #316ac5;
27 | border-color: #fff;
28 | margin : 0px;
29 | }
30 | .scayt_disabled a.cke_scayt_item {
31 | color : gray;
32 | border-color : #fff;
33 | }
34 | .scayt_enabled a.cke_scayt_item:hover,
35 | .scayt_enabled a.cke_scayt_item:focus,
36 | .scayt_enabled a.cke_scayt_item:active
37 | {
38 | border-color: #316ac5;
39 | background-color: #dff1ff;
40 | color : #000;
41 | cursor: pointer;
42 | }
43 | .scayt_disabled a.cke_scayt_item:hover,
44 | .scayt_disabled a.cke_scayt_item:focus,
45 | .scayt_disabled a.cke_scayt_item:active
46 | {
47 | border-color: gray;
48 | background-color: #dff1ff;
49 | color : gray;
50 | cursor: no-drop;
51 | }
52 | .cke_scayt_set_on, .cke_scayt_set_off
53 | {
54 | display: none;
55 | }
56 | .scayt_enabled .cke_scayt_set_on
57 | {
58 | display: none;
59 | }
60 | .scayt_disabled .cke_scayt_set_on
61 | {
62 | display: inline;
63 | }
64 | .scayt_disabled .cke_scayt_set_off
65 | {
66 | display: none;
67 | }
68 | .scayt_enabled .cke_scayt_set_off
69 | {
70 | display: inline;
71 | }
72 |
--------------------------------------------------------------------------------
/public/less/vars.less:
--------------------------------------------------------------------------------
1 | //Contains All variables
2 | //-----------------------
3 |
4 | //Layout
5 | //Side bar and logo width
6 | @left-side-width: 220px;
7 |
8 | //Colors
9 | @light-blue: #3c8dbc; //Primary
10 | @red: #f56954; //Danger
11 | @green: #00a65a; //Success
12 | @aqua: #00c0ef; //Info
13 | @yellow: #f39c12; //Warning
14 | @blue: #0073b7;
15 | @navy: #001F3F;
16 | @teal: #39CCCC;
17 | @olive: #3D9970;
18 | @lime: #01FF70;
19 | @orange: #FF851B;
20 | @fuchsia: #F012BE;
21 | @purple: #932ab6;
22 | @maroon: #85144B;
23 | @black: #222;
24 | @gray: #eaeaec;
25 |
26 | //Link colors (Aka: tags)
27 | @link-color: @light-blue;
28 | @link-hover-color: lighten(@link-color, 15%);
29 |
30 | //Body background (Affects main content background only)
31 | @body-bg: #f9f9f9;
32 |
33 | //Table striped color
34 | @table-striped-color: #f3f4f5;
35 |
36 | //Sidebar skins
37 | //skin blue (light) sidebar vars
38 | @sidebar-light-bg: #f4f4f4;
39 | @sidebar-light-hover-bg: #f9f9f9;
40 | @sidebar-light-font: #555;
41 | @sidebar-light-border: #dbdbdb;
42 |
43 | //Screen widths - Same as bootstrap default settings
44 | @screen-xs: 480px;
45 | @screen-sm: 767px;
46 | @screen-md: 992px;
47 | @screen-lg: 1200px;
48 | //When the logo should go to the top of the screen
49 | @screen-header-collapse: 560px;
50 |
51 | //BOXES
52 | @box-border-color: #f4f4f4;
53 | @box-border-radius: 3px;
54 | @box-footer-bg: #fff;
55 |
56 | //FORMS
57 | @input-radius: 0px;
58 |
59 | //BUTTONS
60 | //Border radius for non flat buttons
61 | @btn-border-radius: 3px;
62 |
63 | //CHAT widget
64 | @attachment-border-radius: 3px;
65 |
--------------------------------------------------------------------------------
/public/css/iCheck/flat/flat.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin flat skin, black
2 | ----------------------------------- */
3 | .icheckbox_flat,
4 | .iradio_flat {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(flat.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat,
51 | .iradio_flat {
52 | background-image: url(flat@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang("a11yhelp","zh-cn",{title:"辅助功能说明",contents:"帮助内容。要关闭此对话框请按 ESC 键。",legend:[{name:"常规",items:[{name:"编辑器工具栏",legend:"按 ${toolbarFocus} 导航到工具栏,使用 TAB 键和 SHIFT+TAB 组合键移动到上一个和下一个工具栏组。使用左右箭头键移动到上一个和下一个工具栏按钮。按空格键或回车键以选中工具栏按钮。"},{name:"编辑器对话框",legend:"在对话框内,TAB 键移动到下一个字段,SHIFT + TAB 组合键移动到上一个字段,ENTER 键提交对话框,ESC 键取消对话框。对于有多选项卡的对话框,用ALT + F10来移到选项卡列表。然后用 TAB 键或者向右箭头来移动到下一个选项卡;SHIFT + TAB 组合键或者向左箭头移动到上一个选项卡。用 SPACE 键或者 ENTER 键选择选项卡。"},{name:"编辑器上下文菜单",legend:"用 ${contextMenu} 或者“应用程序键”打开上下文菜单。然后用 TAB 键或者下箭头键来移动到下一个菜单项;SHIFT + TAB 组合键或者上箭头键移动到上一个菜单项。用 SPACE 键或者 ENTER 键选择菜单项。用 SPACE 键,ENTER 键或者右箭头键打开子菜单。返回菜单用 ESC 键或者左箭头键。用 ESC 键关闭上下文菜单。"},
6 | {name:"编辑器列表框",legend:"在列表框中,移到下一列表项用 TAB 键或者下箭头键。移到上一列表项用SHIFT + TAB 组合键或者上箭头键,用 SPACE 键或者 ENTER 键选择列表项。用 ESC 键收起列表框。"},{name:"编辑器元素路径栏",legend:"按 ${elementsPathFocus} 以导航到元素路径栏,使用 TAB 键或右箭头键选择下一个元素,使用 SHIFT+TAB 组合键或左箭头键选择上一个元素,按空格键或回车键以选定编辑器里的元素。"}]},{name:"命令",items:[{name:" 撤消命令",legend:"按 ${undo}"},{name:" 重做命令",legend:"按 ${redo}"},{name:" 加粗命令",legend:"按 ${bold}"},{name:" 倾斜命令",legend:"按 ${italic}"},{name:" 下划线命令",legend:"按 ${underline}"},{name:" 链接命令",legend:"按 ${link}"},{name:" 工具栏折叠命令",legend:"按 ${toolbarCollapse}"},
7 | {name:"访问前一个焦点区域的命令",legend:"按 ${accessPreviousSpace} 访问^符号前最近的不可访问的焦点区域,例如:两个相邻的 HR 元素。重复此组合按键可以到达远处的焦点区域。"},{name:"访问下一个焦点区域命令",legend:"按 ${accessNextSpace} 以访问^符号后最近的不可访问的焦点区域。例如:两个相邻的 HR 元素。重复此组合按键可以到达远处的焦点区域。"},{name:"辅助功能帮助",legend:"按 ${a11yHelp}"}]}]});
--------------------------------------------------------------------------------
/public/less/forms.less:
--------------------------------------------------------------------------------
1 | /*
2 | All form elements including input, select, textarea etc.
3 | -----------------------------------------------------------------
4 | */
5 |
6 |
7 | &.form-control {
8 |
9 | .border-radius(@input-radius)!important;
10 | box-shadow: none;
11 |
12 | &:focus {
13 | border-color: @light-blue !important;
14 | box-shadow: none;
15 | }
16 |
17 | }
18 |
19 | .form-group {
20 | &.has-success {
21 | label {
22 | color: @green;
23 | }
24 | .form-control {
25 | border-color: @green !important;
26 | box-shadow: none;
27 | }
28 | }
29 |
30 | &.has-warning {
31 | label {
32 | color: @yellow;
33 | }
34 | .form-control {
35 | border-color: @yellow !important;
36 | box-shadow: none;
37 | }
38 | }
39 |
40 | &.has-error {
41 | label {
42 | color: @red;
43 | }
44 | .form-control {
45 | border-color: @red !important;
46 | box-shadow: none;
47 | }
48 | }
49 | }
50 |
51 | /* Input group */
52 | .input-group {
53 | > .input-group-btn > .btn {
54 |
55 | }
56 | .input-group-addon {
57 | border-radius: 0;
58 | background-color: #f4f4f4;
59 | }
60 | }
61 | /* button groups */
62 | .btn-group-vertical {
63 | .btn {
64 | &.btn-flat:first-of-type, &.btn-flat:last-of-type {
65 | border-radius: 0;
66 | }
67 | }
68 | }
69 |
70 | /* Checkbox and radio inputs */
71 | .checkbox, .radio {
72 | padding-left: 0;
73 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/red.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, red
2 | ----------------------------------- */
3 | .icheckbox_flat-red,
4 | .iradio_flat-red {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(red.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-red {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-red.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-red.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-red.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-red {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-red.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-red.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-red.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-red,
51 | .iradio_flat-red {
52 | background-image: url(red@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/aero.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, aero
2 | ----------------------------------- */
3 | .icheckbox_flat-aero,
4 | .iradio_flat-aero {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(aero.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-aero {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-aero.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-aero.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-aero.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-aero {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-aero.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-aero.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-aero.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-aero,
51 | .iradio_flat-aero {
52 | background-image: url(aero@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/blue.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, blue
2 | ----------------------------------- */
3 | .icheckbox_flat-blue,
4 | .iradio_flat-blue {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(blue.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-blue {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-blue.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-blue.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-blue.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-blue {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-blue.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-blue.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-blue.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-blue,
51 | .iradio_flat-blue {
52 | background-image: url(blue@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/grey.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, grey
2 | ----------------------------------- */
3 | .icheckbox_flat-grey,
4 | .iradio_flat-grey {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(grey.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-grey {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-grey.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-grey.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-grey.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-grey {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-grey.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-grey.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-grey.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-grey,
51 | .iradio_flat-grey {
52 | background-image: url(grey@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/pink.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, pink
2 | ----------------------------------- */
3 | .icheckbox_flat-pink,
4 | .iradio_flat-pink {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(pink.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-pink {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-pink.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-pink.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-pink.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-pink {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-pink.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-pink.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-pink.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-pink,
51 | .iradio_flat-pink {
52 | background-image: url(pink@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/futurico/futurico.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Futurico skin
2 | ----------------------------------- */
3 | .icheckbox_futurico,
4 | .iradio_futurico {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 16px;
11 | height: 17px;
12 | background: url(futurico.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_futurico {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_futurico.checked {
21 | background-position: -18px 0;
22 | }
23 | .icheckbox_futurico.disabled {
24 | background-position: -36px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_futurico.checked.disabled {
28 | background-position: -54px 0;
29 | }
30 |
31 | .iradio_futurico {
32 | background-position: -72px 0;
33 | }
34 | .iradio_futurico.checked {
35 | background-position: -90px 0;
36 | }
37 | .iradio_futurico.disabled {
38 | background-position: -108px 0;
39 | cursor: default;
40 | }
41 | .iradio_futurico.checked.disabled {
42 | background-position: -126px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_futurico,
51 | .iradio_futurico {
52 | background-image: url(futurico@2x.png);
53 | -webkit-background-size: 144px 19px;
54 | background-size: 144px 19px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/green.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, green
2 | ----------------------------------- */
3 | .icheckbox_flat-green,
4 | .iradio_flat-green {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(green.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-green {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-green.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-green.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-green.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-green {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-green.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-green.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-green.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-green,
51 | .iradio_flat-green {
52 | background-image: url(green@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/js/plugins/flot/jquery.flot.threshold.min.js:
--------------------------------------------------------------------------------
1 | (function($){var options={series:{threshold:null}};function init(plot){function thresholdData(plot,s,datapoints,below,color){var ps=datapoints.pointsize,i,x,y,p,prevp,thresholded=$.extend({},s);thresholded.datapoints={points:[],pointsize:ps,format:datapoints.format};thresholded.label=null;thresholded.color=color;thresholded.threshold=null;thresholded.originSeries=s;thresholded.data=[];var origpoints=datapoints.points,addCrossingPoints=s.lines.show;var threspoints=[];var newpoints=[];var m;for(i=0;i0&&origpoints[i-ps]!=null){var interx=x+(below-y)*(x-origpoints[i-ps])/(y-origpoints[i-ps+1]);prevp.push(interx);prevp.push(below);for(m=2;m0){var origIndex=$.inArray(s,plot.getData());plot.getData().splice(origIndex+1,0,thresholded)}}function processThresholds(plot,s,datapoints){if(!s.threshold)return;if(s.threshold instanceof Array){s.threshold.sort(function(a,b){return a.below-b.below});$(s.threshold).each(function(i,th){thresholdData(plot,s,datapoints,th.below,th.color)})}else{thresholdData(plot,s,datapoints,s.threshold.below,s.threshold.color)}}plot.hooks.processDatapoints.push(processThresholds)}$.plot.plugins.push({init:init,options:options,name:"threshold",version:"1.2"})})(jQuery);
--------------------------------------------------------------------------------
/public/css/iCheck/flat/orange.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, orange
2 | ----------------------------------- */
3 | .icheckbox_flat-orange,
4 | .iradio_flat-orange {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(orange.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-orange {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-orange.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-orange.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-orange.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-orange {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-orange.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-orange.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-orange.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-orange,
51 | .iradio_flat-orange {
52 | background-image: url(orange@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/purple.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, purple
2 | ----------------------------------- */
3 | .icheckbox_flat-purple,
4 | .iradio_flat-purple {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(purple.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-purple {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-purple.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-purple.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-purple.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-purple {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-purple.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-purple.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-purple.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-purple,
51 | .iradio_flat-purple {
52 | background-image: url(purple@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/css/iCheck/flat/yellow.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Flat skin, yellow
2 | ----------------------------------- */
3 | .icheckbox_flat-yellow,
4 | .iradio_flat-yellow {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 20px;
11 | height: 20px;
12 | background: url(yellow.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_flat-yellow {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_flat-yellow.checked {
21 | background-position: -22px 0;
22 | }
23 | .icheckbox_flat-yellow.disabled {
24 | background-position: -44px 0;
25 | cursor: default;
26 | }
27 | .icheckbox_flat-yellow.checked.disabled {
28 | background-position: -66px 0;
29 | }
30 |
31 | .iradio_flat-yellow {
32 | background-position: -88px 0;
33 | }
34 | .iradio_flat-yellow.checked {
35 | background-position: -110px 0;
36 | }
37 | .iradio_flat-yellow.disabled {
38 | background-position: -132px 0;
39 | cursor: default;
40 | }
41 | .iradio_flat-yellow.checked.disabled {
42 | background-position: -154px 0;
43 | }
44 |
45 | /* Retina support */
46 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
47 | only screen and (-moz-min-device-pixel-ratio: 1.5),
48 | only screen and (-o-min-device-pixel-ratio: 3/2),
49 | only screen and (min-device-pixel-ratio: 1.5) {
50 | .icheckbox_flat-yellow,
51 | .iradio_flat-yellow {
52 | background-image: url(yellow@2x.png);
53 | -webkit-background-size: 176px 22px;
54 | background-size: 176px 22px;
55 | }
56 | }
--------------------------------------------------------------------------------
/public/js/plugins/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or http://ckeditor.com/license
4 | */
5 | CKEDITOR.plugins.setLang("a11yhelp","zh",{title:"輔助工具指南",contents:"說明內容。若要關閉此對話框請按「ESC」。",legend:[{name:"一般",items:[{name:"編輯器工具列",legend:"請按「${toolbarFocus}」以瀏覽工具列。\r\n利用「TAB」或「SHIFT+TAB」以便移動到下一個或前一個工具列群組。\r\n利用「→」或「←」以便移動到下一個或前一個工具列按鈕。\r\n請按下「空白鍵」或「ENTER」鍵啟動工具列按鈕。"},{name:"編輯器對話方塊",legend:"在對話框中,請按 TAB 鍵以便移動到下個欄位,請按 SHIFT + TAB 以便移動到前個欄位;請按 ENTER 以提交對話框資料,或按下 ESC 取消對話框。\r\n若是有多個頁框的對話框,請按 ALT + F10 以移動到頁框列表,並以 TAB 或是 → 方向鍵移動到下個頁框。以 SHIFT + TAB 或是 ← 方向鍵移動到前個頁框。按下 空白鍵 或是 ENTER 以選取頁框。"},{name:"編輯器內容功能表",
6 | legend:"請按下「${contextMenu}」或是「應用程式鍵」以開啟內容選單。以「TAB」或是「↓」鍵移動到下一個選單選項。以「SHIFT + TAB」或是「↑」鍵移動到上一個選單選項。按下「空白鍵」或是「ENTER」鍵以選取選單選項。以「空白鍵」或「ENTER」或「→」開啟目前選項之子選單。以「ESC」或「←」回到父選單。以「ESC」鍵關閉內容選單」。"},{name:"編輯器清單方塊",legend:"在列表中,請利用 TAB 或 ↓ 方向鍵以移動到下一個項目;或利用 SHIFT + TAB 或 ↑ 方向鍵移動到前一個項目。請按下 空白鍵 或是 ENTER 以選取項目。請按 ESC 關閉列表。"},{name:"編輯器元件路徑工具列",legend:"請按「${elementsPathFocus}」以瀏覽元素路徑工具列。\r\n利用「TAB」或「→」以便移動到下一個元素按鈕。\r\n利用「SHIFT+TAB」或「←」以便移動到前一個元素按鈕。\r\n請按下「空白鍵」或「ENTER」鍵選擇編輯器中的元素。"}]},{name:"命令",items:[{name:"復原命令",
7 | legend:"請按下「${undo}」"},{name:"重複命令",legend:"請按下「 ${redo}」"},{name:"粗體命令",legend:"請按下「${bold}」"},{name:"斜體",legend:"請按下「${italic}」"},{name:"底線命令",legend:"請按下「${underline}」"},{name:"連結",legend:"請按下「${link}」"},{name:"隱藏工具列",legend:"請按下「${toolbarCollapse}」"},{name:"存取前一個焦點空間命令",legend:"請按下 ${accessPreviousSpace} 以存取最近但無法靠近之插字符號前的焦點空間。舉例:二個相鄰的 HR 元素。\r\n重複按鍵以存取較遠的焦點空間。"},{name:"存取下一個焦點空間命令",legend:"請按下 ${accessNextSpace} 以存取最近但無法靠近之插字符號後的焦點空間。舉例:二個相鄰的 HR 元素。\r\n重複按鍵以存取較遠的焦點空間。"},{name:"協助工具說明",legend:"請按下「${a11yHelp}」"}]}]});
--------------------------------------------------------------------------------
/resources/views/layouts/master.blade.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Laravel Admin Interface
6 |
7 |
8 | {!! HTML::style("/css/bootstrap.min.css") !!}
9 | {!! HTML::style("/css/font-awesome.min.css") !!}
10 | {!! HTML::style("/css/ionicons.min.css") !!}
11 | {!! HTML::style("/css/AdminLTE.css") !!}
12 |
13 |
14 |
15 |
19 |
20 | @yield('styles')
21 |
22 |
23 |
24 |
25 |
26 |
27 | @include('layouts.header')
28 |
29 |
30 |
31 |
32 | @include('layouts.navigation')
33 |
34 |
35 |
40 |
41 |
42 | {!! HTML::script("/js/jquery.2.0.3.js") !!}
43 | {!! HTML::script("/js/jquery-ui-1.10.3.min.js") !!}
44 | {!! HTML::script("/js/bootstrap.min.js") !!}
45 | {!! HTML::script("js/plugins/iCheck/icheck.min.js") !!}
46 | {!! HTML::script("js/AdminLTE/app.js") !!}
47 |
48 | @yield('scripts')
49 |
50 |
51 |
--------------------------------------------------------------------------------
/bootstrap/app.php:
--------------------------------------------------------------------------------
1 | singleton(
30 | 'Illuminate\Contracts\Http\Kernel',
31 | 'App\Http\Kernel'
32 | );
33 |
34 | $app->singleton(
35 | 'Illuminate\Contracts\Console\Kernel',
36 | 'App\Console\Kernel'
37 | );
38 |
39 | $app->singleton(
40 | 'Illuminate\Contracts\Debug\ExceptionHandler',
41 | 'App\Exceptions\Handler'
42 | );
43 |
44 | /*
45 | |--------------------------------------------------------------------------
46 | | Return The Application
47 | |--------------------------------------------------------------------------
48 | |
49 | | This script returns the application instance. The instance is given to
50 | | the calling script so we can separate the building of the instances
51 | | from the actual running of the application and sending responses.
52 | |
53 | */
54 |
55 | return $app;
56 |
--------------------------------------------------------------------------------
/public/less/mailbox.less:
--------------------------------------------------------------------------------
1 | /*
2 | Component: Mailbox
3 | */
4 |
5 | .mailbox {
6 |
7 | .table-mailbox {
8 | border-left: 1px solid #ddd;
9 | border-right: 1px solid #ddd;
10 | border-bottom: 1px solid #ddd;
11 | tr {
12 | &.unread {
13 | > td {
14 | background-color: rgba(0, 0, 0, 0.05);
15 | color: #000;
16 | font-weight: 600;
17 | }
18 | }
19 |
20 | > td > .fa.fa-star,
21 | > td > .fa.fa-star-o,
22 | > td > .glyphicon.glyphicon-star,
23 | > td > .glyphicon.glyphicon-star-empty{
24 | color: @yellow;
25 | cursor: pointer;
26 | }
27 |
28 | > td.small-col {
29 | width: 30px;
30 | }
31 |
32 | > td.name {
33 | width: 150px;
34 | font-weight: 600;
35 | }
36 | > td.time {
37 | text-align: right;
38 | width: 100px;
39 | }
40 | > td {
41 | white-space: nowrap;
42 | }
43 |
44 | & > td > a {color: #444;}
45 | }
46 | }
47 |
48 | @media screen and (max-width: @screen-sm) {
49 | .nav-stacked {
50 | > li:not(.header) {
51 | float: left;
52 | width: 50%;
53 | &.header {
54 | border: 0!important;
55 | }
56 | }
57 | }
58 |
59 | .search-form {
60 | margin-top: 10px;
61 | }
62 | }
63 |
64 | }
--------------------------------------------------------------------------------
/public/css/iCheck/square/square.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Square skin, black
2 | ----------------------------------- */
3 | .icheckbox_square,
4 | .iradio_square {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 22px;
11 | height: 22px;
12 | background: url(square.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_square {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_square.hover {
21 | background-position: -24px 0;
22 | }
23 | .icheckbox_square.checked {
24 | background-position: -48px 0;
25 | }
26 | .icheckbox_square.disabled {
27 | background-position: -72px 0;
28 | cursor: default;
29 | }
30 | .icheckbox_square.checked.disabled {
31 | background-position: -96px 0;
32 | }
33 |
34 | .iradio_square {
35 | background-position: -120px 0;
36 | }
37 | .iradio_square.hover {
38 | background-position: -144px 0;
39 | }
40 | .iradio_square.checked {
41 | background-position: -168px 0;
42 | }
43 | .iradio_square.disabled {
44 | background-position: -192px 0;
45 | cursor: default;
46 | }
47 | .iradio_square.checked.disabled {
48 | background-position: -216px 0;
49 | }
50 |
51 | /* Retina support */
52 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
53 | only screen and (-moz-min-device-pixel-ratio: 1.5),
54 | only screen and (-o-min-device-pixel-ratio: 3/2),
55 | only screen and (min-device-pixel-ratio: 1.5) {
56 | .icheckbox_square,
57 | .iradio_square {
58 | background-image: url(square@2x.png);
59 | -webkit-background-size: 240px 24px;
60 | background-size: 240px 24px;
61 | }
62 | }
--------------------------------------------------------------------------------
/public/js/plugins/input-mask/jquery.inputmask.phone.extensions.js:
--------------------------------------------------------------------------------
1 | /*
2 | Input Mask plugin extensions
3 | http://github.com/RobinHerbots/jquery.inputmask
4 | Copyright (c) 2010 - 2014 Robin Herbots
5 | Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php)
6 | Version: 0.0.0
7 |
8 | Phone extension.
9 | When using this extension make sure you specify the correct url to get the masks
10 |
11 | $(selector).inputmask("phone", {
12 | url: "Scripts/jquery.inputmask/phone-codes/phone-codes.json",
13 | onKeyValidation: function () { //show some metadata in the console
14 | console.log($(this).inputmask("getmetadata")["name_en"]);
15 | }
16 | });
17 |
18 |
19 | */
20 | (function ($) {
21 | $.extend($.inputmask.defaults.aliases, {
22 | 'phone': {
23 | url: "phone-codes/phone-codes.json",
24 | mask: function (opts) {
25 | opts.definitions = {
26 | 'p': {
27 | validator: function () { return false; },
28 | cardinality: 1
29 | },
30 | '#': {
31 | validator: "[0-9]",
32 | cardinality: 1
33 | }
34 | };
35 | var maskList = [];
36 | $.ajax({
37 | url: opts.url,
38 | async: false,
39 | dataType: 'json',
40 | success: function (response) {
41 | maskList = response;
42 | }
43 | });
44 |
45 | maskList.splice(0, 0, "+p(ppp)ppp-pppp");
46 | return maskList;
47 | }
48 | }
49 | });
50 | })(jQuery);
51 |
--------------------------------------------------------------------------------
/artisan:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env php
2 | make('Illuminate\Contracts\Console\Kernel');
32 |
33 | $status = $kernel->handle(
34 | $input = new Symfony\Component\Console\Input\ArgvInput,
35 | new Symfony\Component\Console\Output\ConsoleOutput
36 | );
37 |
38 | /*
39 | |--------------------------------------------------------------------------
40 | | Shutdown The Application
41 | |--------------------------------------------------------------------------
42 | |
43 | | Once Artisan has finished running. We will fire off the shutdown events
44 | | so that any final work may be done by the application before we shut
45 | | down the process. This is the last thing to happen to the request.
46 | |
47 | */
48 |
49 | $kernel->terminate($input, $status);
50 |
51 | exit($status);
52 |
--------------------------------------------------------------------------------
/public/css/iCheck/all.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin skins
2 | ----------------------------------- */
3 | @import url("minimal/_all.css");
4 | /*
5 | @import url("minimal/minimal.css");
6 | @import url("minimal/red.css");
7 | @import url("minimal/green.css");
8 | @import url("minimal/blue.css");
9 | @import url("minimal/aero.css");
10 | @import url("minimal/grey.css");
11 | @import url("minimal/orange.css");
12 | @import url("minimal/yellow.css");
13 | @import url("minimal/pink.css");
14 | @import url("minimal/purple.css");
15 | */
16 |
17 | @import url("square/_all.css");
18 | /*
19 | @import url("square/square.css");
20 | @import url("square/red.css");
21 | @import url("square/green.css");
22 | @import url("square/blue.css");
23 | @import url("square/aero.css");
24 | @import url("square/grey.css");
25 | @import url("square/orange.css");
26 | @import url("square/yellow.css");
27 | @import url("square/pink.css");
28 | @import url("square/purple.css");
29 | */
30 |
31 | @import url("flat/_all.css");
32 | /*
33 | @import url("flat/flat.css");
34 | @import url("flat/red.css");
35 | @import url("flat/green.css");
36 | @import url("flat/blue.css");
37 | @import url("flat/aero.css");
38 | @import url("flat/grey.css");
39 | @import url("flat/orange.css");
40 | @import url("flat/yellow.css");
41 | @import url("flat/pink.css");
42 | @import url("flat/purple.css");
43 | */
44 |
45 | @import url("line/_all.css");
46 | /*
47 | @import url("line/line.css");
48 | @import url("line/red.css");
49 | @import url("line/green.css");
50 | @import url("line/blue.css");
51 | @import url("line/aero.css");
52 | @import url("line/grey.css");
53 | @import url("line/orange.css");
54 | @import url("line/yellow.css");
55 | @import url("line/pink.css");
56 | @import url("line/purple.css");
57 | */
58 |
59 | @import url("polaris/polaris.css");
60 |
61 | @import url("futurico/futurico.css");
--------------------------------------------------------------------------------
/public/css/iCheck/polaris/polaris.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Polaris skin
2 | ----------------------------------- */
3 | .icheckbox_polaris,
4 | .iradio_polaris {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 29px;
11 | height: 29px;
12 | background: url(polaris.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_polaris {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_polaris.hover {
21 | background-position: -31px 0;
22 | }
23 | .icheckbox_polaris.checked {
24 | background-position: -62px 0;
25 | }
26 | .icheckbox_polaris.disabled {
27 | background-position: -93px 0;
28 | cursor: default;
29 | }
30 | .icheckbox_polaris.checked.disabled {
31 | background-position: -124px 0;
32 | }
33 |
34 | .iradio_polaris {
35 | background-position: -155px 0;
36 | }
37 | .iradio_polaris.hover {
38 | background-position: -186px 0;
39 | }
40 | .iradio_polaris.checked {
41 | background-position: -217px 0;
42 | }
43 | .iradio_polaris.disabled {
44 | background-position: -248px 0;
45 | cursor: default;
46 | }
47 | .iradio_polaris.checked.disabled {
48 | background-position: -279px 0;
49 | }
50 |
51 | /* Retina support */
52 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
53 | only screen and (-moz-min-device-pixel-ratio: 1.5),
54 | only screen and (-o-min-device-pixel-ratio: 3/2),
55 | only screen and (min-device-pixel-ratio: 1.5) {
56 | .icheckbox_polaris,
57 | .iradio_polaris {
58 | background-image: url(polaris@2x.png);
59 | -webkit-background-size: 310px 31px;
60 | background-size: 310px 31px;
61 | }
62 | }
--------------------------------------------------------------------------------
/public/css/iCheck/minimal/minimal.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Minimal skin, black
2 | ----------------------------------- */
3 | .icheckbox_minimal,
4 | .iradio_minimal {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 18px;
11 | height: 18px;
12 | background: url(minimal.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_minimal {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_minimal.hover {
21 | background-position: -20px 0;
22 | }
23 | .icheckbox_minimal.checked {
24 | background-position: -40px 0;
25 | }
26 | .icheckbox_minimal.disabled {
27 | background-position: -60px 0;
28 | cursor: default;
29 | }
30 | .icheckbox_minimal.checked.disabled {
31 | background-position: -80px 0;
32 | }
33 |
34 | .iradio_minimal {
35 | background-position: -100px 0;
36 | }
37 | .iradio_minimal.hover {
38 | background-position: -120px 0;
39 | }
40 | .iradio_minimal.checked {
41 | background-position: -140px 0;
42 | }
43 | .iradio_minimal.disabled {
44 | background-position: -160px 0;
45 | cursor: default;
46 | }
47 | .iradio_minimal.checked.disabled {
48 | background-position: -180px 0;
49 | }
50 |
51 | /* Retina support */
52 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
53 | only screen and (-moz-min-device-pixel-ratio: 1.5),
54 | only screen and (-o-min-device-pixel-ratio: 3/2),
55 | only screen and (min-device-pixel-ratio: 1.5) {
56 | .icheckbox_minimal,
57 | .iradio_minimal {
58 | background-image: url(minimal@2x.png);
59 | -webkit-background-size: 200px 20px;
60 | background-size: 200px 20px;
61 | }
62 | }
--------------------------------------------------------------------------------
/public/css/iCheck/square/red.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Square skin, red
2 | ----------------------------------- */
3 | .icheckbox_square-red,
4 | .iradio_square-red {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 22px;
11 | height: 22px;
12 | background: url(red.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_square-red {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_square-red.hover {
21 | background-position: -24px 0;
22 | }
23 | .icheckbox_square-red.checked {
24 | background-position: -48px 0;
25 | }
26 | .icheckbox_square-red.disabled {
27 | background-position: -72px 0;
28 | cursor: default;
29 | }
30 | .icheckbox_square-red.checked.disabled {
31 | background-position: -96px 0;
32 | }
33 |
34 | .iradio_square-red {
35 | background-position: -120px 0;
36 | }
37 | .iradio_square-red.hover {
38 | background-position: -144px 0;
39 | }
40 | .iradio_square-red.checked {
41 | background-position: -168px 0;
42 | }
43 | .iradio_square-red.disabled {
44 | background-position: -192px 0;
45 | cursor: default;
46 | }
47 | .iradio_square-red.checked.disabled {
48 | background-position: -216px 0;
49 | }
50 |
51 | /* Retina support */
52 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
53 | only screen and (-moz-min-device-pixel-ratio: 1.5),
54 | only screen and (-o-min-device-pixel-ratio: 3/2),
55 | only screen and (min-device-pixel-ratio: 1.5) {
56 | .icheckbox_square-red,
57 | .iradio_square-red {
58 | background-image: url(red@2x.png);
59 | -webkit-background-size: 240px 24px;
60 | background-size: 240px 24px;
61 | }
62 | }
--------------------------------------------------------------------------------
/public/css/iCheck/minimal/red.css:
--------------------------------------------------------------------------------
1 | /* iCheck plugin Minimal skin, red
2 | ----------------------------------- */
3 | .icheckbox_minimal-red,
4 | .iradio_minimal-red {
5 | display: inline-block;
6 | *display: inline;
7 | vertical-align: middle;
8 | margin: 0;
9 | padding: 0;
10 | width: 18px;
11 | height: 18px;
12 | background: url(red.png) no-repeat;
13 | border: none;
14 | cursor: pointer;
15 | }
16 |
17 | .icheckbox_minimal-red {
18 | background-position: 0 0;
19 | }
20 | .icheckbox_minimal-red.hover {
21 | background-position: -20px 0;
22 | }
23 | .icheckbox_minimal-red.checked {
24 | background-position: -40px 0;
25 | }
26 | .icheckbox_minimal-red.disabled {
27 | background-position: -60px 0;
28 | cursor: default;
29 | }
30 | .icheckbox_minimal-red.checked.disabled {
31 | background-position: -80px 0;
32 | }
33 |
34 | .iradio_minimal-red {
35 | background-position: -100px 0;
36 | }
37 | .iradio_minimal-red.hover {
38 | background-position: -120px 0;
39 | }
40 | .iradio_minimal-red.checked {
41 | background-position: -140px 0;
42 | }
43 | .iradio_minimal-red.disabled {
44 | background-position: -160px 0;
45 | cursor: default;
46 | }
47 | .iradio_minimal-red.checked.disabled {
48 | background-position: -180px 0;
49 | }
50 |
51 | /* Retina support */
52 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
53 | only screen and (-moz-min-device-pixel-ratio: 1.5),
54 | only screen and (-o-min-device-pixel-ratio: 1.5),
55 | only screen and (min-device-pixel-ratio: 1.5) {
56 | .icheckbox_minimal-red,
57 | .iradio_minimal-red {
58 | background-image: url(red@2x.png);
59 | -webkit-background-size: 200px 20px;
60 | background-size: 200px 20px;
61 | }
62 | }
--------------------------------------------------------------------------------