mirror of
https://github.com/supanadit/todo.git
synced 2024-11-10 01:42:20 +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>
|
<h4 class="modal-title" id="todo-view-modal-title"></h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<dl>
|
<b>Description</b>
|
||||||
<dt>Description</dt>
|
<p id="todo-view-modal-description" style="width:100%;word-wrap: break-word;"></p>
|
||||||
<dd id="todo-view-modal-description"></dd>
|
|
||||||
</dl>
|
|
||||||
<div>
|
<div>
|
||||||
<b>Todo Item List</b>
|
<b>Todo Item List</b>
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
@ -128,9 +126,9 @@
|
|||||||
<table class="table table-condensed table-hover">
|
<table class="table table-condensed table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th style="width: 65%;">Name</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
<th style="width: 90px;">Action</th>
|
<th>Action</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="todo-view-modal-table-body"></tbody>
|
<tbody id="todo-view-modal-table-body"></tbody>
|
||||||
@ -282,13 +280,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const todoComponent = function (t) {
|
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" +
|
const todoData = "<div class=\"col-md-4 col-sm-6 col-xs-12\">\n" +
|
||||||
" <div class=\"box box-widget widget-user\">\n" +
|
" <div class=\"box box-widget widget-user\">\n" +
|
||||||
" <!-- Add the bg color to the header using any of the bg-* classes -->\n" +
|
" <!-- Add the bg color to the header using any of the bg-* classes -->\n" +
|
||||||
" <div class=\"widget-user-header bg-aqua-active\">\n" +
|
" <div class=\"widget-user-header bg-aqua-active\">\n" +
|
||||||
" <h3 class=\"widget-user-username\">" + t.name + "</h3>\n" +
|
" <h3 class=\"widget-user-username\">" + t.name + "</h3>\n" +
|
||||||
" <h5 class=\"widget-user-desc\">" + description + "</h5>\n" +
|
|
||||||
" </div>\n" +
|
" </div>\n" +
|
||||||
" </div>\n" +
|
" </div>\n" +
|
||||||
" </div>";
|
" </div>";
|
||||||
|
@ -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.0
|
<b>Version</b> 1.0.1
|
||||||
</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.0
|
Version 1.0.1
|
||||||
</div>
|
</div>
|
||||||
<!-- /.col -->
|
<!-- /.col -->
|
||||||
<div class="col-xs-4">
|
<div class="col-xs-4">
|
||||||
|
Loading…
Reference in New Issue
Block a user