mirror of
https://github.com/supanadit/todo.git
synced 2024-11-10 01:42:20 +00:00
Enhance table todo item and update version to 1.0.2
This commit is contained in:
parent
6c73b5712f
commit
54037eed87
@ -123,12 +123,13 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<table class="table table-condensed table-hover">
|
<br/>
|
||||||
|
<table class="table table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 65%;">Name</th>
|
<th style="width: 65%;">Name</th>
|
||||||
<th>Status</th>
|
<th style="text-align:center;">Status</th>
|
||||||
<th>Action</th>
|
<th style="text-align:center;">Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="todo-view-modal-table-body"></tbody>
|
<tbody id="todo-view-modal-table-body"></tbody>
|
||||||
@ -306,8 +307,8 @@
|
|||||||
const buttonDelete = "<button class=\"btn btn-xs btn-danger btn-todo-delete\"><i class=\"fa fa-trash\"></i></button>";
|
const buttonDelete = "<button class=\"btn btn-xs btn-danger btn-todo-delete\"><i class=\"fa fa-trash\"></i></button>";
|
||||||
const row = "<tr>\n" +
|
const row = "<tr>\n" +
|
||||||
" <td>" + todoItem.name + "</td>\n" +
|
" <td>" + todoItem.name + "</td>\n" +
|
||||||
" <td><label class=\"label " + (!todoItem.complete ? "label-danger" : "label-success") + "\">" + (!todoItem.complete ? "Not complete" : "Complete") + "</label></td>\n" +
|
" <td align=\"center\"><label class=\"label " + (!todoItem.complete ? "label-danger" : "label-success") + "\">" + (!todoItem.complete ? "Not complete" : "Complete") + "</label></td>\n" +
|
||||||
" <td>\n" +
|
" <td align=\"center\">\n" +
|
||||||
" " + buttonToggleMark + "\n" +
|
" " + buttonToggleMark + "\n" +
|
||||||
" " + buttonEdit + "\n" +
|
" " + buttonEdit + "\n" +
|
||||||
" " + buttonDelete + "\n" +
|
" " + buttonDelete + "\n" +
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
<footer class="main-footer">
|
<footer class="main-footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="pull-right hidden-xs">
|
<div class="pull-right hidden-xs">
|
||||||
<b>Version</b> 1.0.1
|
<b>Version</b> 1.0.2
|
||||||
</div>
|
</div>
|
||||||
<strong>Copyright © @php echo date('Y'); @endphp <b>Todo</b> <i>App</i>.</strong>
|
<strong>Copyright © @php echo date('Y'); @endphp <b>Todo</b> <i>App</i>.</strong>
|
||||||
All rights
|
All rights
|
||||||
|
@ -53,7 +53,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-8">
|
<div class="col-xs-8">
|
||||||
<a href="/register" class="text-center">Register new account</a><br/>
|
<a href="/register" class="text-center">Register new account</a><br/>
|
||||||
Version 1.0.1
|
Version 1.0.2
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
<div class="col-xs-4">
|
<div class="col-xs-4">
|
||||||
|
Loading…
Reference in New Issue
Block a user