mirror of
https://github.com/supanadit/todo.git
synced 2024-11-21 17:46:23 +00:00
- Hide description at todo component
- Fix description render at view todo - Fix todo item render - Update version 1.0.1
This commit is contained in:
parent
ea7812e9d9
commit
6c73b5712f
@ -113,10 +113,8 @@
|
||||
<h4 class="modal-title" id="todo-view-modal-title"></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<dl>
|
||||
<dt>Description</dt>
|
||||
<dd id="todo-view-modal-description"></dd>
|
||||
</dl>
|
||||
<b>Description</b>
|
||||
<p id="todo-view-modal-description" style="width:100%;word-wrap: break-word;"></p>
|
||||
<div>
|
||||
<b>Todo Item List</b>
|
||||
<div class="pull-right">
|
||||
@ -128,9 +126,9 @@
|
||||
<table class="table table-condensed table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th style="width: 65%;">Name</th>
|
||||
<th>Status</th>
|
||||
<th style="width: 90px;">Action</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="todo-view-modal-table-body"></tbody>
|
||||
@ -282,13 +280,11 @@
|
||||
}
|
||||
|
||||
const todoComponent = function (t) {
|
||||
const description = (t.description != null ? (t.description.length > 20) ? t.description.substring(0, 20).concat("...") : t.description : "");
|
||||
const todoData = "<div class=\"col-md-4 col-sm-6 col-xs-12\">\n" +
|
||||
" <div class=\"box box-widget widget-user\">\n" +
|
||||
" <!-- Add the bg color to the header using any of the bg-* classes -->\n" +
|
||||
" <div class=\"widget-user-header bg-aqua-active\">\n" +
|
||||
" <h3 class=\"widget-user-username\">" + t.name + "</h3>\n" +
|
||||
" <h5 class=\"widget-user-desc\">" + description + "</h5>\n" +
|
||||
" </div>\n" +
|
||||
" </div>\n" +
|
||||
" </div>";
|
||||
|
@ -106,7 +106,7 @@
|
||||
<footer class="main-footer">
|
||||
<div class="container">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 1.0.0
|
||||
<b>Version</b> 1.0.1
|
||||
</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.0
|
||||
Version 1.0.1
|
||||
</div>
|
||||
<!-- /.col -->
|
||||
<div class="col-xs-4">
|
||||
|
Loading…
Reference in New Issue
Block a user