Coder Social home page Coder Social logo

maximehuran / syliusadminbetterloginplugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monsieurbiz/syliusadminbetterloginplugin

0.0 1.0 0.0 3.85 MB

[READ ONLY] A simple plugin to get a better login form for the Sylius admin panel

Home Page: https://monsieurbiz.com

License: MIT License

PHP 61.23% JavaScript 20.43% Twig 13.57% Shell 4.77%

syliusadminbetterloginplugin's Introduction

Monsieur Biz logo      Sylius logo
Monsieur Biz is a Sylius Extension Artisan partner

Admin Better Login

Admin Better Login Plugin license GitHub Workflow Status (branch) Scrutinizer Code Quality

This plugin changes the way you log to your admin panel by adding a beautiful background and focusing on the username (or password) field.

The backgrounds are from Unsplash.
Thank you to all the authors.

Installation

composer require monsieurbiz/sylius-admin-better-login-plugin

Then you have to declare it in your config/bundles.php:

<?php
return [
    // …
    MonsieurBiz\SyliusAdminBetterLoginPlugin\MonsieurBizSyliusAdminBetterLoginPlugin::class => ['all' => true],
];

You can copy the template of the login page as well, it's optional.
But we strongly suggest it, otherwise you won't be able to really enjoy the background 🙃.

mkdir -p templates/bundles/
cp -Rv vendor/monsieurbiz/sylius-admin-better-login-plugin/src/Resources/views/SyliusUiBundle templates/bundles/

How it works

When you load the login page we make a HTTP request to get a random image on Unsplash.
We keep the random image's URL in your local storage for the rest of the day.

If you don't like the image, there is a small button in the left footer of the page.

Change the theme of the images

You can do that! Simply change the default tags (nature and water) with your owns in your project configuration:

monsieurbiz_sylius_admin_better_login:
    tags: ['paris by night']

Testing

See TESTING.md.

Contributing

You can open an issue or a Pull Request if you want! 😘
Thank you!

syliusadminbetterloginplugin's People

Contributors

jacquesbh avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.