tests #6

Merged
bucky merged 15 commits from tests into master 2023-10-01 12:26:21 -07:00
3 changed files with 6 additions and 7 deletions
Showing only changes of commit 8cabe5c7b6 - Show all commits
+2 -2
View File
@@ -1,2 +1,2 @@
<a href="/">Home</a> <h2><a href="/" style="color: #555555;">Home</a></h2>
<h2><a href="<%= @new_link %>" target="_blank"><%= @new_link %></a></h2> <h2><a href="<%= @new_link %>" target="_blank" style="color: #555555;"><%= @new_link %></a></h2>
+2 -3
View File
@@ -1,5 +1,4 @@
<form method="POST" action="/create"> <form method="POST" action="/create">
<label for "url">URL: </label> <input type="text" name="url" placeholder="http://www.example.com/" style="padding: 0.5rem;" />
<input type="text" name="url" /> <input type="submit" value="Submit" style="padding: 0.5rem;" />
<input type="submit" value="Submit" />
</form> </form>
+2 -2
View File
@@ -3,8 +3,8 @@
<title><%= @page_title || "URL Shortener" %></title> <title><%= @page_title || "URL Shortener" %></title>
<link rel="icon" href="data:,"> <link rel="icon" href="data:,">
</head> </head>
<body style="background: #FEFEFE; font-family: Helvetica, sans-serif;"> <body style="background: #FEFEFE; font-family: Helvetica, sans-serif; color: #555555;">
<main style="max-width: 30rem; min-width: 18rem; border: 2px solid #111111; border-radius: 20px; margin: auto; padding: 1rem; margin-top: 5rem; text-align: center;"> <main style="max-width: 30rem; min-width: 18rem; border: 5px solid #999999; border-radius: 20px; margin: auto; padding: 1rem; margin-top: 5rem; text-align: center;">
<h1>URL Shortener</h1> <h1>URL Shortener</h1>
<%== yield %> <%== yield %>
</main> </main>