Subversion Repository Public Repository

Nextrek

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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
  @if (Request::path() == '/')
  <header id="home" class="navigation free">

    <div class="headerbox">
      <div class="logo">
        <img class="svg" src="{{ URL::asset('image/50_AIBA.png') }}" alt="">
        <h1>ASSOCIAZIONE ITALIANA BROKERS <span>DI ASSICURAZIONI E RIASSICURAZIONI</span></h1>
        <a href="javascript:void(0)" class="scroll-down">SCROLL DOWN</a>
		<!--<div style="position: absolute;bottom: 35px;left: 5px;">
			<a href="https://twitter.com/AIBA_brokers" target="_blank"><img style="width: 25px;" src="/image/twitter.png"></a>
			<a href="https://www.linkedin.com/company/associazioneitalianabrokers/" target="_blank"><img style="width: 25px;" src="/image/linkedin.png"></a>
		</div>-->
      </div>
      <div class="header-bg"></div>
    </div>

    <nav class="nav not-fixed">
  @else
  <header id="home" class="navigation fixed">
    <nav class="nav fixed">
  @endif

      <div class="main">
        <div class="logo">
          <a href="{{ URL::route('home') }}" class="logo-btn"><?php include('image/Secondario_Bianco_RGB.svg'); ?></a>
		  <div style="width: 45px;position: absolute;left: 100px;top: 20px;height: 80px;">
			<a href="https://twitter.com/AIBA_brokers" target="_blank" style="border-right: 0px;padding: 0px;height: auto;position: static;"><img style="width: 25px;" src="/image/twitter.png"></a>
			<a href="https://www.linkedin.com/company/associazioneitalianabrokers/" target="_blank" style="border-right: 0px;padding: 0px;height: auto;position: static;"><img style="width: 25px;" src="/image/linkedin.png"></a>
		</div>
        </div>
          
        <ul class="section">
          <!--<li><a href="{{ URL::route('home') }}">Home</a></li>-->
          
          <li class="nav-link {{HTML::activeState('associazione*')}}"><a href="{{ URL::route('associazione','storia') }}">Associazione</a></li>
          <li class="nav-link {{HTML::activeState('soci')}}"><a href="{{ URL::route('soci') }}">Soci</a></li>
          <li class="nav-link {{HTML::activeState('eventi')}}"><a href="{{ URL::route('eventi') }}">Eventi</a></li>
          <li class="nav-link {{HTML::activeState('servizi')}}"><a href="{{ URL::route('servizi') }}">Servizi</li>
          <li class="nav-link {{HTML::activeState('multimedia')}}"><a href="{{ URL::route('multimedia') }}">Multimedia</a></li>
          <li class="nav-link {{HTML::activeState('editoria')}}"><a href="{{ URL::route('editoria') }}">Editoria</a></li>
          <li class="nav-link {{HTML::activeState('formazione')}}"><a href="{{ URL::route('formazione') }}">Formazione</li>
          <li class="nav-link {{HTML::activeState('biblioteca*')}}"><a href="http://biblioteca.aiba.it">Biblioteca</li>
		  <li class="nav-link {{HTML::activeState('live')}}"><a href="{{ URL::route('live') }}">Diretta</li>
          @if(Auth::check() && Auth::user()->level->profilo_web>1) 
          <li class="nav-link {{HTML::activeState('area-riservata*')}}"><a href="{{ URL::route('area-riservata') }}">Area riservata</li>  
          @elseif(Auth::check() && Auth::user()->level->profilo_web<2) 
          <li class="nav-link {{HTML::activeState('area-riservata*')}}"><a href="http://portaleaiba.aiba.it:8080/portaleAiba/login.seam;jsessionid=1E93469D700D8D0417024726B963B5CC?op=&password=&username=&cid=794">Area riservata</li>
          @else
          <li class="nav-link {{HTML::activeState('area-riservata*')}}"><a href="{{URL::route('account-sign-in')}}">Area riservata</li>
          @endif
        </ul>
        
        <ul class="tools">
          <li class="mobile-menu">
            <a href="javascript:void(0)"><i class="fa fa-bars"></i></a>
          </li>
          @if(Auth::check())
            <li class="sign-up">
              <a href="javascript:void(0)"><i class="fa fa-cog fa-spin"></i></a>
            </li>
            <li class="search">
              <a href=""><i class="fa fa-search"></i></a>
            </li>
          @else
            <li class="sign-up">
              <a href="javascript:void(0)"><i class="fa fa-user"></i></a>
            </li>
            <li class="search">
              <a href=""><i class="fa fa-search"></i></a>
            </li>
           @endif
        </ul>
      </div>

      <div class="search-box">
        <form action="{{ URL::route('cerca') }}" method="get" id="form-search">
          <p class="fs">
            <input type="text" name="k" placeholder="Cosa cerco">
            <button type="submit" class="btnr">cerca</button>
          </p>
        </form>
      </div>
      
      <div class="account-box">
        @if(Auth::check())
        <div class="user-info">
          <ul>
            <li><i class="fa fa-user"></i> Benvenuto <b>{{Auth::user()->username}}</b></li>
            
            @if(Auth::user()->level->profilo_web==4)
              <li><a href="{{URL::route('admin-news-lista')}}"><i class="fa fa-tachometer"></i> Vai all'area admin</a></li>
            @endif
            @if(Auth::user()->level->profilo_web>1)
            <li><a href="{{URL::route('area-riservata')}}"><i class="fa fa-lock"></i> Vai all'area riservata</a></li>
            @endif
            @if(Auth::user()->level->profilo_web<2)
            <li><a href="http://portaleaiba.aiba.it:8080/portaleAiba/login.seam;jsessionid=1E93469D700D8D0417024726B963B5CC?op=&password=&username=&cid=794"><i class="fa fa-lock"></i> Vai all'area riservata</a></li>
            @endif
            <li><a href="{{URL::route('account-sign-out')}}"><i class="fa fa-sign-out"></i> Esci</a></li>
          </ul>
        </div>
        @else
        <form action="{{ URL::route('account-sign-in-post') }}" method="post">
          <div class="field">
            <!--<span><i class="fa fa-envelope-o fa-fw"></i></span>-->
            <span>Area riservata</span>
            <input type="text" placeholder="Username" name="username" {{ (Input::old('username')) ? ' value="' . e(Input::old('username')) . '"' : ''  }}>
            @if($errors->has('username'))
              {{ $errors->first('username') }}
            @endif
          </div>
        
          <div class="field fs">
            <!--<span><i class="fa fa-lock fa-fw"></i></span>-->
            <input type="password" name="password" placeholder="Password">
            <button type="submit" class="btnr">accedi</button>
            @if($errors->has('password'))
              {{ $errors->first('password') }}
            @endif
          </div>
          <!--<div class="sign-up"><a href="{{URL::to('servizi/iscrizione')}}">Iscriviti ad Aiba</a></div>-->
          <p style="
						color: whitesmoke;
						cursor:  pointer;
						font-weight: bold;
						font-size: 12px;
						text-align: right;
						margin-bottom: 0.15em;
					"><a style='color: whitesmoke;' href="https://aibagest.aiba.it/aibagest/">Ho dimenticato la password</a></p>
		  <!--<div style='margin-top:10px;' class="sign-up"><a href="javascript:window.open('https://aibagest.aiba.it/aibagest/AIBARegistrazione.html', '_blank')">Iscriviti ad Aiba</a></div>-->
		  <div style='margin-top:10px;' class="sign-up"><a href="https://aibagest.aiba.it/aibagest/AIBARegistrazione.html">Iscriviti ad Aiba</a></div>
          
          {{ Form::token() }}
        </form>
        @endif
      </div>

    </nav>

    

</header>

Commits for Nextrek/Aiba_backup/app/views/layout/navigation.blade.php

Diff revisions: vs.
Revision Author Commited Message
1464 MOliva picture MOliva Tue 13 Oct, 2020 11:16:56 +0000