menu.jsp 4.21 KB
Newer Older
1
<%@ include file="/WEB-INF/jsp/init.jsp" %>
2

Matija Obreza's avatar
Matija Obreza committed
3
4
5
6
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-inverse navbar-fixed-top">
	<div class="container-fluid">
		<div class="navbar-header">
7
			<button type="button" class="humburger-btn navbar-toggle collapsed pull-left" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
Matija Obreza's avatar
Matija Obreza committed
8
9
10
11
12
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
13
			<a class="navbar-brand nav-logo clearfix" href="<c:url value="/welcome" />"><img src="<c:url value="/html/1/images/GENESYS-ICON.svg" />" /><img src="<c:url value="/html/1/images/GENESYS-LOGO.svg" />" /></a>
Matija Obreza's avatar
Matija Obreza committed
14
15
		</div>
		<div id="navbar" class="collapse navbar-collapse">
16
			<div class="col-md-6 col-lg-9 no-space">
Matija Obreza's avatar
Matija Obreza committed
17
				<div class="navbar-header">
18
					<button type="button" class="humburger-btn navbar-toggle collapsed pull-left" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
Matija Obreza's avatar
Matija Obreza committed
19
20
21
22
23
						<span class="sr-only">Toggle navigation</span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</button>
24
					<a class="navbar-brand nav-logo clearfix" href="<c:url value="/welcome" />"><img src="<c:url value="/html/1/images/GENESYS-ICON.svg" />" /><img src="<c:url value="/html/1/images/GENESYS-LOGO.svg" />" /></a>
Matija Obreza's avatar
Matija Obreza committed
25
26
				</div>

27
28
29
				<ul class="nav navbar-nav nav-menu" id="navigation-menu">
					<li class="dropdown pull-left menu-title" id="about-li" >
						<a class="menu-link" id="about-a" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"> <spring:message code="menu.about" /> <span class="caret"></span>
Matija Obreza's avatar
Matija Obreza committed
30
31
						</a>
						<ul class="dropdown-menu">
Taisiya Glushko's avatar
Taisiya Glushko committed
32
							<li class="pull-left">
33
								<a href="<c:url value="${genesysCatalogUrl}/content/about/about" />"> <spring:message code="menu.about" />
Matija Obreza's avatar
Matija Obreza committed
34
35
								</a>
							</li>
Taisiya Glushko's avatar
Taisiya Glushko committed
36
							<li class="pull-left">
37
								<a href="<c:url value="${genesysCatalogUrl}/content/about/contact" />"> <spring:message code="menu.contact" />
Matija Obreza's avatar
Matija Obreza committed
38
39
								</a>
							</li>
Taisiya Glushko's avatar
Taisiya Glushko committed
40
							<li class="pull-left">
41
								<a href="<c:url value="${genesysCatalogUrl}/content/about/what-is-genesys" />"> <spring:message code="menu.what-is-genesys" />
Matija Obreza's avatar
Matija Obreza committed
42
43
								</a>
							</li>
Matija Obreza's avatar
Matija Obreza committed
44
							<%-- <li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.who-uses-genesys" /></a></li> --%>
Taisiya Glushko's avatar
Taisiya Glushko committed
45
							<li class="pull-left">
46
								<a href="<c:url value="${genesysCatalogUrl}/content/about/history-of-genesys" />"> <spring:message code="menu.history-of-genesys" />
Matija Obreza's avatar
Matija Obreza committed
47
48
								</a>
							</li>
49
							<li class="pull-left">
50
								<a href="<c:url value="${genesysCatalogUrl}/content/about/newsletter" />"> <spring:message code="menu.newsletter" />
51
52
								</a>
							</li>
Taisiya Glushko's avatar
Taisiya Glushko committed
53
							<li class="pull-left">
54
								<a href="<c:url value="${genesysCatalogUrl}/content/about/frequently-asked-questions" />"> <spring:message code="menu.faq" />
Matija Obreza's avatar
Matija Obreza committed
55
56
								</a>
							</li>
57
58
59
60
61
62
63
64
65

							<li class="pull-left">
								<a href="<c:url value="/doc/0/basics" />"> <spring:message code="menu.basics" />
								</a>
							</li>
							<li class="pull-left">
								<a href="<c:url value="/doc/0/apis" />"> <spring:message code="menu.apis" />
								</a>
							</li>
Matija Obreza's avatar
Matija Obreza committed
66
67
68
69
							<li class="pull-left">
								<a href="<c:url value="/doc/0/brapi" />"> <spring:message code="menu.brapi" />
								</a>
							</li>
Matija Obreza's avatar
Matija Obreza committed
70
71
						</ul>
					</li>
Matija Obreza's avatar
/1/ GUI    
Matija Obreza committed
72

Matija Obreza's avatar
Matija Obreza committed
73
74
				</ul>
			</div>
75
			<div class="col-md-6 col-lg-3 no-space">
Matija Obreza's avatar
Matija Obreza committed
76

Matija Obreza's avatar
Matija Obreza committed
77
				<ul class="nav navbar-nav navbar-right">
78
					<%@ include file="languages.jspf" %>
Matija Obreza's avatar
Matija Obreza committed
79
				</ul>
Matija Obreza's avatar
Matija Obreza committed
80

Matija Obreza's avatar
Matija Obreza committed
81
82
				<ul class="nav navbar-nav navbar-right">
					<security:authorize access="isAnonymous()">
Maxym Borodenko's avatar
Maxym Borodenko committed
83
						<menu:anonymous-menu />
Matija Obreza's avatar
Matija Obreza committed
84
85
					</security:authorize>
					<security:authorize access="isAuthenticated()">
Maxym Borodenko's avatar
Maxym Borodenko committed
86
87
88
89
90
91
92
93
						<c:choose>
							<c:when test="${user ne null and user['class'].name eq 'org.genesys2.server.model.impl.User'}">
								<menu:user-menu user="${user}"/>
							</c:when>
							<c:otherwise>
								<menu:anonymous-menu />
							</c:otherwise>
						</c:choose>
Matija Obreza's avatar
Matija Obreza committed
94
95
					</security:authorize>
				</ul>
96
97
				
			</div>
Matija Obreza's avatar
Matija Obreza committed
98
		</div>
Matija Obreza's avatar
Matija Obreza committed
99
		<!--/.nav-collapse -->
Matija Obreza's avatar
Matija Obreza committed
100
	</div>
Matija Obreza's avatar
/1/ GUI    
Matija Obreza committed
101
</nav>