Skip to content

michaelborn/BoltLoginThemer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bolt Login Themer

Looking for a little more splash on your Bolt login screen? This extension allows you to display an image background from Unsplash, your local repository, or any public URL. You can even use a CSS file to tweak the login page just how you want it.

Bolt login screen with ocean background

Setup

  1. Install extension.
  2. Visit /bolt/login. You should see an Unsplash background image.

Config

Unsplash Image Backgrounds

By default, LoginThemer uses a single static background image from Unsplash:

image_url: https://source.unsplash.com/6ArTTluciuA/1600x900

You could use Unsplash to show a random nature image:

image_url: https://source.unsplash.com/featured/1600x900/?nature

Or a random image from a premade collection:

https://source.unsplash.com/collection/574191/1600x900

See source.unsplash.com for more Unsplash API tips.

Local Image as Background

Finally, you may wish to just use your own background image from your Bolt theme:

image_url: /public/theme/myTheme/assets/images/login-background.jpg

CSS Stylesheet

LoginThemer lets you use a custom CSS stylesheet for the login page:

css_url: /theme/myTheme/css/login-theme.css

TODO

  • Add a settings page with an image uploader and CSS file.
  • ADD phpunit tests?

Changelog

  • v0.1.0 - Bundle only, very simple login wallpaper via Unsplash.
  • v0.2.0 - Switched to Bolt Extension, use image URL or CSS url instead of Unsplash.

Thanks To

The Unsplash Source API, used for the default background image.

About

Easily add a background image to your Bolt login page

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors