Compare commits

..

No commits in common. "fcea7540625af24fb4d8f089200420ede4fd036e" and "e9b9a04a70b5dd2deadd5051c7392f5721e7c881" have entirely different histories.

4 changed files with 4 additions and 60 deletions

View File

@ -14,9 +14,6 @@ body {
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
background-color: var(--background); background-color: var(--background);
color: white; color: white;
min-height: 100vh;
display: flex;
flex-direction: column;
} }
input:focus { input:focus {
@ -375,7 +372,7 @@ a button {
justify-content: space-between; justify-content: space-between;
} }
#graphs h2, #stats h2 { #graphs h2 {
margin-bottom: 20px; margin-bottom: 20px;
} }
@ -384,52 +381,3 @@ a button {
height: 400px; height: 400px;
} }
table {
font-size: 1.5em;
border-collapse: collapse;
}
table td, table th {
padding: 10px;
margin: 0;
gap: 0;
border: 0;
}
table td {
border-top: 1px solid #888;
}
table th, table td {
border-right: 1px solid #888;
}
table th:last-child, table td:last-child, table th:first-child, table td:first-child{
text-align: center;
}
table th:last-child, table td:last-child {
border-right: none;
}
table {
margin-bottom: 40px;
}
footer {
margin-top: auto;
height: 50px;
background: var(--foreground);
width: calc(100vw - 60px);
color: white;
display: flex;
flex-direction: row;
justify-content: space-between;
padding-left: 30px;
padding-right: 30px;
bottom: 0;
}
footer p {
width: auto;
}

View File

@ -26,10 +26,6 @@
<main> <main>
@yield('content') @yield('content')
</main> </main>
<footer>
<p>Find the repository on <a href="https://github.com/Notoric/slink">GitHub</a></p>
<p>Made by <a href="https://notoric.net">[Notoric]</a></p>
</footer>
@yield('scripts') @yield('scripts')
</body> </body>
</html> </html>

View File

@ -78,7 +78,7 @@
</div> </div>
</div> </div>
<div id="stats" class="container"> <div id="stats" class="container">
<h2>Clicks by Country</h2> <h2>Link Clicks</h2>
<table> <table>
<thead> <thead>
<th>📍</th> <th>📍</th>

View File

@ -17,9 +17,9 @@
</tr> </tr>
@foreach ($shortlinks as $shortlink) @foreach ($shortlinks as $shortlink)
<tr> <tr>
<td><a href="{{ url()->to("l/" . $shortlink->shortid) }}">{{ $shortlink['shortid'] }}</a></td> <td>{{ $shortlink['shortid'] }}</td>
<td>{{ $shortlink['destination'] }}</td> <td>{{ $shortlink['destination'] }}</td>
<td>{{ Carbon\Carbon::parse($shortlink->created_at)->format('M jS Y') }}</td> <td>{{ $shortlink['created_at'] }}</td>
</tr> </tr>
@endforeach @endforeach
</table> </table>