GithubHelp home page GithubHelp logo

helpfulrobot / praxisnetau-silverstripe-moderno-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from praxisnetau/silverstripe-moderno-admin

0.0 2.0 0.0 875 KB

A SilverStripe module to give the CMS a more modern, flat appearance.

License: BSD 3-Clause "New" or "Revised" License

PHP 20.33% CSS 78.63% JavaScript 0.71% Scheme 0.33%

praxisnetau-silverstripe-moderno-admin's Introduction

SilverStripe Moderno Admin

An extensive reskin of the SilverStripe 3.1 CMS admin interface

A SilverStripe module to give the CMS a more modern, flat appearance, while endeavouring to keep with the spirit of the original look and feel.

Requires

  • SilverStripe 3.1 or newer

Features

  • NEW: resizable site tree!
  • Flat, modern, minimalist look and feel
  • Uses Font Awesome for most icons
  • Extension allowing CMS menu items to use Font Awesome icons by name
  • SVG SilverStripe logo
  • Reskinned TinyMCE editor
  • Uses the Google Font 'Roboto' for UI elements

Installation

Composer:

require: "praxisnetau/silverstripe-moderno-admin": "dev-master"

Manual:

To install this module manually, clone or download the repo, copy it to your document root ensuring the folder is called silverstripe-moderno-admin and finally run a /dev/build.

Usage

Resizable Site Tree:

Moderno now includes a JavaScript enhancement for LeftAndMain which allows you to resize the site tree. Simply grab the right edge of the tree and drag to resize. The width is saved using a cookie and should be persisted between page refreshes and Ajax loads.

Font Awesome for CMS menu items:

You can now use Font Awesome icons for your CMS menu items (e.g. ModelAdmin classes) without writing your own custom CSS. To do this, find the name of the Font Awesome icon you want to use for your class, and define the private static $awesome_icon on your class:

private static $awesome_icon = "fa-calendar";

You can also define icons for classes using the YAML config system, for example:

MyClassName:
  awesome_icon: fa-calendar

The fa- prefix for icon names is optional, and may be safely omitted.

It's a good idea to include both the regular $menu_icon and $awesome_icon attributes for compatibility, for example:

private static $menu_icon    = "mymodule/images/icons/calendar.png";
private static $awesome_icon = "fa-calendar";

Remember to ?flush after adding $awesome_icon to your class to update the CMS interface.

Contribution

This module started as a simple CSS file of tweaks that quickly got way out of hand. :( There is plenty of room for improvement if you felt inclined to do so!

Screenshots

Moderno Admin

Moderno Admin

To Do

  • Skin the ugly TinyMCE popups.
  • Greatly improve CSS, switch to Sass/LESS?
  • Change to using SVG icons for page types?
  • Replace a few more bitmap icons, e.g. search icon in dropdowns, GridField sorting icons, AssetAdmin icons, and permissions icons for Members.

Attribution

praxisnetau-silverstripe-moderno-admin's People

Contributors

colintucker avatar

Watchers

James Cloos avatar helpfulrobot 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.