Skip to content

Commit

Permalink
update new Security layouts design
Browse files Browse the repository at this point in the history
- add new screenshoots
- update documentation
  • Loading branch information
Petar Simic committed Jul 30, 2018
1 parent 40583b5 commit 7c4f2a7
Show file tree
Hide file tree
Showing 16 changed files with 294 additions and 87 deletions.
38 changes: 29 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@
[![License](https://poser.pugx.org/fractas/security-layouts/license)](https://packagist.org/packages/fractas/security-layouts)

## Overview
SilverStripe module for fancier security layouts (login/lost password etc.)
SilverStripe module for fancier security layouts _(login, logout, lost password etc.)_ see [Screenshoots](#screenshoots) to see how they look.
Inspired by Bootstrap 4.


## Note
This module overwrites couple of _SilverStripe FormField templates_ in order to style checkbox and input fields.


## Requirements
- SilverStripe CMS 4+
- SilverStripe Framework 4+


## Installation & Usage
- Install via Composer
```
Expand All @@ -19,23 +26,36 @@ SilverStripe module for fancier security layouts (login/lost password etc.)
- Add to your config.yml file:
```yml
Fractas\SecurityForm\SecurityFormController:
company_logo: 'path/to/logo.svg' # path to project or company logo
company_name: 'ACME' # name of company or project
company_link: 'http://www.example.com' # project or company link
company_logo: 'path/to/logo.svg' # path to project or company logo, if not specified defaults to logo.png (SilverStripe logo)
company_name: 'ACME' # name of company or project, if not specified defaults to SiteConfig Title
company_link: 'http://www.example.com' # project or company link, if not specified defaults to Site's BaseHref
```
- Run dev/build
- Run flush=all in your browser
## Screenshoots
![Security Layout Log In](https://github.com/fractaslabs/silverstripe-security-layouts/blob/master/docs/images/security-layout-log-in.jpg)
![Security Layout Lost Password](https://github.com/fractaslabs/silverstripe-security-layouts/blob/master/docs/images/security-layout-lost-password.jpg)
![Security Layout Password Sent](https://github.com/fractaslabs/silverstripe-security-layouts/blob/master/docs/images/security-layout-password-sent.jpg)
![Security Layout Log In](docs/images/security-layout-log-in.png)
![Security Layout Lost Password](docs/images/security-layout-lost-password.png)
![Security Layout Password Sent](docs/images/security-layout-password-sent.png)
![Security Layout Log Out](docs/images/security-layout-log-out.png)
![Security Layout Log In Logged As](docs/images/security-layout-log-in-logged-in.png)
## Bugtracker
Bugs are tracked on [github.com](https://github.com/fractaslabs/silverstripe-security-layouts/issues)
## Licence
See [Licence](https://github.com/fractaslabs/silverstripe-security-layouts/blob/master/LICENSE)
See [Licence](LICENSE)
## Credits
- logo.png by SilverStripe.org
Loading

0 comments on commit 7c4f2a7

Please sign in to comment.