praxisnetau/silverstripe-moderno-admin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

praxisnetau/silverstripe-moderno-admin

最新稳定版本:1.1.4

Composer 安装命令:

composer require praxisnetau/silverstripe-moderno-admin

包简介

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

README 文档

README

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.

NOTE: this module is for SilverStripe v3 only and is no longer being actively developed. For a SilverStripe v4 alternative, please consider the SilverWare Admin module, which is the spiritual successor to Moderno for SS4.

Requires

  • SilverStripe 3.1 or newer, SilverStripe v4 is not supported

Features

  • branding settings for app name, app link, logo and loading images
  • site config panel with color picker fields
  • 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": "~1.1"

Manual:

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

Usage

Resizable Site Tree:

Moderno 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

Moderno Admin

Attribution

统计信息

  • 总下载量: 4.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 24
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 22
  • Watchers: 6
  • Forks: 8
  • 开发语言: CSS

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-04-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固