diff options
Diffstat (limited to 'src/html')
-rw-r--r-- | src/html/admin.html | 4 | ||||
-rw-r--r-- | src/html/login.html | 2 |
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> |