1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 07:41:26 +00:00

View repo content in list mode (#2579)

This commit is contained in:
杨顺强
2018-11-29 17:55:14 +08:00
committed by Daniel Pan
parent 4f38e393d5
commit c00d4f30bd
23 changed files with 773 additions and 107 deletions

View File

@@ -1,4 +1,4 @@
import React, { Component } from 'react';
import React, { Component, Fragment } from 'react';
import PropTypes from 'prop-types';
import { seafileAPI } from '../../utils/seafile-api';
import { gettext, siteRoot } from '../../utils/constants';
@@ -17,7 +17,7 @@ class FileActivitiesContent extends Component {
return <p className="error text-center">{error_msg}</p>;
} else {
return (
<div className="activity-table-container">
<Fragment>
<table className="table table-hover table-vcenter">
<thead>
<tr>
@@ -32,7 +32,7 @@ class FileActivitiesContent extends Component {
</table>
{has_more ? <span className="loading-icon loading-tip"></span> : ''}
{error_msg ? <p className="error text-center">{error_msg}</p> : ''}
</div>
</Fragment>
);
}
}