added todos
This commit is contained in:
parent
29740fec36
commit
cebed5a145
|
@ -115,7 +115,7 @@ class ShortlinkController extends Controller
|
|||
return response()->json(['error' => $e->getMessage()], 400);
|
||||
}
|
||||
}
|
||||
|
||||
//TODO: Change to toggle on the delete method, and prevent deleted items from being modified or accessed
|
||||
public function delete(Request $request, $id) {
|
||||
try {
|
||||
$shortlink = Shortlink::where('shortid', $id)->first();
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace App\Models;
|
|||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
//TODO
|
||||
|
||||
class Link_interaction extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
||||
|
||||
/* TODO: Normalize the css and split into global and page files */
|
||||
:root {
|
||||
--primary: #ff0050;
|
||||
--background: #121212;
|
||||
--foreground: #202020;
|
||||
--text: #bbb;
|
||||
}
|
||||
|
||||
/* TODO: Add support for custom css & set simple colours in a config */
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<div id="title-container" class="container">
|
||||
<h1>Profile</h1>
|
||||
</div>
|
||||
<div id="profile-container" class="container">
|
||||
<div id="profile-container" class="container"> <!-- TODO: Add ability to change & reverify email -->
|
||||
<p>Username: <em>{{ Auth::user()->name }}</em></p>
|
||||
<p>Email: <em>{{ Auth::user()->email }}</em></p>
|
||||
<p>Created at: <em>{{ Auth::user()->created_at }}</em></p>
|
||||
|
|
Loading…
Reference in New Issue