CrushMFT Documentation

Changing how the WebInterface looks#

The WebInterface can carry your organisation's logo, colours, texts and language, and show each group of users only the buttons and columns they need. Almost all of it is set per user, group or default user, so two customers of one server can see two different sites.

This page says what can be changed and where. It has two parts: what users can change for themselves, and what the administrator sets.

What a user can change#

What How Kept
light or dark the sun or moon at the top right: Light Theme, Dark Theme in the browser
own colours Custom Theme in the same menu: Accent, Accent Secondary, Background Primary, Background Secondary, Text Primary, Text Secondary. Reset Theme goes back. in the browser
the view the switch at the right end of the bar above the list: List, Small Grid, Medium Grid, Large Grid in the browser
the columns' order and the sorting a click on a column's heading in the browser
the language the language picker, where the administrator shows one: Languages in the browser, where the administrator allows it

"In the browser" means: on this computer, in this browser. On another machine the user starts with the administrator's settings again.

An administrator can take the theme menu away (hide-theme-picker) and set which theme everybody starts with (default-theme).

What the administrator sets#

For everybody#

What Where
the logo of the login page and the pages WebInterface settings: Logo
the login page: its texts, colours, logo, header and footer, per domain The login page, Login themes and the logo
a footer for every user, and the text of the "not found" page WebInterface settings: Text
the texts of mails Email templates
the languages offered, and the starting language Languages
forms Custom forms
what the browser may load from elsewhere, if your design uses fonts or pictures from another site Content Security Policy

Per user, group or default user#

On the WebInterface tab of an account in the User Manager. Set it on the default user for everybody, on a group for a customer or department, on a user for an exception.

What Where
the buttons of the menu bar and of the right-click menu, their order and names Buttons
the logo, the window's title, the header and footer texts, the starting theme Customizations: Branding & Chrome
the columns of the list, the starting view, what a click on a file does Customizations: Listing & Navigation
the upload bar and its rules Customizations: Upload
the share window: which kinds of share, which fields, which starting values Customizations: Share Window
search and filter, previews, the basket, User Options the other groups of Customizations
the language Customizations: Language
forms at login, upload and paste Forms and share options
style rules, script and tags of your own Customizations: three larger fields
another look per web address Domains

There are several hundred customizations. Most sites need a handful: a logo, a title, a footer, the right buttons.

A site in your colours: the short way#

  1. Logo. Put your logo file into the server's WebInterface/images/ folder under a name of your own and choose it in Preferences › WebInterface › Logo: the logo. A second file with _dark before the ending is used in the dark theme. For one group only, set Logo Image (logo) on that group.

  2. Title and footer. On the default user, add Window Title (title) and Footer Text (footer).

  3. Colours. For the login page, choose a theme or colours of your own in Login themes and the logo. For the pages after login, put your colours into Custom CSS on the default user:

    :root {
      --accent-color: #0b5fa5;
      --accent-background-secondary: #e3eef8;
    }
    

    The names are those the Custom Theme menu changes: --accent-color, --accent-background-secondary, --background-primary, --background-secondary, --text-primary, --text-secondary.

  4. Buttons. Take away what your users should not see and put the rest in the order of their work: Buttons.

  5. Look at it as a user. Log in as an ordinary account in a private browser window: an administrator's own view is not what users get.

Different looks for different people#

For Use
each customer their own logo and colours a group per customer, with its own customizations. Users inherit from their group.
each web address its own look, on one server Domains for the pages after login, and login pages per domain for the login page
people who only upload a group with only the Upload button, and a starting folder they may write to
people who come through a share the customizations of the account that owns the share's template: Temporary accounts

Things to know#

  • A customization counts only where it is set. A value on the default user reaches everybody who does not have their own.
  • Script of your own runs with the user's login. Put in only what you wrote or checked: see the warning under three larger fields.
  • Hiding is not forbidding. Taking a button away does not take the right away: what a user may do with files is decided by the permissions of their folders, see Permissions.
  • Browsers keep pages. After changing a logo or a style, reload the page without the browser's stored copy to see it.
  • Updates keep your settings. What is set in Preferences and on users survives an update. Files you changed inside the server's WebInterface folder by hand may be replaced: keep your own pictures under names of your own.

Not tried for this page#

The customizations were read from the catalog and the page's code; the theme menu and the view switch were used on a test server. The recipe above was not run from start to end with a real logo.