templates
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="bg">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Таблица с красиви ръбове</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
margin: 10px auto;
|
||||
width: 80%;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
line-height: 1.2;
|
||||
font-size: 12px; /* по-малък текст навсякъде */
|
||||
}
|
||||
thead {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
tfoot {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
th, td {
|
||||
padding: 4px 6px;
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
.footer-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.footer-left button,
|
||||
.footer-right button {
|
||||
margin: 0 3px;
|
||||
padding: 3px 6px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.page-number {
|
||||
margin: 0 10px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Колона 1</th>
|
||||
<th>Колона 2</th>
|
||||
<th>Колона 3</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Ред 1</td>
|
||||
<td>Ред 1</td>
|
||||
<td>Ред 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ред 2</td>
|
||||
<td>Ред 2</td>
|
||||
<td>Ред 2</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ред 3</td>
|
||||
<td>Ред 3</td>
|
||||
<td>Ред 3</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<div class="footer-container">
|
||||
<div class="footer-left">
|
||||
<button>Добави</button>
|
||||
<button>Изтрий</button>
|
||||
<button>Редактирай</button>
|
||||
</div>
|
||||
<div class="footer-right">
|
||||
<button>« Назад</button>
|
||||
<span class="page-number">Стр. 1</span>
|
||||
<button>Напред »</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user