-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
1 changed file
with
33 additions
and
22 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,41 +1,52 @@ | ||
# A Fancy SilverStripe dev/build Tool | ||
Simple SilverStripe module to trigger a dev/build via ajax in the CMS. | ||
Simple SilverStripe module to trigger a dev/build via ajax in the CMS. | ||
This will allow you to close that extra tab that we all keep open just for dev/build. | ||
|
||
### Installation | ||
Composer is the recommended way of installing SilverStripe modules | ||
```json | ||
require: "mediabeast/fancy-devbuild": "1.*" | ||
## Installation | ||
Composer is the recommended way of installing SilverStripe modules. | ||
``` | ||
composer require mediabeast/fancy-devbuild 1.* | ||
``` | ||
Run dev/build the "Normal way". | ||
|
||
### Customisation | ||
#### Links | ||
You can define additional links in your config.yml | ||
``` | ||
DevTasks: | ||
Tasks: | ||
newdevtaskid: | ||
title: Dev/NewTask | ||
link: dev/task | ||
reset_time: 5000 | ||
error_handler: newtab | ||
success_handler: ignore | ||
``` | ||
|
||
#### Contributing | ||
If you have any ideas please submit an issue and label it as Enhancement. | ||
Pull requests are welcome! | ||
|
||
#### Customisation | ||
#### Theming | ||
Incase your using a custom admin theme you can quickly customise the colors of the icon and text. | ||
For example I have added this to the *Flat Admin* CSS. Other classes are .error and .success | ||
```css | ||
.devbuild-trigger.loading { | ||
color: rgb(249, 191, 59); | ||
.icon { | ||
color: rgb(249, 191, 59); | ||
|
||
.icon { | ||
color: rgb(249, 191, 59); | ||
} | ||
} | ||
} | ||
``` | ||
|
||
#### Todo List | ||
All ideas, issues and questions will be found under Issues. | ||
|
||
|
||
#### Sreenshots | ||
### Screenshots | ||
These screenshots are of the very first version of this module and are likely to change. | ||
They give you a quick idea of what the module does. | ||
|
||
|
||
###### Default button status | ||
##### Default button status | ||
<img width="300px" src="http://i.imgur.com/zYmHiQ4.png" alt="Default button status"> | ||
###### After a click the site will build the database and flush in the background | ||
##### After a click the site will build the database and flush in the background | ||
<img width="300px" src="http://i.imgur.com/Aik95L7.png" alt="After a click the site will build the database and flush in the background"> | ||
|
||
### Contributing | ||
If you have any ideas please submit an issue and label it as Enhancement. | ||
Pull requests are welcome! | ||
|
||
### Todo List | ||
All ideas, issues and questions will be found under Issues. |