Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uim] Update user server page #2466

Merged
merged 1 commit into from
Sep 26, 2024
Merged
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
17 changes: 5 additions & 12 deletions resources/views/tabler/user/server.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,16 @@
{if $server['connection_type'] !== 0}
<span class="badge bg-blue-lt">IPv6</span>
{/if}
{if $user->class < $server['class']}
<span class="badge bg-red-lt">无权限</span>
<span class="badge bg-pink-lt">当前账户等级小于节点等级</span>
<span class="badge bg-green-lt">前往 <a href="/user/product">商品页面</a> 订购时间流量包</span>
{/if}
</div>
</div>

</div>
</div>
</div>
{if $user->class < $server['class']}
<div class="card bg-primary-lt">
<div class="card-body">
<p class="text-secondary">
<i class="ti ti-info-circle icon text-blue"></i>
你当前的账户等级小于节点等级,因此无法使用。可前往 <a
href="/user/product">商品页面</a> 订购时间流量包
</p>
</div>
</div>
{/if}
</div>
{/foreach}
</div>
Expand Down