diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 91085f6419b52fff85b76dd8630d7e9e81d71ec4..3be4899269e62a5dea3a8a90ebaabd561537ec5b 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -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 diff --git a/templates/image_detail.html b/templates/image_detail.html index 00c5b86de04da12aeb3053e7b4432eedfac4e52d..9a0a756c4fc4606010e244dcbaf57e0d815fdecb 100644 --- a/templates/image_detail.html +++ b/templates/image_detail.html @@ -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}}