Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Revision 513 | Revision 515 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 513 Revision 514
Zeile 19... Zeile 19...
19
                "url": "/js/DataTables-1.10.19/German.json"
19
                "url": "/js/DataTables-1.10.19/German.json"
20
            }
20
            }
21
        });
21
        });
22
    })
22
    })
23
</script>
23
</script>
-
 
24
<div id="reiter">
-
 
25
    <ul>
24
{if $directory->sub_dirs|count}
26
        {if $directory->sub_dirs|count}
25
    <h2>Unterkategorien</h2>
-
 
26
    <div id="subdirs">
27
        <li>
27
        <table id="directoryTable">
28
            <a href="#subdirs">Unterkategorien</a>
28
            <thead>
29
        </li>
29
            <tr>
30
        {/if}
30
                <th>Name</th>
31
        {if $directory->items|count}
31
                <th>Bilder</th>
32
        <li>
32
                <th>Aktionen</th>
33
            <a href="#items">Artikel</a>
33
            </tr>
34
        </li>
34
            </thead>
35
        {/if}
-
 
36
    </ul>
-
 
37
    {if $directory->sub_dirs|count}
35
            <tbody>
38
        <div id="subdirs">
36
            {foreach $directory->sub_dirs as $subDir}
39
            <table id="directoryTable">
-
 
40
                <thead>
37
                <tr>
41
                <tr>
38
                    <td>{$subDir->name}</td>
-
 
39
                    <td>
-
 
40
                        {foreach $subDir->medium as $medium}
-
 
41
                            <img src="https://www.{config('webanos.shop')}/images/upload/{$medium->medium->folder}/mini/{$medium->medium->name}"
-
 
42
                                 alt="">
-
 
43
                        {/foreach}
-
 
44
                    </td>
42
                    <th>Name</th>
45
                    <td>
43
                    <th>Bilder</th>
46
                        <button id="dir_{$subDir->id}_edit" class="btn btn-xs btn-primary">Bearbeiten</button>
-
 
47
                        <button id="dir_{$subDir->id}_del" class="btn btn-xs btn-danger">Löschen</button>
-
 
48
                    </td>
44
                    <th>Aktionen</th>
49
                </tr>
45
                </tr>
50
            {/foreach}
46
                </thead>
51
            </tbody>
47
                <tbody>
52
        </table>
48
                {foreach $directory->sub_dirs as $subDir}
53
    </div>
49
                    <tr>
54
{/if}
-
 
55
 
-
 
56
{if $directory->items|count}
50
                        <td>{$subDir->name}</td>
57
    <h2>Artikel</h2>
51
                        <td>
-
 
52
                            {foreach $subDir->medium as $medium}
-
 
53
                                <img src="https://www.{config('webanos.shop')}/images/upload/{$medium->medium->folder}/mini/{$medium->medium->name}"
58
    <div id="items">
54
                                     alt="">
59
        <table id="itemTable">
55
                            {/foreach}
60
            <thead>
56
                        </td>
61
            <tr>
57
                        <td>
-
 
58
                            <button id="dir_{$subDir->id}_edit" class="btn btn-xs btn-primary">Bearbeiten</button>
-
 
59
                            <button id="dir_{$subDir->id}_del" class="btn btn-xs btn-danger">Löschen</button>
62
                <th>Name</th>
60
                        </td>
63
                <th>Bilder</th>
61
                    </tr>
64
                <th>Aktionen</th>
62
                {/foreach}
65
            </tr>
63
                </tbody>
66
            </thead>
64
            </table>
67
            <tbody>
65
        </div>
-
 
66
    {/if}
68
            {foreach $directory->items as $item}
67
    {if $directory->items|count}
-
 
68
        <div id="items">
-
 
69
            <table id="itemTable">
-
 
70
                <thead>
69
                <tr>
71
                <tr>
70
                    <td>{$item->name}</td>
72
                    <th>Name</th>
71
                    <td>
73
                    <th>Bilder</th>
72
                        {foreach $item->medium as $medium}
-
 
73
                            <img src="https://www.{config('webanos.shop')}/images/upload/{$medium->medium->folder}/mini/{$medium->medium->name}"
-
 
74
                                 alt="">
-
 
75
                        {/foreach}
74
                    <th>Aktionen</th>
76
                    </td>
-
 
77
                    <td>
-
 
78
                        <button id="item_{$item->id}_edit" class="btn btn-xs btn-primary">Bearbeiten</button>
-
 
79
                        <button id="item_{$item->id}_del" class="btn btn-xs btn-danger">Löschen</button>
-
 
80
                    </td>
-
 
81
                </tr>
75
                </tr>
82
            {/foreach}
-
 
83
            </tbody>
-
 
84
        </table>
-
 
85
    </div>
-
 
86
{/if}
-
 
87
76
                </thead>
-
 
77
                <tbody>
-
 
78
                {foreach $directory->items as $item}
-
 
79
                    <tr>
-
 
80
                        <td>{$item->name}</td>
-
 
81
                        <td>
-
 
82
                            {foreach $item->medium as $medium}
-
 
83
                                <img src="https://www.{config('webanos.shop')}/images/upload/{$medium->medium->folder}/mini/{$medium->medium->name}"
-
 
84
                                     alt="">
-
 
85
                            {/foreach}
-
 
86
                        </td>
-
 
87
                        <td>
-
 
88
                            <button id="item_{$item->id}_edit" class="btn btn-xs btn-primary">Bearbeiten</button>
-
 
89
                            <button id="item_{$item->id}_del" class="btn btn-xs btn-danger">Löschen</button>
-
 
90
                        </td>
-
 
91
                    </tr>
-
 
92
                {/foreach}
-
 
93
                </tbody>
-
 
94
            </table>
-
 
95
        </div>
-
 
96
    {/if}
-
 
97
k</div>
-
 
98
 
-
 
99