custom.css теперь работает, удалена строка поиска

This commit is contained in:
JonnyBro 2021-12-15 21:32:24 +05:00
parent fa1dbf26b7
commit 1a47776ad7
5 changed files with 37 additions and 14 deletions

View file

@ -1,6 +1,30 @@
.server-name {
overflow: hidden;
width: calc(80%);
white-space: nowrap;
text-overflow: ellipsis;
}
overflow: hidden;
width: calc(80%);
white-space: nowrap;
text-overflow: ellipsis;
}
/*
.content-wrapper {
background: #232a2e;
}
.box {
background: #343d42;
}
.box-title {
color: #fafafa;
}
.box-footer {
background: #343d42;
}
.form-group {
color: #fafafa;
}
h1 {
color: #fafafa;
} */

View file

@ -9,8 +9,8 @@
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/bower_components/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="/dist/css/custom.css">
<link rel="stylesheet" href="/dist/css/AdminLTE.min.css">
<link rel="stylesheet" href="/dist/css/custom.css">
<link rel="stylesheet" href="/dist/css/skins/_all-skins.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
<script src="/bower_components/jquery/dist/jquery.min.js"></script>

View file

@ -2,7 +2,7 @@
<!-- Logo -->
<a href="/" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>A</b></span>
<span class="logo-mini"><b>JB</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><b>JaBa Dashboard</b></span>
</a>

View file

@ -13,6 +13,7 @@
</div>
</div>
<!-- search form -->
<!--
<form action="/selector" method="get" class="sidebar-form">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="<%= translate("dashboard:SEARCH") %>">
@ -23,6 +24,7 @@
</span>
</div>
</form>
-->
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu" data-widget="tree">

View file

@ -3,7 +3,6 @@
<%- include('includes/head') %>
<body class="hold-transition skin-red sidebar-mini">
<div class="wrapper">
<!-- The header is the topbar -->
<%- include('includes/header') %>
@ -12,7 +11,6 @@
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1> <%= translate("dashboard:SELECTOR") %> <small> Dashboard v1.0 </small> </h1>
@ -22,13 +20,12 @@
</section>
<section class="content">
<div class="row">
<% if(user.displayedGuilds){ user.displayedGuilds.forEach(function(guild) { %>
<!-- Displays 4 servers by line -->
<div class="col-md-3">
<div class="box box-solid">
<div class="box-header with-border text-center">
<div class="box-header text-center">
<i class="fas fa-crown"></i>
<h3 class="box-title server-name"><%= guild.name %></h3>
</div>
@ -69,11 +66,11 @@
<% } %>
</div>
</section>
</div>
</div>
<!-- Footer includes credits and version -->
<%- include('includes/footer') %>
<%- include('includes/footer') %>
</div>
<!-- ./wrapper -->
</body>
</html>
</html>