| <%-- |
| /* |
| * Copyright 2001-2013 The Apache Software Foundation. |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| */ |
| Document : header-top |
| Created on : Feb 24, 2013, 9:08:12 AM |
| Author : Alex O'Ree |
| --%> |
| |
| <%@page import="org.apache.juddi.adminconsole.hub.UddiAdminHub"%> |
| <%@page import="org.apache.juddi.adminconsole.resources.ResourceLoader"%> |
| <%@page contentType="text/html" pageEncoding="UTF-8"%> |
| <!DOCTYPE html> |
| <% |
| //this is to catch someone that bookmarked a page after selecting a language |
| Cookie[] cookies2 = request.getCookies(); |
| if (cookies2 != null && cookies2.length > 0) { |
| for (int i = 0; i < cookies2.length; i++) { |
| if (cookies2[i] != null && cookies2[i].getName() != null && cookies2[i].getName().equalsIgnoreCase("locale")) { |
| if (cookies2[i].getValue() != null) { |
| session.setAttribute("locale", cookies2[i].getValue()); |
| } |
| } |
| } |
| } |
| if (session.getAttribute("locale") == null) { |
| //last chance, default to english |
| session.setAttribute("locale", "en"); |
| } |
| %> |
| <html lang="<%=(String) session.getAttribute("locale")%>" dir="<%=ResourceLoader.GetResource(session, "direction")%>"> |
| <head> |
| <meta charset="utf-8"> |
| <title><%=ResourceLoader.GetResource(session, "title")%></title> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <meta name="description" content="<%=ResourceLoader.GetResource(session, "description")%>"> |
| <meta name="author" content="Apache Software Foundation"> |
| |
| <link href="css/bootstrap.min.css" rel="stylesheet"> |
| <link href="css/bootstrap-datetimepicker.min.css" rel="stylesheet"> |
| <link href="css/bootstrap-timepicker.min.css" rel="stylesheet"> |
| <link rel="stylesheet" href="css/font-awesome.min.css"> |
| <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.10.2.custom.min.css"> |
| <!--[if IE 7]> |
| <link rel="stylesheet" href="css/font-awesome-ie7.min.css"> |
| <![endif]--> |
| |
| <link rel="shortcut icon" href="favicon.ico" /> |
| <style type="text/css"> |
| body { |
| padding-top: 60px; |
| padding-bottom: 40px; |
| } |
| </style> |
| <link href="css/bootstrap-responsive.min.css" rel="stylesheet"> |
| <link href="css/bootstrap-modal.css" rel="stylesheet"> |
| |
| <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> |
| <!--[if lt IE 9]> |
| <script src="js/html5shiv.js"></script> |
| <![endif]--> |
| |
| <!-- Fav and touch icons --> |
| |
| <link rel="shortcut icon" href="ico/favicon.png"> |
| <script src="js/jquery-1.9.1.js"></script> |
| <script src="js/i18n.js.jsp"></script> |
| <script src="js/bootstrap.min.js"></script> |
| <script src="js/bootstrap-datetimepicker.min.js"></script> |
| <script src="js/bootstrap-timepicker.min.js"></script> |
| <script src="js/bootstrap-modalmanager.js"></script> |
| <script src="js/bootstrap-modal.js"></script> |
| <script src="js/jquery.jeditable.js"></script> |
| <script src="js/jquery-ui-1.10.2.custom.min.js"></script> |
| <script src="js/main.js"></script> |
| </head> |
| |
| <body> |
| <form id="uddiform"> |
| <%@include file="csrf.jsp" %> |
| <input type="hidden" name="nonce" id="nonce" value="<%=StringEscapeUtils.escapeHtml((String) session.getAttribute("nonce"))%>" /> |
| <div class="alert" style="display:none; position: fixed; top:45px; width:80%; left: 10%; z-index: 1000; opacity: 1.0; background-color: #FFD530; color:black " id="resultBar"> |
| </div> |
| <% |
| UddiAdminHub hub = UddiAdminHub.getInstance(application, session); |
| %> |
| |
| <div class="navbar navbar-inverse navbar-fixed-top"> |
| <div class="navbar-inner"> |
| <div class="container"> |
| <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| <a class="brand" href="home.jsp" style="padding-left:19px; padding-top:0px; padding-bottom:0px"><img src="img/logo2.png"></a> |
| <div class="nav-collapse collapse"> |
| <ul class="nav"> |
| <li><a href="home.jsp" ><i class="icon-home icon-large"></i> <%=ResourceLoader.GetResource(session, "navbar.home")%></a></li> |
| <li><a href="stats.jsp" ><i class="icon-camera icon-large"></i> Status<%//=ResourceLoader.GetResource(session, "navbar.home")%></a></li> |
| <li><a href="configure.jsp" ><i class="icon-cog icon-large"></i> Configure<%//=ResourceLoader.GetResource(session, "navbar.home")%></a></li> |
| <li><a href="admin.jsp" ><i class="icon-cogs icon-large"></i> Admin<%//=ResourceLoader.GetResource(session, "navbar.home")%></a></li> |
| |
| |
| <li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdowb-town"><i class="icon-question-sign icon-large"></i><%=ResourceLoader.GetResource(session, "navbar.help")%> <b class="caret"></b></a> |
| <ul class="dropdown-menu"> |
| <li><a href="http://juddi.apache.org/docs.html" title="<%=ResourceLoader.GetResource(session, "navbar.help.userguide")%>"><%=ResourceLoader.GetResource(session, "navbar.help.userguide")%></a></li> |
| <li><a href="http://wiki.apache.org/juddi" title="<%=ResourceLoader.GetResource(session, "navbar.help.wiki")%>"><%=ResourceLoader.GetResource(session, "navbar.help.wiki")%></a></li> |
| <li><a href="http://juddi.apache.org/issue-tracking.html" title="<%=ResourceLoader.GetResource(session, "navbar.help.bugreport")%>"><%=ResourceLoader.GetResource(session, "navbar.help.bugreport")%></a></li> |
| <li><a href="http://juddi.apache.org/" title="<%=ResourceLoader.GetResource(session, "navbar.help.website")%>"><%=ResourceLoader.GetResource(session, "navbar.help.website")%></a></li> |
| <li><a href="http://juddi.apache.org/mailing-list.html" title="<%=ResourceLoader.GetResource(session, "navbar.help.mailinglist")%>"><%=ResourceLoader.GetResource(session, "navbar.help.mailinglist")%></a></li> |
| <li><a href="http://juddi.apache.org/source.html" title="<%=ResourceLoader.GetResource(session, "navbar.help.source")%>"><%=ResourceLoader.GetResource(session, "navbar.help.source")%></a></li> |
| <li><a href="about.jsp" title="<%=ResourceLoader.GetResource(session, "navbar.help.about.tooltip")%>"><%=ResourceLoader.GetResource(session, "navbar.help.about")%></a></li> |
| </ul> |
| </li> |
| </ul> |
| <div id="loginfield"> |
| <%@include file="login.jsp" %> |
| </div> |
| </div><!--/.nav-collapse --> |
| </div> |
| </div> |
| </div> |