header.tt2 2 KB
Newer Older
1
<!-- header.tt2 -->
2
3
<header>

IKEDA Soji's avatar
IKEDA Soji committed
4
5
6
7
8
9
10
11
12
13
14
15
    <div class="title-bar"
     data-responsive-toggle="sympa-top-bar" data-hide-for="medium">
      <a class="menu-text" href="[% conf.wwsympa_url %]"
       title="[% conf.wwsympa_url %]"><img src="[% icons_url %]/logo_sympa.png"
       alt="[%|loc%]SYMPA logo[%END%]" /></a>
      <div class="title-bar-right">
        <div class="title-bar-title">
          <span>[%|loc%]Sympa Menu[%END%]</span>
        </div>
        <a class="menu-icon" href="#" data-toggle="sympa-top-bar"></a>
      </div>
    </div>
16

IKEDA Soji's avatar
IKEDA Soji committed
17
18
19
20
<nav class="top-bar" id="sympa-top-bar" role="navigation">
    <ul class="top-bar-left large-2 columns show-for-medium">
      <li class="name>
        <span class="menu-text">
21
22
23
24
25
                [% IF  conf.logo_html_definition %]
                  [% conf.logo_html_definition %]
                [% ELSE %]
                  <a href="[% conf.wwsympa_url %]" title="[% conf.wwsympa_url %]"><img src="[% icons_url %]/logo_sympa.png" alt="[%|loc%]SYMPA logo[%END%]" /></a>
                [% END %]
IKEDA Soji's avatar
IKEDA Soji committed
26
27
        </span>
      </li>
28
    </ul>
IKEDA Soji's avatar
IKEDA Soji committed
29
30
31
32

  <menu class="top-bar-right">
    <ul class="vertical medium-horizontal menu"
     data-responsive-menu="drilldown medium-dropdown">
33
34
35
36
        <!-- sympa menu start --> 
          [% PROCESS 'sympa_menu.tt2' %]
        <!-- end of sympa menu-->
        [% IF user.email %]
IKEDA Soji's avatar
IKEDA Soji committed
37
        <li>
38
            <a href="#"><i class="fa fa-user"></i> [% IF user.gecos %] [% user.gecos %][% ELSE %] [% user.email %] [% END %]</a>
IKEDA Soji's avatar
IKEDA Soji committed
39
            <ul class="vertical menu">
40
41
42
43
        [% END %]
        <!-- login banner start -->
          [% PROCESS 'loginbanner.tt2' %]
        <!-- end of login banner-->
44
        [% IF user.email %]
45
46
            </ul>
        </li>
47
        [% END %]
48
    </ul>
lumineau's avatar
lumineau committed
49
</menu>
50
51
52
53
54
55
56
57
58
59
60
61
</nav>
[% IF top_menu %]
[% IF not list %]
<h1 class="row">[% main_title %]</h1>
[% ELSE %]
<h1 class="medium-offset-3 medium-9 columns">[% main_title %]</h1>
[% END %]
[% ELSE %]
<h1 class="medium-offset-3 medium-9 columns">[% main_title %]</h1>
[% END %]
</header>
<!-- end header.tt2 -->