|
31 | 31 | <div class="tab-content tab-content-main"> |
32 | 32 | <div id="home" class="maintab tab-pane fade <{if $menu == 0}>active show<{/if}>"> |
33 | 33 | <p class="center"><img class="tabcontent-logo" src="assets/images/logoModule.png" alt="<{$smarty.const._MA_WGGITHUB_TITLE}>" title="<{$smarty.const._MA_WGGITHUB_TITLE}>"></p> |
34 | | - <h3><{$smarty.const._MA_WGGITHUB_DESC}></h3> |
35 | | - <p><{$smarty.const._MA_WGGITHUB_INDEX_DESC}></p> |
| 34 | + <div class="d-flex justify-content-center"> |
| 35 | + <div> |
| 36 | + <h4 class="text-center mb-3"><{$smarty.const._MA_WGGITHUB_DESC}></h4> |
| 37 | + <{$smarty.const._MA_WGGITHUB_INDEX_DESC}> |
| 38 | + </div> |
| 39 | + </div> |
36 | 40 | <p class="tabcontent-lastupdate"><{$smarty.const._MA_WGGITHUB_INDEX_LASTUPDATE}>: <{$lastUpdate}> GMT</p> |
37 | 41 | <{if $apiexceed|default:''}> |
38 | 42 | <p><{$smarty.const._MA_WGGITHUB_READGH_ERROR_APILIMIT}></p> |
|
44 | 48 | </div> |
45 | 49 | <{foreach item=directory from=$directories}> |
46 | 50 | <div id="menu<{$directory.id}>" class="maintab tab-pane fade <{if $menu == $directory.id}>active show<{/if}>"> |
47 | | - |
48 | | - <h4 class="mt-2"><{$directory.countRepos}> |
49 | | - <{if $permGlobalRead && ($directory.dir_autoupdate == 0)}> |
50 | | - <a id="btn_update" class="btn btn-primary btn-sm float-right" href="index.php?op=update_dir&dir_name=<{$directory.name}>"><span class="fa fa-refresh fa-lg"></span> <{$smarty.const._MA_WGGITHUB_DIRECTORY_UPDATE}></a> |
51 | | - <{/if}> |
52 | | - </h4> |
53 | | - <p><{$directory.descr}></p> |
| 51 | + <div class="d-flex justify-content-center"> |
| 52 | + <div> |
| 53 | + <h4 class="mt-2"><{$directory.countRepos}> |
| 54 | + <{if $permGlobalRead && ($directory.dir_autoupdate == 0)}> |
| 55 | + <a id="btn_update" class="btn btn-primary btn-sm float-right" href="index.php?op=update_dir&dir_name=<{$directory.name}>"><span class="fa fa-refresh fa-lg"></span> <{$smarty.const._MA_WGGITHUB_DIRECTORY_UPDATE}></a> |
| 56 | + <{/if}> |
| 57 | + </h4> |
| 58 | + <p><{$directory.descr}></p> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + <hr /> |
54 | 62 | <div class="d-flex flex-row"> |
55 | | - <div class="bg-secondary text-nowrap mr-2"> |
| 63 | + <div class="bg-secondary rounded text-nowrap mr-2"> |
56 | 64 | <!-- Nav tabs for each directory --> |
57 | | - <div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical"> |
| 65 | + <div class="nav flex-column nav-pills mb-2" id="v-pills-tab" role="tablist" aria-orientation="vertical"> |
58 | 66 | <{if $directory.previousRepos}> |
59 | 67 | <a id="btn_previous" class="btn btn-outline-warning mx-2 mt-2" href="index.php?op=list<{$directory.previousOp}>&menu=<{$directory.id}>" role="button"><span class="fa fa-arrow-left"></span></a> |
60 | 68 | <{/if}> |
|
109 | 117 | <{if $permReadmeUpdate|default:''}> |
110 | 118 | <a class='btn btn-primary btn-sm float-right' href="index.php?op=update_readme&repo_id=<{$repo.id}>&repo_user=<{$repo.user}>&repo_name=<{$repo.name}>" title="<{$smarty.const._MA_WGGITHUB_README_UPDATE}>"><span class="fa fa-refresh fa-lg"></span> <{$smarty.const._MA_WGGITHUB_README_UPDATE}></a> |
111 | 119 | <{/if}> |
112 | | - <div class="border p-2"><{$repo.readme.content_clean|default:''}></div> |
| 120 | + <div class="border rounded p-2"><{$repo.readme.content_clean|default:''}></div> |
113 | 121 | </p> |
114 | 122 | </div> |
115 | 123 | <{/foreach}> |
|
0 commit comments