Skip to content
Jordan Jenkins edited this page Sep 3, 2015 · 9 revisions

Currently, the House Cup allows admins to customize the following settings, available under the settings tab in the admin panel:

General Settings

  • grades: List of all grades the school has. Should also include "other" for administrators/other staff.

Theming Settings

  • navbar-background-color: This is the color of the top bar. Must be a Hex color value.
  • navbar-foreground-color: This is the color of the text on the top bar. Must be a Hex color value.
  • background-color: This is the color of the background in the main body area. Must be a Hex color value.
  • text-color: This is the color of the text. Must be a Hex color value. It's recommended to only set this to white (#FFFFFF) or black (#000000) so it is easy to read.
  • button-color: Sets the colors for buttons on the site. Must be a Hex color value.

Rate Limiting Settings

  • rate-limit: Whether to enable the rate limiting feature and only allow a certain number of points to be allocated during a given time period by a staff member. must be either "true" or "false". True enables the feature
  • rate-limit-max-positive-points: The maximum amount of points a staff can add in the given time. Must be a whole number
  • rate-limit-max-negative-points: The maximum amount of points a staff can remove in the given time. Must be a whole number
  • rate-limit-positive-reset-minutes: How long to look back when seeking out the max points to rate limit for added points. So you can say a max of 50 points in 10 minutes. Must be a whole number.
  • rate-limit-negative-reset-minutes: How long to look back when seeking out the max points to rate limit for added points. So you can say a max of 50 points in 10 minutes. Must be a whole number.

View Customization Settings

  • show-house-text-names: Whether to show the text name of a house under it's logo. Must be "true" or "false", defaults to false.
  • show-note-section: Whether to show a text area for staff to enter notes about why they are giving out points. Must be "true" or "false". Defaults to false
  • note-required: Whether a note is required to be entered in order to give out points. Must be "true" or "false". Defaults to false.

Clone this wiki locally