conversations
listlengths 2
156
|
---|
[
{
"content": "Update to access control email address\n",
"role": "system"
},
{
"content": "<%@ page import=\"org.mskcc.cbio.portal.servlet.QueryBuilder\" %>\n<%@ page import=\"org.mskcc.cbio.portal.util.GlobalProperties\" %>\n<%\n request.setAttribute(QueryBuilder.HTML_TITLE, \"cBio Cancer Genomics Pathway Portal::Error\");\n String userMessage = (String) request.getAttribute(QueryBuilder.USER_ERROR_MESSAGE);\n%>\n\n<jsp:include page=\"global/header.jsp\" flush=\"true\" />\n <div class=\"ui-state-highlight ui-corner-all\" style=\"padding: 0 .7em;width:95%;margin-top:10px;margin-bottom:20px\">\n <p><span class=\"ui-icon ui-icon-info\" style=\"float: left; margin-right: .3em;\"></span>\n <% if (userMessage != null) { %>\n <strong>Oops! <%= userMessage %></strong></p>\n <% } else {%>\n Oops! An Error Has occurred while processing your request.\n <% } %>\n Please try again or send email to <%= GlobalProperties.getEmailContact() %> if this is any error in this portal.\n </div>\n </td>\n </tr>\n <tr>\n <td colspan=\"3\">\n\t<jsp:include page=\"global/footer.jsp\" flush=\"true\" />\n </td>\n </tr>\n</table>\n</center>\n</div>\n</form>\n<jsp:include page=\"global/xdebug.jsp\" flush=\"true\" />\n</body>\n</html>\n",
"role": "user"
},
{
"content": "<%@ page import=\"org.mskcc.cbio.portal.servlet.QueryBuilder\" %>\n<%@ page import=\"org.mskcc.cbio.portal.util.GlobalProperties\" %>\n<%\n request.setAttribute(QueryBuilder.HTML_TITLE, \"cBio Cancer Genomics Pathway Portal::Error\");\n String userMessage = (String) request.getAttribute(QueryBuilder.USER_ERROR_MESSAGE);\n String emailContact = (userMessage != null && userMessage.contains(\"not authorized\")) ?\n \"cbioportal-access at cbio dot mskcc dot org\" : GlobalProperties.getEmailContact();\n%>\n\n<jsp:include page=\"global/header.jsp\" flush=\"true\" />\n <div class=\"ui-state-highlight ui-corner-all\" style=\"padding: 0 .7em;width:95%;margin-top:10px;margin-bottom:20px\">\n <p><span class=\"ui-icon ui-icon-info\" style=\"float: left; margin-right: .3em;\"></span>\n <% if (userMessage != null) { %>\n <strong>Oops! <%= userMessage %></strong></p>\n <% } else {%>\n Oops! An Error Has occurred while processing your request.\n <% } %>\n Please try again or send email to <%= emailContact %> if this is any error in this portal.\n </div>\n </td>\n </tr>\n <tr>\n <td colspan=\"3\">\n\t<jsp:include page=\"global/footer.jsp\" flush=\"true\" />\n </td>\n </tr>\n</table>\n</center>\n</div>\n</form>\n<jsp:include page=\"global/xdebug.jsp\" flush=\"true\" />\n</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Change text on JSP to relect searching by last name\n",
"role": "system"
},
{
"content": "<%-- \n Document : PeopleSearch.jsp\n Created on : Nov 5, 2011, 9:26:28 AM\n Author : cw1491\n--%>\n\n<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html>\n <head>\n <title>Person lookup</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <script type=\"text/javascript\"> \n var xmlhttp;\n function LookUp() {\n var name = document.getElementById(\"name\");\n if (window.XMLHttpRequest){\n // code for IE7+, Firefox, Chrome, Opera, Safari\n xmlhttp=new XMLHttpRequest();\n }else{\n xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");\n }\n\n var url = \"ReviewJDBCGetNamesServlet?lastName=\" + encodeURIComponent(lastName.value);\n \n xmlhttp.open(\"GET\", url, true);\n xmlhttp.onreadystatechange = callback;\n xmlhttp.send();\n }\n \n function callback(){\n if (xmlhttp.readyState == 4) {\n if (xmlhttp.status == 200) {\n document.getElementById(\"nameResults\").innerHTML=xmlhttp.responseText;\n }\n }\n }\n \n </script>\n </head>\n\n <body>\n <h1>Search for person</h1>\n Name:<input type=\"text\" id=\"lastName\" name=\"lastName\" value=\"\" onkeyup=\"LookUp();\"/>\n <hr/>\n <div id=\"nameResults\">\n </div>\n <a href=\"index.jsp\">Back to Index</a><br/>\n </body>\n</html>\n",
"role": "user"
},
{
"content": "<%-- \n Document : PeopleSearch.jsp\n Created on : Nov 5, 2011, 9:26:28 AM\n Author : cw1491\n--%>\n\n<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html>\n <head>\n <title>Person lookup</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <script type=\"text/javascript\"> \n var xmlhttp;\n function LookUp() {\n var name = document.getElementById(\"name\");\n if (window.XMLHttpRequest){\n // code for IE7+, Firefox, Chrome, Opera, Safari\n xmlhttp=new XMLHttpRequest();\n }else{\n xmlhttp=new ActiveXObject(\"Microsoft.XMLHTTP\");\n }\n\n var url = \"ReviewJDBCGetNamesServlet?lastName=\" + encodeURIComponent(lastName.value);\n \n xmlhttp.open(\"GET\", url, true);\n xmlhttp.onreadystatechange = callback;\n xmlhttp.send();\n }\n \n function callback(){\n if (xmlhttp.readyState == 4) {\n if (xmlhttp.status == 200) {\n document.getElementById(\"nameResults\").innerHTML=xmlhttp.responseText;\n }\n }\n }\n \n </script>\n </head>\n\n <body>\n <h1>Search for person</h1>\n Last Name:<input type=\"text\" id=\"lastName\" name=\"lastName\" value=\"\" onkeyup=\"LookUp();\"/>\n <hr/>\n <div id=\"nameResults\">\n </div>\n <a href=\"index.jsp\">Back to Index</a><br/>\n </body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Put the percentage completed in the bar\n",
"role": "system"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\"%>\n<%@ taglib uri=\"http://java.sun.com/jstl/core\" prefix=\"c\"%>\n\n<jsp:include page=\"/includes/header.jsp\" flush=\"false\">\n\t<jsp:param name=\"title\" value=\"Progress\" />\n\t<jsp:param name=\"headTitle\" value=\"Progress\" />\n\t<jsp:param name=\"meta\" value=\"<meta http-equiv='refresh' content='3'>\" />\n</jsp:include>\n\n <div align=\"center\">\n <c:out value=\"${progress.phaseLabel}\"/>...\n\n <div style=\"width: 400px; height: 30px; border-size: 1px; border-style: ridge;\">\n <div align=\"left\" style=\"float: left; width: <c:out value=\"${progress.phase / progress.phaseCount * 100}\"/>%; height: 30px; background-color: green;\"></div>\n </div>\n </div>\n\n<jsp:include page=\"/includes/footer.jsp\" flush=\"false\" />\n\n",
"role": "user"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\"%>\n<%@ taglib uri=\"http://java.sun.com/jstl/core\" prefix=\"c\"%>\n\n<jsp:include page=\"/includes/header.jsp\" flush=\"false\">\n\t<jsp:param name=\"title\" value=\"Progress\" />\n\t<jsp:param name=\"headTitle\" value=\"Progress\" />\n\t<jsp:param name=\"meta\" value=\"<meta http-equiv='refresh' content='3'>\" />\n</jsp:include>\n\n <div align=\"center\">\n <c:out value=\"${progress.phaseLabel}\"/>...\n \n <div style=\"width: 400px; height: 30px; border-size: 1px; border-style: ridge;\">\n <div style=\"width: 400px; height: 30px; position: relative; text-align: center; line-height: 30px; z-index: 1\">\n <c:out value=\"${progress.phase / progress.phaseCount * 100}\"/>%\n </div>\n <div style=\"position: relative; top: -30px; z-index: 2; float: left; width: <c:out value=\"${progress.phase / progress.phaseCount * 100}\"/>%; height: 30px; background-color: green;\">\n </div>\n </div>\n </div>\n\n<jsp:include page=\"/includes/footer.jsp\" flush=\"false\" />\n\n",
"role": "assistant"
}
] |
[
{
"content": "Fix up id attributes in jsps\n",
"role": "system"
},
{
"content": "<%--\n * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.\n *\n * You may not modify, use, reproduce, or distribute this software\n * except in compliance with the terms of the license at:\n * http://developer.sun.com/berkeley_license.html\n\n * author: tgiunipero\n--%>\n\n\n<%-- Set session-scoped variable to track the view user is coming from.\n This is used by the language mechanism in the Controller so that\n users view the same page when switching between English and Czech. --%>\n<c:set var='view' value='/index' scope='session' />\n\n\n<%-- HTML markup starts below --%>\n\n<div orderId=\"indexLeftColumn\">\n <div orderId=\"welcomeText\">\n <p style=\"font-size: larger\"><fmt:message key='greeting' /></p>\n\n <p><fmt:message key='introText' /></p>\n </div>\n</div>\n\n<div orderId=\"indexRightColumn\">\n <c:forEach var=\"category\" items=\"${categories}\">\n <div class=\"categoryBox\">\n <a href=\"<c:url value='category?${category.categoryId}'/>\">\n <span class=\"categoryLabel\"></span>\n <span class=\"categoryLabelText\"><fmt:message key='${category.name}'/></span>\n\n <img src=\"${initParam.categoryImagePath}${category.name}.jpg\"\n alt=\"<fmt:message key='${category.name}'/>\" class=\"categoryImage\">\n </a>\n </div>\n </c:forEach>\n</div>\n",
"role": "user"
},
{
"content": "<%--\n * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.\n *\n * You may not modify, use, reproduce, or distribute this software\n * except in compliance with the terms of the license at:\n * http://developer.sun.com/berkeley_license.html\n\n * author: tgiunipero\n--%>\n\n\n<%-- Set session-scoped variable to track the view user is coming from.\n This is used by the language mechanism in the Controller so that\n users view the same page when switching between English and Czech. --%>\n<c:set var='view' value='/index' scope='session' />\n\n\n<%-- HTML markup starts below --%>\n\n<div id=\"indexLeftColumn\">\n <div id=\"welcomeText\">\n <p style=\"font-size: larger\"><fmt:message key='greeting' /></p>\n\n <p><fmt:message key='introText' /></p>\n </div>\n</div>\n\n<div id=\"indexRightColumn\">\n <c:forEach var=\"category\" items=\"${categories}\">\n <div class=\"categoryBox\">\n <a href=\"<c:url value='category?${category.categoryId}'/>\">\n <span class=\"categoryLabel\"></span>\n <span class=\"categoryLabelText\"><fmt:message key='${category.name}'/></span>\n\n <img src=\"${initParam.categoryImagePath}${category.name}.jpg\"\n alt=\"<fmt:message key='${category.name}'/>\" class=\"categoryImage\">\n </a>\n </div>\n </c:forEach>\n</div>\n",
"role": "assistant"
}
] |
[
{
"content": "Fix bug as reported by Jared Odulio on acegisecurity-developer 29 July 2005.\n\n",
"role": "system"
},
{
"content": "<%@ page import=\"net.sf.acegisecurity.context.SecurityContextHolder\" %>\n<%@ page import=\"net.sf.acegisecurity.Authentication\" %>\n<%@ page import=\"net.sf.acegisecurity.GrantedAuthority\" %>\n<%@ page import=\"net.sf.acegisecurity.adapters.AuthByAdapter\" %>\n\n<% \n\t\tAuthentication auth = SecurityContextHolder.getAuthentication();\n\t\tif (auth != null) { %>\n\t\t\tAuthentication object is of type: <%= auth.getClass().getName() %><BR><BR>\n\t\t\tAuthentication object as a String: <%= auth.toString() %><BR><BR>\n\t\t\t\n\t\t\tAuthentication object holds the following granted authorities:<BR><BR>\n<%\t\t\tGrantedAuthority[] granted = auth.getAuthorities();\n\t\t\tfor (int i = 0; i < granted.length; i++) { %>\n\t\t\t\t<%= granted[i].toString() %> (getAuthority(): <%= granted[i].getAuthority() %>)<BR>\n<%\t\t\t}\n\n\t\t\tif (auth instanceof AuthByAdapter) { %>\n\t\t\t\t<BR><B>SUCCESS! Your container adapter appears to be properly configured!</B><BR><BR>\n<%\t\t\t} else { %>\n\t\t\t\t<BR><B>SUCCESS! Your web filters appear to be properly configured!</B><BR>\n<%\t\t\t}\n\t\t\t\n\t\t} else { %>\n\t\t\tAuthentication object is null.<BR>\n\t\t\tThis is an error and your Acegi Security application will not operate properly until corrected.<BR><BR>\n<%\t\t}\n%>\n",
"role": "user"
},
{
"content": "<%@ page import=\"net.sf.acegisecurity.context.SecurityContextHolder\" %>\n<%@ page import=\"net.sf.acegisecurity.Authentication\" %>\n<%@ page import=\"net.sf.acegisecurity.GrantedAuthority\" %>\n<%@ page import=\"net.sf.acegisecurity.adapters.AuthByAdapter\" %>\n\n<% \n\t\tAuthentication auth = SecurityContextHolder.getContext().getAuthentication();\n\t\tif (auth != null) { %>\n\t\t\tAuthentication object is of type: <%= auth.getClass().getName() %><BR><BR>\n\t\t\tAuthentication object as a String: <%= auth.toString() %><BR><BR>\n\t\t\t\n\t\t\tAuthentication object holds the following granted authorities:<BR><BR>\n<%\t\t\tGrantedAuthority[] granted = auth.getAuthorities();\n\t\t\tfor (int i = 0; i < granted.length; i++) { %>\n\t\t\t\t<%= granted[i].toString() %> (getAuthority(): <%= granted[i].getAuthority() %>)<BR>\n<%\t\t\t}\n\n\t\t\tif (auth instanceof AuthByAdapter) { %>\n\t\t\t\t<BR><B>SUCCESS! Your container adapter appears to be properly configured!</B><BR><BR>\n<%\t\t\t} else { %>\n\t\t\t\t<BR><B>SUCCESS! Your web filters appear to be properly configured!</B><BR>\n<%\t\t\t}\n\t\t\t\n\t\t} else { %>\n\t\t\tAuthentication object is null.<BR>\n\t\t\tThis is an error and your Acegi Security application will not operate properly until corrected.<BR><BR>\n<%\t\t}\n%>\n",
"role": "assistant"
}
] |
[
{
"content": "LUTECE-2221: Remove head's css + js includes moved to templates\n",
"role": "system"
},
{
"content": "<%@ page errorPage=\"ErrorPage.jsp\" %>\n<%@ page import=\"fr.paris.lutece.portal.service.util.AppPathService\" %>\n<%@ page import=\"fr.paris.lutece.portal.web.l10n.LocaleService\" %>\n\n<!DOCTYPE html>\n<html lang=\"<%= LocaleService.getDefault().getLanguage() %>\">\n<head>\n<base href=\"<%= AppPathService.getBaseUrl( request ) %>\">\n<title>Administration</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n<!-- Set the viewport width to device width for mobile -->\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<!-- Le styles -->\n<link href=\"css/admin/bootstrap.min.css\" rel=\"stylesheet\">\n<link href=\"css/admin/bootstrap-theme.min.css\" rel=\"stylesheet\">\n<link href=\"css/admin/font-awesome.min.css\" rel=\"stylesheet\" >\n<link href=\"css/admin/ionicons.min.css\" rel=\"stylesheet\" >\n<link href=\"css/admin/AdminLTE.css\" rel=\"stylesheet\" >\n<link href=\"css/admin/portal_admin.css\" rel=\"stylesheet\" >\n<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->\n<!--[if lt IE 9]>\n<script src=\"https://html5shim.googlecode.com/svn/trunk/html5.js\"></script>\n<script src=\"https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js\"></script>\n<![endif]-->\n<link rel=\"shortcut icon\" href=\"favicon.ico\">\n<link rel=\"stylesheet\" href=\"css/admin/portal_admin.css\">\n<script src=\"js/admin/jquery/jquery-3.5.1.min.js\"></script>\n<style>body{padding-top:0;}</style>\n</head>\n<body class=\"portlet\">\n<div id=\"wrapper\">\n<div id=\"admin-wrapper\">\n<section>\n",
"role": "user"
},
{
"content": "<%@ page errorPage=\"ErrorPage.jsp\" %>\n<%@ page import=\"fr.paris.lutece.portal.service.util.AppPathService\" %>\n<%@ page import=\"fr.paris.lutece.portal.web.l10n.LocaleService\" %>\n\n<!DOCTYPE html>\n<html lang=\"<%= LocaleService.getDefault().getLanguage() %>\">\n<head>\n<base href=\"<%= AppPathService.getBaseUrl( request ) %>\">\n<title>Administration</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\" />\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n<!-- Set the viewport width to device width for mobile -->\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<link rel=\"shortcut icon\" href=\"favicon.ico\">\n</head>\n<body class=\"portlet\">\n<div id=\"wrapper\">\n<section class=\"vh-100\">",
"role": "assistant"
}
] |
[
{
"content": "Rename Snoop to SnoopEE in web ui",
"role": "system"
},
{
"content": "<%-- \n Document : helloworld\n Created on : Oct 21, 2015, 7:34:25 PM\n Author : Ivar Grimstad (ivar.grimstad@gmail.com)\n--%>\n\n<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <title>Snoop Hello World Sample</title>\n </head>\n <body>\n <h1>${greeting}</h1>\n </body>\n</html>\n",
"role": "user"
},
{
"content": "<%-- \n Document : helloworld\n Created on : Oct 21, 2015, 7:34:25 PM\n Author : Ivar Grimstad (ivar.grimstad@gmail.com)\n--%>\n\n<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <title>SnoopEE Hello World Sample</title>\n </head>\n <body>\n <h1>${greeting}</h1>\n </body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Change default view on the Exp section of the gene page\n",
"role": "system"
},
{
"content": "<%--\n Created by IntelliJ IDEA.\n User: ckc\n Date: 15/02/2016\n Time: 16:31\n To change this template use File | Settings | File Templates.\n--%>\n\n\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@taglib prefix=\"fn\" uri=\"http://java.sun.com/jsp/jstl/functions\" %>\n<%@taglib prefix=\"t\" tagdir=\"/WEB-INF/tags\" %>\n\n<div class=\"row justify-content-end mt-3 mr-2\">\n <div class=\"btn-group btn-group-toggle\" data-toggle=\"buttons\">\n <label class=\"btn btn-outline-primary btn-sm active\">\n <input type=\"radio\" name=\"options\" id=\"expressionTableToggle\" value=\"table\" autocomplete=\"off\"> Table\n </label>\n <label class=\"btn btn-outline-primary btn-sm\">\n <input type=\"radio\" name=\"options\" id=\" \" autocomplete=\"off\" value=\"anatogram\" checked> Images\n </label>\n </div>\n</div>\n\n<div id=\"anatomo1\" class=\"row justify-content-center\">\n <jsp:include page=\"genesAdultExpEata_frag.jsp\"></jsp:include>\n</div>\n<div id=\"anatomo2\" class=\"container mt-3\">\n\n <div class=\"row justify-content-center\">\n <jsp:include page=\"genesAdultLacZExpImg_frag.jsp\"></jsp:include>\n </div>\n</div>\n\n\n\n",
"role": "user"
},
{
"content": "<%--\n Created by IntelliJ IDEA.\n User: ckc\n Date: 15/02/2016\n Time: 16:31\n To change this template use File | Settings | File Templates.\n--%>\n\n\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@taglib prefix=\"fn\" uri=\"http://java.sun.com/jsp/jstl/functions\" %>\n<%@taglib prefix=\"t\" tagdir=\"/WEB-INF/tags\" %>\n\n<div class=\"row justify-content-end mt-3 mr-2\">\n <div class=\"btn-group btn-group-toggle\" data-toggle=\"buttons\">\n <label class=\"btn btn-outline-primary btn-sm active\">\n <input type=\"radio\" name=\"options\" id=\"expressionTableToggle\" value=\"table\" autocomplete=\"off\" checked> Table\n </label>\n <label class=\"btn btn-outline-primary btn-sm\">\n <input type=\"radio\" name=\"options\" id=\" \" autocomplete=\"off\" value=\"anatogram\"> Images\n </label>\n </div>\n</div>\n\n<div id=\"anatomo1\" class=\"row justify-content-center\">\n <jsp:include page=\"genesAdultExpEata_frag.jsp\"></jsp:include>\n</div>\n<div id=\"anatomo2\" class=\"container mt-3\">\n\n <div class=\"row justify-content-center\">\n <jsp:include page=\"genesAdultLacZExpImg_frag.jsp\"></jsp:include>\n </div>\n</div>\n\n\n\n",
"role": "assistant"
}
] |
[
{
"content": "Replace span4 class by input-xxlarge\n",
"role": "system"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@include file=\"/WEB-INF/woko/jsp/taglibs.jsp\"%>\n<c:set var=\"user\" value=\"${renderPropertyValueEdit.owningObject}\"/>\n<s:text name=\"facet.roles\" class=\"span4\" value=\"${renderPropertyValueEdit.rolesStr}\"/>\n<span class=\"help-block\">\n <fmt:message bundle=\"${wokoBundle}\" key=\"woko.ext.usermanagement.user.roles.edit.help.text\"/>\n</span>\n",
"role": "user"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@include file=\"/WEB-INF/woko/jsp/taglibs.jsp\"%>\n<c:set var=\"user\" value=\"${renderPropertyValueEdit.owningObject}\"/>\n<s:text name=\"facet.roles\" class=\"input-xxlarge\" value=\"${renderPropertyValueEdit.rolesStr}\"/>\n<span class=\"help-block\">\n <fmt:message bundle=\"${wokoBundle}\" key=\"woko.ext.usermanagement.user.roles.edit.help.text\"/>\n</span>\n",
"role": "assistant"
}
] |
[
{
"content": "Correct name in copyright footer.\n\ngit-svn-id: 1d22bf2b43db35b985fe5d7437c243537c14eeaa@589952 13f79535-47bb-0310-9956-ffa450edef68\n",
"role": "system"
},
{
"content": "<%--\n ~ Licensed to the Apache Software Foundation (ASF) under one\n ~ or more contributor license agreements. See the NOTICE file\n ~ distributed with this work for additional information\n ~ regarding copyright ownership. The ASF licenses this file\n ~ to you under the Apache License, Version 2.0 (the\n ~ \"License\"); you may not use this file except in compliance\n ~ with the License. You may obtain a copy of the License at\n ~\n ~ http://www.apache.org/licenses/LICENSE-2.0\n ~\n ~ Unless required by applicable law or agreed to in writing,\n ~ software distributed under the License is distributed on an\n ~ \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n ~ KIND, either express or implied. See the License for the\n ~ specific language governing permissions and limitations\n ~ under the License.\n --%>\n\n<%@ taglib uri=\"/webwork\" prefix=\"ww\" %>\n<%@ page import=\"java.util.Calendar\" %>\n<ww:i18n name=\"localization.Continuum\">\n<%\n int inceptionYear = 2005;\n int currentYear = Calendar.getInstance().get( Calendar.YEAR );\n String copyrightRange = String.valueOf( inceptionYear );\n if ( inceptionYear != currentYear )\n {\n copyrightRange = copyrightRange + \"-\" + String.valueOf( currentYear );\n }\n%>\n<div id=\"footer\">\n <div class=\"xright\">\n Copyright © <%= copyrightRange %> Apache Software Foundation\n </div>\n\n <div class=\"clear\">\n <hr/>\n\n </div>\n</div>\n</ww:i18n>",
"role": "user"
},
{
"content": "<%--\n ~ Licensed to the Apache Software Foundation (ASF) under one\n ~ or more contributor license agreements. See the NOTICE file\n ~ distributed with this work for additional information\n ~ regarding copyright ownership. The ASF licenses this file\n ~ to you under the Apache License, Version 2.0 (the\n ~ \"License\"); you may not use this file except in compliance\n ~ with the License. You may obtain a copy of the License at\n ~\n ~ http://www.apache.org/licenses/LICENSE-2.0\n ~\n ~ Unless required by applicable law or agreed to in writing,\n ~ software distributed under the License is distributed on an\n ~ \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n ~ KIND, either express or implied. See the License for the\n ~ specific language governing permissions and limitations\n ~ under the License.\n --%>\n\n<%@ taglib uri=\"/webwork\" prefix=\"ww\" %>\n<%@ page import=\"java.util.Calendar\" %>\n<ww:i18n name=\"localization.Continuum\">\n<%\n int inceptionYear = 2005;\n int currentYear = Calendar.getInstance().get( Calendar.YEAR );\n String copyrightRange = String.valueOf( inceptionYear );\n if ( inceptionYear != currentYear )\n {\n copyrightRange = copyrightRange + \"-\" + String.valueOf( currentYear );\n }\n%>\n<div id=\"footer\">\n <div class=\"xright\">\n Copyright © <%= copyrightRange %> The Apache Software Foundation\n </div>\n\n <div class=\"clear\">\n <hr/>\n\n </div>\n</div>\n</ww:i18n>\n",
"role": "assistant"
}
] |
[
{
"content": "Make the filtering on the edit tb page case insensitive\n",
"role": "system"
},
{
"content": "<%@ page extends=\"org.labkey.api.jsp.JspBase\" %>\n\n<template id=\"lk-querytable\">\n <h2>{{title}}</h2>\n <lk-table params=\"table: table, rowsAreSelectable: rowsAreSelectable, actionButtons: actionButtons,\n rowClickCallback: rowClickCallback, rowBackgroundColorClicked: rowBackgroundColorClicked, cursor: cursor\"></lk-table>\n</template>\n\n<script>\n (function(){\n ko.components.register('lk-querytable', {\n viewModel: {\n createViewModel: function(params, componentInfo) {\n var table = new WebUtils.Models.QueryTable({\n schemaName: params.schema,\n queryName: params.query,\n viewName: params.view\n });\n\n var title = ko.observable(params.title);\n\n\n return {\n actionButtons: params.actionButtons,\n title: title,\n table: table,\n rowsAreSelectable: params.rowsAreSelectable,\n rowClickCallback: params.rowClickCallback,\n rowBackgroundColorClicked: params.rowBackgroundColorClicked,\n cursor: params.cursor\n };\n }\n },\n template: {\n element: 'lk-querytable'\n }\n });\n })();\n</script>",
"role": "user"
},
{
"content": "<%@ page extends=\"org.labkey.api.jsp.JspBase\" %>\n\n<template id=\"lk-querytable\">\n <h2>{{title}}</h2>\n <lk-table params=\"table: table, rowsAreSelectable: rowsAreSelectable, actionButtons: actionButtons,\n rowClickCallback: rowClickCallback, rowBackgroundColorClicked: rowBackgroundColorClicked, cursor: cursor, caseInsensitiveFilter: true\"></lk-table>\n</template>\n\n<script>\n (function(){\n ko.components.register('lk-querytable', {\n viewModel: {\n createViewModel: function(params, componentInfo) {\n var table = new WebUtils.Models.QueryTable({\n schemaName: params.schema,\n queryName: params.query,\n viewName: params.view\n });\n\n var title = ko.observable(params.title);\n\n\n return {\n actionButtons: params.actionButtons,\n title: title,\n table: table,\n rowsAreSelectable: params.rowsAreSelectable,\n rowClickCallback: params.rowClickCallback,\n rowBackgroundColorClicked: params.rowBackgroundColorClicked,\n cursor: params.cursor\n };\n }\n },\n template: {\n element: 'lk-querytable'\n }\n });\n })();\n</script>\n",
"role": "assistant"
}
] |
[
{
"content": "Revert \"LUTECE-2221: Remove unused footer for login screen\"\n\nThis reverts commit 27ef56db2c2e54445ebba86f968a19c975f978d1.\n",
"role": "system"
},
{
"content": "<%@ page errorPage=\"ErrorPage.jsp\" %>\r\n<jsp:include page=\"AdminHeaderSessionLess.jsp\" />\r\n<jsp:useBean id=\"login\" scope=\"request\" class=\"fr.paris.lutece.portal.web.user.AdminLoginJspBean\" />\r\n<%= login.getLogin( request, response ) %>",
"role": "user"
},
{
"content": "<%@ page errorPage=\"ErrorPage.jsp\" %>\r\n<jsp:include page=\"AdminHeaderSessionLess.jsp\" />\r\n<jsp:useBean id=\"login\" scope=\"request\" class=\"fr.paris.lutece.portal.web.user.AdminLoginJspBean\" />\r\n<%= login.getLogin( request, response ) %>\r\n<%@ include file=\"AdminFooter.jsp\" %>",
"role": "assistant"
}
] |
[
{
"content": "Use utf-8 in demo jsp.\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ page session=\"false\" %>\n<html>\n<head>\n <title>Home</title>\n</head>\n<body>\n<h1>Hello world! This is a JSP.</h1>\n\n<P>The time on the server is ${serverTime}.</P>\n\n<p>Here are some items:</p>\n<ul>\n <c:forEach var=\"item\" items=\"${someItems}\">\n <li>${item}</li>\n </c:forEach>\n</ul>\n\n<p>${person.name}</p>\n<p>${person.age}</p>\n\n<p><a href=\"static.txt\">A static file.</a></p>\n\n</body>\n</html>\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ page session=\"false\" %>\n<%@ page contentType=\"text/html; charset=UTF-8\" %>\n<html>\n<head>\n <meta charset='utf-8' >\n <title>Home</title>\n</head>\n<body>\n<h1>Hello world! This is a JSP. 了就好了</h1>\n\n<P>The time on the server is ${serverTime}.</P>\n\n<p>Here are some items:</p>\n<ul>\n <c:forEach var=\"item\" items=\"${someItems}\">\n <li>${item}</li>\n </c:forEach>\n</ul>\n\n<p>${person.name}</p>\n<p>${person.age}</p>\n\n<p><a href=\"static.txt\">A static file.</a></p>\n\n</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Put Trail: message on the same line as the trail.\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib tagdir=\"/WEB-INF/tags\" prefix=\"im\"%>\n\n<!-- objectTrail.jsp -->\n\n<im:body>\n <div class=\"objectTrail\">\n <c:forEach items=\"${trailElements}\" var=\"item\" varStatus=\"status\">\n <html:link action=\"/objectDetails?id=${item.objectId}&trail=${item.trail}\"\n styleClass=\"objectTrailLink\">${item.label}</html:link>\n <c:if test=\"${!status.last}\">\n >\n </c:if>\n </c:forEach>\n </div>\n</im:body>\n\n<!-- /objectTrail.jsp -->\n\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib tagdir=\"/WEB-INF/tags\" prefix=\"im\"%>\n\n<!-- objectTrail.jsp -->\n\n<span class=\"objectTrail\">\n <c:forEach items=\"${trailElements}\" var=\"item\" varStatus=\"status\">\n <html:link action=\"/objectDetails?id=${item.objectId}&trail=${item.trail}\"\n styleClass=\"objectTrailLink\">${item.label}</html:link>\n <c:if test=\"${!status.last}\">\n >\n </c:if>\n </c:forEach>\n</span>\n\n<!-- /objectTrail.jsp -->\n\n",
"role": "assistant"
}
] |
[
{
"content": "Patch from pjt for back link from error page. Javascript based isn't ideal but it's useful to most people.\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<tiles:insertTemplate template=\"SiteTemplate.jsp\">\n <tiles:putAttribute name=\"title\">Error</tiles:putAttribute>\n <tiles:putAttribute name=\"heading\">An error has occurred</tiles:putAttribute>\n <tiles:putAttribute name=\"content\">\n <p><c:out value=\"${exception.message}\"/></p>\n </tiles:putAttribute>\n</tiles:insertTemplate>\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<tiles:insertTemplate template=\"SiteTemplate.jsp\">\n <tiles:putAttribute name=\"title\">Error</tiles:putAttribute>\n <tiles:putAttribute name=\"heading\">An error has occurred</tiles:putAttribute>\n <tiles:putAttribute name=\"content\">\n <p><c:out value=\"${exception.message}\"/></p>\n <p><a href=\"javascript:history.go(-1)\">Go back</a></p>\n </tiles:putAttribute>\n</tiles:insertTemplate>\n",
"role": "assistant"
}
] |
[
{
"content": "Append category ID if present.\n",
"role": "system"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<nav aria-label=\"Page navigation\">\n <ul class=\"pagination\">\n <li>\n <c:if test=\"${movies.hasPreviousPage()}\">\n <a\n href=\"${request.contextPath}?page=${movies.previousPage()}\"\n aria-label=\"Previous\"\n >\n <span aria-hidden=\"true\">«</span>\n </a>\n </c:if>\n </li>\n <c:forEach begin=\"1\" end=\"${movies.pagesCount()}\" varStatus=\"loop\">\n <li>\n <a href=\"${request.contextPath}?page=${loop.count}\">\n <c:out value=\"${loop.count}\"/>\n </a>\n </li>\n </c:forEach>\n <li>\n <c:if test=\"${movies.hasNextPage()}\">\n <a\n href=\"${request.contextPath}?page=${movies.nextPage()}\"\n aria-label=\"Next\"\n >\n <span aria-hidden=\"true\">»</span>\n </a>\n </c:if>\n </li>\n </ul>\n</nav>\n",
"role": "user"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<c:set var=\"categoryId\" value=\"${not empty param.category ? '&category='.concat(param.category) : '' }\"/>\n<nav aria-label=\"Page navigation\">\n <ul class=\"pagination\">\n <li>\n <c:if test=\"${movies.hasPreviousPage()}\">\n <a\n href=\"${request.contextPath}?page=${movies.previousPage()}${categoryId}\"\n aria-label=\"Previous\"\n >\n <span aria-hidden=\"true\">«</span>\n </a>\n </c:if>\n </li>\n <c:forEach begin=\"1\" end=\"${movies.pagesCount()}\" varStatus=\"loop\">\n <li>\n <a href=\"${request.contextPath}?page=${loop.count}${categoryId}\">\n <c:out value=\"${loop.count}\"/>\n </a>\n </li>\n </c:forEach>\n <li>\n <c:if test=\"${movies.hasNextPage()}\">\n <a\n href=\"${request.contextPath}?page=${movies.nextPage()}${categoryId}\"\n aria-label=\"Next\"\n >\n <span aria-hidden=\"true\">»</span>\n </a>\n </c:if>\n </li>\n </ul>\n</nav>\n",
"role": "assistant"
}
] |
[
{
"content": "Change JSP test app to return JSON data\n",
"role": "system"
},
{
"content": "<%@page import=\"java.net.*\"%>\n<%@page import=\"java.util.List\"%>\n<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <title>TST Page</title>\n </head>\n <body>\n <h1> Tomcat Session Testing</h1> <br/>\n Session ID: <%=request.getSession().getId() %> <br/>\n Node adress: <% String node = InetAddress.getLocalHost().toString();\n out.println(node); %> <br/>\n Request counter: <% \n if (request.getSession().getAttribute(\"Accesses\") == null){\n out.println(\"<i>new session</i>\");\n request.getSession().setAttribute(\"Accesses\", 1);\n } else {\n int a = ((int) request.getSession().getAttribute(\"Accesses\")) + 1;\n out.println(a);\n request.getSession().setAttribute(\"Accesses\", a);\n }\n %> <br/><br/>\n <form action=\"index.jsp\" method=\"post\">\n <input type=\"submit\" value=\"RESET\" name=\"submit\">\n <%\n if (request.getParameter(\"submit\") != null) {\n session.invalidate();\n }\n %>\n </form>\n </body>\n</html>\n",
"role": "user"
},
{
"content": "<%@page import=\"java.net.*\"%>\n<%@page contentType=\"application/json\" pageEncoding=\"UTF-8\"%>\n<%\nsession.setAttribute(\"counter\",\nsession.getAttribute(\"counter\") == null\n? 1\n: 1 + (int) session.getAttribute(\"counter\")\n);\n%>\n{\n \"counter\": \"<%=session.getAttribute(\"counter\")%>\",\n \"id\": \"<%=session.getId()%>\",\n \"new\": <%=session.isNew() ? \"true\" : \"false\"%>,\n \"server\": \"<%=InetAddress.getLocalHost().getHostAddress()%>\"\n}\n",
"role": "assistant"
}
] |
[
{
"content": "Update citizen change pw gui",
"role": "system"
},
{
"content": "<%\n/**\n * OpenCPS is the open source Core Public Services software\n * Copyright (C) 2016-present OpenCPS community\n * \n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * any later version.\n * \n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n%>\n<%@ include file=\"/init.jsp\" %> \n<%@page import=\"org.opencps.accountmgt.search.CitizenDisplayTerms\"%>\n\n<aui:input type=\"password\" name=\"<%=CitizenDisplayTerms.CURRENT_PASSWORD %>\" />\n<aui:input type=\"password\" name=\"<%=CitizenDisplayTerms.NEW_PASSWORD %>\" />\n<aui:input type=\"password\" name=\"<%=CitizenDisplayTerms.RE_PASSWORD %>\" />\n",
"role": "user"
},
{
"content": "<%\n/**\n * OpenCPS is the open source Core Public Services software\n * Copyright (C) 2016-present OpenCPS community\n * \n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * any later version.\n * \n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n%>\n\n<%@page import=\"org.opencps.accountmgt.search.CitizenDisplayTerms\"%>\n\n<%@ include file=\"/init.jsp\" %> \n\n\n<aui:row cssClass=\"nav-content-row-2\">\n\t<aui:col>\n\t\t<aui:input type=\"password\" name=\"<%=CitizenDisplayTerms.CURRENT_PASSWORD %>\" />\n\t</aui:col>\n</aui:row>\n\n<aui:row cssClass=\"nav-content-row-2\">\n\t<aui:col>\n\t\t<aui:input type=\"password\" name=\"<%=CitizenDisplayTerms.NEW_PASSWORD %>\" />\n\t</aui:col>\n</aui:row>\n\n<aui:row cssClass=\"nav-content-row-2\">\n\t<aui:col>\n\t\t<aui:input type=\"password\" name=\"<%=CitizenDisplayTerms.RE_PASSWORD %>\" />\n\t</aui:col>\n</aui:row>\n\n\n\n",
"role": "assistant"
}
] |
[
{
"content": "Use qualified name for selected-arm-header\n\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@621 0d517254-b314-0410-acde-c619094fa49f\n",
"role": "system"
},
{
"content": "<%@ page contentType=\"text/javascript;charset=UTF-8\" language=\"java\" %>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\"%>\n<%@taglib prefix=\"jsgen\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/jsgenerator\"%>\n<c:if test=\"${not empty command.arm}\">\n <jsgen:replaceHtml targetElement=\"arm-${command.arm.id}\">${command.arm.name}</jsgen:replaceHtml>\n if (selectedArmId == ${command.arm.id}) {\n <jsgen:replaceHtml targetElement=\"selected-arm-header\">${command.arm.name}</jsgen:replaceHtml>\n }\n</c:if>\n<c:if test=\"${not empty command.epoch}\">\n <jsgen:replaceHtml targetElement=\"epoch-${command.epoch.id}-name\">${command.epoch.name}</jsgen:replaceHtml>\n</c:if>\n<c:if test=\"${not empty command.study}\">\n <jsgen:replaceHtml targetElement=\"study-name\">${command.study.name}</jsgen:replaceHtml>\n</c:if>",
"role": "user"
},
{
"content": "<%@ page contentType=\"text/javascript;charset=UTF-8\" language=\"java\" %>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\"%>\n<%@taglib prefix=\"jsgen\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/jsgenerator\"%>\n<c:if test=\"${not empty command.arm}\">\n <jsgen:replaceHtml targetElement=\"arm-${command.arm.id}\">${command.arm.name}</jsgen:replaceHtml>\n if (selectedArmId == ${command.arm.id}) {\n <jsgen:replaceHtml targetElement=\"selected-arm-header\">${command.arm.qualifiedName}</jsgen:replaceHtml>\n }\n</c:if>\n<c:if test=\"${not empty command.epoch}\">\n <jsgen:replaceHtml targetElement=\"epoch-${command.epoch.id}-name\">${command.epoch.name}</jsgen:replaceHtml>\n</c:if>\n<c:if test=\"${not empty command.study}\">\n <jsgen:replaceHtml targetElement=\"study-name\">${command.study.name}</jsgen:replaceHtml>\n</c:if>",
"role": "assistant"
}
] |
[
{
"content": "Add name into Register Page\n",
"role": "system"
},
{
"content": "<div style=\"margin: 50px;\">\r\n\t<h3>Cadastro</h3>\r\n\t\r\n\t<form role=\"form\" action=\"<c:url value=\"/register\"/>\" method=\"post\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"email\">Email</label>\r\n\t\t\t<input id=\"email\" class=\"form-control\" type=\"text\" name=\"user.email\" placeholder=\"Digite seu email ...\" style=\"width: 300px;\">\r\n\t\t</div>\r\n\r\n\t\t<div class=\"form-group\">\r\n\t\t<label for=\"senha\">Senha</label>\r\n\t\t\t<input id=\"senha\"class=\"form-control\" type=\"password\" name=\"user.password\" placeholder=\"Senha\" style=\"width: 150px;\"> \r\n\t\t</div>\r\n\r\n\t\t<button id=\"salvar\" type=\"submit\" class=\"btn btn-default\">register</button>\r\n\t</form>\r\n\r\n</div>",
"role": "user"
},
{
"content": "<div style=\"margin: 50px;\">\r\n\t<h3>Cadastro</h3>\r\n\t\r\n\t<form role=\"form\" action=\"<c:url value=\"/register\"/>\" method=\"post\">\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"email\">Name</label>\r\n\t\t\t<input id=\"email\" class=\"form-control\" type=\"text\" name=\"user.name\" placeholder=\"Enter your name ...\" style=\"width: 300px;\">\r\n\t\t</div>\r\n\t\t\r\n\t\t<div class=\"form-group\">\r\n\t\t\t<label for=\"email\">Email</label>\r\n\t\t\t<input id=\"email\" class=\"form-control\" type=\"text\" name=\"user.email\" placeholder=\"Enter your email ...\" style=\"width: 300px;\">\r\n\t\t</div>\r\n\r\n\r\n\t\t<div class=\"form-group\">\r\n\t\t<label for=\"senha\">Senha</label>\r\n\t\t\t<input id=\"senha\"class=\"form-control\" type=\"password\" name=\"user.password\" placeholder=\"Enter your password ...\" style=\"width: 150px;\"> \r\n\t\t</div>\r\n\r\n\t\t<button id=\"salvar\" type=\"submit\" class=\"btn btn-default\">register</button>\r\n\t</form>\r\n\r\n</div>",
"role": "assistant"
}
] |
[
{
"content": "Switch to two space indentation in .jsp files for prettier format\n",
"role": "system"
},
{
"content": "#set( $symbol_pound = '#' )\n#set( $symbol_dollar = '$' )\n#set( $symbol_escape = '\\' )\n<%@ page contentType='text/html' pageEncoding='UTF-8' %>\n<!DOCTYPE html>\n<html>\n <head>\n <meta charset='UTF-8'>\n <title>Hello World!</title>\n </head>\n <body>\n <p>Hello World!</p>\n </body>\n</html>\n",
"role": "user"
},
{
"content": "#set( $symbol_pound = '#' )\n#set( $symbol_dollar = '$' )\n#set( $symbol_escape = '\\' )\n<%@ page contentType='text/html' pageEncoding='UTF-8' %>\n<!DOCTYPE html>\n<html>\n <head>\n <meta charset='UTF-8'>\n <title>Hello World!</title>\n </head>\n <body>\n <p>Hello World!</p>\n </body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Fix JCR API jar version number in the error message.\n\ngit-svn-id: 02b679d096242155780e1604e997947d154ee04a@1055127 13f79535-47bb-0310-9956-ffa450edef68\n",
"role": "system"
},
{
"content": "<%--\r\n Licensed to the Apache Software Foundation (ASF) under one or more\r\n contributor license agreements. See the NOTICE file distributed with\r\n this work for additional information regarding copyright ownership.\r\n The ASF licenses this file to You under the Apache License, Version 2.0\r\n (the \"License\"); you may not use this file except in compliance with\r\n the License. You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n--%><%\r\nrequest.setAttribute(\"title\", \"JCR API Not Found\");\r\n%><jsp:include page=\"../header.jsp\"/>\r\n<p>\r\nThe <code>javax.jcr.Repository</code> interface from the JCR API could not\r\nbe loaded. To resolve this issue, you need to make the jcr-1.0.jar available\r\nin the shared classpath of the servlet container.\r\n</p>\n<jsp:include page=\"../footer.jsp\"/>\r\n",
"role": "user"
},
{
"content": "<%--\r\n Licensed to the Apache Software Foundation (ASF) under one or more\r\n contributor license agreements. See the NOTICE file distributed with\r\n this work for additional information regarding copyright ownership.\r\n The ASF licenses this file to You under the Apache License, Version 2.0\r\n (the \"License\"); you may not use this file except in compliance with\r\n the License. You may obtain a copy of the License at\r\n\r\n http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n Unless required by applicable law or agreed to in writing, software\r\n distributed under the License is distributed on an \"AS IS\" BASIS,\r\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n See the License for the specific language governing permissions and\r\n limitations under the License.\r\n--%><%\r\nrequest.setAttribute(\"title\", \"JCR API Not Found\");\r\n%><jsp:include page=\"../header.jsp\"/>\r\n<p>\r\nThe <code>javax.jcr.Repository</code> interface from the JCR API could not\r\nbe loaded.\r\n</p>\r\n<p>\r\nTo resolve this issue, you need to make the <code>jcr-2.0.jar</code> file\r\navailable in the shared classpath of the servlet container. The file is\r\navailable for download from the\r\n<a href=\"http://www.jcp.org/en/jsr/summary?id=283\">JSR 283</a> web page.\r\n</p>\n<jsp:include page=\"../footer.jsp\"/>\r\n",
"role": "assistant"
}
] |
[
{
"content": "Allow username to be picked up using JQuery",
"role": "system"
},
{
"content": "<!-- Top Navbar -->\n\n<div class=\"navbar navbar-fixed-top\">\n\t\t<div class=\"navbar-inner\">\n\t\t\t<div class=\"container-fluid\">\n\t\t\t\t<a class=\"brand\" href=\"/index.jsp\">Edukapp</a>\n\t\t\t\t<div class=\"nav-collapse\">\n\t\t\t\t\n\t\t\t\t <shiro:authenticated>\n\t\t\t\t <ul class=\"nav\">\n\t\t\t\t <div id=\"logged-in-user-id\" style=\"display:none\"><shiro:principal property=\"id\"/></div>\n\t\t\t\t\t\t <li><a href=\"/user/<shiro:principal property=\"id\"/>\"><i class=\"icon icon-user icon-white\"></i><shiro:principal property=\"username\"/></a></li>\n\t\t\t\t\t\t <li><a style=\"margin-left:5px;\" href=\"/logout\">Log out</a></li>\n\t\t\t\t </ul>\n\t\t\t\t\t</shiro:authenticated>\n\n\t\t\t\t <shiro:notAuthenticated>\n\t\t\t\t <%@ include file=\"login_form.jsp\"%>\n\t\t\t\t\t <ul class=\"nav\">\n\t\t\t\t <li id=\"login_link\"><a href=\"#\" onclick=\"$('#login_form').css('display','inline');$('#login_link').hide();\">Log in</a></li>\n <li><a href=\"/register.jsp\">Register</a></li>\n </ul>\n </shiro:notAuthenticated>\n \n\t\t\t\t <form class=\"navbar-search pull-right\" action=\"/search_results.jsp\" method=\"get\"><input type=\"text\" id=\"q\" name=\"q\" class=\"search-query\" placeholder=\"Search\"></form>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n<!-- /Top Navbar -->",
"role": "user"
},
{
"content": "<!-- Top Navbar -->\n\n<div class=\"navbar navbar-fixed-top\">\n\t\t<div class=\"navbar-inner\">\n\t\t\t<div class=\"container-fluid\">\n\t\t\t\t<a class=\"brand\" href=\"/index.jsp\">Edukapp</a>\n\t\t\t\t<div class=\"nav-collapse\">\n\t\t\t\t\n\t\t\t\t <shiro:authenticated>\n\t\t\t\t <ul class=\"nav\">\n\t\t\t\t <div id=\"logged-in-user-id\" style=\"display:none\"><shiro:principal property=\"id\"/></div>\n\t\t\t\t\t\t <li><a href=\"/user/<shiro:principal property=\"id\"/>\"><i class=\"icon icon-user icon-white\"></i><span id=\"logged-in-user-name\"><shiro:principal property=\"username\"/></span></a></li>\n\t\t\t\t\t\t <li><a style=\"margin-left:5px;\" href=\"/logout\">Log out</a></li>\n\t\t\t\t </ul>\n\t\t\t\t\t</shiro:authenticated>\n\n\t\t\t\t <shiro:notAuthenticated>\n\t\t\t\t <%@ include file=\"login_form.jsp\"%>\n\t\t\t\t\t <ul class=\"nav\">\n\t\t\t\t <li id=\"login_link\"><a href=\"#\" onclick=\"$('#login_form').css('display','inline');$('#login_link').hide();\">Log in</a></li>\n <li><a href=\"/register.jsp\">Register</a></li>\n </ul>\n </shiro:notAuthenticated>\n \n\t\t\t\t <form class=\"navbar-search pull-right\" action=\"/search_results.jsp\" method=\"get\"><input type=\"text\" id=\"q\" name=\"q\" class=\"search-query\" placeholder=\"Search\"></form>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n<!-- /Top Navbar -->",
"role": "assistant"
}
] |
[
{
"content": "Fix formatting on the sequence export page.\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n ${entry.value}\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n<br/>\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n ${entry.value}\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "[DEL] Remove no more used parsley it\n",
"role": "system"
},
{
"content": "<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->\r\n<script src=\"//code.jquery.com/jquery-1.12.0.min.js\"></script>\r\n\r\n<!-- \r\n Latest compiled and minified JavaScript \r\n Include all compiled plugins (below), or include individual files as needed\r\n-->\r\n<script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js\"></script>\r\n \r\n<!-- Parsley localization -->\r\n<script src=\"http://rawgit.com/guillaumepotier/Parsley.js/master/src/i18n/it.js\" ></script>\r\n\r\n<!-- Parsley Validation -->\r\n<script src=\"http://parsleyjs.org/dist/parsley.min.js\"></script>\r\n",
"role": "user"
},
{
"content": "<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->\r\n<script src=\"//code.jquery.com/jquery-1.12.0.min.js\"></script>\r\n\r\n<!-- \r\n Latest compiled and minified JavaScript \r\n Include all compiled plugins (below), or include individual files as needed\r\n-->\r\n<script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js\"></script>\r\n\r\n<!-- Parsley Validation -->\r\n<script src=\"http://parsleyjs.org/dist/parsley.min.js\"></script>\r\n",
"role": "assistant"
}
] |
[
{
"content": "Fix the monster list autowiring\n",
"role": "system"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n\n<html>\n<head>\n <title>Padfriender : Login</title>\n</head>\n<body>\n<div content>\n <form name=\"login\" action=\"login\" method=\"post\">\n <fieldset>\n <legend>Please Login</legend>\n <c:if test=\"${param.error}\">\n Invalid username or password.\n </c:if>\n <c:if test=\"${param.logout}\">\n You have been logged out.\n </c:if>\n <label for=\"email\">E-mail Address</label>\n <input type=\"email\" id=\"email\" name=\"email\"/>\n\n <label for=\"password\">Password</label>\n <input type=\"password\" id=\"password\" name=\"password\"/>\n\n <div class=\"form-actions\">\n <button type=\"submit\" class=\"btn\">Log in</button>\n </div>\n </fieldset>\n </form>\n <form name=\"signup\" action=\"signup\" method=\"post\">\n <fieldset>\n <legend>Sign up</legend>\n\n <input type=\"email\" id=\"email\" name=\"email\">\n <label for=\"email\">E-mail Address</label>\n\n <input type=\"\"\n <label for=\"password\">Password</label>\n </fieldset>\n </form>\n</div>\n</body>\n</html>\n",
"role": "user"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n\n<html>\n<head>\n <title>Padfriender : Login</title>\n</head>\n<body>\n<div content>\n <form name=\"login\" action=\"login\" method=\"post\">\n <fieldset>\n <legend>Please Login</legend>\n <c:if test=\"${param.error}\">\n Invalid username or password.\n </c:if>\n <c:if test=\"${param.logout}\">\n You have been logged out.\n </c:if>\n <label for=\"email\">E-mail Address</label>\n <input type=\"email\" id=\"email\" name=\"email\"/>\n\n <label for=\"password\">Password</label>\n <input type=\"password\" id=\"password\" name=\"password\"/>\n\n <div class=\"form-actions\">\n <button type=\"submit\" class=\"btn\">Log in</button>\n </div>\n </fieldset>\n </form>\n <a href=\"signup\">Sign up instead</a>\n</div>\n</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Debug replace host for SC home panels\n",
"role": "system"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" %>\n<link rel=\"stylesheet\" href=\"https://www.ebi.ac.uk/gxa/resources/css/foundation/atlas.css\" type=\"text/css\" media=\"all\">\n<div id=\"panels\"></div>\n\n<script defer src=\"${pageContext.request.contextPath}/resources/js-bundles/homePagePanel.bundle.js\"></script>\n<!-- Set to http://localhost:8080/gxa/ or http://localhost:8080/gxa_sc/ -- Remember the trailing slash! -->\n<script>\n document.addEventListener(\"DOMContentLoaded\", function(event) {\n homePagePanel.render({\n host: `http://localhost:8080/gxa/sc/`,\n experimentResources: {\n 'Latest experiments': `json/experiments/latestExperiments`,\n Featured: `alpha/hca`\n },\n speciesResources: {\n Species: `json/experiments/popular-species`,\n Animals: `json/experiments/popular-species?kingdom=animals`,\n Plants: `json/experiments/popular-species?kingdom=plants`,\n Fungi: `json/experiments/popular-species?kingdom=fungi`,\n Protists: `json/experiments/popular-species?kingdom=protists`\n }\n }, 'panels')\n });\n</script>\n",
"role": "user"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" %>\n<link rel=\"stylesheet\" href=\"https://www.ebi.ac.uk/gxa/resources/css/foundation/atlas.css\" type=\"text/css\" media=\"all\">\n<div id=\"panels\"></div>\n\n<script defer src=\"${pageContext.request.contextPath}/resources/js-bundles/homePagePanel.bundle.js\"></script>\n<!-- Set to http://localhost:8080/gxa/ or http://localhost:8080/gxa_sc/ -- Remember the trailing slash! -->\n<script>\n document.addEventListener(\"DOMContentLoaded\", function(event) {\n homePagePanel.render({\n host: '${pageContext.request.contextPath}/',\n experimentResources: {\n 'Latest experiments': `json/experiments/latestExperiments`,\n Featured: `alpha/hca`\n },\n speciesResources: {\n Species: `json/experiments/popular-species`,\n Animals: `json/experiments/popular-species?kingdom=animals`,\n Plants: `json/experiments/popular-species?kingdom=plants`,\n Fungi: `json/experiments/popular-species?kingdom=fungi`,\n Protists: `json/experiments/popular-species?kingdom=protists`\n }\n }, 'panels')\n });\n</script>\n",
"role": "assistant"
}
] |
[
{
"content": "Remove the reset query tile\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n\n<!-- queryMain.jsp -->\n<tiles:get name=\"queryErrorMessage\"/>\n<tiles:get name=\"querySelectBuild\"/>\n<tiles:get name=\"loadQuery\"/>\n<tiles:get name=\"restartQuery\"/>\n<!-- /queryMain.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n\n<!-- queryMain.jsp -->\n<tiles:get name=\"queryErrorMessage\"/>\n<tiles:get name=\"querySelectBuild\"/>\n<tiles:get name=\"loadQuery\"/>\n<!-- /queryMain.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Put save/cancel the right way around.\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<tiles:insertTemplate template=\"SiteTemplate.jsp\">\n <tiles:putAttribute name=\"title\"><c:out value=\"${pageInfo.path} (${pageInfo.revisionName})\"/></tiles:putAttribute>\n <tiles:putAttribute name=\"content\">\n <form action=\"\" method=\"post\">\n <textarea rows=\"25\" cols=\"80\" name=\"content\"><c:out value=\"${pageInfo.content}\"/></textarea>\n <input type=\"hidden\" name=\"baseRevision\" value=\"<c:out value=\"${pageInfo.revision}\"/>\"/>\n <hr/>\n <input style=\"width:5em;\" name=\"action\" type=\"submit\" value=\"Cancel\"/>\n <input style=\"width:5em;\" name=\"action\" type=\"submit\" value=\"Save\"/>\n </form> \n </tiles:putAttribute>\n</tiles:insertTemplate>\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<tiles:insertTemplate template=\"SiteTemplate.jsp\">\n <tiles:putAttribute name=\"title\"><c:out value=\"${pageInfo.path} (${pageInfo.revisionName})\"/></tiles:putAttribute>\n <tiles:putAttribute name=\"content\">\n <form action=\"\" method=\"post\">\n <textarea rows=\"25\" cols=\"80\" name=\"content\"><c:out value=\"${pageInfo.content}\"/></textarea>\n <input type=\"hidden\" name=\"baseRevision\" value=\"<c:out value=\"${pageInfo.revision}\"/>\"/>\n <hr/>\n <input style=\"width:5em;\" name=\"action\" type=\"submit\" value=\"Save\"/>\n <input style=\"width:5em;\" name=\"action\" type=\"submit\" value=\"Cancel\"/>\n </form> \n </tiles:putAttribute>\n</tiles:insertTemplate>\n",
"role": "assistant"
}
] |
[
{
"content": "Enable images to render when viewed in the AEM Verify app\n",
"role": "system"
},
{
"content": "<%@page session=\"false\" %><%\n%><%@include file=\"/libs/foundation/global.jsp\" %><%\n%>\n<cq:includeClientLib css=\"brand_name_placeholder.ionic-1.1.0\"/>\n<cq:includeClientLib css=\"apps.brand_name_placeholder.app_name_placeholder.all\"/>\n\n<!-- Enable all requests, inline styles, and eval() -->\n<!-- TODO: set a more restrictive CSP for production -->\n<meta http-equiv=\"Content-Security-Policy\" content=\"default-src 'self' gap://ready; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src *;\">",
"role": "user"
},
{
"content": "<%@page session=\"false\" %><%\n%><%@include file=\"/libs/foundation/global.jsp\" %><%\n%>\n<cq:includeClientLib css=\"brand_name_placeholder.ionic-1.1.0\"/>\n<cq:includeClientLib css=\"apps.brand_name_placeholder.app_name_placeholder.all\"/>\n\n<!-- Enable all requests, inline styles, and eval() -->\n<!-- TODO: set a more restrictive CSP for production -->\n<meta http-equiv=\"Content-Security-Policy\" content=\"default-src 'self' gap://ready; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; connect-src *; img-src *\">",
"role": "assistant"
}
] |
[
{
"content": "Put Trail: message on the same line as the trail.\n\n\n\nFormer-commit-id: aaad756a7774060b264348be743b3f89a3d85987",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib tagdir=\"/WEB-INF/tags\" prefix=\"im\"%>\n\n<!-- objectTrail.jsp -->\n\n<im:body>\n <div class=\"objectTrail\">\n <c:forEach items=\"${trailElements}\" var=\"item\" varStatus=\"status\">\n <html:link action=\"/objectDetails?id=${item.objectId}&trail=${item.trail}\"\n styleClass=\"objectTrailLink\">${item.label}</html:link>\n <c:if test=\"${!status.last}\">\n >\n </c:if>\n </c:forEach>\n </div>\n</im:body>\n\n<!-- /objectTrail.jsp -->\n\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib tagdir=\"/WEB-INF/tags\" prefix=\"im\"%>\n\n<!-- objectTrail.jsp -->\n\n<span class=\"objectTrail\">\n <c:forEach items=\"${trailElements}\" var=\"item\" varStatus=\"status\">\n <html:link action=\"/objectDetails?id=${item.objectId}&trail=${item.trail}\"\n styleClass=\"objectTrailLink\">${item.label}</html:link>\n <c:if test=\"${!status.last}\">\n >\n </c:if>\n </c:forEach>\n</span>\n\n<!-- /objectTrail.jsp -->\n\n",
"role": "assistant"
}
] |
[
{
"content": "POWERPACK-54: Update JSP show that it actually shows something\n",
"role": "system"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@ taglib prefix=\"fmt\" uri=\"http://java.sun.com/jsp/jstl/fmt\" %>\n<%@ taglib prefix=\"fn\" uri=\"http://java.sun.com/jsp/jstl/functions\" %>\n<%@ taglib prefix=\"hst\" uri=\"http://www.hippoecm.org/jsp/hst/core\" %>\n<%@ taglib prefix=\"x\" uri=\"http://java.sun.com/jsp/jstl/xml\" %>\n<%@ taglib prefix=\"tag\" tagdir=\"/WEB-INF/tags\" %>\n<%--@elvariable id=\"pageable\" type=\"org.onehippo.cms7.essentials.components.paging.Pageable\"--%>\n<h1>${pageable.total}</h1>",
"role": "user"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@ taglib prefix=\"fmt\" uri=\"http://java.sun.com/jsp/jstl/fmt\" %>\n<%@ taglib prefix=\"fn\" uri=\"http://java.sun.com/jsp/jstl/functions\" %>\n<%@ taglib prefix=\"hst\" uri=\"http://www.hippoecm.org/jsp/hst/core\" %>\n<%@ taglib prefix=\"x\" uri=\"http://java.sun.com/jsp/jstl/xml\" %>\n<%@ taglib prefix=\"tag\" tagdir=\"/WEB-INF/tags\" %>\n<%--@elvariable id=\"pageable\" type=\"org.onehippo.cms7.essentials.components.paging.Pageable\"--%>\n<c:forEach var=\"item\" items=\"${pageable.items}\" varStatus=\"status\">\n <hst:link var=\"link\" hippobean=\"${item}\"/>\n <article>\n <hst:cmseditlink hippobean=\"${item}\"/>\n <h3><a href=\"${link}\"><c:out value=\"${item.title}\"/></a></h3>\n <c:if test=\"${hst:isReadable(item, 'date.time')}\">\n <p>\n <fmt:formatDate value=\"${item.date.time}\" type=\"both\" dateStyle=\"medium\" timeStyle=\"short\"/>\n </p>\n </c:if>\n <p><c:out value=\"${item.summary}\"/></p>\n </article>\n</c:forEach>",
"role": "assistant"
}
] |
[
{
"content": "Use text on the component\n",
"role": "system"
},
{
"content": "<%@page session=\"false\"%>\n<%--\n Copyright 1997-2008 Day Management AG\n Barfuesserplatz 6, 4001 Basel, Switzerland\n All Rights Reserved.\n\n This software is the confidential and proprietary information of\n Day Management AG, (\"Confidential Information\"). You shall not\n disclose such Confidential Information and shall use it only in\n accordance with the terms of the license agreement you entered into\n with Day.\n\n ==============================================================================\n\n Title component.\n\n Draws a title either store on the resource or from the page\n\n--%><%@include file=\"/libs/foundation/global.jsp\"%>\n<%@ taglib prefix=\"wcm\" uri=\"http://www.adobe.com/consulting/acs-aem-commons/wcm\" %>\n<wcm:defineObjects /><%\n%>\n <h1>Proof of concept</h1>\n <h2>Instance Title: ${properties.text}</h2>\n <h2>Sitewide Title: ${sitewideProperties}</h2>\n <h2>MergedMap: ${mergedProperties}</h2>\n\n \n\n",
"role": "user"
},
{
"content": "<%@page session=\"false\"%>\n<%--\n Copyright 1997-2008 Day Management AG\n Barfuesserplatz 6, 4001 Basel, Switzerland\n All Rights Reserved.\n\n This software is the confidential and proprietary information of\n Day Management AG, (\"Confidential Information\"). You shall not\n disclose such Confidential Information and shall use it only in\n accordance with the terms of the license agreement you entered into\n with Day.\n\n ==============================================================================\n\n Title component.\n\n Draws a title either store on the resource or from the page\n\n--%><%@include file=\"/libs/foundation/global.jsp\"%>\n<%@ taglib prefix=\"wcm\" uri=\"http://www.adobe.com/consulting/acs-aem-commons/wcm\" %>\n<wcm:defineObjects /><%\n%>\n <h1>Proof of concept</h1>\n <h2>Instance Title: ${properties.text}</h2>\n <h2>Sitewide Title: ${sitewideProperties.text}</h2>\n <h2>MergedMap: ${mergedProperties.text}</h2>\n\n \n\n",
"role": "assistant"
}
] |
[
{
"content": "Remove commented-out code and background-color override\n\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@1222 0d517254-b314-0410-acde-c619094fa49f\n",
"role": "system"
},
{
"content": "<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\" %>\r\n<%@ taglib prefix=\"laf\" uri=\"http://gforge.nci.nih.gov/projects/ctmscommons/taglibs/laf\" %>\r\n\r\n<html>\r\n<head>\r\n <!--<title>Account login</title>-->\r\n <style type=\"text/css\">\r\n body {\r\n background-color: #666;\r\n }\r\n div#body {\r\n width: 24em;\r\n border: 2px outset #000;\r\n background-color: #fff;\r\n padding: 0;\r\n margin: 3em auto;\r\n }\r\n h1 {\r\n /*background-color: #000;*/\r\n /*color: #fff;*/\r\n /*padding: 0.5em 2em;*/\r\n text-align: center;\r\n }\r\n form#login {\r\n margin: 1em 2em;\r\n }\r\n /* need for fomatting the login box */\r\n .box {\r\n width:40%;\r\n margin-left:30%;\r\n margin-right:30%;\r\n \r\n }\r\n </style>\r\n</head>\r\n<body>\r\n<laf:box title=\"Account login\">\r\n <laf:division>\r\n\r\n <h1>Please log in</h1>\r\n <tags:loginForm/>\r\n\r\n </laf:division>\r\n</laf:box>\r\n</body>\r\n</html>\r\n",
"role": "user"
},
{
"content": "<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\" %>\r\n<%@ taglib prefix=\"laf\" uri=\"http://gforge.nci.nih.gov/projects/ctmscommons/taglibs/laf\" %>\r\n\r\n<html>\r\n<head>\r\n <!--<title>Account login</title>-->\r\n <style type=\"text/css\">\r\n div#body {\r\n width: 24em;\r\n border: 2px outset #000;\r\n background-color: #fff;\r\n padding: 0;\r\n margin: 3em auto;\r\n }\r\n h1 {\r\n text-align: center;\r\n }\r\n form#login {\r\n margin: 1em 2em;\r\n }\r\n /* need for fomatting the login box */\r\n .box {\r\n width:40%;\r\n margin-left:30%;\r\n margin-right:30%;\r\n \r\n }\r\n </style>\r\n</head>\r\n<body>\r\n<laf:box title=\"Account login\">\r\n <laf:division>\r\n\r\n <h1>Please log in</h1>\r\n <tags:loginForm/>\r\n\r\n </laf:division>\r\n</laf:box>\r\n</body>\r\n</html>\r\n",
"role": "assistant"
}
] |
[
{
"content": "Create home button in footer to navigate back from download and help page\n",
"role": "system"
},
{
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<jsp:root xmlns:jsp=\"http://java.sun.com/JSP/Page\" version=\"2.1\">\n\t<jsp:directive.page contentType=\"text/html; charset=UTF-8\"\n\t\tpageEncoding=\"UTF-8\" session=\"false\" trimDirectiveWhitespaces=\"false\" />\n\n\t<!-- \n\tinclude bestand met de header tags, \n\tlet op dat dit bestand vanuit de root van de webapplicatie wordt ingevoegd \n\t -->\n\t<jsp:text>\n\t\t<div id=\"footer\">\n\t\t\t<a class=\"featureinfo\" href=\"#\">Over CBS in uw buurt</a> \n\t\t\t<a href=\"help.jsp\">Hoe werkt dit?</a> \n\t\t\t<a href=\"http://www.cbs.nl/nl-NL/menu/organisatie/website/disclaimer/default.htm\">Disclaimer</a> \n\t\t\t<a href=\"http://www.cbs.nl/nl-NL/menu/organisatie/website/privacy/default.htm\">Privacyverklaring</a>\n\t\t\t<a href=\"download.jsp\">Download</a> \n\t\t\t<a href=\"http://www.cbs.nl/nl-NL/menu/organisatie/contact/overzicht/default.htm\" class=\"last\">Contact</a>\n\t\t</div>\n\t</jsp:text>\n</jsp:root>",
"role": "user"
},
{
"content": "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<jsp:root xmlns:jsp=\"http://java.sun.com/JSP/Page\" version=\"2.1\">\n\t<jsp:directive.page contentType=\"text/html; charset=UTF-8\"\n\t\tpageEncoding=\"UTF-8\" session=\"false\" trimDirectiveWhitespaces=\"false\" />\n\n\t<!-- \n\tinclude bestand met de header tags, \n\tlet op dat dit bestand vanuit de root van de webapplicatie wordt ingevoegd \n\t -->\n\t<jsp:text>\n\t\t<div id=\"footer\">\n\t\t\t<a href=\"/\">Home</a> \n\t\t\t<a href=\"#\">Over CBS in uw buurt</a> \n\t\t\t<a href=\"help.jsp\">Hoe werkt dit?</a> \n\t\t\t<a href=\"http://www.cbs.nl/nl-NL/menu/organisatie/website/disclaimer/default.htm\">Disclaimer</a> \n\t\t\t<a href=\"http://www.cbs.nl/nl-NL/menu/organisatie/website/privacy/default.htm\">Privacyverklaring</a>\n\t\t\t<a href=\"download.jsp\">Download</a> \n\t\t\t<a href=\"http://www.cbs.nl/nl-NL/menu/organisatie/contact/overzicht/default.htm\" class=\"last\">Contact</a>\n\t\t</div>\n\t</jsp:text>\n</jsp:root>",
"role": "assistant"
}
] |
[
{
"content": "Add Static Register New App\n",
"role": "system"
},
{
"content": "<%@include file=\"includes/header.jsp\" %>\n<div class=\"container\">\n <h1 class=\"text-center\">Register New App</h1>\n\n <%@include file=\"includes/footer.jsp\" %>\n\n",
"role": "user"
},
{
"content": "<%@include file=\"includes/header.jsp\" %>\n<div class=\"container\">\n <h1 class=\"text-center\">Register New App</h1>\n <form class=\"form-horizontal\" method=\"post\" action=\"new-app\">\n <div class=\"form-group\">\n <label for=\"input-name\" class=\"col-sm-2 control-label\">Name</label>\n <div class=\"col-sm-10\">\n <input type=\"text\" class=\"form-control\" id=\"input-name\" placeholder=\"Name\" name=\"name\">\n </div>\n </div>\n <div class=\"form-group\">\n <label for=\"input-description\" class=\"col-sm-2 control-label\">Description</label>\n <div class=\"col-sm-10\">\n <textarea class=\"form-control\" rows=\"6\" id=\"input-description\" placeholder=\"Description\" name=\"description\"></textarea>\n </div>\n </div>\n <!--\n <div class=\"form-group\">\n <label for=\"input-api-key\" class=\"col-sm-2 control-label\">API Key</label>\n <div class=\"col-sm-10\">\n <input type=\"text\" class=\"form-control\" id=\"input-api-key\" value=\"sk3kf9sjs3n1am\" name=\"api-key\" disabled=\"disabled\">\n </div>\n </div>\n -->\n <div class=\"form-group\">\n <label class=\"col-sm-2 control-label\">Change State</label>\n <div class=\"col-sm-10\">\n <a class=\"btn btn-success\">Enable</a>\n </div>\n </div>\n <div class=\"form-group\">\n <div class=\"col-sm-offset-2 col-sm-10\">\n <a href=\"home\" class=\"btn btn-warning\">Cancel</a>\n <button type=\"submit\" class=\"btn btn-primary\">Register</button>\n </div>\n </div>\n </form>\n <%@include file=\"includes/footer.jsp\" %>\n\n",
"role": "assistant"
}
] |
[
{
"content": "Add HTML form and HTML5 validation\n",
"role": "system"
},
{
"content": "<!DOCTYPE HTML>\n<!--\n\n Copyright 2016 The Open Source Research Group,\n University of Erlangen-Nrnberg\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<html>\n <head>\n <title>Home!</title>\n </head>\n <body>\n\t<h1>Hello World!</h1>\n </body>\n</html>\n",
"role": "user"
},
{
"content": "<!DOCTYPE HTML>\n<!--\n\n Copyright 2016 The Open Source Research Group,\n University of Erlangen-Nrnberg\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\n-->\n<html lang=\"en\">\n<head>\n\t<meta charset=\"utf-8\">\n\n\t<title>The Project 9</title>\n\t<meta name=\"description\" content=\"The Project 9\">\n\t<meta name=\"author\" content=\"Project9\">\n\n\t<!-- <link rel=\"stylesheet\" href=\"css/mystyle.css?v=1.0\">\n\t<script type=\"text/javascript\" src=\"js/jquery-2.2.3.min.js\"></script>\n -->\n\n\t<!--[if lt IE 9]>\n\t<script src=\"http://html5shiv.googlecode.com/svn/trunk/html5.js\"></script>\n\t<![endif]-->\n</head>\n\n<body>\n \n\t<form method=\"POST\" action=\"\" >\n\t<fieldset>\n\t\t<legend>Write company name</legend>\n\t\t<input type=\"text\" name=\"companyName\" maxlength=\"100\" required>\n\t\t<!--<input type=\"submit\" value=\"Go\" id=\"submitName\">-->\n\t</fieldset>\n\t<fieldset>\n\t\t<legend>Ask a question</legend>\n\t\t<input required type=\"radio\" name=\"question\" value=\"1\" />What is the company industry? <br />\n\t\t<input required type=\"radio\" name=\"question\" value=\"2\" />What are the company's products?<br />\n\t\t<input type=\"submit\" value=\"Ask\" id=\"submitQuestion\" />\n\t</fieldset>\n\t\n\t</form>\n\t<div id=\"answer\"><br />Here will be the answer!</div>\n\t<!--<script type=\"text/javascript\" src=\"js/myscript.js\" ></script>-->\n</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Remove the \"show all tips\" link as it doesn't work.\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\n<link rel=\"stylesheet\" type=\"text/css\" href=\"tips/css/tips.css\"/>\n\n<!-- tipDisplayer.jsp -->\n<div class=\"body\">\n <jsp:include page=\"tips/tip${id}_long.jsp\"/>\n <a href=\"/${WEB_PROPERTIES['webapp.path']}/tips?n=${tipcount}\">Show all tips >></a>\n</div>\n<!-- /tipDisplayer.jsp -->",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\n<link rel=\"stylesheet\" type=\"text/css\" href=\"tips/css/tips.css\"/>\n\n<!-- tipDisplayer.jsp -->\n<div class=\"body\">\n <jsp:include page=\"tips/tip${id}_long.jsp\"/>\n<%\n -- removed for now as it doesn't work:\n <a href=\"/${WEB_PROPERTIES['webapp.path']}/tips?n=${tipcount}\">Show all tips >></a>\n%>\n</div>\n<!-- /tipDisplayer.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Fix issue where stats menu didn't work from 'boozy event' page\n",
"role": "system"
},
{
"content": "<%@ include file=\"header.jsp\" %>\n\n<h1>Boozy Stops</h1>\n\n<p>These are the upcoming food truck events that blend booze and food trucks.</p>\n\n<c:forEach items=\"${daySchedules}\" var=\"schedule\">\n <h2><joda:format pattern=\"EEE MMM dd\" value=\"${schedule.day}\"/></h2>\n <c:forEach items=\"${schedule.groups}\" var=\"group\" varStatus=\"status\">\n <c:forEach items=\"${group.stops}\" var=\"stop\" varStatus=\"stopStatus\">\n <c:if test=\"${stopStatus.index == 0}\">\n <h3><ftl:location location=\"${group.location}\" at=\"${stop.startTime}\"/></h3>\n </c:if>\n <div class=\"media\">\n <a class=\"pull-left\" href=\"/trucks/${stop.truck.id}\">\n <img class=\"media-object\" src=\"${stop.truck.iconUrl}\" alt=\"${stop.truck.name} icon\"/>\n </a>\n <div class=\"media-body\">\n <a href=\"/trucks/${stop.truck.id}\" class=\"truckLink\">\n <h4 class=\"media-heading\">${stop.truck.name}</h4>\n <joda:format value=\"${stop.startTime}\" style=\"-S\"/> - <joda:format value=\"${stop.endTime}\" style=\"-S\"/>\n </a>\n </div>\n </div>\n </c:forEach>\n\n </c:forEach>\n</c:forEach>\n\n<%@ include file=\"footer.jsp\" %>\n",
"role": "user"
},
{
"content": "<%@ include file=\"header.jsp\" %>\n\n<h1>Boozy Stops</h1>\n\n<p>These are the upcoming food truck events that blend booze and food trucks.</p>\n\n<c:forEach items=\"${daySchedules}\" var=\"schedule\">\n <h2><joda:format pattern=\"EEE MMM dd\" value=\"${schedule.day}\"/></h2>\n <c:forEach items=\"${schedule.groups}\" var=\"group\" varStatus=\"status\">\n <c:forEach items=\"${group.stops}\" var=\"stop\" varStatus=\"stopStatus\">\n <c:if test=\"${stopStatus.index == 0}\">\n <h3><ftl:location location=\"${group.location}\" at=\"${stop.startTime}\"/></h3>\n </c:if>\n <div class=\"media\">\n <a class=\"pull-left\" href=\"/trucks/${stop.truck.id}\">\n <img class=\"media-object\" src=\"${stop.truck.iconUrl}\" alt=\"${stop.truck.name} icon\"/>\n </a>\n <div class=\"media-body\">\n <a href=\"/trucks/${stop.truck.id}\" class=\"truckLink\">\n <h4 class=\"media-heading\">${stop.truck.name}</h4>\n <joda:format value=\"${stop.startTime}\" style=\"-S\"/> - <joda:format value=\"${stop.endTime}\" style=\"-S\"/>\n </a>\n </div>\n </div>\n </c:forEach>\n\n </c:forEach>\n</c:forEach>\n\n<%@include file=\"include/core_js.jsp\" %>\n\n<%@ include file=\"footer.jsp\" %>\n",
"role": "assistant"
}
] |
[
{
"content": "[CONTINUUM-890] Fix password fields\nSubmitted by: Marvin King\n\ngit-svn-id: 1d22bf2b43db35b985fe5d7437c243537c14eeaa@447783 13f79535-47bb-0310-9956-ffa450edef68\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/webwork\" prefix=\"ww\" %>\n<%@ taglib uri=\"http://www.extremecomponents.org\" prefix=\"ec\" %>\n<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>\n<%@ taglib uri=\"continuum\" prefix=\"c1\" %>\n<html>\n<ww:i18n name=\"localization.Continuum\">\n <head>\n <title>User</title>\n </head>\n\n <body>\n <div id=\"axial\" class=\"h3\">\n\n <h3><ww:text name=\"Users\"/></h3>\n\n <ww:form action=\"saveUser\" method=\"post\">\n <ww:hidden name=\"userId\"/>\n\n <div class=\"axial\">\n <table border=\"1\" cellspacing=\"2\" cellpadding=\"3\" width=\"100%\">\n <ww:textfield label=\"Username\" name=\"username\"/>\n <ww:textfield label=\"Full Name\" name=\"fullName\"/>\n <ww:textfield label=\"Email\" name=\"email\"/>\n <ww:textfield label=\"Password\" name=\"password\"/>\n <ww:textfield label=\"Password(again)\" name=\"passwordTwo\"/>\n <ww:select list=\"userGroups\" label=\"User Group\" name=\"userGroupId\"/>\n </table>\n </div>\n\n <div class=\"functnbar3\">\n <c1:submitcancel value=\"%{getText('save')}\" cancel=\"%{getText('cancel')}\"/>\n </div>\n\n </ww:form>\n\n </div>\n </body>\n</ww:i18n>\n</html>\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/webwork\" prefix=\"ww\" %>\n<%@ taglib uri=\"http://www.extremecomponents.org\" prefix=\"ec\" %>\n<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>\n<%@ taglib uri=\"continuum\" prefix=\"c1\" %>\n<html>\n<ww:i18n name=\"localization.Continuum\">\n <head>\n <title>User</title>\n </head>\n\n <body>\n <div id=\"axial\" class=\"h3\">\n\n <h3><ww:text name=\"Users\"/></h3>\n\n <ww:form action=\"saveUser\" method=\"post\">\n <ww:hidden name=\"userId\"/>\n\n <div class=\"axial\">\n <table border=\"1\" cellspacing=\"2\" cellpadding=\"3\" width=\"100%\">\n <ww:textfield label=\"Username\" name=\"username\"/>\n <ww:textfield label=\"Full Name\" name=\"fullName\"/>\n <ww:textfield label=\"Email\" name=\"email\"/>\n <ww:password label=\"Password\" name=\"password\"/>\n <ww:password label=\"Password(again)\" name=\"passwordTwo\"/>\n <ww:select list=\"userGroups\" label=\"User Group\" name=\"userGroupId\"/>\n </table>\n </div>\n\n <div class=\"functnbar3\">\n <c1:submitcancel value=\"%{getText('save')}\" cancel=\"%{getText('cancel')}\"/>\n </div>\n\n </ww:form>\n\n </div>\n </body>\n</ww:i18n>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Move base tag to the top\n\nAs per HTML recommendation, so that following links can use it\n",
"role": "system"
},
{
"content": "<!DOCTYPE HTML>\n<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\"%>\n<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>\n<html lang=\"de\">\n <head>\n <title>Haushaltsbuch - ${title}</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <base href=\"<c:url value=\"/\"/>\"/>\n <link rel=\"stylesheet\" href=\"normalize-4.1.1.css\">\n <link rel=\"stylesheet\" href=\"main.css\">\n <link rel=\"icon\" href=\"data:;base64,iVBORw0KGgo=\">\n </head>\n\n <body>\n <%@ include file=\"navbar.jspf\" %>\n\n <h1>${title}</h1>\n\n <c:if test=\"${not empty error}\">\n <p id=\"error\" style=\"color: red;\">\n ${error}\n </p>\n </c:if>\n\n <c:if test=\"${not empty message}\">\n <p id=\"message\" style=\"color: green;\">\n ${message}\n </p>\n </c:if>\n\n <jsp:include page=\"${view}\"></jsp:include>\n </body>\n</html>\n",
"role": "user"
},
{
"content": "<!DOCTYPE HTML>\n<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\"%>\n<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>\n<html lang=\"de\">\n <head>\n <base href=\"<c:url value=\"/\"/>\"/>\n <title>Haushaltsbuch - ${title}</title>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n <link rel=\"stylesheet\" href=\"normalize-4.1.1.css\">\n <link rel=\"stylesheet\" href=\"main.css\">\n <link rel=\"icon\" href=\"data:;base64,iVBORw0KGgo=\">\n </head>\n\n <body>\n <%@ include file=\"navbar.jspf\" %>\n\n <h1>${title}</h1>\n\n <c:if test=\"${not empty error}\">\n <p id=\"error\" style=\"color: red;\">\n ${error}\n </p>\n </c:if>\n\n <c:if test=\"${not empty message}\">\n <p id=\"message\" style=\"color: green;\">\n ${message}\n </p>\n </c:if>\n\n <jsp:include page=\"${view}\"></jsp:include>\n </body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Update institution login failure page.\n",
"role": "system"
},
{
"content": "<%--\n\n Licensed to Apereo under one or more contributor license\n agreements. See the NOTICE file distributed with this work\n for additional information regarding copyright ownership.\n Apereo licenses this file to you under the Apache License,\n Version 2.0 (the \"License\"); you may not use this file\n except in compliance with the License. You may obtain a\n copy of the License at the following location:\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied. See the License for the\n specific language governing permissions and limitations\n under the License.\n\n--%>\n<jsp:directive.include file=\"includes/top.jsp\" />\n <div id=\"msg\" class=\"errors\">\n <h2><spring:message code=\"screen.remoteuserfailedlogin.heading\" /></h2>\n <p><spring:message code=\"screen.remoteuserfailedlogin.message\" /></p>\n </div>\n<jsp:directive.include file=\"includes/bottom.jsp\" />\n",
"role": "user"
},
{
"content": "<%--\n\n Licensed to Apereo under one or more contributor license\n agreements. See the NOTICE file distributed with this work\n for additional information regarding copyright ownership.\n Apereo licenses this file to you under the Apache License,\n Version 2.0 (the \"License\"); you may not use this file\n except in compliance with the License. You may obtain a\n copy of the License at the following location:\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied. See the License for the\n specific language governing permissions and limitations\n under the License.\n\n--%>\n<jsp:directive.include file=\"includes/top.jsp\" />\n <div id=\"msg\" class=\"errors\">\n <h2><spring:message code=\"screen.remoteuserfailedlogin.heading\" /></h2>\n <p><spring:message code=\"screen.remoteuserfailedlogin.message\" /></p>\n </div>\n<c:set var=\"alternativeBottomLogin\" value=\"true\"/>\n<jsp:directive.include file=\"includes/bottom.jsp\" />\n",
"role": "assistant"
}
] |
[
{
"content": "Add a message about credential resolution\n",
"role": "system"
},
{
"content": "<%@ include file=\"/include.jsp\" %>\n\n<form action=\"/app/s3/config\" method=\"post\">\n <table>\n <tbody>\n <tr>\n <td>\n <label for=\"bucket\">Bucket</label>\n </td><td>\n <input type=\"text\" id=\"bucket\" name=\"bucketName\" value=\"${bucketName}\" class=\"longField\">\n </td>\n </tr><tr>\n <td>\n <label for=\"access-key\">AWS Access Key</label>\n </td><td>\n <input type=\"text\" id=\"access-key\" name=\"${accessKey}\" value=\"\" class=\"longField\">\n </td>\n </tr><tr>\n <td>\n <label for=\"secret-key\">AWS Secret Key</label>\n </td><td>\n <input type=\"text\" id=\"secret-key\" name=\"secretKey\" value=\"${secretKey}\" class=\"longField\">\n </td>\n </tr>\n </tbody>\n </table>\n <input type=\"submit\" class=\"btn btn-default\" value=\"Submit\">\n</form>",
"role": "user"
},
{
"content": "<%@ include file=\"/include.jsp\" %>\n\n<form action=\"/app/s3/config\" method=\"post\">\n <table>\n <tbody>\n <tr>\n <td>\n <label for=\"bucket\">Bucket</label>\n </td><td>\n <input type=\"text\" id=\"bucket\" name=\"bucketName\" value=\"${bucketName}\" class=\"longField\">\n </td>\n </tr><tr>\n <td>\n <label for=\"access-key\">AWS Access Key</label>\n </td><td>\n <input type=\"text\" id=\"access-key\" name=\"${accessKey}\" value=\"\" class=\"longField\">\n <div class=\"grayNote\">\n If either the AWS Access Key or AWS Secret Key are not specified, teamcity will fall back to using the\n <a href=\"http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.html\">\n DefaultAWSCredentialsProviderChain\n </a>\n for authentication.\n </div>\n </td>\n </tr><tr>\n <td>\n <label for=\"secret-key\">AWS Secret Key</label>\n </td><td>\n <input type=\"text\" id=\"secret-key\" name=\"secretKey\" value=\"${secretKey}\" class=\"longField\">\n </td>\n </tr>\n </tbody>\n </table>\n <input type=\"submit\" class=\"btn btn-default\" value=\"Submit\">\n</form>",
"role": "assistant"
}
] |
[
{
"content": "Update links on landing page\n",
"role": "system"
},
{
"content": "<html>\n <head>\n <title>Aura</title>\n <link rel=\"stylesheet\" href=\"css/style.css\" />\n </head>\n <body>\n <nav>\n <a href=\"#\"><img src=\"/auraFW/resources/aura/images/logo.png\"></a>\n </nav>\n <header>\n A UI framework for scalable web apps\n </header>\n <ul>\n <li><a href=\"/auradocs\">Aura Documentation</a></li>\n <li><a href=\"http://notes.auraframework.org/auranote/notes.app\">Aura Note App</a></li>\n </ul>\n </body>\n</html>\n",
"role": "user"
},
{
"content": "<html>\n <head>\n <title>Aura</title>\n <link rel=\"stylesheet\" href=\"css/style.css\" />\n </head>\n <body>\n <nav>\n <a href=\"#\"><img src=\"/auraFW/resources/aura/images/logo.png\"></a>\n </nav>\n <header>\n A UI framework for scalable web apps\n </header>\n <ul>\n <li><a href=\"/auradocs\">Aura Documentation</a></li>\n <li><a href=\"http://notes.auraframework.org/auranote/notes.app\" target=\"_blank\">Aura Note App</a></li>\n </ul>\n </body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Use URL to find spring taglib\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@139 0d517254-b314-0410-acde-c619094fa49f\n",
"role": "system"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jstl/core\" %>\r\n<%@ taglib prefix=\"spring\" uri=\"/spring\" %>\r\n\r\n\r\n<html><head>\r\n<title>Account Login</title></head>\r\n\r\n<body>\r\n\r\n<h1>Please enter your userid and password.</h1>\r\n\r\n<p><form method=\"post\">\r\n\r\n\r\n\r\n<table width=\"95%\" bgcolor=\"f8f8ff\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">User id:</td>\r\n<spring:bind path=\"loginCredentials.userId\">\r\n<td width=\"20%\">\r\n<input type=\"text\" name=\"<c:out value=\"userId\"/>\" value=\"<c:out value=\"\"/>\">\r\n</td>\r\n</spring:bind>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">Password:</td>\r\n<spring:bind path=\"loginCredentials.password\">\r\n<td width=\"20%\">\r\n<input type=\"password\" name=\"<c:out value=\"password\"/>\" value=\"<c:out value=\"\"/>\">\r\n</spring:bind>\r\n</td>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n\r\n</table>\r\n<br>\r\n<br>\r\n<input type=\"submit\" alignment=\"center\" value=\"login\">\r\n</form>\r\n</p>\r\n\r\n\r\n</body>\r\n</html>\r\n",
"role": "user"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jstl/core\" %>\r\n<%@ taglib prefix=\"spring\" uri=\"http://www.springframework.org/tags\" %>\r\n\r\n\r\n<html><head>\r\n<title>Account Login</title></head>\r\n\r\n<body>\r\n\r\n<h1>Please enter your userid and password.</h1>\r\n\r\n<p><form method=\"post\">\r\n\r\n\r\n\r\n<table width=\"95%\" bgcolor=\"f8f8ff\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">User id:</td>\r\n<spring:bind path=\"loginCredentials.userId\">\r\n<td width=\"20%\">\r\n<input type=\"text\" name=\"<c:out value=\"userId\"/>\" value=\"<c:out value=\"\"/>\">\r\n</td>\r\n</spring:bind>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">Password:</td>\r\n<spring:bind path=\"loginCredentials.password\">\r\n<td width=\"20%\">\r\n<input type=\"password\" name=\"<c:out value=\"password\"/>\" value=\"<c:out value=\"\"/>\">\r\n</spring:bind>\r\n</td>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n\r\n</table>\r\n<br>\r\n<br>\r\n<input type=\"submit\" alignment=\"center\" value=\"login\">\r\n</form>\r\n</p>\r\n\r\n\r\n</body>\r\n</html>\r\n",
"role": "assistant"
}
] |
[
{
"content": "Fix encoding for raspberry - set default to de_DE\n",
"role": "system"
},
{
"content": "<%@page language=\"Java\" contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\"%>\n<%@taglib prefix=\"fmt\" uri=\"http://java.sun.com/jsp/jstl/fmt\"%>\n\n<c:import url=\"header.jspf\" charEncoding=\"UTF-8\"/>\n\n<h3>Expenses:</h3>\n\n<table class=\"tableList\">\n <thead>\n <tr>\n <th>Id</th>\n <th>Amount</th>\n <th>Reason</th>\n </tr>\n </thead>\n <tbody>\n <c:forEach var=\"expense\" items=\"${sessionScope.expenses}\">\n <tr>\n <td class=\"number bordered\"><c:out value=\"${expense.id}\"/></td>\n <td class=\"number bordered\"><fmt:formatNumber value=\"${expense.amount}\" type=\"currency\"/></td>\n <td class=\"bordered\"><c:out value=\"${expense.reason}\"/></td>\n </tr>\n </c:forEach>\n </tbody>\n</table>\n\n\n<c:import url=\"footer.jspf\" charEncoding=\"UTF-8\"/>\n",
"role": "user"
},
{
"content": "<%@page language=\"Java\" contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\"%>\n<%@taglib prefix=\"fmt\" uri=\"http://java.sun.com/jsp/jstl/fmt\"%>\n\n<c:import url=\"header.jspf\" charEncoding=\"UTF-8\"/>\n\n<h3>Expenses:</h3>\n\n<fmt:setLocale value=\"de_DE\"/>\n<table class=\"tableList\">\n <thead>\n <tr>\n <th>Id</th>\n <th>Amount</th>\n <th>Reason</th>\n </tr>\n </thead>\n <tbody>\n <c:forEach var=\"expense\" items=\"${sessionScope.expenses}\">\n <tr>\n <td class=\"number bordered\"><c:out value=\"${expense.id}\"/></td>\n <td class=\"number bordered\"><fmt:formatNumber value=\"${expense.amount}\" type=\"currency\"/></td>\n <td class=\"bordered\"><c:out value=\"${expense.reason}\"/></td>\n </tr>\n </c:forEach>\n </tbody>\n</table>\n\n\n<c:import url=\"footer.jspf\" charEncoding=\"UTF-8\"/>\n",
"role": "assistant"
}
] |
[
{
"content": "Correct the contentType of the JSON page\n",
"role": "system"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=ISO-8859-1\"\r\n pageEncoding=\"ISO-8859-1\"%>\r\n\r\n${reminderList}\r\n \r\n",
"role": "user"
},
{
"content": "<%@ page language=\"java\" contentType=\"application/json; charset=ISO-8859-1\"\r\n pageEncoding=\"ISO-8859-1\"%>\r\n\r\n${reminderList}\r\n \r\n",
"role": "assistant"
}
] |
[
{
"content": "Fix passing of sequencePath to the sequence export action when there is only\none sequence path.\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n<br/>\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n ${entry.value}\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n<br/>\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n <html:hidden property=\"sequencePath\" value=\"${path}\"/>\n ${entry.value}<br/>\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Fix passing of sequencePath to the sequence export action when there is only\none sequence path.\n\n\n\nFormer-commit-id: d4807bea62da3d2700fb6ae9f4a96be9a2414380",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n<br/>\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n ${entry.value}\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n<br/>\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n <html:hidden property=\"sequencePath\" value=\"${path}\"/>\n ${entry.value}<br/>\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Fix formatting on the sequence export page.\n\n\n\nFormer-commit-id: 439f71fc50fe60e95400946453e7dd4a88b409e9",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n ${entry.value}\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- sequenceExportOptions.jsp -->\n<html:xhtml/>\n\nSequence to export:\n<br/>\n<c:forEach items=\"${exportClassPaths}\" var=\"entry\">\n <c:set var=\"path\" value=\"${entry.key}\"/>\n <c:choose>\n <c:when test=\"${fn:length(exportClassPaths) == 1}\">\n ${entry.value}\n </c:when>\n <c:otherwise>\n <html:radio property=\"sequencePath\" value=\"${path}\"/>${entry.value}<br/>\n </c:otherwise>\n </c:choose>\n</c:forEach>\n\n<!-- /sequenceExportOptions.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Insert missing H1 tag around bicycle title\n",
"role": "system"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\" %>\n<%@ page import=\"com.sdl.dxa.modules.docs.mashup.models.products.*\" %>\n<%@ taglib prefix=\"dxa\" uri=\"http://www.sdl.com/tridion-dxa\" %>\n<jsp:useBean id=\"entity\" type=\"com.sdl.dxa.modules.docs.mashup.models.products.Bicycle\" scope=\"request\"/>\n<jsp:useBean id=\"markup\" type=\"com.sdl.webapp.common.markup.Markup\" scope=\"request\"/>\n\n<div class=\"rich-text ${entity.htmlClasses}\" ${markup.entity(entity)}>\n\n <div ${markup.property(entity, \"title\")}>\n <%= entity.getTitle() %>\n </div>\n\n <div class=\"content\">\n <div ${markup.property(entity, \"body\")}>\n <dxa:richtext content=\"${entity.getBody()}\" />\n </div>\n\n <div ${markup.property(entity, \"image\")}>\n <dxa:media media=\"${entity.getImage()}\" />\n </div>\n </div>\n</div>\n",
"role": "user"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\" %>\n<%@ page import=\"com.sdl.dxa.modules.docs.mashup.models.products.*\" %>\n<%@ taglib prefix=\"dxa\" uri=\"http://www.sdl.com/tridion-dxa\" %>\n<jsp:useBean id=\"entity\" type=\"com.sdl.dxa.modules.docs.mashup.models.products.Bicycle\" scope=\"request\"/>\n<jsp:useBean id=\"markup\" type=\"com.sdl.webapp.common.markup.Markup\" scope=\"request\"/>\n\n<div class=\"rich-text ${entity.htmlClasses}\" ${markup.entity(entity)}>\n\n <div ${markup.property(entity, \"title\")}>\n <h1><%= entity.getTitle() %></h1>\n </div>\n\n <div class=\"content\">\n <div ${markup.property(entity, \"body\")}>\n <dxa:richtext content=\"${entity.getBody()}\" />\n </div>\n\n <div ${markup.property(entity, \"image\")}>\n <dxa:media media=\"${entity.getImage()}\" />\n </div>\n </div>\n</div>\n",
"role": "assistant"
}
] |
[
{
"content": "Use gbrowse.source property not gbrowse.database when constructing url.\n\n\n\nFormer-commit-id: 548c168ea9a8224a8ba6937da2e8abba35f9ea59",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/fmt\" prefix=\"fmt\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n\n<fmt:setBundle basename=\"model\"/>\n\n<!-- locatedSequenceFeatureImage.jsp -->\n<html:link href=\"${WEB_PROPERTIES['gbrowse.prefix']}/${WEB_PROPERTIES['gbrowse.database']}?name=${cld.unqualifiedName}:FlyMineInternalID_${object.id};width=800\">\n <div>\n <html:img src=\"${WEB_PROPERTIES['gbrowse_image.prefix']}/${WEB_PROPERTIES['gbrowse.database']}?name=${cld.unqualifiedName}:FlyMineInternalID_${object.id};width=400\"/>\n </div>\n <div>\n <fmt:message key=\"locatedSequenceFeature.GBrowse.message\"/>\n </div>\n</html:link>\n<!-- /locatedSequenceFeatureImage.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/fmt\" prefix=\"fmt\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n\n<fmt:setBundle basename=\"model\"/>\n\n<!-- locatedSequenceFeatureImage.jsp -->\n<html:link href=\"${WEB_PROPERTIES['gbrowse.prefix']}/${WEB_PROPERTIES['gbrowse.source]}?name=${cld.unqualifiedName}:FlyMineInternalID_${object.id};width=800\">\n <div>\n <html:img src=\"${WEB_PROPERTIES['gbrowse_image.prefix']}/${WEB_PROPERTIES['gbrowse.source']}?name=${cld.unqualifiedName}:FlyMineInternalID_${object.id};width=400\"/>\n </div>\n <div>\n <fmt:message key=\"locatedSequenceFeature.GBrowse.message\"/>\n </div>\n</html:link>\n<!-- /locatedSequenceFeatureImage.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Return dojo sample back to dynamic\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://granule.com/tags\" prefix=\"g\" %>\n<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<html>\n<head><title>Simple jsp page</title>\n <style type=\"text/css\">\n @import \"../js/dojo-150/dijit/themes/tundra/tundra.css\";\n @import \"../js/dojo-150/dojo/resources/dojo.css\";\n </style>\n\n\n</head>\n<body class=\"tundra\">\n<script type=\"text/javascript\">\n var djConfig = {\n parseOnLoad: true,\n baseUrl: \"<%=request.getContextPath()%>/js/dojo-150/dojo/\"\n };\n</script>\n<g:compress>\n<script type=\"text/javascript\" src=\"../js/dojo-150/dojo/dojo.js\"></script>\n<script type=\"text/javascript\">\n dojo.require(\"dijit.form.DateTextBox\");\n</script>\n</g:compress>\n<input type=\"text\" name=\"date\" dojoType=\"dijit.form.DateTextBox\" required=\"true\"/>\n</body>\n</html>",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://granule.com/tags\" prefix=\"g\" %>\n<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<html>\n<head><title>Simple jsp page</title>\n <style type=\"text/css\">\n @import \"../js/dojo-150/dijit/themes/tundra/tundra.css\";\n @import \"../js/dojo-150/dojo/resources/dojo.css\";\n </style>\n\n\n</head>\n<body class=\"tundra\">\n<g:compress>\n<script type=\"text/javascript\">\n var djConfig = {\n parseOnLoad: true,\n baseUrl: \"<%=request.getContextPath()%>/js/dojo-150/dojo/\"\n };\n</script>\n<script type=\"text/javascript\" src=\"../js/dojo-150/dojo/dojo.js\"></script>\n<script type=\"text/javascript\">\n dojo.require(\"dijit.form.DateTextBox\");\n</script>\n</g:compress>\n<input type=\"text\" name=\"date\" dojoType=\"dijit.form.DateTextBox\" required=\"true\"/>\n</body>\n</html>",
"role": "assistant"
}
] |
[
{
"content": "WEB: Index page message now constraited to length of text and width is set to parent div.\n\ngit-svn-id: b6a15837887fc66eb4e70e985f27b7d8e8517b50@295 0c6396e7-dfa7-ad41-aac3-ea9b0ac9ed18\n",
"role": "system"
},
{
"content": "<t:page title=\"Welcome to OpticNav\" js=\"login.js\" css=\"front.css\">\n<div id=\"contentHolder\">\n<h1>Welcome to OpticNav</h1>\n<hr></hr>\n <div id=\"rightLogin\">\n <form id=\"login\" action=\"index.jsp\">\n <input type=\"text\" placeholder=\"Username\" id=\"username\"><br/>\n <input type=\"password\" placeholder=\"Password\" id=\"password\"><br/>\n <input type=\"submit\" value=\"Login\" />\n </form>\n Don't have an account? <t:link href=\"/register\">Register now.</t:link>\n <t:message name=\"message\" />\n </div>\n <div id=\"leftContent\">\n <div id=\"slideShow\">\n <div id=\"img1\"></div>\n <div id=\"img2\"></div>\n <div id=\"img3\"></div>\n <div id=\"img4\"></div>\n </div>\n </div>\n</div>\n</t:page>",
"role": "user"
},
{
"content": "<t:page title=\"Welcome to OpticNav\" js=\"login.js\" css=\"front.css\">\n<div id=\"contentHolder\">\n<h1>Welcome to OpticNav</h1>\n<hr></hr>\n <div id=\"rightLogin\">\n <form id=\"login\" action=\"index.jsp\">\n <input type=\"text\" placeholder=\"Username\" id=\"username\"><br/>\n <input type=\"password\" placeholder=\"Password\" id=\"password\"><br/>\n <input type=\"submit\" value=\"Login\" />\n </form>\n Don't have an account? <t:link href=\"/register\">Register now.</t:link>\n <div id=\"messageConstraint\">\n <t:message name=\"message\"/>\n </div>\n </div>\n <div id=\"leftContent\">\n <div id=\"slideShow\">\n <div id=\"img1\"></div>\n <div id=\"img2\"></div>\n <div id=\"img3\"></div>\n <div id=\"img4\"></div>\n </div>\n </div>\n</div>\n</t:page>",
"role": "assistant"
}
] |
[
{
"content": "Add invoice links to backend sidebar\n",
"role": "system"
},
{
"content": "<fieldset>\n\t<legend>Posts</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/BatchPosts.jsp\">List All</a></li>\n\t\t<li><a href=\"/clubhub/admin/AddPost.jsp\">Add New</a></li>\n\t</ul>\n</fieldset>\n\n<fieldset>\n\t<legend>Users</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/BatchUsers.jsp\">List All</a></li>\n\t\t<li><a href=\"/clubhub/Register.jsp\">Add New</a></li>\n\t</ul>\n</fieldset>\n\n<fieldset>\n\t<legend>Seasons</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/DisplayGames.jsp\">List All</a></li>\n\t\t<li><a href=\"/clubhub/admin/CreateSeason.jsp\">Add New</a></li>\n\t</ul>\n</fieldset>\n\n\n<fieldset>\n\t<legend>Settings</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/UserGuide.jsp\">User Guide</a></li>\n\t\t<li><a href=\"/clubhub/admin/Preferences.jsp\">Preferences</a></li>\n\t</ul>\n</fieldset>\n",
"role": "user"
},
{
"content": "<fieldset>\n\t<legend>Posts</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/BatchPosts.jsp\">List All</a></li>\n\t\t<li><a href=\"/clubhub/admin/AddPost.jsp\">Add New</a></li>\n\t</ul>\n</fieldset>\n\n<fieldset>\n\t<legend>Users</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/BatchUsers.jsp\">List All</a></li>\n\t\t<li><a href=\"/clubhub/Register.jsp\">Add New</a></li>\n\t</ul>\n</fieldset>\n\n<fieldset>\n\t<legend>Invoices</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/BatchUsers.jsp\">List All</a></li>\n\t\t<li><a href=\"/clubhub/admin/AddInvoice.jsp\">Add Invoice</a></li>\n\t\t<li><a href=\"/clubhub/admin/AddLineItems.jsp\">Add Item</a></li>\n\t</ul>\n</fieldset>\n\n<fieldset>\n\t<legend>Seasons</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/DisplayGames.jsp\">List All</a></li>\n\t\t<li><a href=\"/clubhub/admin/CreateSeason.jsp\">Add New</a></li>\n\t</ul>\n</fieldset>\n\n\n<fieldset>\n\t<legend>Settings</legend>\n\t<ul>\n\t\t<li><a href=\"/clubhub/admin/UserGuide.jsp\">User Guide</a></li>\n\t\t<li><a href=\"/clubhub/admin/Preferences.jsp\">Preferences</a></li>\n\t</ul>\n</fieldset>\n",
"role": "assistant"
}
] |
[
{
"content": "Switch to two space indentation in .jsp files for prettier format\n",
"role": "system"
},
{
"content": "<%@ page contentType='text/html' pageEncoding='UTF-8' %>\n<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>\n<!DOCTYPE html>\n<html>\n <head>\n <meta charset='UTF-8'>\n <title>Portti</title>\n </head>\n <body>\n\n <h1>Portti</h1>\n\n <ul>\n <li><a href='<c:url value=\"/spring_security_login\" />'>Login</a></li>\n <li><a href='<c:url value=\"/j_spring_security_logout\" />'>Logout</a></li>\n </ul>\n\n <p>OAuth 2.0 authorisation and resource provider.</p>\n\n </body>\n</html>\n",
"role": "user"
},
{
"content": "<%@ page contentType='text/html' pageEncoding='UTF-8' %>\n<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>\n<!DOCTYPE html>\n<html>\n <head>\n <meta charset='UTF-8'>\n <title>Portti</title>\n </head>\n <body>\n\n <h1>Portti</h1>\n\n <ul>\n <li><a href='<c:url value=\"/spring_security_login\" />'>Login</a></li>\n <li><a href='<c:url value=\"/j_spring_security_logout\" />'>Logout</a></li>\n </ul>\n\n <p>OAuth 2.0 authorisation and resource provider.</p>\n\n </body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Fix bug: WMarket not redirecting users to the main page\n",
"role": "system"
},
{
"content": "<div class=\"navbar navbar-fixed-top\">\n <div class=\"container\">\n <div class=\"navbar-header\">\n <a class=\"navbar-brand\" href=\"${ pageContext.request.contextPath }\">WMarket</a>\n </div>\n <div class=\"navbar-element pull-left\">\n <button id=\"toggle-left-sidebar\" class=\"btn btn-default\" type=\"button\">\n <span class=\"btn-icon fa fa-bars\"></span>\n </button>\n </div>\n <div class=\"navbar-element pull-right\">\n <button id=\"toggle-right-sidebar\" class=\"btn btn-primary\" type=\"button\">\n <img class=\"btn-icon image image-rounded\" src=\"${ user.imageUrl }\" />\n <span class=\"btn-text hidden-sm\">${ user.displayName }</span>\n </button>\n </div>\n </div>\n</div>",
"role": "user"
},
{
"content": "<div class=\"navbar navbar-fixed-top\">\n <div class=\"container\">\n <div class=\"navbar-header\">\n <a class=\"navbar-brand\" href=\"${ pageContext.request.contextPath }/\">WMarket</a>\n </div>\n <div class=\"navbar-element pull-left\">\n <button id=\"toggle-left-sidebar\" class=\"btn btn-default\" type=\"button\">\n <span class=\"btn-icon fa fa-bars\"></span>\n </button>\n </div>\n <div class=\"navbar-element pull-right\">\n <button id=\"toggle-right-sidebar\" class=\"btn btn-primary\" type=\"button\">\n <img class=\"btn-icon image image-rounded\" src=\"${ user.imageUrl }\" />\n <span class=\"btn-text hidden-sm\">${ user.displayName }</span>\n </button>\n </div>\n </div>\n</div>",
"role": "assistant"
}
] |
[
{
"content": "Use the default resource without explicitly set the resource",
"role": "system"
},
{
"content": "<%@page import=\"javax.jcr.Session\"%>\n<%@page session=\"false\"\n contentType=\"text/html; charset=utf-8\"\n trimDirectiveWhitespaces=\"true\"\n%>\n<%@taglib prefix=\"sling\" uri=\"http://sling.apache.org/taglibs/sling\" %>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n<sling:defineObjects/>\n<c:set var=\"staticRoot\" value=\"/apps/browser/static\" scope=\"request\" />\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<sling:include resource=\"${resource}\" replaceSelectors=\"components.head\"/>\n\t</head>\n\t<body>\n\t\t<c:choose>\n\t\t\t<c:when test=\"${slingRequest.resourceResolver.userID == 'anonymous'}\">\n\t\t\t\t<sling:include resource=\"${resource}\" replaceSelectors=\"components.login\"/>\n\t\t\t</c:when>\n\t\t\t<c:otherwise>\n\t\t\t<sling:include resource=\"${resource}\" replaceSelectors=\"components.bodyContent\"/>\n\t\t</c:otherwise>\n\t\t</c:choose>\n\t\t<sling:include resource=\"${resource}\" replaceSelectors=\"components.tail\"/>\n\t</body>\n</html>\n\n\n\n\n\n",
"role": "user"
},
{
"content": "<%@page import=\"javax.jcr.Session\"%>\n<%@page session=\"false\"\n contentType=\"text/html; charset=utf-8\"\n trimDirectiveWhitespaces=\"true\"\n%>\n<%@taglib prefix=\"sling\" uri=\"http://sling.apache.org/taglibs/sling\" %>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n<sling:defineObjects/>\n<c:set var=\"staticRoot\" value=\"/apps/browser/static\" scope=\"request\" />\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<sling:include replaceSelectors=\"components.head\"/>\n\t</head>\n\t<body>\n\t\t<c:choose>\n\t\t\t<c:when test=\"${slingRequest.resourceResolver.userID == 'anonymous'}\">\n\t\t\t\t<sling:include replaceSelectors=\"components.login\"/>\n\t\t\t</c:when>\n\t\t\t<c:otherwise>\n\t\t\t<sling:include replaceSelectors=\"components.bodyContent\"/>\n\t\t</c:otherwise>\n\t\t</c:choose>\n\t\t<sling:include replaceSelectors=\"components.tail\"/>\n\t</body>\n</html>\n\n\n\n\n\n",
"role": "assistant"
}
] |
[
{
"content": "LUTECE-1772: Add id preview to iframe preview\n\ngit-svn-id: 890dd67775b5971c21efd90062c158582082fe1b@69596 bab10101-e421-0410-a517-8ce0973de3ef\n",
"role": "system"
},
{
"content": "<%@ page errorPage=\"../ErrorPage.jsp\" %>\r\n<%@ page import=\"java.util.Enumeration\" %>\r\n\r\n<jsp:include page=\"../AdminHeader.jsp\" />\r\n<jsp:useBean id=\"admin\" scope=\"session\" class=\"fr.paris.lutece.portal.web.admin.AdminPageJspBean\" />\r\n\r\n<% admin.init( request , admin.RIGHT_MANAGE_ADMIN_SITE ); %>\r\n\r\n<jsp:include page=\"AdminPage.jsp\" />\r\n\r\n<%\r\n\tString strParams = \"\";\r\n\tString strSeparator = \"?\";\r\n\tEnumeration paramNames = request.getParameterNames();\r\n\tint i = 0;\r\n\twhile( paramNames.hasMoreElements() )\r\n\t{\r\n i = i + 1;\r\n if( i > 1 )\r\n {\r\n strSeparator = \"&\";\r\n }\r\n String strParamName = (String) paramNames.nextElement();\r\n String strParamValue = request.getParameter( strParamName );\r\n strParams += strSeparator + strParamName + \"=\" + strParamValue;\r\n\t}\r\n\r\n String strClassPreview = \"\";\r\n \r\n String strParamBlock = request.getParameter(\"param_block\");\r\n\r\n int nParamBlock = strParamBlock != null ? Integer.parseInt( strParamBlock ) : 0;\r\n\r\n\r\n%>\r\n<iframe name=\"preview\" src=\"jsp/admin/site/AdminPagePreview.jsp<%= strParams %>\" width=\"100%\" height=\"750\" scrolling=\"auto\">Prévisualisation du site</iframe>\r\n<%@ include file=\"../AdminFooter.jsp\"%>",
"role": "user"
},
{
"content": "<%@ page errorPage=\"../ErrorPage.jsp\" %>\r\n<%@ page import=\"java.util.Enumeration\" %>\r\n\r\n<jsp:include page=\"../AdminHeader.jsp\" />\r\n<jsp:useBean id=\"admin\" scope=\"session\" class=\"fr.paris.lutece.portal.web.admin.AdminPageJspBean\" />\r\n\r\n<% admin.init( request , admin.RIGHT_MANAGE_ADMIN_SITE ); %>\r\n\r\n<jsp:include page=\"AdminPage.jsp\" />\r\n\r\n<%\r\n\tString strParams = \"\";\r\n\tString strSeparator = \"?\";\r\n\tEnumeration paramNames = request.getParameterNames();\r\n\tint i = 0;\r\n\twhile( paramNames.hasMoreElements() )\r\n\t{\r\n i = i + 1;\r\n if( i > 1 )\r\n {\r\n strSeparator = \"&\";\r\n }\r\n String strParamName = (String) paramNames.nextElement();\r\n String strParamValue = request.getParameter( strParamName );\r\n strParams += strSeparator + strParamName + \"=\" + strParamValue;\r\n\t}\r\n\r\n String strClassPreview = \"\";\r\n \r\n String strParamBlock = request.getParameter(\"param_block\");\r\n\r\n int nParamBlock = strParamBlock != null ? Integer.parseInt( strParamBlock ) : 0;\r\n\r\n\r\n%>\r\n<iframe id=\"preview\" name=\"preview\" src=\"jsp/admin/site/AdminPagePreview.jsp<%= strParams %>\" width=\"100%\" height=\"750\" scrolling=\"auto\">Prévisualisation du site</iframe>\r\n<%@ include file=\"../AdminFooter.jsp\"%>",
"role": "assistant"
}
] |
[
{
"content": "Clean up, better HTML, etc.\n",
"role": "system"
},
{
"content": "<h1>Spring Boot Demo</h1>\r\n\r\n${model.greets}",
"role": "user"
},
{
"content": "<html>\r\n<head><title>SpringBoot Demo</title></head>\r\n<body>\r\n<h1>Spring Boot Demo</h1>\r\n\r\n${greetings}\r\n\r\n</body>\r\n</html>",
"role": "assistant"
}
] |
[
{
"content": "Simplify data access on views\n",
"role": "system"
},
{
"content": "<%@include file=\"includes/header.jsp\" %>\n\n <div class=\"container\">\n <nav class=\"navbar navbar-inverse\">\n <div class=\"container-fluid\">\n <div class=\"collapse navbar-collapse\">\n <form class=\"navbar-form navbar-left\">\n <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n <input type=\"password\" class=\"form-control\" placeholder=\"Password\">\n <input type=\"submit\" class=\"btn btn-default\">\n </form>\n <a href=\"registration\" class=\"navbar-right btn btn-default navbar-btn\">create account</a>\n </div>\n </div>\n </nav>\n\n <h1 class=\"text-center\">Welcome to GamY!</h1>\n <p>${requestScope.accountCreated} accounts created</p>\n <p>${requestScope.applicationManaged} applications managed</p>\n <p>${requestScope.userByApp} users created by applications during the last 30 days</p>\n \n<%@include file=\"includes/footer.jsp\" %>\n\n",
"role": "user"
},
{
"content": "<%@include file=\"includes/header.jsp\" %>\n\n <div class=\"container\">\n <nav class=\"navbar navbar-inverse\">\n <div class=\"container-fluid\">\n <div class=\"collapse navbar-collapse\">\n <form class=\"navbar-form navbar-left\">\n <input type=\"text\" class=\"form-control\" placeholder=\"Username\">\n <input type=\"password\" class=\"form-control\" placeholder=\"Password\">\n <input type=\"submit\" class=\"btn btn-default\">\n </form>\n <a href=\"registration\" class=\"navbar-right btn btn-default navbar-btn\">create account</a>\n </div>\n </div>\n </nav>\n\n <h1 class=\"text-center\">Welcome to GamY!</h1>\n <p>${accountCreated} accounts created</p>\n <p>${applicationManaged} applications managed</p>\n <p>${userByApp} users created by applications during the last 30 days</p>\n \n<%@include file=\"includes/footer.jsp\" %>\n\n",
"role": "assistant"
}
] |
[
{
"content": "Disable submit button when nothing is on view\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/fmt\" prefix=\"fmt\" %>\n\n<!-- queryActions.jsp -->\n <div class=\"heading\">\n <fmt:message key=\"view.actions\"/>\n </div>\n <div class=\"body actions\" align=\"right\">\n <p><html:form action=\"/viewAction\" styleId=\"submitform\">\n <html:image property=\"action\" src=\"images/show_results.png\">\n <fmt:message key=\"view.showresults\"/>\n </html:image>\n </html:form><p/>\n\t <c:if test=\"${!empty PROFILE.username && TEMPLATE_BUILD_STATE == null}\">\n\t <p><form action=\"<html:rewrite action=\"/mainChange\"/>\" method=\"post\">\n\t or... <input type=\"hidden\" name=\"method\" value=\"startTemplateBuild\"/>\n\t <input type=\"submit\" value=\"Start building a template query\" />\n\t </form><p/>\n\t </c:if>\n <p>\n <tiles:insert page=\"saveQuery.jsp\"/>\n </p>\n </div>\n<!-- /queryActions.jsp -->",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/fmt\" prefix=\"fmt\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/functions\" prefix=\"fn\" %>\n\n<!-- queryActions.jsp -->\n <div class=\"heading\">\n <fmt:message key=\"view.actions\"/>\n </div>\n <div class=\"body actions\" align=\"right\">\n <p><html:form action=\"/viewAction\" styleId=\"submitform\">\n <html:image property=\"action\" src=\"images/show_results.png\" disabled=\"${fn:length(viewStrings) <= 0}\">\n <fmt:message key=\"view.showresults\"/>\n </html:image>\n </html:form><p/>\n\t <c:if test=\"${!empty PROFILE.username && TEMPLATE_BUILD_STATE == null}\">\n\t <p><form action=\"<html:rewrite action=\"/mainChange\"/>\" method=\"post\">\n\t or... <input type=\"hidden\" name=\"method\" value=\"startTemplateBuild\"/>\n\t <input type=\"submit\" value=\"Start building a template query\" />\n\t </form><p/>\n\t </c:if>\n <p>\n <tiles:insert page=\"saveQuery.jsp\"/>\n </p>\n </div>\n<!-- /queryActions.jsp -->",
"role": "assistant"
}
] |
[
{
"content": "Use the classCounts Map to show only those classes that have more than one\ninstance.\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt\" prefix=\"fmt\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html-el.tld\" prefix=\"html\" %>\n\n<tiles:importAttribute/>\n\n<!-- queryClassSelect.jsp -->\n<html:form action=\"/queryClassSelect\">\n <html:select property=\"className\" size=\"20\">\n <c:forEach items=\"${classes}\" var=\"entry\">\n <html:option value=\"${entry.key}\">\n <c:out value=\"${entry.value}\"/>\n </html:option>\n </c:forEach>\n </html:select>\n <br/>\n <html:submit property=\"action\">\n <fmt:message key=\"button.addclass\"/>\n </html:submit>\n <html:submit property=\"action\">\n <fmt:message key=\"button.browse\"/>\n </html:submit>\n</html:form>\n<!-- /queryClassSelect.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt\" prefix=\"fmt\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"/WEB-INF/struts-html-el.tld\" prefix=\"html\" %>\n\n<tiles:importAttribute/>\n\n<!-- queryClassSelect.jsp -->\n<html:form action=\"/queryClassSelect\">\n <html:select property=\"className\" size=\"20\">\n <c:forEach items=\"${classes}\" var=\"entry\">\n <c:if test=\"${classCounts[entry.key] > 0}\">--%>\n <html:option value=\"${entry.key}\">\n <c:out value=\"${entry.value}\"/>\n </html:option>\n </c:if>\n </c:forEach>\n </html:select>\n <br/>\n <html:submit property=\"action\">\n <fmt:message key=\"button.addclass\"/>\n </html:submit>\n <html:submit property=\"action\">\n <fmt:message key=\"button.browse\"/>\n </html:submit>\n</html:form>\n<!-- /queryClassSelect.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Use EL instead of scripting.\n",
"role": "system"
},
{
"content": "<%@ page import=\"java.util.*\" contentType=\"application/json; charset=UTF-8\" pageEncoding=\"UTF-8\" %>\n<%\nout.print(\"{ \\\"result\\\": \\\"\" + request.getAttribute(\"result\") + \"\\\" }\");\n%>\n",
"role": "user"
},
{
"content": "<%@ page contentType=\"application/json; charset=UTF-8\" pageEncoding=\"UTF-8\" %>\n{ \"result\": \"${result}\" }\n",
"role": "assistant"
}
] |
[
{
"content": "Set term browser logo hyperlink to term browser home.\n\ngit-svn-id: 8a910031c78bbe8a754298bb28800c1494820db3@989 0604bb77-1110-461e-859e-28c50bf9b280\n",
"role": "system"
},
{
"content": "<!-- Thesaurus, banner search area -->\r\n<div class=\"bannerarea\">\r\n <div class=\"banner\"><a href=\"<%=basePath%>\"><img src=\"<%=basePath%>/images/evs_termsbrowser_logo.gif\" width=\"383\" height=\"97\" alt=\"Thesaurus Browser Logo\" border=\"0\"/></a></div>\r\n <div class=\"search-globalnav\">\r\n <!-- Search box -->\r\n <div class=\"searchbox-top\"><img src=\"<%=basePath%>/images/searchbox-top.gif\" width=\"352\" height=\"2\" alt=\"SearchBox Top\" /></div>\r\n <div class=\"searchbox\"><%@ include file=\"searchForm-termbrowser.jsp\" %></div>\r\n <div class=\"searchbox-bottom\"><img src=\"<%=basePath%>/images/searchbox-bottom.gif\" width=\"352\" height=\"2\" alt=\"SearchBox Bottom\" /></div>\r\n <!-- end Search box -->\r\n <!-- Global Navigation -->\r\n <%@ include file=\"menuBar-termbrowser.jsp\" %>\r\n <!-- end Global Navigation -->\r\n </div>\r\n</div>\r\n<!-- end Thesaurus, banner search area -->\r\n<!-- Quick links bar -->\r\n<%@ include file=\"quickLink.jsp\" %>\r\n<!-- end Quick links bar -->",
"role": "user"
},
{
"content": "<!-- Thesaurus, banner search area -->\r\n<div class=\"bannerarea\">\r\n <div class=\"banner\"><a href=\"<%=basePath%>/start.jsf\"><img src=\"<%=basePath%>/images/evs_termsbrowser_logo.gif\" width=\"383\" height=\"97\" alt=\"Thesaurus Browser Logo\" border=\"0\"/></a></div>\r\n <div class=\"search-globalnav\">\r\n <!-- Search box -->\r\n <div class=\"searchbox-top\"><img src=\"<%=basePath%>/images/searchbox-top.gif\" width=\"352\" height=\"2\" alt=\"SearchBox Top\" /></div>\r\n <div class=\"searchbox\"><%@ include file=\"searchForm-termbrowser.jsp\" %></div>\r\n <div class=\"searchbox-bottom\"><img src=\"<%=basePath%>/images/searchbox-bottom.gif\" width=\"352\" height=\"2\" alt=\"SearchBox Bottom\" /></div>\r\n <!-- end Search box -->\r\n <!-- Global Navigation -->\r\n <%@ include file=\"menuBar-termbrowser.jsp\" %>\r\n <!-- end Global Navigation -->\r\n </div>\r\n</div>\r\n<!-- end Thesaurus, banner search area -->\r\n<!-- Quick links bar -->\r\n<%@ include file=\"quickLink.jsp\" %>\r\n<!-- end Quick links bar -->",
"role": "assistant"
}
] |
[
{
"content": "Add github link; formatting repairs.",
"role": "system"
},
{
"content": "<html>\r\n<head><title>SpringBoot Demo</title></head>\r\n<body>\r\n<h1>Spring Boot Demo</h1>\r\n\r\n${greetings}\r\n\r\n</body>\r\n</html>",
"role": "user"
},
{
"content": "<html>\r\n<head><title>SpringBoot Demo</title></head>\r\n<body>\r\n<h1>Spring Boot Demo</h1>\r\n<p>\r\n${greetings}\r\n</p>\r\n<p>\r\n<a href=\"https://github.com/IanDarwin/springbootdemo\">View on GitHub</a>\r\n</p>\r\n</body>\r\n</html>",
"role": "assistant"
}
] |
[
{
"content": "Update stale link to scans.gradle.com\n",
"role": "system"
},
{
"content": "<%@ include file=\"/include.jsp\" %>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<div>\n<c:choose>\n <c:when test=\"${buildScans.size()>1}\">\n <div>\n Build scans\n <a href=\"${buildScans.first().url}\" target=\"_blank\">${buildScans.first().urlWithoutProtocol}</a><c:forEach items=\"${buildScans.all()}\" var=\"buildScan\" begin=\"1\">,\n <a href=\"${buildScan.url}\" target=\"_blank\">${buildScan.urlWithoutProtocol}</a></c:forEach> have been published.\n </div>\n </c:when>\n <c:when test=\"${!buildScans.isEmpty()}\">\n <div>Build scan <a href=\"${buildScans.first().url}\" target=\"_blank\">${buildScans.first().urlWithoutProtocol}</a> has been published.</div>\n </c:when>\n <c:otherwise>\n <div>\n No build scans have been published.\n Learn more about how to enable Gradle build scans <a href=\"https://gradle.com/get-started\" target=\"_blank\">here</a>.\n </div>\n </c:otherwise>\n</c:choose>\n</div>\n",
"role": "user"
},
{
"content": "<%@ include file=\"/include.jsp\" %>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<div>\n<c:choose>\n <c:when test=\"${buildScans.size()>1}\">\n <div>\n Build scans\n <a href=\"${buildScans.first().url}\" target=\"_blank\">${buildScans.first().urlWithoutProtocol}</a><c:forEach items=\"${buildScans.all()}\" var=\"buildScan\" begin=\"1\">,\n <a href=\"${buildScan.url}\" target=\"_blank\">${buildScan.urlWithoutProtocol}</a></c:forEach> have been published.\n </div>\n </c:when>\n <c:when test=\"${!buildScans.isEmpty()}\">\n <div>Build scan <a href=\"${buildScans.first().url}\" target=\"_blank\">${buildScans.first().urlWithoutProtocol}</a> has been published.</div>\n </c:when>\n <c:otherwise>\n <div>\n No build scans have been published.\n Learn more about how to enable Gradle build scans <a href=\"https://scans.gradle.com\" target=\"_blank\">here</a>.\n </div>\n </c:otherwise>\n</c:choose>\n</div>\n",
"role": "assistant"
}
] |
[
{
"content": "Clarify message; address TODO about onComplete lightbox deactivation interfering with showing wrong password message\n",
"role": "system"
},
{
"content": "<%@ page contentType=\"text/javascript;charset=UTF-8\" language=\"java\" %>\n<%@taglib prefix=\"jsgen\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/jsgenerator\"%>\n<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\"%>\n<jsgen:replaceHtml targetElement=\"lightbox\">\n <h1>Session timed out</h1>\n <div id=\"lightbox-content\">\n <p>\n Your session has expired. For security, please log in again\n and then retry your last action.\n </p>\n <tags:loginForm ajax=\"${true}\"/>\n </div>\n</jsgen:replaceHtml>\nLB.Lightbox.activate()\nEvent.observe('login', 'submit', function(e) {\n $('login-indicator').reveal()\n Event.stop(e);\n // TODO: deactivate is up here because otherwise it interferes with showing the bad password message.\n // Should figure out an alternative mechanism\n LB.Lightbox.deactivate()\n SC.asyncSubmit('login', {\n onComplete: function() {\n $('login-indicator').conceal()\n },\n onFailure: function() {\n // TODO:\n alert(\"Need error handling\")\n }\n })\n})\nEvent.observe('login-cancel-button', 'click', function() { LB.Lightbox.deactivate() });",
"role": "user"
},
{
"content": "<%@ page contentType=\"text/javascript;charset=UTF-8\" language=\"java\" %>\n<%@taglib prefix=\"jsgen\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/jsgenerator\"%>\n<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\"%>\n<jsgen:replaceHtml targetElement=\"lightbox\">\n <h1>Session timed out</h1>\n <div id=\"lightbox-content\">\n <p>\n Your session has expired. Please log in again.\n Once you've logged in, you may need to retry your\n last action.\n </p>\n <tags:loginForm ajax=\"${true}\"/>\n </div>\n</jsgen:replaceHtml>\nLB.Lightbox.activate()\nEvent.observe('login', 'submit', function(e) {\n $('login-indicator').reveal()\n Event.stop(e);\n SC.asyncSubmit('login', {\n onLoaded: function() {\n $('login-indicator').conceal()\n LB.Lightbox.deactivate()\n },\n onFailure: function() {\n // TODO:\n alert(\"Need error handling\")\n }\n })\n})\nEvent.observe('login-cancel-button', 'click', function() { LB.Lightbox.deactivate() });",
"role": "assistant"
}
] |
[
{
"content": "Add link to manage Gradle init scripts\n",
"role": "system"
},
{
"content": "\n<%@ include file=\"/include-internal.jsp\"%>\n<%@ page import=\"com.github.rodm.teamcity.gradle.scripts.GradleInitScriptsPlugin\" %>\n\n<c:set var=\"INIT_SCRIPT_NAME_PARAMETER\" value=\"<%=GradleInitScriptsPlugin.INIT_SCRIPT_NAME_PARAMETER%>\"/>\n\n<l:settingsGroup title=\"Gradle Init Scripts\" className=\"advancedSetting\">\n <tr class=\"advancedSetting\">\n <th class=\"noBorder\"><label for=\"${INIT_SCRIPT_NAME_PARAMETER}\">Initialization script:</label></th>\n <td class=\"noBorder\">\n <jsp:include page=\"/admin/initScripts.html?projectId=${buildForm.project.projectId}&chooserName=${INIT_SCRIPT_NAME_PARAMETER}\"/>\n </td>\n </tr>\n</l:settingsGroup>\n",
"role": "user"
},
{
"content": "\n<%@ include file=\"/include-internal.jsp\"%>\n<%@ page import=\"com.github.rodm.teamcity.gradle.scripts.GradleInitScriptsPlugin\" %>\n\n<c:set var=\"INIT_SCRIPT_NAME_PARAMETER\" value=\"<%=GradleInitScriptsPlugin.INIT_SCRIPT_NAME_PARAMETER%>\"/>\n\n<l:settingsGroup title=\"Gradle Init Scripts\" className=\"advancedSetting\">\n <tr class=\"advancedSetting\">\n <th class=\"noBorder\"><label for=\"${INIT_SCRIPT_NAME_PARAMETER}\">Initialization script:</label></th>\n <td class=\"noBorder\">\n <jsp:include page=\"/admin/initScripts.html?projectId=${buildForm.project.projectId}&chooserName=${INIT_SCRIPT_NAME_PARAMETER}\"/>\n <span class=\"smallNote\">Select one of the predefined scripts.</span>\n <span>\n <admin:editProjectLink projectId=\"${buildForm.project.externalId}\" addToUrl=\"&tab=gradleInitScripts\">\n Manage init scripts\n </admin:editProjectLink>\n </span>\n </td>\n </tr>\n</l:settingsGroup>\n",
"role": "assistant"
}
] |
[
{
"content": "LUTECE-2221: Remove unused footer for login screen\n",
"role": "system"
},
{
"content": "<%@ page errorPage=\"ErrorPage.jsp\" %>\r\n<jsp:include page=\"AdminHeaderSessionLess.jsp\" />\r\n<jsp:useBean id=\"login\" scope=\"request\" class=\"fr.paris.lutece.portal.web.user.AdminLoginJspBean\" />\r\n<%= login.getLogin( request, response ) %>\r\n<%@ include file=\"AdminFooter.jsp\" %>",
"role": "user"
},
{
"content": "<%@ page errorPage=\"ErrorPage.jsp\" %>\r\n<jsp:include page=\"AdminHeaderSessionLess.jsp\" />\r\n<jsp:useBean id=\"login\" scope=\"request\" class=\"fr.paris.lutece.portal.web.user.AdminLoginJspBean\" />\r\n<%= login.getLogin( request, response ) %>",
"role": "assistant"
}
] |
[
{
"content": "Put queryName at the top.\nRemove saveQuery and returnToQuery\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html-el.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt\" prefix=\"fmt\" %>\n\n<tiles:importAttribute/>\n\n<!-- results.jsp -->\n<tiles:get name=\"table\"/>\n<tiles:get name=\"saveQuery\"/>\n<tiles:get name=\"queryName\"/>\n<html:link action=\"/query\"><fmt:message key=\"results.returnToQuery\"/></html:link>\n<!-- /results.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"/WEB-INF/struts-html-el.tld\" prefix=\"html\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt\" prefix=\"fmt\" %>\n\n<tiles:importAttribute/>\n\n<!-- results.jsp -->\n<tiles:get name=\"queryName\"/>\n<tiles:get name=\"table\"/>\n<!-- /results.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Change font of \"Manage Samples\" from h3 to h4, to be consist with Protocol and Publication.\n\nSVN-Revision: 15352\n",
"role": "system"
},
{
"content": "<tr>\r\n\t<td>\r\n\t\t<h3>\r\n\t\t\tManage Samples\r\n\t\t</h3>\r\n\t</td>\r\n\t<td align=\"right\" width=\"20%\">\r\n\t\t<jsp:include page=\"/helpGlossary.jsp\">\r\n\t\t\t<jsp:param name=\"topic\" value=\"manage_nanoparticles_help\" />\r\n\t\t\t<jsp:param name=\"glossaryTopic\" value=\"glossary_help\" />\r\n\t\t</jsp:include>\r\n\t</td>\r\n</tr>\r\n<tr>\r\n\t<td colspan=\"2\" class=\"welcomeContent\">\r\n\t\tThis is the manage samples section which allows users to enter\r\n\t\tinformation about a sample. Sample information includes\r\n\t\tgeneral information about the sample, the functions of the\r\n\t\tsample, the samples' composition, and the physical and in\r\n\t\tvitro characterizations and characterization result files. In this\r\n\t\tsection, depending on your authorization level, you may submit new\r\n\t\tsample information or search for an existing sample for\r\n\t\tediting, viewing, printing, or exporting.\r\n\t\t<br>\r\n\t\t<br>\r\n\t</td>\r\n</tr>\r\n",
"role": "user"
},
{
"content": "<tr>\r\n\t<td>\r\n\t\t<h4>\r\n\t\t\tManage Samples\r\n\t\t</h4>\r\n\t</td>\r\n\t<td align=\"right\" width=\"20%\">\r\n\t\t<jsp:include page=\"/helpGlossary.jsp\">\r\n\t\t\t<jsp:param name=\"topic\" value=\"manage_nanoparticles_help\" />\r\n\t\t\t<jsp:param name=\"glossaryTopic\" value=\"glossary_help\" />\r\n\t\t</jsp:include>\r\n\t</td>\r\n</tr>\r\n<tr>\r\n\t<td colspan=\"2\" class=\"welcomeContent\">\r\n\t\tThis is the manage samples section which allows users to enter\r\n\t\tinformation about a sample. Sample information includes\r\n\t\tgeneral information about the sample, the functions of the\r\n\t\tsample, the samples' composition, and the physical and in\r\n\t\tvitro characterizations and characterization result files. In this\r\n\t\tsection, depending on your authorization level, you may submit new\r\n\t\tsample information or search for an existing sample for\r\n\t\tediting, viewing, printing, or exporting.\r\n\t\t<br>\r\n\t\t<br>\r\n\t</td>\r\n</tr>\r\n",
"role": "assistant"
}
] |
[
{
"content": "Fix for JIRA issue - CEP-1280\n",
"role": "system"
},
{
"content": "<%--\n ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n ~\n ~ WSO2 Inc. licenses this file to you under the Apache License,\n ~ Version 2.0 (the \"License\"); you may not use this file except\n ~ in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ http://www.apache.org/licenses/LICENSE-2.0\n ~\n ~ Unless required by applicable law or agreed to in writing,\n ~ software distributed under the License is distributed on an\n ~ \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n ~ KIND, either express or implied. See the License for the\n ~ specific language governing permissions and limitations\n ~ under the License.\n --%>\n\n<script type=\"text/javascript\">\n jQuery(document).ready(function () {\n var url = window.location.origin + \"/portal\";\n var win = window.open(url, '_blank');\n win.focus();\n });\n</script>",
"role": "user"
},
{
"content": "<%--\n ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n ~\n ~ WSO2 Inc. licenses this file to you under the Apache License,\n ~ Version 2.0 (the \"License\"); you may not use this file except\n ~ in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ http://www.apache.org/licenses/LICENSE-2.0\n ~\n ~ Unless required by applicable law or agreed to in writing,\n ~ software distributed under the License is distributed on an\n ~ \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n ~ KIND, either express or implied. See the License for the\n ~ specific language governing permissions and limitations\n ~ under the License.\n --%>\n\n<script type=\"text/javascript\">\n jQuery(document).ready(function () {\n var url = window.location.origin + \"/portal\";\n var consoleUrl = window.location.origin + \"/carbon/admin/index.jsp\";\n var win = window.open(url, '_blank');\n win.focus();\n window.location.href = consoleUrl;\n });\n</script>",
"role": "assistant"
}
] |
[
{
"content": "Add the project survey link to the UI.\n",
"role": "system"
},
{
"content": "<footer>\n <jsp:include page=\"/footer-scripts.jsp\" />\n <p style=\"text-align: center;\">\n <a href=\"http://tachyon-project.org/\" target=\"_blank\">Tachyon</a> is an <a href=\"https://github.com/amplab/tachyon\" target=\"_blank\">open source</a> project developed at the UC Berkeley <a href=\"https://amplab.cs.berkeley.edu\" target=\"_blank\">AMPLab</a>.\n </br>\n For help or advice using Tachyon, post a topic on the <a href=\"https://groups.google.com/forum/#!forum/tachyon-users\">user mailing list</a>.\n </p>\n</footer>\n",
"role": "user"
},
{
"content": "<footer>\n <jsp:include page=\"/footer-scripts.jsp\" />\n <p style=\"text-align: center;\">\n <a href=\"http://tachyon-project.org/\" target=\"_blank\">Tachyon</a> is an <a href=\"https://github.com/amplab/tachyon\" target=\"_blank\">open source</a> project developed at the UC Berkeley <a href=\"https://amplab.cs.berkeley.edu\" target=\"_blank\">AMPLab</a>.\n </br>\n For help or advice using Tachyon, post a topic on the <a href=\"https://groups.google.com/forum/#!forum/tachyon-users\">user mailing list</a>.\n </br>\n Any feedback through the <a href=\"http://tachyon-project.org/resources/survey-users\">project survey</a> is greatly appreciated.\n </p>\n</footer>\n",
"role": "assistant"
}
] |
[
{
"content": "Handle Learn More >> button.\n\nClosed #125.",
"role": "system"
},
{
"content": "<div class=\"container\">\r\n\t<img alt=\"JAthenaeum\" class=\"img-responsive\" src=\"image/logo.png\" />\r\n\t<p>Java Web Application to handle a library.</p>\r\n\t<p>\r\n\t\t<a class=\"btn btn-primary btn-lg\" role=\"button\">Learn more »</a>\r\n\t</p>\r\n</div>",
"role": "user"
},
{
"content": "<div class=\"container\">\r\n\t<img alt=\"JAthenaeum\" class=\"img-responsive\" src=\"image/logo.png\" />\r\n\t<p>Java Web Application to handle a library.</p>\r\n\t<p>\r\n\t\t<a class=\"btn btn-primary btn-lg\" role=\"button\" href=\"https://github.com/JCPP/JAthenaeum\" target=\"_blank\">Learn more »</a>\r\n\t</p>\r\n</div>",
"role": "assistant"
}
] |
[
{
"content": "Change name of variable user in jsp.\n",
"role": "system"
},
{
"content": "<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<div class=\"row-fluid\">\n\t<div class=\"span6\">\n\t\t<h1>Users</h1>\n\t</div>\n\t<div class=\"span6 text-right\">\n\t\t<a class=\"btn btn-primary\" href=\"/users/new\">New</a>\n\t</div>\n</div>\n<table class=\"table table-bordered\">\n\t<tr>\n\t\t<th>Name</th>\n\t\t<th>Email</th>\n\t\t<th>Phone</th>\n\t\t<th>Actions</th>\n\t</tr>\n\t<c:forEach var=\"user\" items=\"${it.users}\">\n\t\t<tr>\n\t\t\t<td>${user.email}</td>\n\t\t\t<td>${user.name}</td>\n\t\t\t<td>${user.phone}</td>\n\t\t\t<td>\n\t\t\t\t<ul class=\"inline\">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<form action=\"/users/edit\" method=\"get\"><button name=\"key\" type=\"submit\" value=\"${user.email}\" class=\"btn btn-primary\">Edit</button></form>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<form action=\"/users/delete\" method=\"post\"><button name=\"key\" type=\"submit\" value=\"${user.email}\" class=\"btn btn-danger\">Delete</button></form>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</td>\n\t\t</tr>\n\t</c:forEach>\n</table>",
"role": "user"
},
{
"content": "<%@page contentType=\"text/html\" pageEncoding=\"UTF-8\"%>\n<%@taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<div class=\"row-fluid\">\n\t<div class=\"span6\">\n\t\t<h1>Users</h1>\n\t</div>\n\t<div class=\"span6 text-right\">\n\t\t<a class=\"btn btn-primary\" href=\"/users/new\">New</a>\n\t</div>\n</div>\n<table class=\"table table-bordered\">\n\t<tr>\n\t\t<th>Name</th>\n\t\t<th>Email</th>\n\t\t<th>Phone</th>\n\t\t<th>Actions</th>\n\t</tr>\n\t<c:forEach var=\"usera\" items=\"${it.users}\">\n\t\t<tr>\n\t\t\t<td>${usera.name}</td>\n\t\t\t<td>${usera.email}</td>\n\t\t\t<td>${usera.phone}</td>\n\t\t\t<td>\n\t\t\t\t<ul class=\"inline\">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<form action=\"/users/edit\" method=\"get\"><button name=\"key\" type=\"submit\" value=\"${usera.email}\" class=\"btn btn-primary\">Edit</button></form>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<form action=\"/users/delete\" method=\"post\"><button name=\"key\" type=\"submit\" value=\"${usera.email}\" class=\"btn btn-danger\">Delete</button></form>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</td>\n\t\t</tr>\n\t</c:forEach>\n</table>",
"role": "assistant"
}
] |
[
{
"content": "3: Change header of Spring example \n\nTask-Url: https://github.com/OpenDDRmobi/openddr-examples/issues/issues/3",
"role": "system"
},
{
"content": "<%@ page session=\"false\" %>\n<%--\n http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable \n\tlaw or agreed to in writing, software distributed under the License is distributed \n\ton an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either \n\texpress or implied. See the License for the specific language governing permissions \n\tand limitations under the License. -->\n--%> \n<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<title>OpenDDR Spring Example</title>\n</head>\n<body>\n<pre>\n<h1>OpenDDR</h1>\nProject name: ${project.name}<br>\nProject version: ${project.version}<br>\nBuild date: ${build.date}<br>\n</pre>\n</body>\n</html>\n",
"role": "user"
},
{
"content": "<%@ page session=\"false\" %>\n<%--\n http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable \n\tlaw or agreed to in writing, software distributed under the License is distributed \n\ton an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either \n\texpress or implied. See the License for the specific language governing permissions \n\tand limitations under the License. -->\n--%> \n<!DOCTYPE html>\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n<title>OpenDDR Spring Example</title>\n</head>\n<body>\n<pre>\n<h1>OpenDDR Spring Example</h1>\nProject name: ${project.name}<br>\nProject version: ${project.version}<br>\nBuild date: ${build.date}<br>\n</pre>\n</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Add authentication link to main body of admin page\n",
"role": "system"
},
{
"content": "<%@taglib prefix=\"security\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/security\" %>\n<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\" %>\n<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib prefix=\"laf\" uri=\"http://gforge.nci.nih.gov/projects/ctmscommons/taglibs/laf\" %>\n<html>\n <head>\n <%--<tags:stylesheetLink name=\"main\"/>--%>\n <style type=\"text/css\">\n ul.menu {\n margin: 0;\n padding: 0;\n }\n ul.menu li {\n padding: 0.5em;\n list-style-type: none;\n margin: 0.5em;\n }\n /*h2 {*/\n /*margin-top: 2em;*/\n /*}*/\n </style>\n </head>\n <body>\n\n <security:secureOperation element=\"/pages/admin/manage/sites\">\n <laf:box title=\"Administration\">\n <laf:division>\n <ul class=\"menu\">\n <tags:restrictedListItem url=\"/pages/admin/manage/sites\">Manage sites</tags:restrictedListItem>\n <tags:restrictedListItem url=\"/pages/admin/manage/listUsers\">Manage users</tags:restrictedListItem>\n <tags:restrictedListItem url=\"/pages/admin/configure\">Configure PSC</tags:restrictedListItem>\n </ul>\n </laf:division>\n </laf:box>\n </security:secureOperation>\n\n </body>\n</html>",
"role": "user"
},
{
"content": "<%@taglib prefix=\"security\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/security\" %>\n<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\" %>\n<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib prefix=\"laf\" uri=\"http://gforge.nci.nih.gov/projects/ctmscommons/taglibs/laf\" %>\n<html>\n <head>\n <style type=\"text/css\">\n ul.menu {\n margin: 0;\n padding: 0;\n }\n ul.menu li {\n padding: 0.5em;\n list-style-type: none;\n margin: 0.5em;\n }\n </style>\n </head>\n <body>\n\n <security:secureOperation element=\"/pages/admin/manage/sites\">\n <laf:box title=\"Administration\">\n <laf:division>\n <ul class=\"menu\">\n <tags:restrictedListItem url=\"/pages/admin/manage/sites\">Manage sites</tags:restrictedListItem>\n <tags:restrictedListItem url=\"/pages/admin/manage/listUsers\">Manage users</tags:restrictedListItem>\n <tags:restrictedListItem url=\"/pages/admin/configure\">Configure PSC</tags:restrictedListItem>\n <tags:restrictedListItem url=\"/pages/admin/configureAuthentication\">Configure authentication</tags:restrictedListItem>\n </ul>\n </laf:division>\n </laf:box>\n </security:secureOperation>\n\n </body>\n</html>",
"role": "assistant"
}
] |
[
{
"content": "Update Github URL for Resque\n",
"role": "system"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\" isELIgnored=\"false\" trimDirectiveWhitespaces=\"true\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\t\t</div>\n\t\t<div id=\"footer\">\n\t\t\t<p>Powered by <a href=\"https://github.com/gresrun/jesque\">Jesque</a> v<c:out value=\"${version}\" /> - Inspired by <a href=\"https://github.com/defunkt/resque\">Resque</a></p>\n\t\t\t<p>Connected to Redis namespace <c:out value=\"${namespace}\" /> on <c:out value=\"${redisUri}\" /></p>\n\t\t</div>\n\t</body>\n</html>\n",
"role": "user"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\" isELIgnored=\"false\" trimDirectiveWhitespaces=\"true\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n\t\t</div>\n\t\t<div id=\"footer\">\n\t\t\t<p>Powered by <a href=\"https://github.com/gresrun/jesque\">Jesque</a> v<c:out value=\"${version}\" /> - Inspired by <a href=\"https://github.com/resque/resque\">Resque</a></p>\n\t\t\t<p>Connected to Redis namespace <c:out value=\"${namespace}\" /> on <c:out value=\"${redisUri}\" /></p>\n\t\t</div>\n\t</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Expand width of help section\n\nSVN-Revision: 16030\n",
"role": "system"
},
{
"content": "<tr class=\"contentTitle\" height=\"25\">\r\n\t<td>\r\n\t\t${param.pageTitle}\r\n\t</td>\r\n\t<td align=\"right\" width=\"15%\">\r\n\t\t<jsp:include page=\"/helpGlossary.jsp\">\r\n\t\t\t<jsp:param name=\"topic\" value=\"${param.topic}\" />\r\n\t\t\t<jsp:param name=\"glossaryTopic\" value=\"${param.glossaryTopic}\" />\r\n\t\t\t<jsp:param name=\"other\" value=\"${param.other}\" />\r\n\t\t\t<jsp:param name=\"otherLink\" value=\"${param.otherLink}\" />\r\n\t\t</jsp:include>\r\n\t\t<br><br>\r\n\t</td>\r\n</tr>",
"role": "user"
},
{
"content": "<tr class=\"contentTitle\" height=\"25\">\r\n\t<td>\r\n\t\t${param.pageTitle}\r\n\t</td>\r\n\t<td align=\"right\" width=\"25%\">\r\n\t\t<jsp:include page=\"/helpGlossary.jsp\">\r\n\t\t\t<jsp:param name=\"topic\" value=\"${param.topic}\" />\r\n\t\t\t<jsp:param name=\"glossaryTopic\" value=\"${param.glossaryTopic}\" />\r\n\t\t\t<jsp:param name=\"other\" value=\"${param.other}\" />\r\n\t\t\t<jsp:param name=\"otherLink\" value=\"${param.otherLink}\" />\r\n\t\t</jsp:include>\r\n\t\t<br><br>\r\n\t</td>\r\n</tr>",
"role": "assistant"
}
] |
[
{
"content": "Use less text in the anchor.\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://www.hillsdon.net/ns/svnwiki/tags\" prefix=\"sw\" %>\n\n<tiles:insertTemplate template=\"SiteTemplate.jsp\">\n <tiles:putAttribute name=\"title\">Wiki List</tiles:putAttribute>\n <tiles:putAttribute name=\"heading\">Wiki List</tiles:putAttribute>\n <tiles:putAttribute name=\"content\">\n <ul>\n <c:forEach var=\"wikiName\" items=\"${configuration.wikiNames}\">\n <li>\n <a href=\"<c:url value=\"/pages/${wikiName}/FrontPage\"/>\"><c:out value=\"${wikiName}\"/></a>\n <c:if test=\"${wikiName == configuration.defaultWiki}\"><a href=\"<c:url value=\"/pages/FrontPage\"/>\">(also available at default location)</a></c:if>\n </li>\n </c:forEach>\n </ul>\n </tiles:putAttribute>\n</tiles:insertTemplate>\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://www.hillsdon.net/ns/svnwiki/tags\" prefix=\"sw\" %>\n\n<tiles:insertTemplate template=\"SiteTemplate.jsp\">\n <tiles:putAttribute name=\"title\">Wiki List</tiles:putAttribute>\n <tiles:putAttribute name=\"heading\">Wiki List</tiles:putAttribute>\n <tiles:putAttribute name=\"content\">\n <ul>\n <c:forEach var=\"wikiName\" items=\"${configuration.wikiNames}\">\n <li>\n <a href=\"<c:url value=\"/pages/${wikiName}/FrontPage\"/>\"><c:out value=\"${wikiName}\"/></a>\n <c:if test=\"${wikiName == configuration.defaultWiki}\">(also available at the <a href=\"<c:url value=\"/pages/FrontPage\"/>\">default location</a>)</c:if>\n </li>\n </c:forEach>\n </ul>\n </tiles:putAttribute>\n</tiles:insertTemplate>\n",
"role": "assistant"
}
] |
[
{
"content": "Update on the index page\n",
"role": "system"
},
{
"content": "<%@ include file=\"/WEB-INF/jsp/includes/siteTags.jsp\"%>\n <section id=\"home-slider\">\n <div class=\"container\">\n <div class=\"main-slider\">\n <div class=\"slide-text\">\n <h1>We supply boxes for your precious jewels</h1>\n </div>\n <img src=\"<c:url value='/resources/images/sky_building1.jpeg'/>\" class=\"img-responsive slider-house'/>\" alt=\"slider image\">\n </div>\n </div>\n </section>\n <!--/#home-slider-->\n\n <section id=\"action\" class=\"responsive\">\n <div class=\"vertical-center\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"action take-tour\">\n <div class=\"col-sm-7\">\n <h1 class=\"title\">We have happy clients</h1>\n <p>A business flourishes only through happy clients. Take a look at our clients across the states</p>\n <div class=\"tour-button\">\n <a href=\"#\" class=\"btn btn-common\">See our Clients</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </section>\n <!--/#action-->",
"role": "user"
},
{
"content": "<%@ include file=\"/WEB-INF/jsp/includes/siteTags.jsp\"%>\n <section id=\"home-slider\">\n <div class=\"container\">\n <div class=\"main-slider\">\n <div class=\"slide-text\">\n <h1>We supply boxes for your precious jewels</h1>\n </div>\n <img src=\"<c:url value='/resources/images/sky_building1.jpeg'/>\" class=\"img-responsive slider-house'/>\" alt=\"slider image\">\n </div>\n </div>\n </section>\n <!--/#home-slider-->\n\n <section id=\"action\" class=\"responsive\">\n <div class=\"vertical-center\">\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"action take-tour\">\n <div class=\"col-sm-7\">\n <h1 class=\"title\">We have happy customers</h1>\n <p>A business flourishes only through happy customers. Take a look at our clients across the states</p>\n <div class=\"tour-button\">\n <a href=\"#\" class=\"btn btn-common\">See our customers</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </section>\n <!--/#action-->",
"role": "assistant"
}
] |
[
{
"content": "Use the right key in tag <s:label for='key'/>\n",
"role": "system"
},
{
"content": "<%@ page import=\"woko.facets.WokoFacetContext\" %>\n<%@ page import=\"woko.facets.builtin.RenderPropertyName\" %>\n<%@ page import=\"woko.util.Util\" %>\n<%@ page import=\"woko.Woko\" %>\n<%@ page import=\"woko.persistence.ObjectStore\" %>\n<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@ taglib prefix=\"s\" uri=\"http://stripes.sourceforge.net/stripes.tld\" %>\n<%\n RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute(\"renderPropertyName\");\n WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext();\n Woko woko = fctx.getWoko();\n ObjectStore os = woko.getObjectStore();\n String propertyName = renderPropertyName.getPropertyName();\n Object owningObject = fctx.getTargetObject();\n String owningClassAsKey = owningObject.getClass().getSimpleName() + \".\" + propertyName;\n String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName));\n%>\n<span class=\"wokoPropertyName\">\n <span class=\"<%=propertyName%> <%=propertyClassName%>\">\n <s:label for=\"<%=owningClassAsKey%>\"/>\n </span>\n</span>\n\n\n",
"role": "user"
},
{
"content": "<%@ page import=\"woko.facets.WokoFacetContext\" %>\n<%@ page import=\"woko.facets.builtin.RenderPropertyName\" %>\n<%@ page import=\"woko.util.Util\" %>\n<%@ page import=\"woko.Woko\" %>\n<%@ page import=\"woko.persistence.ObjectStore\" %>\n<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\" %>\n<%@ taglib prefix=\"s\" uri=\"http://stripes.sourceforge.net/stripes.tld\" %>\n<%\n RenderPropertyName renderPropertyName = (RenderPropertyName)request.getAttribute(\"renderPropertyName\");\n WokoFacetContext fctx = (WokoFacetContext)renderPropertyName.getFacetContext();\n Woko woko = fctx.getWoko();\n ObjectStore os = woko.getObjectStore();\n String propertyName = renderPropertyName.getPropertyName();\n Object owningObject = fctx.getTargetObject();\n String objectKey = \"object.\" + propertyName;\n String propertyLabel = propertyName;\n String propertyClassName = os.getClassMapping(Util.getPropertyType(owningObject.getClass(), propertyName));\n%>\n<span class=\"wokoPropertyName\">\n <span class=\"<%=propertyName%> <%=propertyClassName%>\">\n <s:label for=\"<%=objectKey%>\"><%=propertyLabel%></s:label>\n </span>\n</span>\n\n\n",
"role": "assistant"
}
] |
[
{
"content": "KULERA-674: Hide expand all/collapse all if there are no audit errors\n\n",
"role": "system"
},
{
"content": "<%--\n Copyright 2005-2006 The Kuali Foundation.\n \n $Source$\n \n Licensed under the Educational Community License, Version 1.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.opensource.org/licenses/ecl1.php\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n--%>\n<%@ include file=\"/jsp/core/tldHeader.jsp\"%>\n\n<kul:documentPage showDocumentInfo=\"true\"\n\tdocumentTypeName=\"KualiBudgetDocument\"\n\theaderTitle=\"Research Administration - Audit Mode\"\n\thtmlFormAction=\"researchBudgetAuditMode\" headerDispatch=\"auditmode\"\n\theaderTabActive=\"auditmode\"\n\tshowTabButtons=\"${KualiForm.auditActivated}\"\n\tfeedbackKey=\"app.krafeedback.link\">\n\n\t<kul:errors keyMatch=\"${Constants.DOCUMENT_ERRORS}\" />\n\n\t<kra-b:budgetHiddenDocumentFields includeDocumenHeaderIdFields=\"true\"\n\t\tincludeTaskPeriodLists=\"false\" />\n\n\t<kra-b:budgetAuditMode />\n\n</kul:documentPage>\n",
"role": "user"
},
{
"content": "<%--\n Copyright 2005-2006 The Kuali Foundation.\n \n $Source$\n \n Licensed under the Educational Community License, Version 1.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n \n http://www.opensource.org/licenses/ecl1.php\n \n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n--%>\n<%@ include file=\"/jsp/core/tldHeader.jsp\"%>\n\n<kul:documentPage showDocumentInfo=\"true\"\n\tdocumentTypeName=\"KualiBudgetDocument\"\n\theaderTitle=\"Research Administration - Audit Mode\"\n\thtmlFormAction=\"researchBudgetAuditMode\" \n\theaderDispatch=\"auditmode\"\n\theaderTabActive=\"auditmode\"\n\tshowTabButtons=\"${!empty AuditErrors}\"\n\tfeedbackKey=\"app.krafeedback.link\">\n\n\t<kul:errors keyMatch=\"${Constants.DOCUMENT_ERRORS}\" />\n\n\t<kra-b:budgetHiddenDocumentFields includeDocumenHeaderIdFields=\"true\"\n\t\tincludeTaskPeriodLists=\"false\" />\n\n\t<kra-b:budgetAuditMode />\n\n</kul:documentPage>\n",
"role": "assistant"
}
] |
[
{
"content": "Change header back to black\n",
"role": "system"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=ISO-8859-1\"\n\tpageEncoding=\"ISO-8859-1\"%>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n<title>Fill out a form</title>\n<jsp:include page=\"Formatting.jsp\" />\n</head>\n\n<body>\n \t<jsp:include page=\"NavBar.jsp\" />\n \t\n\t<div id=\"after-nav\">\n\t\t<h1>Hello! <span style=\"color: red;\">You are all Awesome!</span>!</h1>\n\t\t<jsp:include page=\"Form.jsp\" />\n\t</div>\n</body>\n</html>",
"role": "user"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=ISO-8859-1\"\n\tpageEncoding=\"ISO-8859-1\"%>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n<title>Fill out a form</title>\n<jsp:include page=\"Formatting.jsp\" />\n</head>\n\n<body>\n \t<jsp:include page=\"NavBar.jsp\" />\n \t\n\t<div id=\"after-nav\">\n\t\t<h1>Hello! You are all Awesome!!</h1>\n\t\t<jsp:include page=\"Form.jsp\" />\n\t</div>\n</body>\n</html>",
"role": "assistant"
}
] |
[
{
"content": "Clarify message; address TODO about onComplete lightbox deactivation interfering with showing wrong password message\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@580 0d517254-b314-0410-acde-c619094fa49f\n",
"role": "system"
},
{
"content": "<%@ page contentType=\"text/javascript;charset=UTF-8\" language=\"java\" %>\n<%@taglib prefix=\"jsgen\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/jsgenerator\"%>\n<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\"%>\n<jsgen:replaceHtml targetElement=\"lightbox\">\n <h1>Session timed out</h1>\n <div id=\"lightbox-content\">\n <p>\n Your session has expired. For security, please log in again\n and then retry your last action.\n </p>\n <tags:loginForm ajax=\"${true}\"/>\n </div>\n</jsgen:replaceHtml>\nLB.Lightbox.activate()\nEvent.observe('login', 'submit', function(e) {\n $('login-indicator').reveal()\n Event.stop(e);\n // TODO: deactivate is up here because otherwise it interferes with showing the bad password message.\n // Should figure out an alternative mechanism\n LB.Lightbox.deactivate()\n SC.asyncSubmit('login', {\n onComplete: function() {\n $('login-indicator').conceal()\n },\n onFailure: function() {\n // TODO:\n alert(\"Need error handling\")\n }\n })\n})\nEvent.observe('login-cancel-button', 'click', function() { LB.Lightbox.deactivate() });",
"role": "user"
},
{
"content": "<%@ page contentType=\"text/javascript;charset=UTF-8\" language=\"java\" %>\n<%@taglib prefix=\"jsgen\" uri=\"http://bioinformatics.northwestern.edu/taglibs/studycalendar/jsgenerator\"%>\n<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\"%>\n<jsgen:replaceHtml targetElement=\"lightbox\">\n <h1>Session timed out</h1>\n <div id=\"lightbox-content\">\n <p>\n Your session has expired. Please log in again.\n Once you've logged in, you may need to retry your\n last action.\n </p>\n <tags:loginForm ajax=\"${true}\"/>\n </div>\n</jsgen:replaceHtml>\nLB.Lightbox.activate()\nEvent.observe('login', 'submit', function(e) {\n $('login-indicator').reveal()\n Event.stop(e);\n SC.asyncSubmit('login', {\n onLoaded: function() {\n $('login-indicator').conceal()\n LB.Lightbox.deactivate()\n },\n onFailure: function() {\n // TODO:\n alert(\"Need error handling\")\n }\n })\n})\nEvent.observe('login-cancel-button', 'click', function() { LB.Lightbox.deactivate() });",
"role": "assistant"
}
] |
[
{
"content": "Fix null check in sentry.js\n",
"role": "system"
},
{
"content": "<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>\n<%\n String sentryEndpoint = GlobalProperties.getFrontendSentryEndpoint();\n%>\n<% if (sentryEndpoint != null) { %>\n<script src=\"https://browser.sentry-cdn.com/4.1.1/bundle.min.js\" crossorigin=\"anonymous\"></script>\n<script>\nSentry.init({ dsn: '<%=sentryEndpoint.trim()%>' });\n</script> \n<% } %> \n\n \n ",
"role": "user"
},
{
"content": "<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' %>\n<% \n String sentryEndpoint = GlobalProperties.getFrontendSentryEndpoint();\n%>\n<% if (!sentryEndpoint.equals(\"null\")) { %>\n<script src=\"https://browser.sentry-cdn.com/4.1.1/bundle.min.js\" crossorigin=\"anonymous\"></script>\n<script>\nSentry.init({ dsn: '<%=sentryEndpoint.trim()%>' });\n</script> \n<% } %> \n\n \n ",
"role": "assistant"
}
] |
[
{
"content": "Change password to type=password. Correct typos. Change line endings.\n",
"role": "system"
},
{
"content": "\r\n<html>\r\n<head>\r\n\t<title>Login</title>\r\n</head>\r\n\r\n<body>\r\n<h3>Login</h3>\r\n<hr>\r\n\r\n<form method=\"post\" action=\"/login.do?method=login\" >\r\n \r\n<table border=\"0\">\r\n <tr> \r\n <td>Username </td>\r\n <td>\r\n\t\t<input type=text property=\"username\"/>\r\n <em><font size=\"-2\">(required)</font></em> \r\n </td>\r\n </tr>\r\n <tr> \r\n <td>Password </td>\r\n <td> \r\n <input type=text property=\"password\"/>\r\n <em><font size=\"-2\">(required)</font></em> \r\n </td>\r\n </tr>\r\n</table>\r\n\r\n <p>\r\n <input type=submit>Login</submit>\r\n </p>\r\n\r\n</form>\r\n\r\n<p>Thanks for loggin in to our site.</p>\r\n\r\n</body>\r\n</html>\r\n",
"role": "user"
},
{
"content": "<html>\n<head>\n\t<title>Login</title>\n</head>\n\n<body>\n<h3>Login</h3>\n<hr>\n\n<form method=\"post\" action=\"/loginServlet\" >\n \n<table border=\"0\">\n <tr> \n <td>Username </td>\n <td>\n\t\t<input type=\"text\" name=\"username\"/>\n <em><font size=\"-2\">(required)</font></em> \n </td>\n </tr>\n <tr> \n <td>Password </td>\n <td> \n <input type=\"password\" name=\"password\"/>\n <em><font size=\"-2\">(required)</font></em> \n </td>\n </tr>\n</table>\n\n <p>\n <input type=\"submit\" value=\"Login\"/>\n </p>\n\n</form>\n\n<p>Thanks for logging in to our site.</p>\n\n</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Put only Latest Experiments and Publications in section\n",
"role": "system"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n\n<section>\n <tiles:insertAttribute name=\"home-hero\"/>\n</section>\n\n<section class=\"margin-top-large\">\n <tiles:insertAttribute name=\"home-search\"/>\n</section>\n\n<section class=\"margin-top-large\">\n <div class=\"row small-up-1 medium-up-1 large-up-2\" data-equalizer>\n <div class=\"columns\">\n <tiles:insertAttribute name=\"first-box\"/>\n </div>\n <div class=\"columns\">\n <tiles:insertAttribute name=\"second-box\"/>\n </div>\n </div>\n</section>\n\n<section class=\"margin-top-large\">\n <div class=\"row small-up-1 medium-up-1 large-up-2\" data-equalizer>\n <div class=\"columns\">\n <tiles:insertAttribute name=\"third-box\"/>\n </div>\n <div class=\"columns\">\n <tiles:insertAttribute name=\"fourth-box\"/>\n </div>\n </div>\n</section>\n",
"role": "user"
},
{
"content": "<%@ page contentType=\"text/html;charset=UTF-8\" language=\"java\" %>\n<%@ taglib uri=\"http://tiles.apache.org/tags-tiles\" prefix=\"tiles\" %>\n\n<section>\n <tiles:insertAttribute name=\"home-hero\"/>\n</section>\n\n<section class=\"margin-top-large\">\n <div class=\"row small-up-1 medium-up-1 large-up-2\" data-equalizer>\n <div class=\"columns\">\n <tiles:insertAttribute name=\"second-box\"/>\n </div>\n <div class=\"columns\">\n <tiles:insertAttribute name=\"fourth-box\"/>\n </div>\n </div>\n</section>\n",
"role": "assistant"
}
] |
[
{
"content": "Update wording on holder report\n",
"role": "system"
},
{
"content": "<%@ page import=\"edu.ucsf.mousedatabase.objects.*\" %>\n<%@ page import=\"edu.ucsf.mousedatabase.*\" %>\n<%@ page import=\"java.util.ArrayList\" %>\n<%=HTMLGeneration.getPageHeader(null, false,false,\"onload=\\\"setFocus('quickSearchForm', 'searchterms')\\\"\") %>\n<%=HTMLGeneration.getNavBar(\"HolderReport.jsp\", false) %>\n<%\n String orderby = request.getParameter(\"orderby\");\n ArrayList<Holder> holders = DBConnect.getAllHolders(false,orderby);\n String table = HTMLGeneration.getHolderTable(holders,false);\n\n%>\n\n<div class=\"pagecontent\">\n <h2>Holder List</h2>\n <p>Sort by <a href=\"HolderReport.jsp?orderby=firstname,lastname\">First Name</a>,\n <a href=\"HolderReport.jsp?orderby=lastname,firstname\">Last name</a>,\n <a href=\"HolderReport.jsp?orderby=department\">Department</a>,\n <a href=\"HolderReport.jsp?orderby=datevalidated\">Date reviewed</a>\n <a href=\"HolderReport.jsp?orderby=count\">Mice Held</a></p>\n\n<div style=\"width: 700px;\"><b>\n'Last review date' shows when the most recent review of the list of mice held by each investigator\nwas carried out.</b>\n<br>To perform a review and notify admin that it has been done,\ngo to the page listing the mice held by an individual investigator (click on the\nnumber in the last column on the right).\n</div>\n<br>\n<%= table %>\n</div>\n",
"role": "user"
},
{
"content": "<%@ page import=\"edu.ucsf.mousedatabase.objects.*\" %>\n<%@ page import=\"edu.ucsf.mousedatabase.*\" %>\n<%@ page import=\"java.util.ArrayList\" %>\n<%=HTMLGeneration.getPageHeader(null, false,false,\"onload=\\\"setFocus('quickSearchForm', 'searchterms')\\\"\") %>\n<%=HTMLGeneration.getNavBar(\"HolderReport.jsp\", false) %>\n<%\n String orderby = request.getParameter(\"orderby\");\n ArrayList<Holder> holders = DBConnect.getAllHolders(false,orderby);\n String table = HTMLGeneration.getHolderTable(holders,false);\n\n%>\n\n<div class=\"pagecontent\">\n <h2>Holder List</h2>\n <p>Sort by <a href=\"HolderReport.jsp?orderby=firstname,lastname\">First Name</a>,\n <a href=\"HolderReport.jsp?orderby=lastname,firstname\">Last name</a>,\n <a href=\"HolderReport.jsp?orderby=department\">Department</a>,\n <a href=\"HolderReport.jsp?orderby=datevalidated\">Date reviewed,</a>\n <a href=\"HolderReport.jsp?orderby=count\">Mice Held</a></p>\n\n<div style=\"width: 700px;\"><b>\n'Last review date' shows when the most recent update of the list of mice held by each investigator\nwas carried out.</b>\n<br>To perform a review and notify admin that it has been done,\ngo to the page listing the mice held by an individual investigator (click on the\nnumber in the last column on the right).\n</div>\n<br>\n<%= table %>\n</div>\n",
"role": "assistant"
}
] |
[
{
"content": "Fix link address of current category.",
"role": "system"
},
{
"content": "<%@ include file=\"/taglibs.jsp\" %>\n<div style=\"text-align: center;\">\n<c:if test=\"${!empty category}\">\n<h1 style=\"text-align: center; font-size: 14px;\"><a href=\"./\" title=\"Home\">Home</a> > <a href=\"${category.name}-c.html\">${category.title}</a></h1>\n</c:if>\n</div>\n<c:if test=\"${empty category}\">\n<div id=\"message\" style=\"text-align: center;\">\n<h2>Top 10 Top Votes</h2>\n</div>\n</c:if>\n<%@ include file=\"popular-stories.jsp\" %>",
"role": "user"
},
{
"content": "<%@ include file=\"/taglibs.jsp\" %>\n<div style=\"text-align: center;\">\n<c:if test=\"${!empty category}\">\n<h1 style=\"text-align: center; font-size: 14px;\"><a href=\"<c:url value=\"./\" />\" title=\"Home\">Home</a> > <a href=\"<c:url value=\"${category.name}-c.html\" />\">${category.title}</a></h1>\n</c:if>\n</div>\n<c:if test=\"${empty category}\">\n<div id=\"message\" style=\"text-align: center;\">\n<h2>Top 10 Top Votes</h2>\n</div>\n</c:if>\n<%@ include file=\"popular-stories.jsp\" %>",
"role": "assistant"
}
] |
[
{
"content": "Set escapeXml to false to allow markup in the properties file (temporarily).\n\n",
"role": "system"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt\" prefix=\"fmt\" %>\n\n<tiles:importAttribute/>\n\n<!-- description.jsp -->\n<c:if test=\"${!empty pageDescription}\">\n <fmt:message key=\"${pageDescription}\" var=\"description\"/>\n <c:if test=\"${!empty description}\">\n <div class=\"description\">\n <c:out value=\"${description}\"/>\n </div>\n <br/>\n </c:if>\n</c:if>\n<!-- /description.jsp -->\n",
"role": "user"
},
{
"content": "<%@ taglib uri=\"http://java.sun.com/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"/WEB-INF/struts-tiles.tld\" prefix=\"tiles\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt\" prefix=\"fmt\" %>\n\n<tiles:importAttribute/>\n\n<!-- description.jsp -->\n<c:if test=\"${!empty pageDescription}\">\n <fmt:message key=\"${pageDescription}\" var=\"description\"/>\n <c:if test=\"${!empty description}\">\n <div class=\"description\">\n <c:out value=\"${description}\" escapeXml=\"false\"/>\n </div>\n <br/>\n </c:if>\n</c:if>\n<!-- /description.jsp -->\n",
"role": "assistant"
}
] |
[
{
"content": "Remove commented-out code and background-color override\n\n",
"role": "system"
},
{
"content": "<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\" %>\r\n<%@ taglib prefix=\"laf\" uri=\"http://gforge.nci.nih.gov/projects/ctmscommons/taglibs/laf\" %>\r\n\r\n<html>\r\n<head>\r\n <!--<title>Account login</title>-->\r\n <style type=\"text/css\">\r\n body {\r\n background-color: #666;\r\n }\r\n div#body {\r\n width: 24em;\r\n border: 2px outset #000;\r\n background-color: #fff;\r\n padding: 0;\r\n margin: 3em auto;\r\n }\r\n h1 {\r\n /*background-color: #000;*/\r\n /*color: #fff;*/\r\n /*padding: 0.5em 2em;*/\r\n text-align: center;\r\n }\r\n form#login {\r\n margin: 1em 2em;\r\n }\r\n /* need for fomatting the login box */\r\n .box {\r\n width:40%;\r\n margin-left:30%;\r\n margin-right:30%;\r\n \r\n }\r\n </style>\r\n</head>\r\n<body>\r\n<laf:box title=\"Account login\">\r\n <laf:division>\r\n\r\n <h1>Please log in</h1>\r\n <tags:loginForm/>\r\n\r\n </laf:division>\r\n</laf:box>\r\n</body>\r\n</html>\r\n",
"role": "user"
},
{
"content": "<%@taglib prefix=\"tags\" tagdir=\"/WEB-INF/tags\" %>\r\n<%@ taglib prefix=\"laf\" uri=\"http://gforge.nci.nih.gov/projects/ctmscommons/taglibs/laf\" %>\r\n\r\n<html>\r\n<head>\r\n <!--<title>Account login</title>-->\r\n <style type=\"text/css\">\r\n div#body {\r\n width: 24em;\r\n border: 2px outset #000;\r\n background-color: #fff;\r\n padding: 0;\r\n margin: 3em auto;\r\n }\r\n h1 {\r\n text-align: center;\r\n }\r\n form#login {\r\n margin: 1em 2em;\r\n }\r\n /* need for fomatting the login box */\r\n .box {\r\n width:40%;\r\n margin-left:30%;\r\n margin-right:30%;\r\n \r\n }\r\n </style>\r\n</head>\r\n<body>\r\n<laf:box title=\"Account login\">\r\n <laf:division>\r\n\r\n <h1>Please log in</h1>\r\n <tags:loginForm/>\r\n\r\n </laf:division>\r\n</laf:box>\r\n</body>\r\n</html>\r\n",
"role": "assistant"
}
] |
[
{
"content": "Update html title of lite-device-resolver-xml\n",
"role": "system"
},
{
"content": "<%@ page session=\"false\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Spring Mobile | Lite Device Resolver</title>\n\t</head>\n\t<body>\n\t\t<header>\n\t\t\t<h1>Device Resolver Example</h1>\n\t\t</header>\n\t\t<p>Device: \n\t\t\t<c:choose>\n\t\t\t\t<c:when test=\"${currentDevice.normal}\">Normal</c:when>\n\t\t\t\t<c:when test=\"${currentDevice.mobile}\">Mobile</c:when>\n\t\t\t\t<c:when test=\"${currentDevice.tablet}\">Tablet</c:when>\n\t\t\t\t<c:otherwise>Default</c:otherwise>\n\t\t\t</c:choose>\n\t\t</p>\n\t</body>\n</html>\n",
"role": "user"
},
{
"content": "<%@ page session=\"false\" %>\n<%@ taglib uri=\"http://java.sun.com/jsp/jstl/core\" prefix=\"c\" %>\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Spring Mobile | Lite Device Resolver XML</title>\n\t</head>\n\t<body>\n\t\t<header>\n\t\t\t<h1>Device Resolver Example</h1>\n\t\t</header>\n\t\t<p>Device: \n\t\t\t<c:choose>\n\t\t\t\t<c:when test=\"${currentDevice.normal}\">Normal</c:when>\n\t\t\t\t<c:when test=\"${currentDevice.mobile}\">Mobile</c:when>\n\t\t\t\t<c:when test=\"${currentDevice.tablet}\">Tablet</c:when>\n\t\t\t\t<c:otherwise>Default</c:otherwise>\n\t\t\t</c:choose>\n\t\t</p>\n\t</body>\n</html>\n",
"role": "assistant"
}
] |
[
{
"content": "Remove HTML escaping from the URL\n\nYou should not have to HTML escape here, and in fact it might even be buggy for some inputs. \r\n\r\nThe `<c:url />` tag (line 2) will URL encode the value so it generates a valid query string parameter value. \r\nThe `${fn:escapeXml(url)}` on line 9 should then *HTML* escape the complete URL. (Actually you can probably use `htmlEscape=\"true\"` as well on the `<spring:message />` tag.\r\n\r\nThat should do.",
"role": "system"
},
{
"content": "<jsp:directive.include file=\"includes/top.jsp\" />\n <c:url var=\"url\" value=\"/login\">\n <c:param name=\"service\" value=\"${fn:escapeXml(param.service)}\" />\n <c:param name=\"renew\" value=\"true\" />\n </c:url>\n \n <div id=\"msg\" class=\"errors\">\n <h2><spring:message code=\"screen.service.sso.error.header\" /></h2>\n <p><spring:message code=\"screen.service.sso.error.message\" arguments=\"${fn:escapeXml(url)}\" /></p>\n </div>\n<jsp:directive.include file=\"includes/bottom.jsp\" />\n",
"role": "user"
},
{
"content": "<jsp:directive.include file=\"includes/top.jsp\" />\n <c:url var=\"url\" value=\"/login\">\n <c:param name=\"service\" value=\"${param.service}\" />\n <c:param name=\"renew\" value=\"true\" />\n </c:url>\n \n <div id=\"msg\" class=\"errors\">\n <h2><spring:message code=\"screen.service.sso.error.header\" /></h2>\n <p><spring:message code=\"screen.service.sso.error.message\" arguments=\"${fn:escapeXml(url)}\" /></p>\n </div>\n<jsp:directive.include file=\"includes/bottom.jsp\" />\n",
"role": "assistant"
}
] |
[
{
"content": "Update demo to validate settings.",
"role": "system"
},
{
"content": "<%@page import=\"java.util.*,com.onelogin.saml2.Auth,com.onelogin.saml2.settings.Saml2Settings\" language=\"java\" contentType=\"application/xhtml+xml\"%><%\nAuth auth = new Auth();\nSaml2Settings settings = auth.getSettings();\nsettings.setSPValidationOnly(true);\nString metadata = settings.getSPMetadata();\nList<String> errors = Saml2Settings.validateMetadata(metadata);\nif (errors.isEmpty()) {\n\tout.println(metadata);\n} else {\n\tresponse.setContentType(\"text/html; charset=UTF-8\");\n\n\tfor (String error : errors) {\n\t out.println(\"<p>\"+error+\"</p>\");\n\t}\n}%>",
"role": "user"
},
{
"content": "<%@page import=\"java.util.*,com.onelogin.saml2.Auth,com.onelogin.saml2.settings.Saml2Settings\" language=\"java\" contentType=\"application/xhtml+xml\"%><%\nAuth auth = new Auth();\nSaml2Settings settings = auth.getSettings();\nsettings.setSPValidationOnly(true);\nList<String> errors = settings.checkSettings();\n\nif (errors.isEmpty()) {\n String metadata = settings.getSPMetadata();\n\tout.println(metadata);\n} else {\n\tresponse.setContentType(\"text/html; charset=UTF-8\");\n\n\tfor (String error : errors) {\n\t out.println(\"<p>\"+error+\"</p>\");\n\t}\n}%>\n",
"role": "assistant"
}
] |
[
{
"content": "Add link to the mailing list in the web ui.\n",
"role": "system"
},
{
"content": "<footer>\n <jsp:include page=\"/footer-scripts.jsp\" />\n <p style=\"text-align: center;\">\n <a href=\"http://tachyon-project.org/\" target=\"_blank\">Tachyon</a> is an <a href=\"https://github.com/amplab/tachyon\" target=\"_blank\">open source</a> project developed at the UC Berkeley <a href=\"https://amplab.cs.berkeley.edu\" target=\"_blank\">AMPLab</a>.\n </p>\n</footer>\n",
"role": "user"
},
{
"content": "<footer>\n <jsp:include page=\"/footer-scripts.jsp\" />\n <p style=\"text-align: center;\">\n <a href=\"http://tachyon-project.org/\" target=\"_blank\">Tachyon</a> is an <a href=\"https://github.com/amplab/tachyon\" target=\"_blank\">open source</a> project developed at the UC Berkeley <a href=\"https://amplab.cs.berkeley.edu\" target=\"_blank\">AMPLab</a>.\n </br>\n For help or advice using Tachyon, post a topic on the <a href=\"https://groups.google.com/forum/#!forum/tachyon-users\">user mailing list</a>.\n </p>\n</footer>\n",
"role": "assistant"
}
] |
[
{
"content": "Fix form to use the right term\n",
"role": "system"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\"%>\n<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>\n\n<form id=\"lookup\" method=\"POST\">\n <table>\n <tr>\n <th>ID</th>\n <td>\n <input type=\"text\"\n name=\"id\"\n value=\"${id}\"\n title=\"UUID des gesuchten Eintrags\"\n pattern=\"^[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}$\"\n required\n />\n </td>\n </tr>\n <tr>\n <th></th>\n <td><input type=\"submit\" name=\"action\" value=\"Suchen\" /></td>\n </tr>\n </table>\n</form>\n",
"role": "user"
},
{
"content": "<%@ page language=\"java\" contentType=\"text/html; charset=UTF-8\" pageEncoding=\"UTF-8\"%>\n<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>\n\n<form id=\"lookup\" method=\"POST\">\n <table>\n <tr>\n <th>ID</th>\n <td>\n <input type=\"text\"\n name=\"id\"\n value=\"${id}\"\n title=\"UUID des gesuchten Eintrags\"\n pattern=\"^[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}$\"\n required\n />\n </td>\n </tr>\n <tr>\n <th></th>\n <td><input type=\"submit\" name=\"action\" value=\"Nachschlagen\" /></td>\n </tr>\n </table>\n</form>\n",
"role": "assistant"
}
] |
[
{
"content": "Use URL to find spring taglib\n",
"role": "system"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jstl/core\" %>\r\n<%@ taglib prefix=\"spring\" uri=\"/spring\" %>\r\n\r\n\r\n<html><head>\r\n<title>Account Login</title></head>\r\n\r\n<body>\r\n\r\n<h1>Please enter your userid and password.</h1>\r\n\r\n<p><form method=\"post\">\r\n\r\n\r\n\r\n<table width=\"95%\" bgcolor=\"f8f8ff\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">User id:</td>\r\n<spring:bind path=\"loginCredentials.userId\">\r\n<td width=\"20%\">\r\n<input type=\"text\" name=\"<c:out value=\"userId\"/>\" value=\"<c:out value=\"\"/>\">\r\n</td>\r\n</spring:bind>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">Password:</td>\r\n<spring:bind path=\"loginCredentials.password\">\r\n<td width=\"20%\">\r\n<input type=\"password\" name=\"<c:out value=\"password\"/>\" value=\"<c:out value=\"\"/>\">\r\n</spring:bind>\r\n</td>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n\r\n</table>\r\n<br>\r\n<br>\r\n<input type=\"submit\" alignment=\"center\" value=\"login\">\r\n</form>\r\n</p>\r\n\r\n\r\n</body>\r\n</html>\r\n",
"role": "user"
},
{
"content": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jstl/core\" %>\r\n<%@ taglib prefix=\"spring\" uri=\"http://www.springframework.org/tags\" %>\r\n\r\n\r\n<html><head>\r\n<title>Account Login</title></head>\r\n\r\n<body>\r\n\r\n<h1>Please enter your userid and password.</h1>\r\n\r\n<p><form method=\"post\">\r\n\r\n\r\n\r\n<table width=\"95%\" bgcolor=\"f8f8ff\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">User id:</td>\r\n<spring:bind path=\"loginCredentials.userId\">\r\n<td width=\"20%\">\r\n<input type=\"text\" name=\"<c:out value=\"userId\"/>\" value=\"<c:out value=\"\"/>\">\r\n</td>\r\n</spring:bind>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n<tr>\r\n<td alignment=\"right\" width=\"20%\">Password:</td>\r\n<spring:bind path=\"loginCredentials.password\">\r\n<td width=\"20%\">\r\n<input type=\"password\" name=\"<c:out value=\"password\"/>\" value=\"<c:out value=\"\"/>\">\r\n</spring:bind>\r\n</td>\r\n<td width=\"60%\">\r\n</tr>\r\n\r\n\r\n</table>\r\n<br>\r\n<br>\r\n<input type=\"submit\" alignment=\"center\" value=\"login\">\r\n</form>\r\n</p>\r\n\r\n\r\n</body>\r\n</html>\r\n",
"role": "assistant"
}
] |
[
{
"content": "Fix compile error in the comments.\n",
"role": "system"
},
{
"content": "<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>\n\n<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jstl/core\" %>\n\n<%-- doesn't use <vitro:requiresAuthorizationFor> becuase the controller does complex authorization. -->\n\n<div id=\"content\">\n\n<h2>Configure Self-Edit Testing</h2>\n<p>${msg}</p>\n<form action=\"<c:url value=\"/admin/fakeselfedit\"/>\" >\n <input type=\"text\" name=\"netid\" value=\"${netid}\"/>\n <input type=\"hidden\" name=\"force\" value=\"1\"/>\n <input type=\"submit\" value=\"use this netid for testing\"/>\n</form>\n\n<br />\n<form action=\"<c:url value=\"/admin/fakeselfedit\"/>\" >\n <input type=\"hidden\" name=\"stopfaking\" value=\"1\"/>\n <input type=\"submit\" value=\"stop using netid for testing\"/>\n</form>\n\n</div> <!-- content -->\n",
"role": "user"
},
{
"content": "<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>\n\n<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jstl/core\" %>\n\n<%-- doesn't use <vitro:requiresAuthorizationFor> becuase the controller does complex authorization. --%>\n\n<div id=\"content\">\n\n<h2>Configure Self-Edit Testing</h2>\n<p>${msg}</p>\n<form action=\"<c:url value=\"/admin/fakeselfedit\"/>\" >\n <input type=\"text\" name=\"netid\" value=\"${netid}\"/>\n <input type=\"hidden\" name=\"force\" value=\"1\"/>\n <input type=\"submit\" value=\"use this netid for testing\"/>\n</form>\n\n<br />\n<form action=\"<c:url value=\"/admin/fakeselfedit\"/>\" >\n <input type=\"hidden\" name=\"stopfaking\" value=\"1\"/>\n <input type=\"submit\" value=\"stop using netid for testing\"/>\n</form>\n\n</div> <!-- content -->\n",
"role": "assistant"
}
] |