diff --git a/frontend/src/css/log-filter.css b/frontend/src/css/log-filter.css new file mode 100644 index 0000000000..7edae4d80b --- /dev/null +++ b/frontend/src/css/log-filter.css @@ -0,0 +1,74 @@ + .activity-details { + text-decoration: underline; + cursor: pointer; + } + .activity-details:hover { + color: #212529; + } + .mobile-activity-time { + display: inline-block; + margin-bottom: .2em; + } + + .cur-activity-modifiers { + margin-left: -0.5rem; + } + + .cur-activity-modifiers:hover { + background: #f5f5f5; + cursor: pointer; + } + + .cur-activity-modifiers .toggle-icon { + color: #999; + } + + .activity-modifier-selector-container { + width: 320px; + background: #fff; + border: 1px solid #e8e8e8; + margin-top: 2px; + z-index: 2; + } + + .activity-selected-modifiers { + min-height: 2rem; + background: #f6f6f6; + border-bottom: 1px solid #dde2ea; + line-height: 1; + } + + .activity-selected-modifier { + display: inline-flex; + align-items: center; + margin-right: 10px; + padding: 0 8px 0 2px; + border-radius: 10px; + background: #eaeaea; + } + + .unselect-activity-user { + color: #909090; + cursor: pointer; + } + + .unselect-activity-user:hover { + color: #5a5a5a; + } + + .activity-user-list { + min-height: 4rem; + max-height: 200px; + } + + .activity-user-item { + cursor: pointer; + } + + .activity-user-item:hover { + background: #f5f5f5; + } + + .activity-user-name { + font-size: 14px; + } diff --git a/frontend/src/pages/dashboard/files-activities.js b/frontend/src/pages/dashboard/files-activities.js index 192a0aad4c..f501a9e504 100644 --- a/frontend/src/pages/dashboard/files-activities.js +++ b/frontend/src/pages/dashboard/files-activities.js @@ -235,7 +235,7 @@ class FilesActivities extends Component { const { onlyMine } = this.props; const { targetUsers, availableUsers } = this.state; return ( -
|
{item.event_type} | {item.ip}{' / '}{item.device || '--'} | {dayjs(item.time).fromNow()} |
{item.repo_name ? item.repo_name : gettext('Deleted')}
- {isOpIconShown && item.repo_name && !repoFilteredBy && (
- |
{item.file_or_dir_name} |