Skip to content

Commit

Permalink
[wip] app start page + dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamaster committed Dec 1, 2022
1 parent 4f57602 commit a488951
Show file tree
Hide file tree
Showing 38 changed files with 323 additions and 247 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="ui-dev-mode"><{$smarty.template}></div>

<div class="adminnavi" aria-label="breadcrumb">
<div class="adminnavi">
<a href="<{$xoops_url}>/admin.php">Dashboard</a>
&raquo;&raquo; <a href="./index.php"><{$smarty.const._MI_LEGACY_NAME}></a>
&raquo;&raquo; <a href="./index.php?action=BlockList"><{$smarty.const._MI_LEGACY_MENU_BLOCKLIST}></a>
Expand Down
5 changes: 3 additions & 2 deletions html/modules/legacy/admin/templates/blockinstall_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ <h6><{$smarty.const._AD_LEGACY_LANG_TEMPLATE}></h6>
</tr>
<{/foreach}>
</tbody>
<tfoot>
<tr><td colspan="5"><{include file="./components/pagenavi.html"}></td></tr>
</tfoot>
</table>

<{include file="./components/pagenavi.html"}>
2 changes: 1 addition & 1 deletion html/modules/legacy/admin/templates/comment_list.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ui-dev-mode"><{$smarty.template}></div>


<div class="adminnavi" aria-label="breadcrumb">
<div class="adminnavi">
<a href="<{$xoops_url}>/admin.php">Dashboard</a>
&raquo;&raquo; <a href="./index.php"><{$smarty.const._MI_LEGACY_NAME}></a>
&raquo;&raquo; <span class="adminnaviTitle" aria-current="page">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,29 @@
<ul>
<li class="nav-logo">
<a href="<{$xoops_url}>/admin.php" title="<{$smarty.const._CPHOME}>">
<img src="<{"design/logo.png"|theme}>" alt="<{$legacy_sitename|xoops_escape}>">
<img src="<{'design/logo.png'|theme}>" alt="<{$legacy_sitename|xoops_escape}>">
</a>
<li>
<a class="btnav" href="<{$xoops_url}>/" target="_blank" title="<{$smarty.const._YOURHOME}>"><i class="i-home"></i></a>
<a class="btnav" href="<{$xoops_url}>/" target="_blank" title="<{$smarty.const._YOURHOME}>">
<i class="i-home"></i></a>
<li>
<a class="btnav" href="<{$xoops_url}>/admin.php" arial-label="Admin Dashboard">
<img class="svg settings" src="<{'icons/icon-settings.svg'|theme}>" alt="settings"></a>
<li>
<a class="btnav" href="<{$xoops_url}>/admin.php">
<!-- <i class="i-dashboard"></i></a>-->
<i class="i-preferences"></i></a>
<!-- <li>-->
<!-- <a class="btnav" href="<{$xoops_url}>/modules/legacy/admin/index.php?action=PreferenceList" accesskey="p" title="[p] <{$smarty.const._PREFERENCES}>">-->
<!-- <i class="i-preferences"></i></a>-->
<!-- <li>-->
<a class="btnav" href="<{$xoops_url}>/modules/legacy/admin/index.php?action=ModuleList" accesskey="m" title="[m] Modules">
<i class="i-module"></i></a>
<img class="svg package" src="<{'icons/icon-modules.svg'|theme}>" alt="package"></a>
<li>
<a class="btnav" href="<{$xoops_url}>/modules/legacy/admin/index.php?action=BlockList" accesskey="b" title="[b] Blocks">
<i class="i-block-add"></i></a>
<img class="svg block-plus" src="<{'icons/icon-block-plus.svg'|theme}>" alt="block"></a>
<li>
<a class="btnav" href="<{$xoops_url}>/modules/xelfinder/manager.php?admin=1" target="_blank" accesskey="f" title="[f] File-Manager">
<i class="i-filemanager"></i></a>
<img class="svg file-manager" src="<{'icons/icon-tree.svg'|theme}>" alt="file manager"></a>
<li>
<a class="btnav" href="<{$xoops_url}>/modules/legacy/admin/index.php?action=ThemeList" accesskey="t" title="[t] Theme">
<i class="i-layout"></i></a>
<img class="svg theme" src="<{'icons/icon-theme.svg'|theme}>" alt="theme"></a>
<li>
<a class="btnav" href="<{$xoops_url}>/modules/user/admin/index.php" accesskey="u" title="[u] Users">
<!-- <i class="i-user"></i></a>-->
<i class="i-group"></i></a>
<!-- <li>-->
<!-- <a class="btnav" href="<{$xoops_url}>/modules/user/admin/index.php?action=GroupList" accesskey="g" title="[g] Groups">-->
<!-- <i class="i-group"></i></a>-->
<img class="svg users" src="<{'icons/icon-user-account.svg'|theme}>" alt="users"></a>

<li class="ui-color-mode">

Expand All @@ -44,39 +37,39 @@



<!-- <div class="dropdown">-->
<!-- <a href="#" class="dropdown-toggle btnav" aria-label="Edit">-->
<!-- <img src="<{$uid|xoops_user_avatarize}>" width="20px" height="20px" data-self="centered radius-circle mt-4 ml-2" alt="">-->
<!-- </a>-->
<!-- <div class="dropdown-content">-->

<!-- <a href="<{$xoops_url}>/" target="_blank" title="<{$smarty.const._YOURHOME}>" class="button button-small" style="width: 100%; text-align:left; margin: 0">-->
<!-- <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 24 24" class="svg-ui-icon">-->
<!-- <path d="M10 20v-6h4v6h5v-8h3L12 3L2 12h3v8h5z" fill="currentColor"/>-->
<!-- </svg> <{$smarty.const._YOURHOME}></a>-->

