Author: Adam <git@apiote.tk>
add border and placeholder to otherTime fields
templates/book.html | 4 ++-- templates/film.html | 4 ++-- templates/tvserie.html | 4 ++--
diff --git a/templates/book.html b/templates/book.html index f2eaaa84e09a798c9245fabf1173b632499e5281..234881c4b157a43923f1994dcfbdb5325222cd2b 100644 --- a/templates/book.html +++ b/templates/book.html @@ -107,8 +107,8 @@ </label> <input type="checkbox" id="read-datetime-check" class="display-none experienced-datetime-check" name="isOtherTime" value="true"/> <div class="experienced-box absolute"> - <input type="date" name="experiencedDate" class="margin-lr-_5 margin-tb-_5 text bg-none border-none" /> - <input type="time" name="experiencedTime" class="margin-lr-_5 margin-tb-_5 text bg-none border-none" /> + <input type="date" name="experiencedDate" class="margin-lr-_5 margin-tb-_5 text bg border-text" placeholder="YYYY-mm-dd"/> + <input type="time" name="experiencedTime" class="margin-lr-_5 margin-tb-_5 text bg border-text" placeholder="HH:MM" /> </div> </form> </div> diff --git a/templates/film.html b/templates/film.html index 0cc7474d514383056fbf19f55d17f4c59fb14a0a..3c9e89557d9ce4a79122e6eb8475cf9bf1318697 100644 --- a/templates/film.html +++ b/templates/film.html @@ -123,8 +123,8 @@ </label> <input type="checkbox" id="experienced-datetime-check" class="display-none experienced-datetime-check" name="isOtherTime" value="true"/> <div class="experienced-box absolute"> - <input type="date" name="experiencedDate" class="margin-lr-_5 margin-tb-_5 text bg-none border-none" /> - <input type="time" name="experiencedTime" class="margin-lr-_5 margin-tb-_5 text bg-none border-none" /> + <input type="date" name="experiencedDate" class="margin-lr-_5 margin-tb-_5 text bg border-text" placeholder="YYYY-mm-dd"/> + <input type="time" name="experiencedTime" class="margin-lr-_5 margin-tb-_5 text bg border-text" placeholder="HH:MM" /> </div> </form> </div> diff --git a/templates/tvserie.html b/templates/tvserie.html index ca91377501c3757e0ade214db4af805bd0f36744..f41a6b82b9d7303da540473f09393bbedf48b79b 100644 --- a/templates/tvserie.html +++ b/templates/tvserie.html @@ -245,8 +245,8 @@ </label> <input type="checkbox" id="experienced-datetime-check-{{.Episode_code}}" class="display-none experienced-datetime-check" name="isOtherTime" value="true"/> <div class="experienced-box-flex absolute moveX-m50" id="experienced-box-{{.Episode_code}}"> - <input type="date" name="experiencedDate" class="margin-lr-_5 margin-tb-_5 text bg-none border-none" /> - <input type="time" name="experiencedTime" class="margin-lr-_5 margin-tb-_5 text bg-none border-none" /> + <input type="date" name="experiencedDate" class="margin-lr-_5 margin-tb-_5 text bg border-text" placeholder="YYYY-mm-dd"/> + <input type="time" name="experiencedTime" class="margin-lr-_5 margin-tb-_5 text bg border-text" placeholder="HH:MM" /> </div> </form> {{end}}