Skip to content
Snippets Groups Projects
Commit 1a63aaca authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Minor UI improvements

parent 4b9f72b4
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,10 @@ form.upload
font-size: 14pt
font-weight: normal
color: #eee
background: none
border: none
width: 100%
box-sizing: border-box
&:not(input):not(textarea):empty
display: none
& + .image
......@@ -168,5 +172,10 @@ form.upload
font-size: 11pt
font-weight: normal
color: #eee
background: none
border: none
width: 100%
box-sizing: border-box
font-family: 'Lato', sans-serif
&:not(input):not(textarea):empty
display: none
\ No newline at end of file
......@@ -3,7 +3,7 @@
<form class="detail" method="post">
<input type="hidden" name="action" value="update">
{{if .IsMine}}
<input name="title" class="title" value="{{.Image.Title}}">
<input name="title" class="title" value="{{.Image.Title}}" placeholder="Title">
{{else}}
<h2 class="title">{{.Image.Title}}</h2>
{{end}}
......@@ -11,7 +11,7 @@
<img src="/{{.Image.Id}}">
</div>
{{if .IsMine}}
<textarea name="description" class="description">{{.Image.Description}}</textarea>
<textarea name="description" class="description" placeholder="Description">{{.Image.Description}}</textarea>
{{else}}
<div class="description">{{.Image.Description}}</div>
{{end}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment