-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathheader.tpl
96 lines (89 loc) · 3.49 KB
/
header.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" name="viewport">
<meta name="theme-color" content="#4285f4">
<title>{$config["appName"]}</title>
<!-- css -->
<link href="/theme/material/css/base.min.css" rel="stylesheet">
<link href="/theme/material/css/project.min.css" rel="stylesheet">
<link href="/theme/material/css/auth.css" rel="stylesheet">
<link href="https://fonts.loli.net/css?family=Roboto:300,300italic,400,400italic,500,500italic|Material+Icons" rel="stylesheet">
<!-- favicon -->
<!-- ... -->
</head>
<style>
.divcss5{ position:fixed; bottom:0;}
</style>
<body class="page-brand">
{* <header class="header header-transparent header-waterfall ui-header">
<ul class="nav nav-list pull-left">
<li>
<a data-toggle="menu" href="#ui_menu">
<span class="icon icon-lg">format_align_justify</span>
</a>
</li>
</ul>
<ul class="nav nav-list pull-right">
<li class="dropdown margin-right">
<a class="dropdown-toggle padding-left-no padding-right-no" data-toggle="dropdown">
{if $user->isLogin}
<span class="access-hide">{$user->user_name}</span>
<span class="icon icon-cd margin-right">account_circle</span>
<!-- <span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="{$user->gravatar}"></span> -->
</a>
<ul class="dropdown-menu dropdown-menu-right">
<li>
<a class="padding-right-lg waves-attach" href="/user/"><span class="icon icon-lg margin-right">account_box</span>User center</a>
</li>
<li>
<a class="padding-right-lg waves-attach" href="/user/logout"><span class="icon icon-lg margin-right">exit_to_app</span>Logout</a>
</li>
</ul>
{else}
<span class="access-hide">Not logged in</span>
<span class="icon icon-cd margin-right">account_circle</span>
<!-- <span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="/theme/material/images/users/avatar-001.jpg"></span> -->
</a>
<ul class="dropdown-menu dropdown-menu-right">
<li>
<a class="padding-right-lg waves-attach" href="/auth/login"><span class="icon icon-lg margin-right">vpn_key</span>Login</a>
</li>
<li>
<a class="padding-right-lg waves-attach" href="/auth/register"><span class="icon icon-lg margin-right">person_add</span>register</a>
</li>
</ul>
{/if}
</li>
</ul>
</header>
<nav aria-hidden="true" class="menu menu-left nav-drawer nav-drawer-md" id="ui_menu" tabindex="-1">
<div class="menu-scroll">
<div class="menu-content">
<a class="menu-logo" href="/"><i class="icon icon-lg">language</i> Back home</a>
<ul class="nav">
{if $user->isLogin}
<li>
<a href="/user"><i class="icon icon-lg">person</i> Use center</a>
</li>
<li>
<a href="/user/logout"><i class="icon icon-lg">call_missed_outgoing</i> Sign out</a>
</li>
{else}
<li>
<a href="/auth/login"><i class="icon icon-lg">vpn_key</i> Login</a>
</li>
<li>
<a href="/auth/register"><i class="icon icon-lg">person_add</i> register</a>
</li>
<li>
<a href="/password/reset"><i class="icon icon-lg">security</i> Reset password </a>
</li>
{/if}
</ul>
</div>
</div>
</nav> *}
{if $config["enable_crisp"] == 'true'}{include file='crisp.tpl'}{/if}