-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b898bf8
commit 8cf6bf5
Showing
8 changed files
with
55 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
<nav class="bg-bluey-800"> | ||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | ||
<div class="flex items-center justify-between h-16"> | ||
<div class="flex items-center"> | ||
<div class="hidden md:block"> | ||
<div class="flex items-baseline space-x-4"> | ||
<a href="/cp/dashboard" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a> | ||
<a href="/cp/servers/new" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Create</a> | ||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | ||
<div class="flex items-center justify-between h-16"> | ||
<div class="flex items-center"> | ||
<div class="hidden md:block"> | ||
<div class="flex items-baseline space-x-4"> | ||
<a href="/cp" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a> | ||
|
||
<a href="/cp/servers/new" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Create</a> | ||
|
||
<a href="/cp/account" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Account</a> | ||
<a href="/cp/account" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Account</a> | ||
|
||
<a href="/cp/earn" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Earn</a> | ||
<a href="/cp/earn" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Earn</a> | ||
|
||
<a href="/cp/store" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Store</a> | ||
<a href="/cp/store" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Store</a> | ||
|
||
<a href="/cp/transfer" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Transfer</a> | ||
<% if (pterodactyl.root_admin == true) { %> | ||
<a href="/cp/admin" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Admin</a> | ||
<% } %> | ||
</div> | ||
<a href="/cp/transfer" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Transfer</a> | ||
<% if (pterodactyl.root_admin == true) { %> | ||
<a href="/cp/admin" class="transition ease-in-out delay-100 text-bluey-300 hover:bg-bluey-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Admin</a> | ||
<% } %> | ||
</div> | ||
</div> | ||
<div class="hidden md:block"> | ||
<div class="ml-4 flex items-center md:ml-6"> | ||
<span class="text-blue-300 mr-2 bg-blue-900/50 p-2 text-sm px-6 rounded-full"><%= coins %> Coins</span> <!-- Profile dropdown --> | ||
<div x-data="{show: false}" x-on:click.away="show = false" class="ml-3 relative"> | ||
<div> | ||
<button x-on:click="show = !show" type="button" class="max-w-xs bg-bluey-800 rounded-full flex items-center text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bluey-800 focus:ring-white" id="user-menu-button" aria-expanded="false" aria-haspopup="true"> | ||
<span class="sr-only">Open user menu</span> | ||
<img class="h-8 w-8 rounded-full" src="https://cdn.discordapp.com/avatars/<%= req.session.userinfo.id%>/<%= req.session.userinfo.avatar%>.jpg?size=1024" alt=""> | ||
</button> | ||
</div> | ||
<div x-show="show" class="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-bluey-700 ring-1 ring-bluey-600 ring-opacity-5 focus:outline-none" role="menu" aria-orientation="vertical" aria-labelledby="user-menu-button" tabindex="-1"> | ||
<a href="/cp/account" class="block px-4 py-2 text-sm text-bluey-300 role="menuitem" tabindex="-1" id="user-menu-item-0">Account</a> | ||
</div> | ||
<div class="hidden md:block"> | ||
<div class="ml-4 flex items-center md:ml-6"> | ||
<span class="text-blue-300 mr-2 bg-blue-900/50 p-2 text-sm px-6 rounded-full"><%= coins %> Coins</span> <!-- Profile dropdown --> | ||
<div x-data="{show: false}" x-on:click.away="show = false" class="ml-3 relative"> | ||
<div> | ||
<button x-on:click="show = !show" type="button" class="max-w-xs bg-bluey-800 rounded-full flex items-center text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-bluey-800 focus:ring-white" id="user-menu-button" aria-expanded="false" aria-haspopup="true"> | ||
<span class="sr-only">Open user menu</span> | ||
<img class="h-8 w-8 rounded-full" src="https://cdn.discordapp.com/avatars/<%= req.session.userinfo.id%>/<%= req.session.userinfo.avatar%>.jpg?size=1024" alt=""> | ||
</button> | ||
</div> | ||
<div x-show="show" class="origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-bluey-700 ring-1 ring-bluey-600 ring-opacity-5 focus:outline-none" role="menu" aria-orientation="vertical" aria-labelledby="user-menu-button" tabindex="-1"> | ||
<a href="/cp/account" class="block px-4 py-2 text-sm text-bluey-300 role="menuitem" tabindex="-1" id="user-menu-item-0">Account</a> | ||
<a href="/cp/logout" class="block px-4 py-2 text-sm text-red-500" role="menuitem" tabindex="-1" id="user-menu-item-2">Logout</a> | ||
</div> | ||
<a href="/cp/logout" class="block px-4 py-2 text-sm text-red-500" role="menuitem" tabindex="-1" id="user-menu-item-2">Logout</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
</div> | ||
</nav> |
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