1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00

Update docs

This commit is contained in:
Hillel Coren 2018-05-13 22:19:39 +03:00
parent dfc3fb9c3a
commit 54bda2d886
3 changed files with 28 additions and 17 deletions

View File

@ -1280,6 +1280,7 @@ class Utils
'tasks',
'expenses',
'vendors',
'proposals',
];
if ($path == 'dashboard') {

View File

@ -16,6 +16,7 @@ Want to find out everything there is to know about how to use your Invoice Ninja
recurring_invoices
credits
quotes
proposals
tasks
expenses
vendors

View File

@ -72,33 +72,42 @@ $(function() {
<tr>\
<td class="card-content">\
<img src="" alt="Image"/>\
<h1 class="card-title">Insert title here</h1>\
<h1 class="card-title">Title here</h1>\
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</p>\
</td>\
<td class="card-content">\
<img src="" alt="Image"/>\
<h1 class="card-title">Insert title here</h1>\
<h1 class="card-title">Title here</h1>\
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</p>\
</td>\
</tr>\
</table>');
var listItemsBlock = blockManager.get('list-items');
gridItemsBlock.set('content', '\
<table>\
<tr>\
<td class="card-content">\
<img src="" alt="Image"/>\
<h1 class="card-title">Insert title here</h1>\
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</p>\
</td>\
<td class="card-content">\
<img src="" alt="Image"/>\
<h1 class="card-title">Insert title here</h1>\
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</p>\
</td>\
</tr>\
</table>');
listItemsBlock.set('content', '\
<table>\
<tr>\
<td class="card-content">\
<img alt="Image"//>\
</td>\
<td class="card-content">\
<h1 class="card-title">Title here</h1>\
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</p>\
</td>\
</tr>\
</table>\
<table>\
<tr>\
<td class="card-content">\
<img alt="Image"/>\
</td>\
<td class="card-content">\
<h1 class="card-title">Title here</h1>\
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</p>\
</td>\
</tr>\
</table>');
@foreach ($snippets as $snippet)
blockManager.add("h{{ ($loop->index + 1) }}-block", {