-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #257 from iceljc/features/refine-chat-window
Features/refine chat window
- Loading branch information
Showing
24 changed files
with
823 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
.users-table { | ||
.user-plain-col { | ||
width: 10%; | ||
max-width: 100px; | ||
} | ||
|
||
.user-permission-col { | ||
width: 20%; | ||
max-width: 300px; | ||
} | ||
|
||
.user-agent-col { | ||
width: 25%; | ||
max-width: 350px; | ||
} | ||
|
||
.user-detail { | ||
padding: 2px 5px; | ||
border-radius: 3px; | ||
border-color: var(--#{$prefix}light) !important; | ||
background-color: var(--#{$prefix}light) !important; | ||
position: relative; | ||
|
||
ul { | ||
li { | ||
margin: 2px 0px; | ||
} | ||
} | ||
|
||
.wrappable { | ||
white-space: wrap !important; | ||
} | ||
|
||
.basic-info { | ||
margin: 15px 0px 8px 0px; | ||
display: flex; | ||
flex-wrap: wrap; | ||
|
||
li { | ||
flex: 0 0 50%; | ||
|
||
.inline-edit { | ||
display: flex; | ||
gap: 3px; | ||
} | ||
} | ||
} | ||
|
||
.user-agent-container { | ||
margin: 20px 0px; | ||
padding: 0px 2rem; | ||
|
||
.action-row-wrapper { | ||
overflow-y: auto; | ||
scrollbar-width: thin; | ||
height: fit-content; | ||
max-height: 300px; | ||
} | ||
|
||
.action-row { | ||
display: flex; | ||
} | ||
|
||
.action-col { | ||
padding: 3px 0px; | ||
|
||
input[type='checkbox'] { | ||
outline: none !important; | ||
box-shadow: none !important; | ||
} | ||
} | ||
|
||
.action-title { | ||
.action-title-wrapper { | ||
display: flex; | ||
gap: 3px; | ||
justify-content: center; | ||
text-transform: capitalize; | ||
text-align: center; | ||
border-bottom: 2px solid var(--bs-primary); | ||
} | ||
} | ||
|
||
.action-center { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
} | ||
|
||
.edit-btn { | ||
display: flex; | ||
justify-content: flex-end; | ||
font-size: 16px; | ||
margin-top: 3px; | ||
margin-right: 5px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { endpoints } from './api-endpoints.js'; | ||
import axios from 'axios'; | ||
|
||
/** | ||
* Get user list | ||
* @param {import('$userTypes').UserFilter} filter | ||
* @returns {Promise<import('$commonTypes').PagedItems<import('$userTypes').UserModel>>} | ||
*/ | ||
export async function getUsers(filter) { | ||
const response = await axios.post(endpoints.usersUrl, { ...filter }); | ||
return response.data; | ||
} | ||
|
||
|
||
/** | ||
* Get user list | ||
* @param {import('$userTypes').UserModel} model | ||
* @returns {Promise<boolean>} | ||
*/ | ||
export async function updateUser(model) { | ||
const response = await axios.put(endpoints.userUpdateUrl, { ...model }); | ||
return response.data; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.