Skip to main content

管理面板

🌐 Administration panel

Page summary:

管理面板作为 Strapi 的后台,用于管理内容类型、条目以及管理员和终端用户账户。本文件概述了管理面板的功能,然后重点介绍了用于管理界面语言和模式、登录和个人信息以及用于品牌标识的徽标的个人资料设置。

管理面板是你 Strapi 应用的后台。从管理面板,你将能够管理内容类型并编写实际内容,还可以管理用户,包括你的 Strapi 应用的管理员和终端用户。

🌐 The admin panel is the back office of your Strapi application. From the admin panel, you will be able to manage content-types and write their actual content, but also manage users, both administrators and end users of your Strapi application.

Homepage of the Admin PanelHomepage of the Admin Panel
Tip

你可以创建你自己的小部件来定制管理面板的首页。

🌐 You can create your own widgets to customize the admin panel's homepage.

你还可以自定义布局(将鼠标悬停在小部件上或小部件之间时,会显示小部件控件):

🌐 You can also customize the layout (widget controls appear when you hover over a widget or between widgets):

  • 调整大小:在两部件行中向左或向右拖动分隔线。
  • 重新排序:拖动 按钮以移动小部件。
  • 删除:点击 按钮。
  • 恢复:使用页面顶部的“添加小部件”按钮来找回已删除的小部件。

概览

🌐 Overview

Prerequisites

使用管理面板时,你应该记住一些因素,因为它们可能会修改界面和你的使用体验。

🌐 There are a few factors that you should keep in mind when using the admin panel, as they could modify the interface and your experience with it.

配置

🌐 Configuration

配置管理员面板的路径: 账户名称或首字母(左下角)> 个人资料

如果你是新管理员,我们建议在深入使用你的 Strapi 应用之前,确保你的个人资料已设置完整。在你的管理员个人资料中,你可以修改你的用户信息(名称、用户名、电子邮件、密码)。你还可以为你的 Strapi 应用选择界面的语言和模式。

🌐 If you are a new administrator, we recommend making sure your profile is all set, before diving into your Strapi application. From your administrator profile, you are able to modify your user information (name, username, email, password). You can also choose the language and mode of the interface for your Strapi application.

Homepage of the Admin PanelHomepage of the Admin Panel

还有更多配置和自定义选项可用。请参阅以下页面以获取更多详细信息:

🌐 There are many more configuration and customization options available. See the following pages for more details:

修改个人资料信息(名称、电子邮件、用户名)

🌐 Modifying profile information (name, email, username)

  1. 进入你个人资料的个人资料部分。

  2. 填写以下选项: | 个人资料与经验 | 说明 || --- | --- || 名字 | 在文本框中填写你的名字。 || 姓氏 | 在文本框中填写你的姓氏。 || 电子邮件 | 在文本框中填写完整的电子邮件地址。 || 用户名 | (可选)在文本框中填写用户名。 |

  3. 点击 保存 按钮。

更改账户密码

🌐 Changing account password

  1. 转到个人资料的更改密码部分。

  2. 填写以下选项: | 密码修改 | 操作说明 || --- | --- || 当前密码 | 在文本框中输入你当前的密码。 || 密码 | 在文本框中输入新密码。 || 确认密码 | 在文本框中再次输入相同的新密码。 |

  3. 点击 保存 按钮。

Tip

你可以点击 图标以显示密码。

选择界面语言

🌐 Choosing interface language

在你个人资料的经验部分,使用界面语言下拉菜单选择你偏好的语言。

🌐 In the Experience section of your profile, select your preferred language using the Interface language dropdown.

Note

请记住,选择界面语言只适用于你在管理面板上的账户。同一应用管理面板的其他用户可以使用不同的语言。

🌐 Keep in mind that choosing an interface language only applies to your account on the admin panel. Other users of the same application's admin panel can use a different language.

选择界面模式(明亮,黑暗)

🌐 Choosing interface mode (light, dark)

默认情况下,所选择的界面模式是基于你的浏览器模式的。但是,你可以在个人资料的体验部分,通过界面模式下拉菜单手动选择浅色模式或夜间模式。

🌐 By default, the chosen interface mode is based on your browser's mode. You can however, in the Experience section of your profile, manually choose either the Light Mode or Dark Mode using the Interface mode dropdown.

Note

请记住,选择界面模式仅适用于管理面板上的账户。

🌐 Keep in mind that choosing an interface mode only applies to your account on the admin panel.

重置导览

🌐 Resetting guided tour

在你的个人资料的导览部分,你可以点击重置导览按钮来重置可在管理面板主页中使用的导览。如果你之前关闭了导览,这将允许你再次查看管理面板的导览,并重新跟随其各个步骤。

🌐 In the Guided tour section of your profile, you can click the Reset guided tour button to reset the guided tour which is available in the homepage of the admin panel. It allows you to see again the guided tour of the admin panel if you closed it beforehand, and to follow again its various steps.

🌐 Customizing the logo

配置管理员面板的路径: 设置 > 全局设置 > 概览

可以修改 Strapi 应用主导航和身份验证页面中显示的默认 Strapi 徽标。

🌐 The default Strapi logos, displayed in the main navigation of a Strapi application and the authentication pages, can be modified.

  1. 点击 菜单标志认证标志 的上传区域。
  2. 上传你选择的徽标,可以通过浏览文件、将文件拖放到右侧区域,或使用 URL。徽标尺寸不应超过 750x750 像素。
  3. 在上传窗口中点击 上传徽标 按钮。
  4. 点击右上角的保存按钮。

上传后,新徽标可以被替换为另一个徽标 ,或重置 为默认的 Strapi 徽标或配置文件中设置的徽标。

Note

两种徽标也可以通过 Strapi 应用的配置文件以编程方式进行自定义(参见 管理面板自定义)。但是,通过管理面板上传的徽标会覆盖通过配置文件设置的任何徽标。

🌐 Both logos can also be customized programmatically via the Strapi application's configuration files (see Admin panel customization). However, the logos uploaded via the admin panel supersedes any logo set through the configuration files.

Custom logo settingsCustom logo settings

使用

🌐 Usage

Caution

为了访问管理面板,你的 Strapi 应用必须已启动,并且你必须知道其管理面板的 URL(例如 api.example.com/admin)。

🌐 In order to access the admin panel, your Strapi application must be launched, and you must be aware of the URL to its admin panel (e.g. api.example.com/admin).

要访问管理面板:

🌐 To access the admin panel:

  1. 转至 Strapi 应用管理面板的 URL。
  2. 输入你的凭据以登录。
  3. 点击 登录 按钮。你应该会被重定向到管理面板的主页。
Note

如果你更喜欢或需要通过 SSO 提供商登录,请参阅 单点登录文档

🌐 If you prefer or are required to log in via an SSO provider, please refer to the Single Sign-On documentation.

Login pageLogin page