外观定制¶
在算丰 AI 算力平台中,可通过 外观定制 更换登录界面、顶部导航栏以及底部版权和备案信息,帮助用户更好地辨识产品。
定制说明¶
-
使用具有 admin 角色的用户登录 AI 算力平台。点击左侧导航栏底部的 全局管理 -> 平台设置 。
-
选择 外观定制 ,在 登录页定制 页签中,修改登录页的图标和文字后,点击 保存 。
-
退出登录,在登录页刷新后可看到配置后的效果
-
点击 顶部导航栏定制 页签,修改导航栏的图标和文字后,点击 保存 。
-
点击 高级定制 ,可以用 CSS 样式设置登录页、导航栏、底部版权及备案信息。
高级定制¶
高级定制能够通过 CSS 样式来修改整个容器平台的颜色、字体间隔、字号等。 您需要熟悉 CSS 语法。删除黑色输入框的内容,可恢复到默认状态,当然也可以点击 一键还原 按钮。
登录页定制的 CSS 样例:
登录后页面定制的 CSS 样例:
.dao-icon.dao-iconfont.icon-service-global.dao-nav__head-icon {
color: red!important;
}
.ghippo-header-logo {
background-color: green!important;
}
.ghippo-header {
background-color: rgb(128, 115, 0)!important;
}
.ghippo-header-nav-main {
background-color: rgb(0, 19, 128)!important;
}
.ghippo-header-sub-nav-main .dao-popper-inner {
background-color: rgb(231, 82, 13) !important;
}
Footer(页面底部的版权、备案等信息)定制示例
<div class="footer-content">
<span class="footer-item">Copyright © 算丰 AI 算力平台保留所有权利</span>
<a class="footer-item" href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer">沪 ICP 备 xxxxxx 号 - 1</a>
<a class="footer-item" href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer">沪 ICP 备 xxxxxx 号 - 2</a>
</div>
<div class="footer-content">
<img class="gongan-icon" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgK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Ik0bg8EuT2zRCJYZvZIYepe0EGbvi4bQUJVZhs2phADFYj+df0lBqJUnaekS4SUHXe3jrOnoE2PhSewHfRpfZGgcryIvfHdQruQlLo7Ns6QizqkJ31CIUlqwQJXuWUpDXj6qOsW32HT3YNImll9FwJsb4jyaLmWQ4fa6a+2sQw0ry8YZSiHcPxxXBtMfCv4XkUCrfliWs/fTE31rtTVfv9vsIorvQIniMhqXM4popVcJFVMHMpfMEaLPdxR1Tnna1b1vl6tGntpAjgCTNWONZyIFBR8Ydtr6EgrCI3VySfzZPLBDHyIq5gkpmzcOUmTGMF+bh7M9LYulfWzMmHBzk7Fpq9deWEYxjrtaCMXjWfstp6BCGNXZzBdYqYhogWqkMum4+oBVD0YnP63u/fFqbv1D+M7VSlBbmmK5uYaLYLYwslfwFVAyXQiOfcx3XyyGIM8DDn0lgWyGokHogu/0UJxpL/+f2e569s/CZQZ53OpzJr0+NXludUfb5jVdf7VUGXJUPIZast1S9PeII6jFDT5xMjFwO1S4c8zwTgnwEAxufYSzA67PMAAAAASUVORK5CYII=" >
<a class="footer-item" href="http://www.beian.gov.cn/portal/registerSystemInfo">沪公网安备 12345678912345号</a>
</div>
<style>
.footer-content {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.footer-content + .footer-content {
margin-top: 8px;
}
.login-pf .footer-item {
color: white;
}
.footer-item {
color: var(--dao-gray-010);
text-decoration: none;
}
.footer-item + .footer-item {
margin-left: 8px;
}
.gongan-icon {
width: 18px;
height: 18px;
margin-right: 4px;
}
</style>
Note
如果想要恢复默认设置,可以点击 一键还原 。请注意,一键还原后将丢弃所有自定义设置。