Browse Source

Merge branch 'main' into dev

feature/static-downtime-page
ryexandrite 1 year ago
parent
commit
bfdd008b57
  1. 956
      src/components/modlog.tsx
  2. 27
      src/custom.css
  3. 6
      src/interfaces.ts

956
src/components/modlog.tsx
File diff suppressed because it is too large
View File

27
src/custom.css

@ -989,6 +989,33 @@ a:hover {
align-items: center;
}
.modlog-dropdown {
display: none;
position: absolute;
width: 100%;
max-height: 400px;
overflow: auto;
padding: 10px;
border-width: 1px;
border-radius: 3px;
z-index: 2;
}
.modlog-filter-input {
position: relative;
width: 15%;
min-width: 200px;
margin: 2px 5px 2px 5px;
}
.mod-action-overselect {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
/* This code is subject to LICENSE in root of this repository */
/* Used to detect in JavaScript if apps have loaded styles or not. */

6
src/interfaces.ts

@ -537,11 +537,13 @@ export interface GetModlogResponse {
export interface ModRemovePost {
id: number;
mod_user_id: number;
other_user_id: number;
post_id: number;
reason?: string;
removed?: boolean;
when_: string;
mod_user_name: string;
other_user_name: string;
post_name: string;
community_id: number;
community_name: string;
@ -550,10 +552,12 @@ export interface ModRemovePost {
export interface ModLockPost {
id: number;
mod_user_id: number;
other_user_id: number;
post_id: number;
locked?: boolean;
when_: string;
mod_user_name: string;
other_user_name: string;
post_name: string;
community_id: number;
community_name: string;
@ -562,10 +566,12 @@ export interface ModLockPost {
export interface ModStickyPost {
id: number;
mod_user_id: number;
other_user_id: number;
post_id: number;
stickied?: boolean;
when_: string;
mod_user_name: string;
other_user_name: string;
post_name: string;
community_id: number;
community_name: string;

Loading…
Cancel
Save