Compare commits
	
		
			8 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 795b166d7f | |||
| 
						
						
							
						
						adb4bb7f75
	
				 | 
					
					
						|||
| 958902631f | |||
| 
						
						
							
						
						b0347a9d06
	
				 | 
					
					
						|||
| 384354fbac | |||
| 
						
						
							
						
						ed2e8ef446
	
				 | 
					
					
						|||
| fa16814f91 | |||
| 
						
						
							
						
						735279bc47
	
				 | 
					
					
						
							
								
								
									
										28
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										28
									
								
								CHANGELOG.md
									
									
									
									
									
								
							@@ -2,13 +2,41 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
 | 
					All notable changes to this project will be documented in this file. Dates are displayed in UTC.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### [0.4.4](https://git.odit.services/kauft.es/linkylinky-dashboard/compare/0.4.3...0.4.4)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Added logo to sidebar [`adb4bb7`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/adb4bb7f7523e7fd739e93a74837c32eb9b266fa)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### [0.4.3](https://git.odit.services/kauft.es/linkylinky-dashboard/compare/0.4.2...0.4.3)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> 21 August 2021
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- 🚀RELEASE 0.4.3 [`9589026`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/958902631fe282b378048be8728cb9ec10c97cc4)
 | 
				
			||||||
 | 
					- Added provider to detail vist table [`b0347a9`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/b0347a9d06a21578b4e5263daabf11e5de45ef5c)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### [0.4.2](https://git.odit.services/kauft.es/linkylinky-dashboard/compare/0.4.1...0.4.2)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> 21 August 2021
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- 🚀RELEASE 0.4.2 [`384354f`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/384354fbac3b58a7e4480a0788d9b079827938b7)
 | 
				
			||||||
 | 
					- Commented search away from sidebar [`ed2e8ef`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/ed2e8ef44650f1c63d38258d7bef84c9e9222364)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### [0.4.1](https://git.odit.services/kauft.es/linkylinky-dashboard/compare/0.4.0...0.4.1)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> 21 August 2021
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- 🚀RELEASE 0.4.1 [`fa16814`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/fa16814f9165c89caaacfa9d6e042aa9aa77aebb)
 | 
				
			||||||
 | 
					- Applied new sidebar styles to logout button [`735279b`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/735279bc47ef547549e57f6d137c95541e8bdd16)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### [0.4.0](https://git.odit.services/kauft.es/linkylinky-dashboard/compare/0.3.2...0.4.0)
 | 
					#### [0.4.0](https://git.odit.services/kauft.es/linkylinky-dashboard/compare/0.3.2...0.4.0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					> 21 August 2021
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- Migrated all sidebar items to the new component [`7365749`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/7365749113afc8f51e6b4aff78babcf361992f0a)
 | 
					- Migrated all sidebar items to the new component [`7365749`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/7365749113afc8f51e6b4aff78babcf361992f0a)
 | 
				
			||||||
- Removed unused commented template stuff [`5b375f8`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/5b375f888e729bea0a82938d9af7bc016c6bd74e)
 | 
					- Removed unused commented template stuff [`5b375f8`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/5b375f888e729bea0a82938d9af7bc016c6bd74e)
 | 
				
			||||||
- Extracted a bunch of duplicate stylechecks into own component [`4377fc5`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/4377fc56c8f8d0f63a7579d21bcef95c0db45be8)
 | 
					- Extracted a bunch of duplicate stylechecks into own component [`4377fc5`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/4377fc56c8f8d0f63a7579d21bcef95c0db45be8)
 | 
				
			||||||
- Refactoring: Rename [`cb0e86a`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/cb0e86a66af04c6f88b989ee8e1490aad689d1db)
 | 
					- Refactoring: Rename [`cb0e86a`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/cb0e86a66af04c6f88b989ee8e1490aad689d1db)
 | 
				
			||||||
- Sidebar activestates [`a3c379a`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/a3c379a813be4349879e90ad07d9977a4e334e0d)
 | 
					- Sidebar activestates [`a3c379a`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/a3c379a813be4349879e90ad07d9977a4e334e0d)
 | 
				
			||||||
 | 
					- 🚀RELEASE 0.4.0 [`204bf5b`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/204bf5b01d61f4ab96aaa891225377fe5f7792cf)
 | 
				
			||||||
- Added hoverstates [`2cf66ab`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/2cf66ab6cbf661330a7767896157c62d958a651e)
 | 
					- Added hoverstates [`2cf66ab`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/2cf66ab6cbf661330a7767896157c62d958a651e)
 | 
				
			||||||
