aboutsummaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2019-03-18 21:45:03 -0400
committerMark Powers <markppowers0@gmail.com>2019-03-18 21:45:03 -0400
commit3d682ea13ab9d83f453fa85ea88fc28163c6b259 (patch)
tree6242c313a38e08b52680f29c3807c4f9615fc5bf /src/html
parenteab2c0e7e62c8aef94686b543578049f664fcd3a (diff)
Fix form styles
Diffstat (limited to 'src/html')
-rw-r--r--src/html/admin.html4
-rw-r--r--src/html/login.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/html/admin.html b/src/html/admin.html
index b2b1f64..1087b51 100644
--- a/src/html/admin.html
+++ b/src/html/admin.html
@@ -33,7 +33,7 @@
<div class="form">
<form action="/posts" method="post" enctype="multipart/form-data">
<div>
- <textarea rows="4" cols="50" name="description"></textarea>
+ <textarea name="description"></textarea>
</div>
<div>
<span>Tags: <input type="text" name="tags"/></span>
@@ -84,7 +84,7 @@
<table class="table log-table" v-if="showLogData">
<tr><th>Date</th><th>Session</th><th>Method</th><th>Path</th></tr>
<tr v-for="item in stats.log">
- <td>{{item.createdAt}}</td>
+ <td>{{item.createdAt.substring(0,19)}}</td>
<td>{{item.session.substring(0,10)}}...</td>
<td>{{item.method}}</td>
<td>{{item.url.substring(0, Math.min(30, item.url.length))}}</td>
diff --git a/src/html/login.html b/src/html/login.html
index 58ca2ae..2afe7d3 100644
--- a/src/html/login.html
+++ b/src/html/login.html
@@ -15,7 +15,7 @@
<form action="/login" method="post" enctype="application/x-www-form-urlencoded">
<input type="text" placeholder="Enter Username" name="username" required>
<input type="password" placeholder="Enter Password" name="password" required>
- <input type="submit">
+ <input type="submit" value="Log in">
</form>
</div>
</div>