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 { .server-name {
overflow: hidden; overflow: hidden;
width: calc(80%); width: calc(80%);
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; 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"> <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/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="/bower_components/font-awesome/css/font-awesome.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/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="/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"> <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> <script src="/bower_components/jquery/dist/jquery.min.js"></script>

View file

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

View file

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

View file

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