You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Profiles of the Committee Members of the club that are displayed on the about page.
4
+
5
+
## Fields
6
+
7
+
**Id:** Required and unique field for the club member that is on the committee. It is an integer field that corresponds to the raw integer id of a row in the Member table, as a Foreign Key if you know databases.
8
+
9
+
**Role:** Required and unique field for the specific role in the committee that this member has. It is something known as an Enum (Enumeration), which has a discrete number of custom choices. You can choose from 'President', 'Vice President', 'Secretary', 'Treasurer', 'Marketing', 'Events OCM', 'Projects OCM', and 'Fresher Rep'. Since they must be unique, you can only have 8 objects in the Committee table at a time for now. This can definitely be changed in the future when the committee grows.
10
+
11
+
## Other Notes
12
+
13
+
Before making a Committee object in the Committee table, you must make a Member object for the person that's on the committee and then link it through the id (just to clarify)
Pages for games can be added and edited at the row 'Game' of the GAME_DEV section on the main admin page.
4
+
5
+
### Fields
6
+
7
+
**Name:** Required field for the game's name. A character field (includes letters, numbers and symbols) of maximum length 200 characters.
8
+
9
+
**Descripiton:** Required field for the game's description. A text field.
10
+
11
+
**Completion:** Required field for the game's completion. A multichoice option field with four options including:
12
+
- "Work in progress (Unplayable)"
13
+
- "Playable - In Development"
14
+
- "Beta - Stable but not Final"
15
+
- "Completed"
16
+
17
+
**Active:** Required field for if the game is continued to be being worked on. A boolean field.
18
+
19
+
**Host URL:** Optional field for the game's host URL. A URL field with a maximum length 2083 characters
20
+
21
+
**Itch Embed ID:** Optional field for game's embed. If the field is empty the game will display a custom embed ID at the bottom of the page. This value can be gotten from the itch.io page of the game, at the bottom of the page there is an embed button, clicking this will bring up a full embed, the only part needed is the 7 digit number after "https://itch.io/embed/".
22
+
23
+
**Thumbnail:** Required field for the game's thumbnail. This image is displayed on the game page in place of a game embed or displayed within the game embed before the play button is pressed. Must be an image file.
24
+
25
+
**Event:** Optional field for the event at which the game was created. Links the game to an event. Foreign key field for an event.
26
+
27
+
**Itch Game Playable ID:** Optional field for the game's game embed. This ID allows the web version of a game to be played inside the site. This value can be acquired in two ways, either by the developer or through looking in the page source. A developer can get the value by going to the distribution tab of their game and going to the embed game section this will bring up a full embed for the game and the only part needed is the 8 digit number after "https://html-classic.itch.zone/html/". By looking through the page source that link can also be found either in a div or an iframe on the page depending on if the game has been played. **This value is not attainable if there is no web version of the game. hosted on itch.**
28
+
29
+
**Itch Game Width:** This field is required if the playable field ID is non null. This value is gotten in a similar way to the Itch Game Embed, however for the developer it's the number after "width=" and in the page source is found after "data-width=".
30
+
31
+
**Itch Game Height:** This field is required if the playable field ID is non null. This value is gotten in a similar way to the Itch Game Embed, however for the developer it's the number after "height=" and in the page source is found after "data-height=".
Has a description of the club, it's aim's etc, along with a big feature photo, intended to be a group photo of the committee or a big event? Then below is a display of all the current committee members of the club, showing name, role and pronouns.
4
+
5
+
## Hardcoded content to be modified by committee members
6
+
7
+
The club description and feature photo are the only things hardcoded into the website's front-end. Starting from the root directory of this website's source, this code to modify can be found in /client/src/pages/about.tsx
8
+
9
+
## Other Notes
10
+
11
+
The Committee Members are always displayed in the same order on the about page, which is the order mentioned in admin-dashboard/committee.md. If a certain Committee object can't be retreived, a placeholder Committee Member portrait will be displayed to maintain the same order.
0 commit comments