Skip to content

Commit

Permalink
fixed inverses section and footer (#88)
Browse files Browse the repository at this point in the history
* general fixes

* general fixes

* general fix

* general fix footer role

* fixed owasp

* fixed footer and inverses section

* build.gradle upgrade

---------

Co-authored-by: Francesco Palermo <[email protected]>
Co-authored-by: Giuseppe Nespolino <[email protected]>
Co-authored-by: Francesco Palermo <[email protected]>
  • Loading branch information
4 people authored Feb 26, 2024
1 parent 628aa3c commit 959a4a2
Show file tree
Hide file tree
Showing 6 changed files with 714 additions and 38 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ dependencies {

implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
implementation 'org.apache.commons:commons-text:1.10.0'

implementation 'org.apache.commons:commons-compress:1.26.0'
implementation group: 'org.springframework', name: 'spring-web', version: '5.3.32'
implementation 'org.apache.taglibs:taglibs-standard-spec:1.2.5'
implementation 'org.apache.taglibs:taglibs-standard-impl:1.2.5'
implementation 'org.apache.taglibs:taglibs-standard-jstlel:1.2.5'
Expand Down
14 changes: 14 additions & 0 deletions src/main/resources/static/staticResources/css/commons.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ div#logoBanner div#logo {

a {
text-decoration: none;
}

.skiplinks{
background-color: #0073e6 !important;
}

.skiplinks a {
color: white !important;
position: absolute;
left: -9999px;
}

.skiplinks a:focus {
position: static;
}

.skip-link:focus {
Expand Down
5 changes: 2 additions & 3 deletions src/main/webapp/WEB-INF/views/home.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<%@taglib uri="http://www.springframework.org/tags" prefix="sp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html lang="it">
<h1 tabindex="-1" id="mainskip"><span></span></h1>
<head data-color="${colorPair}">
<title>${results.getTitle()}&mdash;LodView</title>
<jsp:include page="inc/header.jsp"></jsp:include>
Expand All @@ -26,16 +25,16 @@
</hgroup>

<aside class="empty"></aside>

<div id="directs">
<h1 tabindex="-1" id="mainskip"><span></span></h1>

<div class="value">
<h2 class="h2-24 col-8">${conf.getHomeContent()}</h2>
</div>

</div>

<div id="inverses" lang="en" class="empty"></div>
<div id="inverses" lang="en" class="empty" ></div>
<jsp:include page="inc/custom_footer.jsp"></jsp:include>
</article>
<jsp:include page="inc/footer.jsp"></jsp:include>
Expand Down
Loading

0 comments on commit 959a4a2

Please sign in to comment.