1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +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', 'tasks',
'expenses', 'expenses',
'vendors', 'vendors',
'proposals',
]; ];
if ($path == 'dashboard') { 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 recurring_invoices
credits credits
quotes quotes
proposals
tasks tasks
expenses expenses
vendors vendors

View File

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