mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-26 07:19:58 +00:00
change dtable page
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
.workspace {
|
||||||
|
margin: 0.5rem 0;
|
||||||
|
}
|
||||||
|
.workspace:last-child {
|
||||||
|
margin-bottom: 150px;
|
||||||
|
}
|
||||||
.workspace .workspace-name {
|
.workspace .workspace-name {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #202428;
|
color: #202428;
|
||||||
|
@@ -237,7 +237,7 @@ class Workspace extends Component {
|
|||||||
let { tableList, isItemFreezed } = this.state;
|
let { tableList, isItemFreezed } = this.state;
|
||||||
|
|
||||||
return(
|
return(
|
||||||
<div className="workspace my-2">
|
<div className="workspace">
|
||||||
<div className="table-heading">{isPersonal ? gettext('My Tables') : workspace.owner_name}</div>
|
<div className="table-heading">{isPersonal ? gettext('My Tables') : workspace.owner_name}</div>
|
||||||
{tableList.length > 0 ?
|
{tableList.length > 0 ?
|
||||||
<table width="100%" className="table-vcenter">
|
<table width="100%" className="table-vcenter">
|
||||||
@@ -389,7 +389,7 @@ class DTable extends Component {
|
|||||||
|
|
||||||
renderShareTablePanel = () => {
|
renderShareTablePanel = () => {
|
||||||
return (
|
return (
|
||||||
<div className="workspace my-2">
|
<div className="workspace">
|
||||||
<div className="table-heading">{gettext('Shared with me')}</div>
|
<div className="table-heading">{gettext('Shared with me')}</div>
|
||||||
<table width="100%" className="table-vcenter">
|
<table width="100%" className="table-vcenter">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
|
@@ -43,7 +43,7 @@ class ShareTableItem extends Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<tr onMouseEnter={this.onMouseEnter} onMouseLeave={this.onMouseLeave} className={this.state.active ? 'tr-highlight' : ''}>
|
<tr onMouseEnter={this.onMouseEnter} onMouseLeave={this.onMouseLeave} className={this.state.active ? 'tr-highlight' : ''}>
|
||||||
<td><img src={siteRoot + 'media/img/data-base.svg'} alt="" width="24"/></td>
|
<td><span className="sf3-font sf3-font-form"></span></td>
|
||||||
<td><a href={tableHref} target="_blank">{table.name}</a></td>
|
<td><a href={tableHref} target="_blank">{table.name}</a></td>
|
||||||
<td>{table.from_user_name}</td>
|
<td>{table.from_user_name}</td>
|
||||||
<td>{moment(table.updated_at).fromNow()}</td>
|
<td>{moment(table.updated_at).fromNow()}</td>
|
||||||
|
Reference in New Issue
Block a user