Skip to content

Commit b8b2ae7

Browse files
Merge pull request #274 from Moonlight-Panel/ImproveServerTabIconHandling
Improved server tab icon handling
2 parents f9fd719 + 0611988 commit b8b2ae7

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Moonlight/Moonlight.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
<Folder Include="App\ApiClients\CloudPanel\Resources\" />
9191
<Folder Include="App\Http\Middleware" />
9292
<Folder Include="storage\backups\" />
93-
<Folder Include="storage\plugins\" />
9493
<Folder Include="storage\resources\public\background\" />
9594
</ItemGroup>
9695

Moonlight/Shared/Views/Server/Index.razor

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,39 +249,39 @@
249249
{
250250
Name = "Console",
251251
Route = "/",
252-
Icon = "terminal",
252+
Icon = "bx-terminal",
253253
Component = ComponentHelper.FromType(typeof(ServerConsole))
254254
});
255255

256256
Context.Tabs.Add(new()
257257
{
258258
Name = "Files",
259259
Route = "/files",
260-
Icon = "folder",
260+
Icon = "bx-folder",
261261
Component = ComponentHelper.FromType(typeof(ServerFiles))
262262
});
263263

264264
Context.Tabs.Add(new()
265265
{
266266
Name = "Backups",
267267
Route = "/backups",
268-
Icon = "box",
268+
Icon = "bx-box",
269269
Component = ComponentHelper.FromType(typeof(ServerBackups))
270270
});
271271

272272
Context.Tabs.Add(new()
273273
{
274274
Name = "Network",
275275
Route = "/network",
276-
Icon = "wifi",
276+
Icon = "bx-wifi",
277277
Component = ComponentHelper.FromType(typeof(ServerNetwork))
278278
});
279279

280280
Context.Tabs.Add(new()
281281
{
282282
Name = "Settings",
283283
Route = "/settings",
284-
Icon = "cog",
284+
Icon = "bx-cog",
285285
Component = ComponentHelper.FromType(typeof(ServerSettings))
286286
});
287287

Moonlight/Shared/Views/Server/ServerNavigation.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
{
131131
<li class="nav-item w-100 me-0 mb-md-2">
132132
<a href="/server/@(CurrentServer.Uuid + tab.Route)" class="nav-link w-100 btn btn-flex @(Route == tab.Route ? "active" : "") btn-active-light-primary">
133-
<i class="bx bx-@(tab.Icon) bx-sm me-2"></i>
133+
<i class="bx @(tab.Icon) bx-sm me-2"></i>
134134
<span class="d-flex flex-column align-items-start">
135135
<span class="fs-5">
136136
<TL>@(tab.Name)</TL>

0 commit comments

Comments
 (0)