esoe
1 year ago
17 changed files with 255 additions and 44 deletions
@ -1,7 +1,10 @@
@@ -1,7 +1,10 @@
|
||||
<!DOCTYPE web-app PUBLIC |
||||
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" |
||||
"http://java.sun.com/dtd/web-app_2_3.dtd" > |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<web-app |
||||
xmlns="https://jakarta.ee/xml/ns/jakartaee" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" |
||||
version="5.0"> |
||||
|
||||
<display-name>Archetype Created Web Application</display-name> |
||||
|
||||
<web-app> |
||||
<display-name>Archetype Created Web Application</display-name> |
||||
</web-app> |
||||
|
@ -1,5 +1,65 @@
@@ -1,5 +1,65 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
||||
"http://www.w3.org/TR/html4/loose.dtd"> |
||||
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
||||
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %> |
||||
<%@page import="java.util.Set"%> |
||||
<jsp:useBean id="hd" class="ru.molokoin.storage.beans.HardDrive" scope="page" /> |
||||
<html> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<title>storage</title> |
||||
<link href="layout/styles.css" rel="stylesheet"> |
||||
</head> |
||||
<body> |
||||
<h2>Hello World!</h2> |
||||
<header> |
||||
<h2>STORAGE:FACE</h2> |
||||
</header> |
||||
<aside> |
||||
<!-- <p><c:out value="${2+2}" /></p> --> |
||||
</aside> |
||||
<main> |
||||
<div> |
||||
<div class="guide container" > |
||||
<h1>LIST of FILES:</h1> |
||||
<!-- <c:forEach items="${hd.listFiles()}" var="file"> |
||||
<p> |
||||
<c:out value="${file}"/> |
||||
</p> |
||||
</c:forEach> |
||||
<br> --> |
||||
<c:import url="http://www.molokoin.ru:8080/storage/api/content" var="xmlFile"></c:import> |
||||
<x:parse xml="${xmlFile}" var="xmlData"></x:parse> |
||||
<x:forEach select="$xmlData/collection/storage"> |
||||
<x:out select="id"/> |
||||
<x:out select="filename"/> |
||||
<x:out select="location"/> |
||||
<br/> |
||||
</x:forEach> |
||||
<!-- <x:out select="$xmlData/collection/storage[7]/filename"/> --> |
||||
|
||||
</div> |
||||
<div class="conteiner"> |
||||
<iframe |
||||
src="http://www.molokoin.ru:8080/storage/api/content/7" |
||||
name="name" |
||||
scrolling="yes" |
||||
frameborder="0" |
||||
id="Iframe" |
||||
> |
||||
</iframe> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
<!-- sandbox="allow-same-origin" --> |
||||
<!-- allowTransparency="false" --> |
||||
<!-- allow="fullscreen" --> |
||||
</main> |
||||
<footer></footer> |
||||
|
||||
|
||||
</body> |
||||
</html> |
||||
|
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
body { |
||||
background-color: #abe; |
||||
padding: 0; |
||||
margin: 0; |
||||
} |
||||
header { |
||||
display: block; |
||||
width: 100%; |
||||
/* height: 50px; */ |
||||
} |
||||
main { |
||||
background-color: black; |
||||
} |
||||
|
||||
.container { |
||||
background-color: blueviolet; |
||||
position: relative; |
||||
/* overflow: hidden; */ |
||||
width: 100%; |
||||
/* height: 100%; */ |
||||
/* padding-top: 56.25%; //16:9 Aspect Ratio */ |
||||
} |
||||
|
||||
.guide { |
||||
display: block; |
||||
width: 100%; |
||||
/* height: 100%; */ |
||||
background-color: rgb(63, 106, 236); |
||||
} |
||||
iframe { |
||||
/* position: relative; */ |
||||
top: 0; |
||||
left: 0; |
||||
bottom: 0; |
||||
right: 0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,7 +1,10 @@
@@ -1,7 +1,10 @@
|
||||
<!DOCTYPE web-app PUBLIC |
||||
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" |
||||
"http://java.sun.com/dtd/web-app_2_3.dtd" > |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<web-app |
||||
xmlns="https://jakarta.ee/xml/ns/jakartaee" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd" |
||||
version="5.0"> |
||||
|
||||
<display-name>Archetype Created Web Application</display-name> |
||||
|
||||
<web-app> |
||||
<display-name>Archetype Created Web Application</display-name> |
||||
</web-app> |
||||
|
@ -1,5 +1,65 @@
@@ -1,5 +1,65 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
||||
"http://www.w3.org/TR/html4/loose.dtd"> |
||||
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
||||
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %> |
||||
<%@page import="java.util.Set"%> |
||||
<jsp:useBean id="hd" class="ru.molokoin.storage.beans.HardDrive" scope="page" /> |
||||
<html> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<title>storage</title> |
||||
<link href="layout/styles.css" rel="stylesheet"> |
||||
</head> |
||||
<body> |
||||
<h2>Hello World!</h2> |
||||
<header> |
||||
<h2>STORAGE:FACE</h2> |
||||
</header> |
||||
<aside> |
||||
<!-- <p><c:out value="${2+2}" /></p> --> |
||||
</aside> |
||||
<main> |
||||
<div> |
||||
<div class="guide container" > |
||||
<h1>LIST of FILES:</h1> |
||||
<!-- <c:forEach items="${hd.listFiles()}" var="file"> |
||||
<p> |
||||
<c:out value="${file}"/> |
||||
</p> |
||||
</c:forEach> |
||||
<br> --> |
||||
<c:import url="http://www.molokoin.ru:8080/storage/api/content" var="xmlFile"></c:import> |
||||
<x:parse xml="${xmlFile}" var="xmlData"></x:parse> |
||||
<x:forEach select="$xmlData/collection/storage"> |
||||
<x:out select="id"/> |
||||
<x:out select="filename"/> |
||||
<x:out select="location"/> |
||||
<br/> |
||||
</x:forEach> |
||||
<!-- <x:out select="$xmlData/collection/storage[7]/filename"/> --> |
||||
|
||||
</div> |
||||
<div class="conteiner"> |
||||
<iframe |
||||
src="http://www.molokoin.ru:8080/storage/api/content/7" |
||||
name="name" |
||||
scrolling="yes" |
||||
frameborder="0" |
||||
id="Iframe" |
||||
> |
||||
</iframe> |
||||
</div> |
||||
</div> |
||||
|
||||
|
||||
<!-- sandbox="allow-same-origin" --> |
||||
<!-- allowTransparency="false" --> |
||||
<!-- allow="fullscreen" --> |
||||
</main> |
||||
<footer></footer> |
||||
|
||||
|
||||
</body> |
||||
</html> |
||||
|
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
body { |
||||
background-color: #abe; |
||||
padding: 0; |
||||
margin: 0; |
||||
} |
||||
header { |
||||
display: block; |
||||
width: 100%; |
||||
/* height: 50px; */ |
||||
} |
||||
main { |
||||
background-color: black; |
||||
} |
||||
|
||||
.container { |
||||
background-color: blueviolet; |
||||
position: relative; |
||||
/* overflow: hidden; */ |
||||
width: 100%; |
||||
/* height: 100%; */ |
||||
/* padding-top: 56.25%; //16:9 Aspect Ratio */ |
||||
} |
||||
|
||||
.guide { |
||||
display: block; |
||||
width: 100%; |
||||
/* height: 100%; */ |
||||
background-color: rgb(63, 106, 236); |
||||
} |
||||
iframe { |
||||
/* position: relative; */ |
||||
top: 0; |
||||
left: 0; |
||||
bottom: 0; |
||||
right: 0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
Loading…
Reference in new issue