<!-- <a href="<{$xoops_url}>/edituser.php" target="_blank" title="Account Setting" class="button button-small" style="width: 100%; text-align:left; margin: 0">-->
<!-- <svg role="img" xmlns="https://www.w3.org/2000/svg" aria-hidden=”true” viewBox="0 0 24 24" class="svg-ui-icon">-->
<!-- <path d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4z" fill="currentColor"></path>-->
<!-- </svg> Account</a>-->

<!-- <a href="<{$xoops_url}>/viewpmsg.php" target="_blank" title="Inbox" class="button button-small" style="width: 100%; text-align:left; margin: 0">-->
<!-- <svg role="img" xmlns="https://www.w3.org/2000/svg" aria-hidden=”true” viewBox="0 0 24 24" class="svg-ui-icon">-->
<!-- <path d="M2 6v14h18v2H2c-1.105 0-2-.89-2-2V6h2m22-2c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4m-2 0l-8 5l-8-5h16m0 12H6V6l8 5l8-5v10z" fill="currentColor"></path>-->
<!-- </svg> Inbox</a>-->

<!-- <a href="<{$xoops_url}>/notifications.php" target="_blank" title="Notifications" class="button button-small" style="width: 100%; text-align:left; margin: 0">-->
<!-- <svg role="img" xmlns="https://www.w3.org/2000/svg" aria-hidden=”true” viewBox="0 0 24 24" class="svg-ui-icon">-->
<!-- <path d="M16 17H7v-6.5C7 8 9 6 11.5 6S16 8 16 10.5m2 5.5v-5.5c0-3.07-2.14-5.64-5-6.32V3.5A1.5 1.5 0 0 0 11.5 2A1.5 1.5 0 0 0 10 3.5v.68c-2.87.68-5 3.25-5 6.32V16l-2 2v1h17v-1m-8.5 4a2 2 0 0 0 2-2h-4a2 2 0 0 0 2 2z" fill="currentColor"></path>-->
<!-- </svg> Notifications</a>-->

<!-- <a href="<{$xoops_url}>/user.php?op=logout" target="_blank" title="<{$smarty.const._LOGOUT}>" class="button button-small" style="width: 100%; text-align:left; margin: 0">-->
<!-- <svg role="img" xmlns="https://www.w3.org/2000/svg" aria-hidden=”true” viewBox="0 0 24 24" class="svg-ui-icon">-->
<!-- <path d="M14.08 15.59L16.67 13H7v-2h9.67l-2.59-2.59L15.5 7l5 5l-5 5l-1.42-1.41M19 3a2 2 0 0 1 2 2v4.67l-2-2V5H5v14h14v-2.67l2-2V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-1.11.89-2 2-2h14z" fill="currentColor"></path>-->
<!-- </svg> <{$smarty.const._LOGOUT}></a>-->

<!-- </div>-->
<!-- </div>-->
<div class="dropdown">
<a href="#" class="dropdown-toggle btnav" aria-label="Edit">
<img src="<{$uid|xoops_user_avatarize}>" width="20px" height="20px" data-self="centered radius-circle mt-4 ml-2" alt="">
</a>
<div class="dropdown-content">

<a href="<{$xoops_url}>/" target="_blank" title="<{$smarty.const._YOURHOME}>" class="button button-small" style="width: 100%; text-align:left; margin: 0">
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 24 24" class="svg-ui-icon">
<path d="M10 20v-6h4v6h5v-8h3L12 3L2 12h3v8h5z" fill="currentColor"/>
</svg> <{$smarty.const._YOURHOME}></a>

<a href="<{$xoops_url}>/edituser.php" target="_blank" title="Account Setting" class="button button-small" style="width: 100%; text-align:left; margin: 0">
<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="svg-ui-icon">
<path d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4z" fill="currentColor"></path>
</svg> Account</a>

<a href="<{$xoops_url}>/viewpmsg.php" target="_blank" title="Inbox" class="button button-small" style="width: 100%; text-align:left; margin: 0">
<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="svg-ui-icon">
<path d="M2 6v14h18v2H2c-1.105 0-2-.89-2-2V6h2m22-2c0-1.1-.9-2-2-2H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4m-2 0l-8 5l-8-5h16m0 12H6V6l8 5l8-5v10z" fill="currentColor"></path>
</svg> Inbox</a>

<a href="<{$xoops_url}>/notifications.php" target="_blank" title="Notifications" class="button button-small" style="width: 100%; text-align:left; margin: 0">
<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="svg-ui-icon">
<path d="M16 17H7v-6.5C7 8 9 6 11.5 6S16 8 16 10.5m2 5.5v-5.5c0-3.07-2.14-5.64-5-6.32V3.5A1.5 1.5 0 0 0 11.5 2A1.5 1.5 0 0 0 10 3.5v.68c-2.87.68-5 3.25-5 6.32V16l-2 2v1h17v-1m-8.5 4a2 2 0 0 0 2-2h-4a2 2 0 0 0 2 2z" fill="currentColor"></path>
</svg> Notifications</a>

<a href="<{$xoops_url}>/user.php?op=logout" target="_blank" title="<{$smarty.const._LOGOUT}>" class="button button-small" style="width: 100%; text-align:left; margin: 0">
<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="svg-ui-icon">
<path d="M14.08 15.59L16.67 13H7v-2h9.67l-2.59-2.59L15.5 7l5 5l-5 5l-1.42-1.41M19 3a2 2 0 0 1 2 2v4.67l-2-2V5H5v14h14v-2.67l2-2V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-1.11.89-2 2-2h14z" fill="currentColor"></path>
</svg> <{$smarty.const._LOGOUT}></a>

</div>
</div>

</ul>
</nav>

0 comments on commit a488951

Please sign in to comment.