- Removed console log [`6584b3c`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/6584b3c7c7c0d5496d52522e8130f615145d1b03)
 | 
					- Removed console log [`6584b3c`](https://git.odit.services/kauft.es/linkylinky-dashboard/commit/6584b3c7c7c0d5496d52522e8130f615145d1b03)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	"name": "@odit/linkylinky-dashboard",
 | 
						"name": "@odit/linkylinky-dashboard",
 | 
				
			||||||
	"version": "0.4.0",
 | 
						"version": "0.4.4",
 | 
				
			||||||
	"scripts": {
 | 
						"scripts": {
 | 
				
			||||||
		"dev": "svelte-kit dev",
 | 
							"dev": "svelte-kit dev",
 | 
				
			||||||
		"build": "svelte-kit build",
 | 
							"build": "svelte-kit build",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -23,8 +23,9 @@
 | 
				
			|||||||
<div
 | 
					<div
 | 
				
			||||||
	class="flex flex-col w-64 h-screen px-4 py-8 bg-white border-r dark:bg-gray-800 dark:border-gray-600"
 | 
						class="flex flex-col w-64 h-screen px-4 py-8 bg-white border-r dark:bg-gray-800 dark:border-gray-600"
 | 
				
			||||||
>
 | 
					>
 | 
				
			||||||
 | 
						<img class="h-36 w-36" src="/icon_128.png" alt="LinkyLinky Logo (White kauft.es K on red background)">
 | 
				
			||||||
	<h2 class="text-3xl font-semibold text-gray-800 dark:text-white">LinkyLinky</h2>
 | 
						<h2 class="text-3xl font-semibold text-gray-800 dark:text-white">LinkyLinky</h2>
 | 
				
			||||||
	<div class="relative mt-6">
 | 
						<!-- <div class="relative mt-6">
 | 
				
			||||||
		<span class="absolute inset-y-0 left-0 flex items-center pl-3">
 | 
							<span class="absolute inset-y-0 left-0 flex items-center pl-3">
 | 
				
			||||||
			<svg class="w-5 h-5 text-gray-400" viewBox="0 0 24 24" fill="none">
 | 
								<svg class="w-5 h-5 text-gray-400" viewBox="0 0 24 24" fill="none">
 | 
				
			||||||
				<path
 | 
									<path
 | 
				
			||||||
@@ -42,7 +43,7 @@
 | 
				
			|||||||
			class="w-full py-3 pl-10 pr-4 text-gray-700 bg-white border border-gray-300 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-600 focus:border-blue-500 dark:focus:border-blue-500 focus:outline-none focus:ring"
 | 
								class="w-full py-3 pl-10 pr-4 text-gray-700 bg-white border border-gray-300 rounded-md dark:bg-gray-800 dark:text-gray-300 dark:border-gray-600 focus:border-blue-500 dark:focus:border-blue-500 focus:outline-none focus:ring"
 | 
				
			||||||
			placeholder="Search"
 | 
								placeholder="Search"
 | 
				
			||||||
		/>
 | 
							/>
 | 
				
			||||||
	</div>
 | 
						</div> -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	<div class="flex flex-col justify-between flex-1 mt-6">
 | 
						<div class="flex flex-col justify-between flex-1 mt-6">
 | 
				
			||||||
		<nav>
 | 
							<nav>
 | 
				
			||||||
@@ -100,7 +101,7 @@
 | 
				
			|||||||
					</svg>
 | 
										</svg>
 | 
				
			||||||
				</SidebarEntry>
 | 
									</SidebarEntry>
 | 
				
			||||||
				<button
 | 
									<button
 | 
				
			||||||
					class="flex items-center px-4 py-2 mt-5 text-gray-600 transition-colors duration-200 transform rounded-md dark:text-gray-400 hover:bg-gray-200 dark:hover:bg-gray-700 dark:hover:text-gray-200 hover:text-gray-700"
 | 
										class="flex items-center px-4 py-2 mt-5 transition-colors duration-200 transform rounded-md hover:bg-gray-200 dark:hover:bg-gray-700 dark:hover:text-gray-200 hover:text-gray-700"
 | 
				
			||||||
					on:click={logout}
 | 
										on:click={logout}
 | 
				
			||||||
				>
 | 
									>
 | 
				
			||||||
					<svg
 | 
										<svg
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,6 +50,9 @@
 | 
				
			|||||||
				<th scope="col" class="px-6 py-3 text-left text-xs font-medium  uppercase tracking-wider">
 | 
									<th scope="col" class="px-6 py-3 text-left text-xs font-medium  uppercase tracking-wider">
 | 
				
			||||||
					Timestamp
 | 
										Timestamp
 | 
				
			||||||
				</th>
 | 
									</th>
 | 
				
			||||||
 | 
									<th scope="col" class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider">
 | 
				
			||||||
 | 
										Provider
 | 
				
			||||||
 | 
									</th>
 | 
				
			||||||
			</tr>
 | 
								</tr>
 | 
				
			||||||
		</thead>
 | 
							</thead>
 | 
				
			||||||
		<tbody class="bg-white dark:bg-gray-700 divide-y divide-gray-200 dark:text-gray-100" x-max="1">
 | 
							<tbody class="bg-white dark:bg-gray-700 divide-y divide-gray-200 dark:text-gray-100" x-max="1">
 | 
				
			||||||
@@ -60,6 +63,7 @@
 | 
				
			|||||||
					>
 | 
										>
 | 
				
			||||||
						Loading data...
 | 
											Loading data...
 | 
				
			||||||
					</td>
 | 
										</td>
 | 
				
			||||||
 | 
										<td class="px-6 py-4 whitespace-nowrap text-sm"> Loading data... </td>
 | 
				
			||||||
				</tr>
 | 
									</tr>
 | 
				
			||||||
			{:then}
 | 
								{:then}
 | 
				
			||||||
				{#each urlVisists as visit}
 | 
									{#each urlVisists as visit}
 | 
				
			||||||
@@ -69,6 +73,7 @@
 | 
				
			|||||||
						>
 | 
											>
 | 
				
			||||||
							{visit.timestamp}
 | 
												{visit.timestamp}
 | 
				
			||||||
						</td>
 | 
											</td>
 | 
				
			||||||
 | 
											<td class="px-6 py-4 whitespace-nowrap text-sm"> {visit.provider} </td>
 | 
				
			||||||
					</tr>
 | 
										</tr>
 | 
				
			||||||
				{/each}
 | 
									{/each}
 | 
				
			||||||
			{/await}
 | 
								{/await}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,6 +16,12 @@ import Apiclient from '$lib/Apiclient';
 | 
				
			|||||||
			
 | 
								
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						function handleKeydown(e) {
 | 
				
			||||||
 | 
							if (e.keyCode === 13) {
 | 
				
			||||||
 | 
								login();
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="w-full max-w-sm mx-auto overflow-hidden bg-white rounded-lg shadow-md dark:bg-gray-800">
 | 
					<div class="w-full max-w-sm mx-auto overflow-hidden bg-white rounded-lg shadow-md dark:bg-gray-800">
 | 
				
			||||||
@@ -30,21 +36,23 @@ import Apiclient from '$lib/Apiclient';
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
			<div class="w-full mt-4">
 | 
								<div class="w-full mt-4">
 | 
				
			||||||
				<input
 | 
									<input
 | 
				
			||||||
					class="block w-full px-4 py-2 mt-2 text-gray-700 dark:text-gray-400 placeholder-gray-500 bg-white border border-gray-300 rounded-md dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 focus:border-blue-500 dark:focus:border-blue-500 focus:outline-none focus:ring"
 | 
										class="block w-full px-4 py-2 mt-2 text-gray-700 dark:text-gray-200 placeholder-gray-500 bg-white border border-gray-300 rounded-md dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 focus:border-blue-500 dark:focus:border-blue-500 focus:outline-none focus:ring"
 | 
				
			||||||
					type="text"
 | 
										type="text"
 | 
				
			||||||
					placeholder="Username"
 | 
										placeholder="Username"
 | 
				
			||||||
					aria-label="Username"
 | 
										aria-label="Username"
 | 
				
			||||||
					bind:value={username}
 | 
										bind:value={username}
 | 
				
			||||||
 | 
										on:keydown={handleKeydown}
 | 
				
			||||||
				/>
 | 
									/>
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			<div class="w-full mt-4">
 | 
								<div class="w-full mt-4">
 | 
				
			||||||
				<input
 | 
									<input
 | 
				
			||||||
					class="block w-full px-4 py-2 mt-2 text-gray-700 dark:text-gray-400 placeholder-gray-500 bg-white border border-gray-300 rounded-md dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 focus:border-blue-500 dark:focus:border-blue-500 focus:outline-none focus:ring"
 | 
										class="block w-full px-4 py-2 mt-2 text-gray-700 dark:text-gray-200 placeholder-gray-500 bg-white border border-gray-300 rounded-md dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 focus:border-blue-500 dark:focus:border-blue-500 focus:outline-none focus:ring"
 | 
				
			||||||
					type="password"
 | 
										type="password"
 | 
				
			||||||
					placeholder="Password"
 | 
										placeholder="Password"
 | 
				
			||||||
					aria-label="Password"
 | 
										aria-label="Password"
 | 
				
			||||||
					bind:value={password}
 | 
										bind:value={password}
 | 
				
			||||||
 | 
										on:keydown={handleKeydown}
 | 
				
			||||||
				/>
 | 
									/>
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user