mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 16:36:15 +00:00
[system admin - info] update for the UI of the heading (#6538)
This commit is contained in:
@@ -1,21 +1,8 @@
|
||||
.heading {
|
||||
padding: 8px 16px;
|
||||
background: #f9f9f9;
|
||||
font-size: 1rem;
|
||||
color: #212529;
|
||||
font-weight: normal;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
}
|
||||
.content {
|
||||
display: flex;
|
||||
padding: 0rem 1rem 8rem;
|
||||
overflow: auto;
|
||||
}
|
||||
.system-admin-info dt,
|
||||
.system-admin-info dd {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.info-item-heading {
|
||||
font-size: 1rem;
|
||||
font-weight: normal;
|
||||
@@ -23,9 +10,11 @@
|
||||
border-bottom: 1px solid #ddd;
|
||||
margin-bottom: 0.7em;
|
||||
}
|
||||
|
||||
.info-item-content {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.btn {
|
||||
min-width: 60px;
|
||||
}
|
||||
|
@@ -84,8 +84,10 @@ class Info extends Component {
|
||||
<MainPanelTopbar {...this.props} />
|
||||
<div className="main-panel-center flex-row">
|
||||
<div className="cur-view-container system-admin-info">
|
||||
<h2 className="heading">{gettext('Info')}</h2>
|
||||
<div className="content">
|
||||
<div className="cur-view-path">
|
||||
<h3 className="sf-heading">{gettext('Info')}</h3>
|
||||
</div>
|
||||
<div className="cur-view-content">
|
||||
{loading && <Loading />}
|
||||
{errorMsg && <p className="error text-center mt-4">{errorMsg}</p>}
|
||||
{(!loading && !errorMsg) &&
|
||||
|
Reference in New Issue
Block a user