mirror of https://github.com/E-Almqvist/hsf
parent
fdd039857b
commit
3fd9f500c4
@ -1,4 +1,6 @@ |
||||
form action="/userpage" method="get" |
||||
input type="text" name="username" |
||||
input type="password" name="password" |
||||
input type="submit" value="Login" |
||||
article |
||||
form action="/login" method="post" |
||||
input type="text" name="username" placeholder="Username" |
||||
input type="password" name="password" placeholder="Password" |
||||
input type="submit" value="Login" |
||||
|
||||
|
@ -1,28 +1,29 @@ |
||||
- persondata.each do |data| |
||||
article.person |
||||
img.avatar src="#{data[:avatar_url]}" |
||||
.persons-container |
||||
- persondata.each do |data| |
||||
article.person |
||||
img.avatar src="#{data[:avatar_url]}" |
||||
|
||||
.info |
||||
h1 #{data[:fname]} #{data[:lname]} |
||||
ul |
||||
li |
||||
label Email: |
||||
a href="mailto:#{data[:email]}" = data[:email] |
||||
li |
||||
label Age: |
||||
span #{data[:age]} |
||||
li |
||||
label IPv4 Address: |
||||
a href="https://api.iplocation.net/?ip=#{data[:ipv4]}" target="_blank" = data[:ipv4] |
||||
li |
||||
label Movie title: |
||||
a href="https://www.imdb.com/find?q=#{data[:movie_title]}" target="_blank" = data[:movie_title] |
||||
li |
||||
label Role: |
||||
span #{data[:role]} |
||||
li |
||||
label Visiting Frequency: |
||||
span #{data[:freq]} |
||||
li |
||||
label Gender: |
||||
span #{data[:gender]} |
||||
.info |
||||
h1 #{data[:fname]} #{data[:lname]} |
||||
ul |
||||
li |
||||
label Email: |
||||
a href="mailto:#{data[:email]}" = data[:email] |
||||
li |
||||
label Age: |
||||
span #{data[:age]} |
||||
li |
||||
label IPv4 Address: |
||||
a href="https://api.iplocation.net/?ip=#{data[:ipv4]}" target="_blank" = data[:ipv4] |
||||
li |
||||
label Movie title: |
||||
a href="https://www.imdb.com/find?q=#{data[:movie_title]}" target="_blank" = data[:movie_title] |
||||
li |
||||
label Role: |
||||
span #{data[:role]} |
||||
li |
||||
label Visiting Frequency: |
||||
span #{data[:freq]} |
||||
li |
||||
label Gender: |
||||
span #{data[:gender]} |
||||
|
@ -0,0 +1,6 @@ |
||||
article |
||||
form action="/register" method="post" |
||||
input type="text" name="username" placeholder="Username" |
||||
input type="password" name="password" placeholder="Password" |
||||
input type="submit" value="Register" |
||||
|
Loading…
Reference in new issue