Page MenuHomewrite.as

Instance-level stylesheet
Open, HighPublic

Description

Overview

Let admins set a stylesheet for the entire instance via the web interface.

Background

Users

Admins

Implementation

Add a new "Custom CSS" section to the admin dashboard, similar to what's found on individual blogs, including the Ace editor.

Ideas for storage

Create new database table for storing CSS. Use the appcontent table (maybe content_type = 'style' ?)

Ideas:

  • Maybe allow multiple stylesheets stored, for switching between later? For offering users themes to choose from?
  • Include data type / location, so we can store e.g.
    • Instance CSS
    • User CSS
    • Footer HTML snippet
    • Landing page HTML snippets

Event Timeline

matt created this task.Feb 21 2019, 6:46 PM
matt triaged this task as High priority.
matt moved this task from Far Future to v1.0 on the WriteFreely board.Feb 22 2019, 2:30 AM
matt edited projects, added WriteFreely (v1.0); removed WriteFreely.
matt claimed this task.Apr 6 2019, 3:37 PM
matt moved this task from v1.0 to Soon on the WriteFreely board.Apr 6 2019, 6:45 PM
matt edited projects, added WriteFreely; removed WriteFreely (v1.0).
matt removed matt as the assignee of this task.Tue, May 7, 7:12 PM
matt updated the task description. (Show Details)
joyeusenoelle added a subscriber: joyeusenoelle.