Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"SiteNameOverride": null,
"SiteName": "CollabVM",
"WelcomeModalTitleOverride": null,
"WelcomeModalBodyOverride": null,
"WelcomeModalLocalStorageKey": "no-welcome-modal",
Expand Down
9 changes: 9 additions & 0 deletions src/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,17 @@
overflow-y: auto;
border: 1px solid #575757;
}

#turnstatus {
z-index: 0;
padding: 5px 8px;
position: absolute;
user-select: none;
transform: translateX(200%) translateY(-24px);
}
.chat-table {
height: 30vh;
padding-top: 2em;
}

.username-table {
Expand Down
4 changes: 2 additions & 2 deletions src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ <h5 class="modal-title" id="accountModalTitle"></h5>
</div>
<div id="vmview">
<div id="vmDisplay"></div>
<p id="turnstatus"></p>
<div id="voteResetPanel" style="display:none;">
<div id="voteResetPanel" style="display:none">
<span id="voteResetHeaderText"></span><br/>
<button class="btn btn-success" id="voteYesBtn"><i class="fa-solid fa-check"></i> <span id="voteYesBtnText"></span><span class="badge bg-secondary" id="voteYesLabel"></span></button> <button class="btn btn-danger" id="voteNoBtn"><i class="fa-solid fa-ban"></i> <span id="voteNoBtnText"></span><span class="badge bg-secondary" id="voteNoLabel"></span></button><br/>
<span id="voteTimeText"></span>
Expand Down Expand Up @@ -294,6 +293,7 @@ <h5 class="modal-title" id="accountModalTitle"></h5>
</div>
<div class="col-md-8">
<div class="table-responsive chat-table" id="chatListDiv">
<p id="turnstatus"></p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Explain why this has been moved to the chatbox.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found it better being inside at the top of the chatbox, I should do some screenshots tho but I mean, so the turn status is at the top inside of the chatbox centered and keeping it at the top (I also must add a background, but I will let you think before that)

<table class="table table-hover table-borderless">
<tbody id="chatList">

Expand Down
276 changes: 0 additions & 276 deletions src/ts/AuthManager.ts

This file was deleted.

Loading