debian-mirror-gitlab/doc/user/admin_area/appearance.md

122 lines
5.4 KiB
Markdown
Raw Normal View History

2019-12-21 20:55:43 +05:30
---
2021-01-29 00:20:46 +05:30
stage: none
group: unassigned
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2019-12-21 20:55:43 +05:30
---
2021-03-11 19:13:27 +05:30
# GitLab Appearance **(FREE SELF)**
2019-12-21 20:55:43 +05:30
2022-07-23 23:45:48 +05:30
Several options are available for customizing the appearance of a self-managed instance
2021-09-04 01:27:46 +05:30
of GitLab. To access these settings:
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2021-11-11 11:23:49 +05:30
1. On the left sidebar, select **Settings > Appearance**.
2019-12-21 20:55:43 +05:30
2022-10-11 01:57:18 +05:30
## Top bar
2019-12-21 20:55:43 +05:30
2022-10-11 01:57:18 +05:30
By default, the **top bar** has the GitLab logo, but this can be customized with
2019-12-21 20:55:43 +05:30
any image desired. It is optimized for images 28px high (any width), but any image can be
2021-06-08 01:23:25 +05:30
used (less than 1 MB) and it is automatically resized.
2019-12-21 20:55:43 +05:30
2022-07-23 23:45:48 +05:30
After you select and upload an image, select **Update appearance settings** at the bottom
2019-12-21 20:55:43 +05:30
of the page to activate it in the GitLab instance.
2021-02-22 17:27:13 +05:30
NOTE:
2022-07-23 23:45:48 +05:30
GitLab pipeline emails also display the custom logo, unless the logo is in SVG format. If the
custom logo is in SVG format, the default logo is used instead because the SVG format is not
supported by many email clients.
2019-12-21 20:55:43 +05:30
## Favicon
By default, the favicon (used by the browser as the tab icon, as well as the CI status icon)
2022-11-25 23:54:43 +05:30
uses the GitLab logo. This can be customized with any icon desired. It must be a
2019-12-21 20:55:43 +05:30
32x32 `.png` or `.ico` image.
2022-07-23 23:45:48 +05:30
After you select and upload an icon, select **Update appearance settings** at the bottom
2019-12-21 20:55:43 +05:30
of the page to activate it in the GitLab instance.
## System header and footer messages
2023-03-17 16:20:25 +05:30
> **Enable header and footer in emails** checkbox [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/344819) in GitLab 15.9.
2019-12-21 20:55:43 +05:30
You can add a small header message, a small footer message, or both, to the interface
2021-02-22 17:27:13 +05:30
of your GitLab instance. These messages appear on all projects and pages of the
2019-12-21 20:55:43 +05:30
instance, including the sign in / sign up page. The default color is white text on
2022-11-25 23:54:43 +05:30
an orange background, but this can be customized by selecting **Customize colors**.
2019-12-21 20:55:43 +05:30
2020-01-01 13:55:28 +05:30
Limited [Markdown](../markdown.md) is supported, such as bold, italics, and links, for
2020-04-08 14:13:33 +05:30
example. Other Markdown features, including lists, images, and quotes are not supported
2019-12-21 20:55:43 +05:30
as the header and footer messages can only be a single line.
2022-11-25 23:54:43 +05:30
You can select **Enable header and footer in emails** to have the text of
2019-12-21 20:55:43 +05:30
the header and footer added to all emails sent by the GitLab instance.
2022-07-23 23:45:48 +05:30
After you add a message, select **Update appearance settings** at the bottom of the page
2019-12-21 20:55:43 +05:30
to activate it in the GitLab instance.
## Sign in / Sign up pages
You can replace the default message on the sign in / sign up page with your own message
2021-06-08 01:23:25 +05:30
and logo. You can make full use of [Markdown](../markdown.md) in the description.
2019-12-21 20:55:43 +05:30
2023-04-23 21:23:45 +05:30
The optimal size for the logo is 128 x 128 pixels, but any image can be used (below 1 MB)
2021-02-22 17:27:13 +05:30
and it is resized automatically. The logo image appears between the title and
2019-12-21 20:55:43 +05:30
the description, on the left of the sign-up page.
2022-07-23 23:45:48 +05:30
After you add a message, select **Update appearance settings** at the bottom of the page
to activate it in the GitLab instance. You can also select **Sign-in page**,
2019-12-21 20:55:43 +05:30
to review the saved appearance settings:
2021-02-22 17:27:13 +05:30
NOTE:
2021-01-29 00:20:46 +05:30
You can add also add a [customized help message](settings/help_page.md) below the sign in message or add [a Sign in text message](settings/sign_in_restrictions.md#sign-in-information).
2019-12-21 20:55:43 +05:30
2023-05-27 22:25:52 +05:30
## Progressive Web App
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/375708) in GitLab 15.9.
GitLab can be installed as a [Progressive Web App](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps) (PWA).
Use the Progressive Web App settings to customize its appearance, including its name,
description, and icon.
### Configure the PWA settings
To configure the PWA settings:
1. On the top bar, select **Main menu > Admin**.
1. On the left sidebar, select **Settings > Appearance**.
1. Scroll to the **Progressive Web App (PWA)** section.
1. Complete the fields.
- **Icon**: If you use the standard GitLab icon, it is available in sizes 192x192 pixels,
512x512 pixels, also as a maskable icon. If you use a custom icon, it must be in either size
192x192 pixels, or 512x512 pixels.
1. Select **Update appearance settings**.
2019-12-21 20:55:43 +05:30
## New project pages
2022-11-25 23:54:43 +05:30
You can add a new project guidelines message to the **New project page** in GitLab.
2020-01-01 13:55:28 +05:30
You can make full use of [Markdown](../markdown.md) in the description:
2019-12-21 20:55:43 +05:30
2021-02-22 17:27:13 +05:30
The message is displayed below the **New Project** message, on the left side
2019-12-21 20:55:43 +05:30
of the **New project page**.
2022-07-23 23:45:48 +05:30
After you add a message, select **Update appearance settings** at the bottom of the page
to activate it in the GitLab instance. You can also select **New project page**,
which brings you to the new project page so you can review the change.
2019-12-21 20:55:43 +05:30
## Libravatar
[Libravatar](https://www.libravatar.org) is supported by GitLab for avatar images, but you must
2022-11-25 23:54:43 +05:30
[manually enable Libravatar support on the GitLab instance](../../administration/libravatar.md) to use the service.
2019-12-21 20:55:43 +05:30
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
2023-01-13 00:05:48 +05:30
Each scenario can be a third-level heading, for example `### Getting error message X`.
2019-12-21 20:55:43 +05:30
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->