Initial commit of Todoizer web application
Build and Validate / build-and-test (push) Failing after 1m23s
Build and Validate / build-and-test (push) Failing after 1m23s
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Todoizer - Get Things Done</title>
|
||||
<meta name="description" content="A simple and premium todo application.">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-transparent mb-4">
|
||||
<div class="container">
|
||||
<a class="navbar-brand fw-bold fs-3 text-gradient" href="/">✓ Todoizer</a>
|
||||
<div class="d-flex align-items-center">
|
||||
<% if current_user %>
|
||||
<% if current_user.is_temporary %>
|
||||
<a href="/signup" class="btn btn-outline-warning btn-sm me-2 fw-semibold glow-effect">Sign up to save permanently</a>
|
||||
<a href="/login" class="btn btn-link text-light text-decoration-none btn-sm">Log In</a>
|
||||
<% else %>
|
||||
<span class="text-light me-3">Hello, <strong><%= current_user.username %></strong></span>
|
||||
<form action="/logout" method="post" class="d-inline">
|
||||
<button type="submit" class="btn btn-outline-light btn-sm">Log Out</button>
|
||||
</form>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="container main-container">
|
||||
<% if @error %>
|
||||
<div class="alert alert-danger" role="alert"><%= @error %></div>
|
||||
<% end %>
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user