Intranet
The intranet (available here) allows you to host projects. You should refer to the Intranet documentation for more information.
You can customize the intranet by editing the intranet
section of the
tenant.yml
file.
# ...
intranet:
files: []
contacts: []
trombinoscope: []
Reference
Files
This section allows you to add files on the intranet. The files will be
available in the Files
section of the intranet in your tenant
(https://intra.forge.epita.fr/<tenant>/documents
).
The files
property is an array of objects with the following fields:
Field name | Description |
---|---|
name | The name of the file that will be displayed on the intranet. |
path | The relative path to the file within the GitLab repository. |
Contacts
This section allows you to add contacts on the intranet. The contacts will be
listed in the Contacts
section of the intranet in your tenant
(https://intra.forge.epita.fr/<tenant>/contacts
).
The contacts
property is an array of objects with the following fields:
Field name | Description |
---|---|
name | The name of the contact that will be displayed on the intranet. |
email | The email of the contact. |
description | The description of the contact. |
Trombinoscope
This section allows you to add a trombinoscope on the intranet. The people will
be displayed in the Members
section of the intranet in your tenant
(https://intra.forge.epita.fr/<tenant>/teams
).
The trombinoscope
property is an array of objects with the following fields:
Field name | Description |
---|---|
name | The name of the member that will be displayed on the intranet. |
imageUrl | The URL of the image of the member. |
Css
This section allows you to customize the colors of the intranet.
The css
property is an object with 2 properties: light
and dark
(for the
light and dark theme respectively). Each of these properties is an object with
the following fields:
Field name | Description |
---|---|
--background | The background color of the intranet. |
--card-backgroud | The background color of the cards. |
--card-separator | The color of the separator between the cards. |
--card-footer | The color of the footer of the cards. |
--rectangle-background | The background color of the rectangles. |
--navigation-background | The background color of the navigation bar. |
--tag-background | The background color of the tags. |
--border | The color of the borders. |
--primary-text | The color of the primary text. |
--secondary-text | The color of the secondary text. |
--trivial | The color of the trivial notions. |
--easy | The color of the easy notions. |
--medium | The color of the medium notions. |
--breadcrumb | The color of the background of the breadcrumb. |
Example
A complete example of the intranet configuration can be:
# ...
intranet:
files:
- path: files/hello-world.pdf
name: Hello World
contacts:
- name: Forge
email: forge-dev@tickets.cri.epita.fr
description: The Forge team
trombinoscope:
- name: Xavier Login
imageUrl: https://photos.cri.epita.fr/square/xavier.login
css:
dark:
--background: "#111217"
--card-background: "#1A1C23"
--card-separator: "#262931"
--card-footer: "#16181F"
--rectangle-background: "#0D0E12"
--navigation-background: "#0D0E14"
--tag-background: "#101117"
--border: "#27282F"
--primary-text: "#DCDFF0"
--secondary-text: "#9CA3B8"
--trivial: "#1469CD"
--easy: "#43B11D"
--medium: "#DAC400"
--hard: "#DA3400"
--checkmark: "#43B11D"
--breadcrumb: "#212126"
light:
--background: "#F9FAFB"
--card-background: "#FFFFFF"
--card-separator: "#E5E7EB"
--card-footer: "#F3F4F6"
--rectangle-background: "#F3F4F6"
--navigation-background: "#F9FAFB"
--tag-background: "#E5E7EB"
--border: "#E5E7EB"
--primary-text: "#1F2937"
--secondary-text: "#4B5563"
--trivial: "#1469CD"
--easy: "#43B11D"
--medium: "#DAC400"
--hard: "#DA3400"
--checkmark: "#43B11D"
--breadcrumb: "#F3F4F6"