mirror of
https://github.com/supanadit/todo.git
synced 2024-11-22 01:56:21 +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>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table table-condensed table-hover">
|
||||
<br/>
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 65%;">Name</th>
|
||||
<th>Status</th>
|
||||
<th>Action</th>
|
||||
<th style="text-align:center;">Status</th>
|
||||
<th style="text-align:center;">Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<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 row = "<tr>\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>\n" +
|
||||
" <td align=\"center\"><label class=\"label " + (!todoItem.complete ? "label-danger" : "label-success") + "\">" + (!todoItem.complete ? "Not complete" : "Complete") + "</label></td>\n" +
|
||||
" <td align=\"center\">\n" +
|
||||
" " + buttonToggleMark + "\n" +
|
||||
" " + buttonEdit + "\n" +
|
||||
" " + buttonDelete + "\n" +
|
||||
|
@ -106,7 +106,7 @@
|
||||
<footer class="main-footer">
|
||||
<div class="container">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 1.0.1
|
||||
<b>Version</b> 1.0.2
|
||||
</div>
|
||||
<strong>Copyright © @php echo date('Y'); @endphp <b>Todo</b> <i>App</i>.</strong>
|
||||
All rights
|
||||
|
@ -53,7 +53,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-8">
|
||||
<a href="/register" class="text-center">Register new account</a><br/>
|
||||
Version 1.0.1
|
||||
Version 1.0.2
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
|
Loading…
Reference in New Issue
Block a user