-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c2aaeb8
commit e3788c6
Showing
830 changed files
with
17,130 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Changelog | ||
|
||
All notable changes to `fortify-ui-preset` will be documented in this file | ||
All notable changes to `fortify-tabler` will be documented in this file | ||
|
||
## 1.0.0 - 202X-XX-XX | ||
## 1.0.0 - 2020-11-14 | ||
|
||
- initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) Your Name <[email protected]> | ||
Copyright (c) Roel Reijneveld <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,8 @@ | ||
<p align="center"><img width="400" src="https://github.com/zacksmash/fortify-ui-preset/raw/master/fortify-preset-image.png"></p> | ||
|
||
# Using this template | ||
|
||
Here are the steps to customize this template with your preset | ||
|
||
- Rename the files in the `src` directory. Example `FortifyUIBootstrapCommand.php` | ||
- Make sure you update any `use` statements and namespaces | ||
- Add your preset stubs to the `stubs` directory | ||
- Add your preset image and preset screenshots | ||
- Update the `composer.json` | ||
- Replace all instances of `YourNamespace\\FortifyUIPreset` with your details. For example: `SomeDude\\FortifyUIBootstrap` | ||
- Search & Replace all of the following terms | ||
- YourNamespace | ||
- yournamespace | ||
- YourPreset | ||
- yourpreset | ||
- SomeFramework | ||
- Your Name | ||
- yourusername | ||
- [email protected] | ||
|
||
<p align="center"><img width="400" src="https://github.com/Proxeuse/fortify-tabler/raw/master/fortify-tabler.png"></p> | ||
|
||
# Introduction | ||
|
||
**YourPreset** is a Laravel Fortify UI preset, built with SomeFramework. | ||
**Tabler.io** is a framework based on Bootstrap. This repository is a Laravel Fortify UI preset which should be used in combination with [FortifyUI](https://github.com/zacksmash/fortify-ui). This preset includes the Tabler.io assets for [release 1.0.0-alpha.7](https://github.com/tabler/tabler/releases/tag/1.0.0-alpha.7). | ||
|
||
- [Requirements](#requirements) | ||
- [Installation](#installation) | ||
|
@@ -36,25 +15,25 @@ This package requires Laravel Fortify and FortifyUI. Installing [*FortifyUI*](ht | |
<a name="installation"></a> | ||
## Installation | ||
|
||
To get started, you'll need to install **YourPreset** using Composer. | ||
To get started, you'll need to install **fortify-tabler** using Composer. | ||
|
||
```bash | ||
composer require yournamespace/fortify-yourpreset | ||
composer require proxeuse/fortify-tabler | ||
``` | ||
|
||
Next, you'll need to run the install command: | ||
|
||
```bash | ||
php artisan fortify-ui:yourpreset | ||
php artisan fortify-ui:tabler | ||
``` | ||
|
||
This command will publish **YourPreset's** views and resources to your project. | ||
This command will publish **fortify-tabler's** views and resources to your project. | ||
|
||
- All `auth` views | ||
- Other files... | ||
|
||
<p align="center"><img src="https://github.com/zacksmash/fortify-ui-preset/raw/master/fortify-preset-screenshot.png"></p> | ||
<p align="center"><img src="https://github.com/Proxeuse/fortify-tabler/raw/master/tabler-screenshot.png"></p> | ||
|
||
## License | ||
|
||
**FortifyUIPreset** is open-sourced software licensed under the [MIT license](LICENSE.md). | ||
**fortify-tabler** is open-sourced software licensed under the [MIT license](LICENSE.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
{ | ||
"name": "yournamespace/fortify-yourpreset", | ||
"description": "Fortify-driven Laravel UI replacement", | ||
"name": "proxeuse/fortify-tabler", | ||
"description": "A preset for FortifyUI based on the Tabler Bootstrap framework.", | ||
"keywords": [ | ||
"fortify-ui" | ||
], | ||
"homepage": "https://github.com/yourusername/fortify-yourpreset", | ||
"homepage": "https://github.com/Proxeuse/fortify-tabler/", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Your Name", | ||
"email": "[email protected]", | ||
"homepage": "https://yourusername.github.io", | ||
"name": "Roel Reijneveld", | ||
"email": "[email protected]", | ||
"homepage": "https://roelreijneveld.nl", | ||
"role": "Developer" | ||
}, | ||
{ | ||
"name": "Proxeuse", | ||
"email": "[email protected]", | ||
"homepage": "https://www.proxeuse.com/" | ||
} | ||
], | ||
"require": { | ||
|
@@ -27,12 +32,12 @@ | |
}, | ||
"autoload": { | ||
"psr-4": { | ||
"YourNamespace\\FortifyUIPreset\\": "src" | ||
"Proxeuse\\FortifyUITabler\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"YourNamespace\\FortifyUIPreset\\Tests\\": "tests" | ||
"Proxeuse\\FortifyUITabler\\Tests\\": "tests" | ||
} | ||
}, | ||
"scripts": { | ||
|
@@ -47,7 +52,7 @@ | |
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"YourNamespace\\FortifyUIPreset\\FortifyUIPresetServiceProvider" | ||
"Proxeuse\\FortifyUITabler\\FortifyUITablerServiceProvider" | ||
] | ||
} | ||
}, | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
<?php | ||
|
||
namespace YourNamespace\FortifyUIPreset\Commands; | ||
namespace Proxeuse\FortifyUITabler\Commands; | ||
|
||
use Illuminate\Console\Command; | ||
|
||
class FortifyUIPresetCommand extends Command | ||
class FortifyUITablerCommand extends Command | ||
{ | ||
public $signature = 'fortify-ui:yourpreset'; | ||
public $signature = 'fortify-ui:tabler'; | ||
|
||
public $description = 'Install YourPreset with views and resources'; | ||
public $description = 'Install Tabler.io with views and resources'; | ||
|
||
public function handle() | ||
{ | ||
$this->publishAssets(); | ||
|
||
$this->comment('YourPreset is now installed.'); | ||
$this->comment('The Tabler.io Framework is now installed.'); | ||
} | ||
|
||
protected function publishAssets() | ||
{ | ||
$this->callSilent('vendor:publish', ['--tag' => 'fortify-ui-preset-resources', '--force' => true]); | ||
$this->callSilent('vendor:publish', ['--tag' => 'fortify-ui-tabler-resources', '--force' => true]); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Proxeuse\FortifyUITabler; | ||
|
||
use Illuminate\Support\ServiceProvider; | ||
use Proxeuse\FortifyUITabler\Commands\FortifyUITabler; | ||
|
||
class FortifyUITablerServiceProvider extends ServiceProvider | ||
{ | ||
public function boot() | ||
{ | ||
if ($this->app->runningInConsole()) { | ||
$this->publishes([ | ||
__DIR__ . '/../stubs/resources/views' => base_path('resources/views'), | ||
__DIR__ . '/../stubs/public' => base_path('public'), | ||
__DIR__ . '/../stubs/lang' => base_path('resources/lang'), | ||
], 'fortify-ui-tabler-resources'); | ||
|
||
$this->commands([ | ||
FortifyUITabler::class, | ||
]); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Authentication Language Lines | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The following language lines are used during authentication for various | ||
| messages that we need to display to the user. You are free to modify | ||
| these language lines according to your application's requirements. | ||
| | ||
*/ | ||
|
||
'failed' => 'These credentials do not match our records.', | ||
'password' => 'The provided password is incorrect.', | ||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', | ||
'login' => 'Login', | ||
'rememberme' => 'Remember me', | ||
'loginbutton' => 'Login', | ||
'register' => 'Register', | ||
'registerbutton' => 'Register', | ||
'submit' => 'Submit', | ||
'fields' => [ | ||
'name' => 'Name', | ||
'email' => 'Email', | ||
'password' => 'Password', | ||
'passwordconfirmation' => 'Password Confirmation', | ||
], | ||
'placeholder' => [ | ||
'name' => 'Enter your full name', | ||
'email' => 'Enter your email', | ||
'password' => 'Enter your password', | ||
'passwordconfirmation' => 'Confirm your password', | ||
'forgotpassword' => 'Forgot your password?', | ||
], | ||
'createaccount' => 'Create an account', | ||
'error' => 'Error', | ||
'2fa' => [ | ||
'title' => 'Two Factor Authentication', | ||
'code' => '2FA Code', | ||
'codehelp' => 'Please confirm access to your account by entering the authentication code provided by your authenticator application.', | ||
'emergency' => 'Recovery Code', | ||
'emergencycodehelp' => 'Please confirm access to your account by entering one of your emergency recovery codes.', | ||
'submit' => 'Submit', | ||
'loginrecovery' => 'Login using a recovery code.', | ||
'logincode' => 'Login using a 2FA code.', | ||
], | ||
'confirmpassword' => 'Confirm your password to proceed', | ||
'forgotpassword' => 'Request a password reset', | ||
'forgotpasswordtext' => 'Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.', | ||
'emailverification' => 'Email Verification', | ||
'emailverificationtext' => 'Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.', | ||
'resend' => 'Resend', | ||
'resendconfirmation' => 'A new verification link has been sent to the email address you provided during registration.', | ||
|
||
]; |
Oops, something went wrong.