Commit | Line | Data |
---|---|---|
929ca066 BA |
1 | {% extends "::base.html.twig" %} |
2 | ||
3 | {% block title %}{{ parent() }}user board{% endblock %} | |
4 | ||
5 | {% block header %} | |
6 | {{ parent() }} | |
7 | <link rel="stylesheet" href="{{ asset('mixstore/css/store/table.css') }}"> | |
8 | <link rel="stylesheet" href="{{ asset('mixstore/css/user/board.css') }}"> | |
9 | {% endblock %} | |
10 | ||
11 | {% block content %} | |
12 | ||
13 | <div id="packages" class="row"> | |
14 | <h2>My packages</h2> | |
15 | {% include "MixstoreStoreBundle:Package:list_content.html.twig" %} | |
16 | <a class="addnew" href="{{ path('mixstore_store_package_upsert') }}"><button type="button" class="btn btn-primary">New package</button></a> | |
17 | </div> | |
18 | ||
19 | <div id="usecases" class="row"> | |
20 | <h2>My usecases</h2> | |
21 | {% include "MixstoreStoreBundle:Usecase:list_content.html.twig" %} | |
22 | <a class="addnew" href="{{ path('mixstore_store_usecase_upsert') }}"><button type="button" class="btn btn-primary">New usecase</button></a> | |
23 | </div> | |
24 | ||
25 | {% endblock %} | |
26 | ||
27 | {% block javascripts %} | |
28 | {{ parent() }} | |
29 | <script type="text/javascript" src="{{ asset('mixstore/js/stupidtable.min.js') }}"></script> | |
30 | <script> | |
31 | $(document).ready(function() | |
32 | { | |
33 | $(".sortable").stupidtable(); | |
34 | }); | |
35 | </script> | |
36 | {% endblock %} |