Repository: nebulapackage/nebula
Branch: master
Commit: 7f57c2c42dcd
Files: 112
Total size: 125.1 KB
Directory structure:
gitextract_2bgbphje/
├── .editorconfig
├── .gitattributes
├── .github/
│ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md
│ ├── FUNDING.yml
│ ├── LICENSE.md
│ ├── README.md
│ └── workflows/
│ └── tests.yml
├── .gitignore
├── .php_cs.dist
├── .prettierrc
├── composer.json
├── config/
│ └── nebula.php
├── package.json
├── phpunit.xml.dist
├── public/
│ ├── css/
│ │ └── app.css
│ └── mix-manifest.json
├── resources/
│ ├── css/
│ │ └── app.css
│ ├── lang/
│ │ ├── de.json
│ │ └── nl.json
│ └── views/
│ ├── components/
│ │ ├── card.blade.php
│ │ ├── container.blade.php
│ │ ├── error.blade.php
│ │ ├── fields/
│ │ │ ├── details/
│ │ │ │ ├── boolean.blade.php
│ │ │ │ ├── color.blade.php
│ │ │ │ ├── date.blade.php
│ │ │ │ ├── input.blade.php
│ │ │ │ ├── select.blade.php
│ │ │ │ └── textarea.blade.php
│ │ │ ├── forms/
│ │ │ │ ├── boolean.blade.php
│ │ │ │ ├── color.blade.php
│ │ │ │ ├── date.blade.php
│ │ │ │ ├── input.blade.php
│ │ │ │ ├── select.blade.php
│ │ │ │ └── textarea.blade.php
│ │ │ └── tables/
│ │ │ ├── boolean.blade.php
│ │ │ ├── color.blade.php
│ │ │ ├── date.blade.php
│ │ │ ├── input.blade.php
│ │ │ ├── select.blade.php
│ │ │ └── textarea.blade.php
│ │ ├── form-actions.blade.php
│ │ ├── form-row.blade.php
│ │ ├── form.blade.php
│ │ ├── helper-text.blade.php
│ │ ├── label.blade.php
│ │ ├── layouts/
│ │ │ ├── app.blade.php
│ │ │ └── shell.blade.php
│ │ ├── metric-card.blade.php
│ │ ├── metrics/
│ │ │ └── value.blade.php
│ │ └── pagination.blade.php
│ ├── dashboards/
│ │ ├── default-metrics.blade.php
│ │ ├── default.blade.php
│ │ └── index.blade.php
│ ├── pages/
│ │ └── index.blade.php
│ ├── resources/
│ │ ├── create.blade.php
│ │ ├── edit.blade.php
│ │ ├── index.blade.php
│ │ └── show.blade.php
│ └── start.blade.php
├── routes/
│ └── web.php
├── src/
│ ├── Console/
│ │ └── Commands/
│ │ ├── InstallCommand.php
│ │ ├── MakeDashboardCommand.php
│ │ ├── MakeFieldCommand.php
│ │ ├── MakeFilterCommand.php
│ │ ├── MakePageCommand.php
│ │ ├── MakeResourceCommand.php
│ │ ├── MakeValueMetricCommand.php
│ │ └── stubs/
│ │ ├── dashboard.stub
│ │ ├── field.stub
│ │ ├── filter.stub
│ │ ├── page.stub
│ │ ├── resource.stub
│ │ └── value.stub
│ ├── Contracts/
│ │ ├── NebulaDashboard.php
│ │ ├── NebulaField.php
│ │ ├── NebulaFilter.php
│ │ ├── NebulaMetric.php
│ │ ├── NebulaPage.php
│ │ ├── NebulaResource.php
│ │ ├── ShouldCache.php
│ │ ├── ShouldRender.php
│ │ └── ShouldSpanCols.php
│ ├── Fields/
│ │ ├── Boolean.php
│ │ ├── Color.php
│ │ ├── Concerns/
│ │ │ ├── HasHelperText.php
│ │ │ └── HasPlaceholder.php
│ │ ├── Date.php
│ │ ├── Input.php
│ │ ├── Select.php
│ │ └── Textarea.php
│ ├── Http/
│ │ ├── Concerns/
│ │ │ └── AuthorizesRequests.php
│ │ ├── Controllers/
│ │ │ ├── DashboardController.php
│ │ │ ├── PageController.php
│ │ │ ├── ResourceController.php
│ │ │ └── StartController.php
│ │ ├── Middleware/
│ │ │ ├── NebulaEmailAuthStrategy.php
│ │ │ └── NebulaIPAuthStrategy.php
│ │ └── RouteResolvers/
│ │ ├── DashboardResolver.php
│ │ ├── ItemResolver.php
│ │ ├── PageResolver.php
│ │ ├── Resolver.php
│ │ └── ResourceResolver.php
│ ├── Metrics/
│ │ └── ValueMetric.php
│ ├── Nebula.php
│ ├── NebulaServiceProvider.php
│ └── Traits/
│ └── Toasts.php
├── tailwind.config.js
├── tests/
│ ├── ConsoleCommandTest.php
│ ├── RegistrationMethodsTest.php
│ └── TestCase.php
└── webpack.mix.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .editorconfig
================================================
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org
root = true
[*]
charset = utf-8
indent_size = 4
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[*.js]
indent_size = 2
================================================
FILE: .gitattributes
================================================
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
# Ignore all test and documentation with "export-ignore".
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpunit.xml.dist export-ignore
/.scrutinizer.yml export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.github export-ignore
/.php_cs.dist export-ignore
/.prettierrc export-ignore
================================================
FILE: .github/CHANGELOG.md
================================================
# Changelog
All notable changes to `nebula` will be documented in this file
## 0.2.0 - 2020-09-24
- Table components
- Better fields API
- Many "bug" fixes
- Resource queries
- Domain support by [Dennis Smink](https://github.com/Cannonb4ll)
- Cleaner code and GH workflows by [Gregori Piñeres](https://github.com/gregorip02)
## 0.1.0 - 2020-09-22
- initial public release
================================================
FILE: .github/CONTRIBUTING.md
================================================
# Contributing
Contributions are **welcome** and will be fully **credited**.
Please read and understand the contribution guide before creating an issue or pull request.
## Etiquette
This project is open source, and as such, the maintainers give their free time to build and maintain the source code
held within. They make the code freely available in the hope that it will be of use to other developers. It would be
extremely unfair for them to suffer abuse or anger for their hard work.
Please be considerate towards maintainers when raising issues or presenting pull requests. Let's show the
world that developers are civilized and selfless people.
It's the duty of the maintainer to ensure that all submissions to the project are of sufficient
quality to benefit the project. Many developers have different skillsets, strengths, and weaknesses. Respect the maintainer's decision, and do not be upset or abusive if your submission is not used.
## Viability
When requesting or submitting new features, first consider whether it might be useful to others. Open
source projects are used by many developers, who may have entirely different needs to your own. Think about
whether or not your feature is likely to be used by other users of the project.
## Procedure
Before filing an issue:
- Attempt to replicate the problem, to ensure that it wasn't a coincidental incident.
- Check to make sure your feature suggestion isn't already present within the project.
- Check the pull requests tab to ensure that the bug doesn't have a fix in progress.
- Check the pull requests tab to ensure that the feature isn't already in progress.
Before submitting a pull request:
- Check the codebase to ensure that your feature doesn't already exist.
- Check the pull requests to ensure that another person hasn't already submitted the feature or fix.
## Code quality
Please format your code with php-cs-fixer before submitting the pull request. You can format the code by executing `php-cs-fixer fix`.
**Happy coding**!
================================================
FILE: .github/FUNDING.yml
================================================
github: [larsklopstra]
================================================
FILE: .github/LICENSE.md
================================================
MIT License
Copyright (c) Lars Klopstra
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: .github/README.md
================================================
# Nebula
[](https://packagist.org/packages/larsklopstra/nebula)
[](https://packagist.org/packages/larsklopstra/nebula)
Nebula is a minimalistic and easy to use administration tool for Laravel applications, made with Laravel, Alpine.js, and Tailwind CSS.
Nebula makes you write less code and lets you focus more on the product by lessening the code required to build CRUD interfaces and metrics. Nebula offers a rich CLI and a set of metrics and form fields that does the heavy lifting for you.
**This is the pre 1.0.0 version, the API might be subject to change. Please be careful with using this version in production apps.**
Join our [Discord](https://discord.gg/xRndbjE) if you have any questions or would like to be an active member in the Nebula community.
## Installation
You can install the package via composer:
```bash
composer require larsklopstra/nebula
```
## Usage
Please read the documentation at [nebulapackage.com](https://nebulapackage.com).
### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email larsklopstra@gmail.com instead of using the issue tracker.
## Credits
- [Lars Klopstra](https://github.com/larsklopstra)
- [All Contributors](https://github.com/nebulapackage/nebula/graphs/contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
## Laravel Package Boilerplate
This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).
================================================
FILE: .github/workflows/tests.yml
================================================
name: Tests
on:
push:
pull_request:
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
php: [7.4]
os: [ubuntu-latest]
name: PHP${{ matrix.php }} on ${{ matrix.os }}
container:
image: lorisleiva/laravel-docker:${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Validate composer files
run: composer validate
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction
- name: Run tests
run: vendor/bin/phpunit
================================================
FILE: .gitignore
================================================
build
composer.lock
docs
vendor
coverage
node_modules
.php_cs.cache
.idea
.phpunit.result.cache
================================================
FILE: .php_cs.dist
================================================
['syntax' => 'short'],
'binary_operator_spaces' => [
'default' => 'single_space',
'operators' => ['=>' => null]
],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true,
'blank_line_before_statement' => [
'statements' => ['return']
],
'braces' => true,
'cast_spaces' => true,
'class_attributes_separation' => [
'elements' => ['method']
],
'class_definition' => true,
'concat_space' => [
'spacing' => 'none'
],
'declare_equal_normalize' => true,
'elseif' => true,
'encoding' => true,
'full_opening_tag' => true,
'fully_qualified_strict_types' => true, // added by Shift
'function_declaration' => true,
'function_typehint_space' => true,
'heredoc_to_nowdoc' => true,
'include' => true,
'increment_style' => ['style' => 'post'],
'indentation_type' => true,
'linebreak_after_opening_tag' => true,
'line_ending' => true,
'lowercase_cast' => true,
'lowercase_constants' => true,
'lowercase_keywords' => true,
'lowercase_static_reference' => true, // added from Symfony
'magic_method_casing' => true, // added from Symfony
'magic_constant_casing' => true,
'method_argument_space' => true,
'native_function_casing' => true,
'no_alias_functions' => true,
'no_extra_blank_lines' => [
'tokens' => [
'extra',
'throw',
'use',
'use_trait',
]
],
'no_blank_lines_after_class_opening' => true,
'no_blank_lines_after_phpdoc' => true,
'no_closing_tag' => true,
'no_empty_phpdoc' => true,
'no_empty_statement' => true,
'no_leading_import_slash' => true,
'no_leading_namespace_whitespace' => true,
'no_mixed_echo_print' => [
'use' => 'echo'
],
'no_multiline_whitespace_around_double_arrow' => true,
'multiline_whitespace_before_semicolons' => [
'strategy' => 'no_multi_line'
],
'no_short_bool_cast' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_spaces_after_function_name' => true,
'no_spaces_around_offset' => true,
'no_spaces_inside_parenthesis' => true,
'no_trailing_comma_in_list_call' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_unneeded_control_parentheses' => true,
'no_unreachable_default_argument_value' => true,
'no_useless_return' => true,
'no_whitespace_before_comma_in_array' => true,
'no_whitespace_in_blank_line' => true,
'normalize_index_brace' => true,
'not_operator_with_successor_space' => true,
'object_operator_without_whitespace' => true,
'ordered_imports' => ['sortAlgorithm' => 'alpha'],
'phpdoc_indent' => true,
'phpdoc_inline_tag' => true,
'phpdoc_no_access' => true,
'phpdoc_no_package' => true,
'phpdoc_no_useless_inheritdoc' => true,
'phpdoc_scalar' => true,
'phpdoc_single_line_var_spacing' => true,
'phpdoc_summary' => true,
'phpdoc_to_comment' => true,
'phpdoc_trim' => true,
'phpdoc_types' => true,
'phpdoc_var_without_name' => true,
'psr4' => true,
'self_accessor' => true,
'short_scalar_cast' => true,
'simplified_null_return' => false, // disabled by Shift
'single_blank_line_at_eof' => true,
'single_blank_line_before_namespace' => true,
'single_class_element_per_statement' => true,
'single_import_per_statement' => true,
'single_line_after_imports' => true,
'single_line_comment_style' => [
'comment_types' => ['hash']
],
'single_quote' => true,
'space_after_semicolon' => true,
'standardize_not_equals' => true,
'switch_case_semicolon_to_colon' => true,
'switch_case_space' => true,
'ternary_operator_spaces' => true,
'trailing_comma_in_multiline_array' => true,
'trim_array_spaces' => true,
'unary_operator_spaces' => true,
'visibility_required' => [
'elements' => ['method', 'property']
],
'whitespace_after_comma_in_array' => true,
];
$project_path = getcwd();
$finder = Finder::create()
->in([
__DIR__ . '/src',
__DIR__ . '/routes',
__DIR__ . '/tests',
])
->name('*.php')
->notName('*.blade.php')
->ignoreDotFiles(true)
->ignoreVCS(true);
return Config::create()
->setFinder($finder)
->setRules($rules)
->setRiskyAllowed(true)
->setUsingCache(true);
================================================
FILE: .prettierrc
================================================
{
"arrowParens": "avoid",
"tabWidth": 2,
"printWidth": 100,
"vueIndentScriptAndStyle": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
================================================
FILE: composer.json
================================================
{
"name": "larsklopstra/nebula",
"description": "Nebula, an open-source and easy to use admin panel for Laravel.",
"keywords": [
"larsklopstra",
"nebula"
],
"homepage": "https://github.com/larsklopstra/nebula",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Lars Klopstra",
"email": "larsklopstra@gmail.com",
"role": "Developer"
}
],
"require": {
"php": "^7.4",
"blade-ui-kit/blade-heroicons": "^0.2.2",
"illuminate/console": "^8.0",
"illuminate/database": "^8.0",
"illuminate/http": "^8.0",
"illuminate/support": "^8.0",
"illuminate/view": "^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.16",
"orchestra/testbench": "^6.0",
"phpunit/phpunit": "^8.0"
},
"autoload": {
"psr-4": {
"Larsklopstra\\Nebula\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Larsklopstra\\Nebula\\Tests\\": "tests"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
},
"config": {
"sort-packages": true
},
"extra": {
"laravel": {
"providers": [
"Larsklopstra\\Nebula\\NebulaServiceProvider"
]
}
}
}
================================================
FILE: config/nebula.php
================================================
'Nebula',
'prefix' => '/nebula',
'domain' => null,
'auth_strategy' => NebulaIPAuthStrategy::class,
'allowed_ips' => [
'127.0.0.1',
],
'allowed_emails' => [
// 'admin@example.com',
],
'resources' => [
// new UserResource,
],
'dashboards' => [
// new UserDashboard,
],
'pages' => [
// new CustomPage,
],
];
================================================
FILE: package.json
================================================
{
"name": "nebula",
"description": "Nebula, a Laravel dashboard",
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"author": "Lars Klopstra",
"license": "MIT",
"dependencies": {
"@tailwindcss/custom-forms": "^0.2.1",
"cross-env": "^7.0.2",
"laravel-mix": "^5.0.5",
"prettier": "^2.1.1",
"tailwindcss": "^1.8.2"
}
}
================================================
FILE: phpunit.xml.dist
================================================
testssrc/
================================================
FILE: public/css/app.css
================================================
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}details{display:block}summary{display:list-item}[hidden],template{display:none}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}fieldset,ol,ul{margin:0;padding:0}ol,ul{list-style:none}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}*,:after,:before{box-sizing:border-box;border:0 solid #d2d6dc}hr{border-top-width:1px}img{border-style:solid}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#a0aec0}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#a0aec0}input::placeholder,textarea::placeholder{color:#a0aec0}button{cursor:pointer}table{border-collapse:collapse}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}button,input,optgroup,select,textarea{padding:0;line-height:inherit;color:inherit}code,kbd,pre,samp{font-family:DM mono,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}.form-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#e2e8f0;border-width:1px;border-radius:.25rem;padding:.5rem .75rem;font-size:1rem;line-height:1.5}.form-input::-moz-placeholder{color:#a0aec0;opacity:1}.form-input:-ms-input-placeholder{color:#a0aec0;opacity:1}.form-input::placeholder{color:#a0aec0;opacity:1}.form-input:focus{outline:none;box-shadow:0 0 0 3px rgba(66,153,225,.5);border-color:#63b3ed}.form-textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#e2e8f0;border-width:1px;border-radius:.25rem;padding:.5rem .75rem;font-size:1rem;line-height:1.5}.form-textarea::-moz-placeholder{color:#a0aec0;opacity:1}.form-textarea:-ms-input-placeholder{color:#a0aec0;opacity:1}.form-textarea::placeholder{color:#a0aec0;opacity:1}.form-textarea:focus{outline:none;box-shadow:0 0 0 3px rgba(66,153,225,.5);border-color:#63b3ed}.form-select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a0aec0'%3E%3Cpath d='M15.3 9.3a1 1 0 011.4 1.4l-4 4a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4l3.3 3.29 3.3-3.3z'/%3E%3C/svg%3E");-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;background-repeat:no-repeat;background-color:#fff;border-color:#e2e8f0;border-width:1px;border-radius:.25rem;padding:.5rem 2.5rem .5rem .75rem;font-size:1rem;line-height:1.5;background-position:right .5rem center;background-size:1.5em 1.5em}.form-select::-ms-expand{color:#a0aec0;border:none}@media not print{.form-select::-ms-expand{display:none}}@media print and (-ms-high-contrast:active),print and (-ms-high-contrast:none){.form-select{padding-right:.75rem}}.form-select:focus{outline:none;box-shadow:0 0 0 3px rgba(66,153,225,.5);border-color:#63b3ed}.form-checkbox:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.707 7.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4a1 1 0 00-1.414-1.414L7 8.586 5.707 7.293z'/%3E%3C/svg%3E");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:50%;background-repeat:no-repeat}@media not print{.form-checkbox::-ms-check{border-width:1px;color:transparent;background:inherit;border-color:inherit;border-radius:inherit}}.form-checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-print-color-adjust:exact;color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;flex-shrink:0;height:1em;width:1em;color:#4299e1;background-color:#fff;border-color:#e2e8f0;border-width:1px;border-radius:.25rem}.form-checkbox:focus{outline:none;box-shadow:0 0 0 3px rgba(66,153,225,.5);border-color:#63b3ed}.button{border-radius:.375rem;display:inline-flex;align-items:center;justify-content:center;font-weight:500;height:2.25rem;font-size:.875rem;line-height:1.25rem}.button:focus{outline:0}.button{padding-left:.75rem;padding-right:.75rem;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.button-primary{--bg-opacity:1;background-color:#1c64f2;background-color:rgba(28,100,242,var(--bg-opacity))}.button-primary:hover{--bg-opacity:1;background-color:#3f83f8;background-color:rgba(63,131,248,var(--bg-opacity))}.button-primary:focus{--bg-opacity:1;background-color:#1a56db;background-color:rgba(26,86,219,var(--bg-opacity))}.button-primary{box-shadow:0 1px 1px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.04),0 2px 8px 0 rgba(0,0,0,.02);--text-opacity:1;color:#fff;color:rgba(255,255,255,var(--text-opacity))}.button-secondary{--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity))}.button-secondary:focus{--bg-opacity:1;background-color:#f9fafb;background-color:rgba(249,250,251,var(--bg-opacity))}.button-secondary{--border-opacity:1;border-color:#d2d6dc;border-color:rgba(210,214,220,var(--border-opacity))}.button-secondary:hover{--border-opacity:1;border-color:#e5e7eb;border-color:rgba(229,231,235,var(--border-opacity))}.button-secondary{border-width:1px;box-shadow:0 1px 1px 0 rgba(0,0,0,.08),0 2px 3px 0 rgba(0,0,0,.02),0 3px 6px 0 rgba(0,0,0,.01);--text-opacity:1;color:#252f3f;color:rgba(37,47,63,var(--text-opacity))}.button-secondary:hover{--text-opacity:1;color:#4b5563;color:rgba(75,85,99,var(--text-opacity))}.icon-button:focus{outline:0}.icon-button{--text-opacity:1;color:#9fa6b2;color:rgba(159,166,178,var(--text-opacity))}.icon-button:hover{--text-opacity:1;color:#d2d6dc;color:rgba(210,214,220,var(--text-opacity))}.icon-button:focus{--text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--text-opacity))}.icon-button{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.space-y-1>:not(template)~:not(template){--space-y-reverse:0;margin-top:calc(0.25rem*(1 - var(--space-y-reverse)));margin-bottom:calc(0.25rem*var(--space-y-reverse))}.space-x-1>:not(template)~:not(template){--space-x-reverse:0;margin-right:calc(0.25rem*var(--space-x-reverse));margin-left:calc(0.25rem*(1 - var(--space-x-reverse)))}.space-y-2>:not(template)~:not(template){--space-y-reverse:0;margin-top:calc(0.5rem*(1 - var(--space-y-reverse)));margin-bottom:calc(0.5rem*var(--space-y-reverse))}.space-y-4>:not(template)~:not(template){--space-y-reverse:0;margin-top:calc(1rem*(1 - var(--space-y-reverse)));margin-bottom:calc(1rem*var(--space-y-reverse))}.space-x-4>:not(template)~:not(template){--space-x-reverse:0;margin-right:calc(1rem*var(--space-x-reverse));margin-left:calc(1rem*(1 - var(--space-x-reverse)))}.space-x-6>:not(template)~:not(template){--space-x-reverse:0;margin-right:calc(1.5rem*var(--space-x-reverse));margin-left:calc(1.5rem*(1 - var(--space-x-reverse)))}.space-y-8>:not(template)~:not(template){--space-y-reverse:0;margin-top:calc(2rem*(1 - var(--space-y-reverse)));margin-bottom:calc(2rem*var(--space-y-reverse))}.space-x-px>:not(template)~:not(template){--space-x-reverse:0;margin-right:calc(1px*var(--space-x-reverse));margin-left:calc(1px*(1 - var(--space-x-reverse)))}.divide-y>:not(template)~:not(template){--divide-y-reverse:0;border-top-width:calc(1px*(1 - var(--divide-y-reverse)));border-bottom-width:calc(1px*var(--divide-y-reverse))}.divide-x>:not(template)~:not(template){--divide-x-reverse:0;border-right-width:calc(1px*var(--divide-x-reverse));border-left-width:calc(1px*(1 - var(--divide-x-reverse)))}.divide-gray-200>:not(template)~:not(template){--divide-opacity:1;border-color:#e5e7eb;border-color:rgba(229,231,235,var(--divide-opacity))}.bg-current{background-color:currentColor}.bg-white{--bg-opacity:1;background-color:#fff;background-color:rgba(255,255,255,var(--bg-opacity))}.bg-gray-50{--bg-opacity:1;background-color:#f9fafb;background-color:rgba(249,250,251,var(--bg-opacity))}.bg-gray-100{--bg-opacity:1;background-color:#f4f5f7;background-color:rgba(244,245,247,var(--bg-opacity))}.bg-gray-200{--bg-opacity:1;background-color:#e5e7eb;background-color:rgba(229,231,235,var(--bg-opacity))}.bg-gray-800{--bg-opacity:1;background-color:#252f3f;background-color:rgba(37,47,63,var(--bg-opacity))}.bg-gray-900{--bg-opacity:1;background-color:#161e2e;background-color:rgba(22,30,46,var(--bg-opacity))}.bg-primary-50{--bg-opacity:1;background-color:#ebf5ff;background-color:rgba(235,245,255,var(--bg-opacity))}.bg-success-100{--bg-opacity:1;background-color:#def7ec;background-color:rgba(222,247,236,var(--bg-opacity))}.bg-danger-100{--bg-opacity:1;background-color:#fde8e8;background-color:rgba(253,232,232,var(--bg-opacity))}.focus\:bg-gray-50:focus{--bg-opacity:1;background-color:#f9fafb;background-color:rgba(249,250,251,var(--bg-opacity))}.border-gray-200{--border-opacity:1;border-color:#e5e7eb;border-color:rgba(229,231,235,var(--border-opacity))}.border-gray-300{--border-opacity:1;border-color:#d2d6dc;border-color:rgba(210,214,220,var(--border-opacity))}.border-gray-700{--border-opacity:1;border-color:#374151;border-color:rgba(55,65,81,var(--border-opacity))}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex-1{flex:1 1 0%}.font-sans{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-mono{font-family:DM mono,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-display{font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.font-medium{font-weight:500}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-10{height:2.5rem}.h-16{height:4rem}.h-screen{height:100vh}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem}.text-lg,.text-xl{line-height:1.75rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.m-3{margin:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.mx-auto{margin-left:auto;margin-right:auto}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mr-2{margin-right:.5rem}.mb-2{margin-bottom:.5rem}.mt-4{margin-top:1rem}.mb-8{margin-bottom:2rem}.-mt-5{margin-top:-1.25rem}.max-w-xs{max-width:20rem}.max-w-md{max-width:28rem}.max-w-lg{max-width:32rem}.max-w-6xl{max-width:72rem}.min-h-screen{min-height:100vh}.focus\:outline-none:focus{outline:0}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.p-2{padding:.5rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-top:2rem;padding-bottom:2rem}.placeholder-gray-500::-moz-placeholder{--placeholder-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--placeholder-opacity))}.placeholder-gray-500:-ms-input-placeholder{--placeholder-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--placeholder-opacity))}.placeholder-gray-500::placeholder{--placeholder-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--placeholder-opacity))}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.fixed{position:fixed}.sticky{position:-webkit-sticky;position:sticky}.inset-y-0{top:0;bottom:0}.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.shadow-sm{box-shadow:0 1px 1px 0 rgba(0,0,0,.08),0 2px 3px 0 rgba(0,0,0,.02),0 3px 6px 0 rgba(0,0,0,.01)}.shadow{box-shadow:0 1px 1px 0 rgba(0,0,0,.12),0 2px 4px 0 rgba(0,0,0,.04),0 2px 8px 0 rgba(0,0,0,.02)}.shadow-xl{box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04)}.table-auto{table-layout:auto}.text-left{text-align:left}.text-center{text-align:center}.text-white{--text-opacity:1;color:#fff;color:rgba(255,255,255,var(--text-opacity))}.text-gray-300{--text-opacity:1;color:#d2d6dc;color:rgba(210,214,220,var(--text-opacity))}.text-gray-400{--text-opacity:1;color:#9fa6b2;color:rgba(159,166,178,var(--text-opacity))}.text-gray-500{--text-opacity:1;color:#6b7280;color:rgba(107,114,128,var(--text-opacity))}.text-gray-600{--text-opacity:1;color:#4b5563;color:rgba(75,85,99,var(--text-opacity))}.text-gray-700{--text-opacity:1;color:#374151;color:rgba(55,65,81,var(--text-opacity))}.text-gray-800{--text-opacity:1;color:#252f3f;color:rgba(37,47,63,var(--text-opacity))}.text-primary-600{--text-opacity:1;color:#1c64f2;color:rgba(28,100,242,var(--text-opacity))}.text-primary-700{--text-opacity:1;color:#1a56db;color:rgba(26,86,219,var(--text-opacity))}.text-success-600{--text-opacity:1;color:#057a55;color:rgba(5,122,85,var(--text-opacity))}.text-success-900{--text-opacity:1;color:#014737;color:rgba(1,71,55,var(--text-opacity))}.text-danger-600{--text-opacity:1;color:#e02424;color:rgba(224,36,36,var(--text-opacity))}.text-danger-900{--text-opacity:1;color:#771d1d;color:rgba(119,29,29,var(--text-opacity))}.hover\:text-gray-400:hover{--text-opacity:1;color:#9fa6b2;color:rgba(159,166,178,var(--text-opacity))}.hover\:text-primary-500:hover{--text-opacity:1;color:#3f83f8;color:rgba(63,131,248,var(--text-opacity))}.focus\:text-primary-700:focus{--text-opacity:1;color:#1a56db;color:rgba(26,86,219,var(--text-opacity))}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tracking-tight{letter-spacing:-.025em}.tracking-wider{letter-spacing:.05em}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-10{width:2.5rem}.w-16{width:4rem}.w-64{width:16rem}.w-full{width:100%}.z-10{z-index:10}.z-50{z-index:50}.gap-2{grid-gap:.5rem;gap:.5rem}.gap-4{grid-gap:1rem;gap:1rem}.gap-6{grid-gap:1.5rem;gap:1.5rem}.gap-px{grid-gap:1px;gap:1px}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-4{grid-column:span 4/span 4}.col-span-5{grid-column:span 5/span 5}.col-span-6{grid-column:span 6/span 6}.col-span-7{grid-column:span 7/span 7}.col-span-8{grid-column:span 8/span 8}.col-span-9{grid-column:span 9/span 9}.col-span-10{grid-column:span 10/span 10}.col-span-11{grid-column:span 11/span 11}.col-span-12{grid-column:span 12/span 12}.transition{transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-150{transition-duration:.15s}@-webkit-keyframes spin{to{transform:rotate(1turn)}}@keyframes spin{to{transform:rotate(1turn)}}@-webkit-keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@-webkit-keyframes pulse{50%{opacity:.5}}@keyframes pulse{50%{opacity:.5}}@-webkit-keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@keyframes bounce{0%,to{transform:translateY(-25%);-webkit-animation-timing-function:cubic-bezier(.8,0,1,1);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;-webkit-animation-timing-function:cubic-bezier(0,0,.2,1);animation-timing-function:cubic-bezier(0,0,.2,1)}}@media (min-width:640px){.sm\:flex{display:flex}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:mx-0{margin-left:0;margin-right:0}.sm\:mt-0{margin-top:0}.sm\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width:768px){.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:col-span-2{grid-column:span 2/span 2}}@media (min-width:1024px){.lg\:rounded-l-lg{border-top-left-radius:.5rem;border-bottom-left-radius:.5rem}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:flex-row{flex-direction:row}.lg\:h-16{height:4rem}}
================================================
FILE: public/mix-manifest.json
================================================
{
"/css/app.css": "/css/app.css?id=e4cc3cee8f0618af5d92"
}
================================================
FILE: resources/css/app.css
================================================
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.button {
@apply inline-flex items-center justify-center px-3 text-sm font-medium transition duration-150 ease-in-out rounded-md h-9 focus:outline-none;
}
.button-primary {
@apply text-white shadow bg-primary-600 hover:bg-primary-500 focus:bg-primary-700;
}
.button-secondary {
@apply text-gray-800 bg-white border border-gray-300 shadow-sm hover:text-gray-600 hover:border-gray-200 focus:bg-gray-50;
}
.icon-button {
@apply text-gray-400 transition duration-150 ease-in-out focus:outline-none hover:text-gray-300 focus:text-gray-500;
}
}
================================================
FILE: resources/lang/de.json
================================================
{
"Resources": "Resourcen",
":Resources overview": ":Resourcen Übersicht",
":Resource details": ":Resource Details",
"Create :resource": ":Resource anlegen",
"Edit :resource": ":Resource bearbeiten",
"Update :resource": ":Resource speichern",
"Delete :resource": ":Resource löschen",
"Back to :resources": "Zurück zu :resources",
":Resource created": ":Resource angelegt",
":Resource updated": ":Resource gespeichert",
":Resource deleted": ":Resource gelöscht",
"Expand :field": ":Field erweitern",
"Collapse :field": ":Field einklappen",
"Select filter": "Filter auswählen",
"Apply filters": "Filter anwenden",
"Remove filters": "Filter zurücksetzen",
"Search anything...": "Suchen...",
"Are you sure?": "Bist du sicher?",
"Last month": "Letzter Monat",
"No :resources found": "Keine :resources gefunden",
":Resources you've created will show up here.": ":Resources die du angelegt hast werden hier angezeigt.",
":count result | :count results": ":count Ergebnis | :count Ergebnisse"
}
================================================
FILE: resources/lang/nl.json
================================================
{
"Resources": "Bronnen",
":Resources overview": ":Resources overzicht",
":Resource details": ":Resource details",
"Create :resource": ":Resource aanmaken",
"Edit :resource": ":Resource bewerken",
"Update :resource": ":Resource bijwerken",
"Delete :resource": ":Resource verwijderen",
"Back to :resources": "Terug naar :resources",
":Resource created": ":Resource aangemaakt",
":Resource updated": ":Resource bijgewerkt",
":Resource deleted": ":Resource verwijderd",
"Expand :field": ":Field uitklappen",
"Collapse :field": ":Field inklappen",
"Select filter": "Selecteer filter",
"Apply filters": "Filters toepassen",
"Remove filters": "Filters verwijderen",
"Search anything...": "Zoeken in...",
"Are you sure?": "Weetje het zeker?",
"Last month": "Afgelopen maand",
"No :resources found": "Geen :resources gevonden",
":Resources you've created will show up here.": ":Resources die jij hebt aangemaakt worden hier getoond.",
":count result | :count results": ":count resultaat | :count resultaten"
}
================================================
FILE: resources/views/components/card.blade.php
================================================
@props(['title' => false])