Перенос ID и репутации

This commit is contained in:
JonnyBro 2022-02-07 00:30:08 +05:00
parent 2b0b96729d
commit a7de98afc8
3 changed files with 20 additions and 22 deletions

View file

@ -70,8 +70,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div class="box box-widget widget-user"> <div class="box box-widget widget-user">
<div class="widget-user-header bg-red"> <div class="widget-user-header bg-red">
<h3 class="widget-user-username"><%= guild.name %></h3> <h3 class="widget-user-username"><%= guild.name %> (<%= guild.id %>)</h3>
<i> <%= guild.id %> </i>
</div> </div>
<div class="widget-user-image"> <div class="widget-user-image">
<img class="img-circle" src="<%= guild.iconURL %>" alt="Server icon"> <img class="img-circle" src="<%= guild.iconURL %>" alt="Server icon">

View file

@ -26,22 +26,6 @@
<!-- Main content --> <!-- Main content -->
<section class="content"> <section class="content">
<!-- Info boxes -->
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="fa fa-star-o"></i></span>
<div class="info-box-content">
<span class="info-box-text"><%= translate("economy/profile:REPUTATION").substr(2) %></span>
<span class="info-box-number"><%= user.rep %></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<!-- Widget: user widget style 1 --> <!-- Widget: user widget style 1 -->
@ -141,6 +125,22 @@
<!-- ./col --> <!-- ./col -->
</div> </div>
<!-- /.row --> <!-- /.row -->
<!-- Info boxes -->
<div class="row">
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="info-box">
<span class="info-box-icon bg-yellow"><i class="fa fa-star-o"></i></span>
<div class="info-box-content">
<span class="info-box-text"><%= translate("economy/profile:REPUTATION").substr(2) %></span>
<span class="info-box-number"><%= user.rep %></span>
</div>
<!-- /.info-box-content -->
</div>
<!-- /.info-box -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</section> </section>
<!-- /.content --> <!-- /.content -->
</div> </div>

View file

@ -18,7 +18,7 @@
<!-- Content Header (Page header) --> <!-- Content Header (Page header) -->
<section class="content-header"> <section class="content-header">
<h1> <%= user.username %> <small> Dashboard v1.1 </small> </h1> <h1> <%= userInfos.username %> <small> Dashboard v1.1 </small> </h1>
</section> </section>
<section class="content"> <section class="content">
@ -27,9 +27,8 @@
<div class="box box-widget widget-user"> <div class="box box-widget widget-user">
<!-- Add the bg color to the header using any of the bg-* classes --> <!-- Add the bg color to the header using any of the bg-* classes -->
<div class="widget-user-header bg-red"> <div class="widget-user-header bg-red">
<h3 class="widget-user-username"><%= userInfos.tag %></h3> <h3 class="widget-user-username"><%= userInfos.tag %> (<%= userInfos.id %>)</h3>
<i><%= bot.guilds.cache.get(guild.id).name %></i> <i><%= bot.guilds.cache.get(guild.id).name %> (<%= guild.id %>)</i>
<p> <i>ID: <%= guild.id %></i> </p>
</div> </div>
<div class="widget-user-image"> <div class="widget-user-image">
<img class="img-circle" src="<%= userInfos.displayAvatarURL %>" alt="User Avatar"> <img class="img-circle" src="<%= userInfos.displayAvatarURL %>" alt="User Avatar">