Skip to content

Commit

Permalink
Fix some spacing and color.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Feb 21, 2024
1 parent 05a4348 commit a05f4f7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Server/Components/Devices/ChatCard.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="chat-header bg-primary text-white p-2" @onclick="HeaderClicked">
<h6 class="mt-3">
<i class="oi oi-chat me-1"></i>
<span class="badge badge-info badge-pill me-1">
<span class="badge bg-info rounded-pill me-1">
@Session.MissedChats
</span>
@Session.DeviceName
Expand Down
2 changes: 1 addition & 1 deletion Server/Components/Pages/ApiKeys.razor
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ else if (User is not null)
<div class="mb-2 mt-4">
<label class="me-1">New Token Name:</label>
<input @bind="_createKeyName" @bind:event="oninput"
class="form-control form-control-sm custom-control-inline me-1"
class="form-control form-control-sm custom-control-inline me-1 d-inline-block"
style="width:200px" />

<button class="btn btn-primary" type="button" @onclick="CreateNewKey">Create</button>
Expand Down
8 changes: 4 additions & 4 deletions Server/Components/Pages/ServerConfig.razor
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="d-inline-block text-center me-2">
<label>Devices Online</label>
<br />
<span class="badge badge-primary p-2">@ServiceSessionCache.GetAllDevices().Count</span>
<span class="badge text-bg-primary p-2">@ServiceSessionCache.GetAllDevices().Count</span>
</div>

<div class="d-inline-block text-center me-2">
Expand All @@ -23,7 +23,7 @@
<button class="btn btn-sm btn-secondary" @onclick="ShowOutdatedDevices">
<i class="oi oi-question-mark"></i>
</button>
<span class="badge badge-primary p-2 mx-2">@(OutdatedDevices?.Count() ?? 0)</span>
<span class="badge text-bg-primary p-2 mx-2">@(OutdatedDevices?.Count() ?? 0)</span>
<button class="btn btn-secondary btn-sm" type="button" title="Update All" @onclick="UpdateAllDevices">
<span class="oi oi-reload"></span>
</button>
Expand All @@ -32,12 +32,12 @@
<div class="d-inline-block text-center me-2">
<label>Devices Total</label>
<br />
<span class="badge badge-primary p-2">@TotalDevices</span>
<span class="badge text-bg-primary p-2">@TotalDevices</span>
</div>
<div class="d-inline-block text-center me-2">
<label>Active Users</label>
<br />
<span class="badge badge-primary p-2">@CircuitManager.Connections.Count</span>
<span class="badge text-bg-primary p-2">@CircuitManager.Connections.Count</span>
</div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions Server/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,8 @@ input[disabled], input[readonly], select[disabled] {

.pointer {
cursor: pointer;
}

#components-reconnect-modal {
color: black;
}

0 comments on commit a05f4f7

Please sign in to comment.