diff --git a/pom.xml b/pom.xml
index b75f04d..1776601 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,9 +10,9 @@
war
- demo
+ moodle-webreport
- http://www.example.com
+ http://www.molokoin.ru
UTF-8
diff --git a/src/main/java/ru/egspt/MainServlet.java b/src/main/java/ru/egspt/MainServlet.java
index 6e506aa..6d7cfab 100644
--- a/src/main/java/ru/egspt/MainServlet.java
+++ b/src/main/java/ru/egspt/MainServlet.java
@@ -10,11 +10,29 @@ import java.io.PrintWriter;
@WebServlet("/hello")
public class MainServlet extends HttpServlet {
- @Override
- protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
- resp.setContentType("text/html");
- PrintWriter printWriter = resp.getWriter();
- printWriter.write("it works!");
- printWriter.close();
+ @Override
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
+ response.setContentType("text/html");
+ PrintWriter out = response.getWriter();
+ //подготовка основной страницы
+ out.println("");
+ out.println("");
+ out.println("");{
+ //формирование HEAD
+ out.println("");{
+ out.println(" ");
+ out.println(" ");
+ out.println(" ");
+ out.println("moodle-web-report ");
+ }out.println("");
+ //формирование BODY
+ out.println("");{
+ out.println("");{
+ out.println("
try ");
+ }out.println("
");
+ out.println("generate report ");
+ }out.println("");
+ }out.println("");
+ out.close();
}
}
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/css/style.css b/src/main/webapp/WEB-INF/css/style.css
new file mode 100644
index 0000000..50893ee
--- /dev/null
+++ b/src/main/webapp/WEB-INF/css/style.css
@@ -0,0 +1,45 @@
+body {
+ font-family: Arial;
+ padding: 20px;
+ background: #f1f1f1;
+}
+div {
+ background-color: rgb(181, 122, 236);
+ padding: 5px;
+ margin: 5px;
+}
+.header{
+ display: block;
+ padding: 30px;
+ font-size: 40px;
+ text-align: center;
+ background: rgb(181, 122, 236);
+ /*position: relative; top: 20px;*/
+}
+.controls{
+ /*position: relative; left: 20px;*/
+ list-style: none; /* Отключение отображения маркеров. */
+ width: 25%; /* Ширина меню. */
+ float: left;
+ /*padding-left: 20px;*/
+}
+.controls li {
+ margin: 5px; /* Отступ между блоками по высоте, необходимый для того чтобы пункты меню не сливались */
+ font-family: Verdana, Arial, Helvetica, sans-serif; /* Тип шрифта пунктов меню */
+ font-size: 14px; /* Размер текста меню */
+}
+.controls li a{
+ display: block; /* Изменение отображения на блочное для того, чтобы иметь возможность задать внутренние отступы. */
+ padding: 4px 15px; /* Отступы внутри блоков. */
+ background: #0db5b5; /* Цвет блоков меню. */
+ color: #3f3f3f; /* Цвет текста в блоках меню. */
+ text-decoration: none; /* Устранение подчёркивания ссылок. */
+ position: relative; /* Это необходимо при использовании Internet Explorer 6 для того, чтобы ссылка по всей своей площади была «кликабельной». */
+}
+.controls li a:hover {
+ background: #92d3d3; /* Цвет фона при наведении курсора мыши */
+ color: #6b6b6b; /* Цвет текста при наведении курсора мыши */
+}
+.mainframe{
+ background-color: aliceblue;
+}
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/index.html b/src/main/webapp/WEB-INF/index.html
new file mode 100644
index 0000000..744949d
--- /dev/null
+++ b/src/main/webapp/WEB-INF/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+ molokoin.ru
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/WEB-INF/js/main.js b/src/main/webapp/WEB-INF/js/main.js
new file mode 100644
index 0000000..1a90dbd
--- /dev/null
+++ b/src/main/webapp/WEB-INF/js/main.js
@@ -0,0 +1 @@
+console.log("qu")
\ No newline at end of file
diff --git a/target/classes/ru/egspt/MainServlet.class b/target/classes/ru/egspt/MainServlet.class
index 5d51313..0108df6 100644
Binary files a/target/classes/ru/egspt/MainServlet.class and b/target/classes/ru/egspt/MainServlet.class differ
diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties
index 1c88cce..e2cabd5 100644
--- a/target/maven-archiver/pom.properties
+++ b/target/maven-archiver/pom.properties
@@ -1,3 +1,3 @@
-artifactId=moodle-web
-groupId=ru.egspt
-version=0.1
+artifactId=moodle-web
+groupId=ru.egspt
+version=0.1
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
index 31bf67b..1f2c1f7 100644
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -1 +1 @@
-ru/egspt/MainServlet.class
+ru\egspt\MainServlet.class
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
index d8e6336..c51112f 100644
--- a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -1 +1 @@
-/home/esoe/Documents/code/moodle-web/src/main/java/ru/egspt/MainServlet.java
+c:\Users\Strannik\Documents\esoe\code\moodle-web\src\main\java\ru\egspt\MainServlet.java
diff --git a/target/moodle-web-0.1.war b/target/moodle-web-0.1.war
index 9fafce7..d694fd1 100644
Binary files a/target/moodle-web-0.1.war and b/target/moodle-web-0.1.war differ
diff --git a/target/moodle-web-0.1/WEB-INF/classes/ru/egspt/MainServlet.class b/target/moodle-web-0.1/WEB-INF/classes/ru/egspt/MainServlet.class
index 5d51313..0108df6 100644
Binary files a/target/moodle-web-0.1/WEB-INF/classes/ru/egspt/MainServlet.class and b/target/moodle-web-0.1/WEB-INF/classes/ru/egspt/MainServlet.class differ
diff --git a/target/moodle-web-0.1/WEB-INF/css/style.css b/target/moodle-web-0.1/WEB-INF/css/style.css
new file mode 100644
index 0000000..50893ee
--- /dev/null
+++ b/target/moodle-web-0.1/WEB-INF/css/style.css
@@ -0,0 +1,45 @@
+body {
+ font-family: Arial;
+ padding: 20px;
+ background: #f1f1f1;
+}
+div {
+ background-color: rgb(181, 122, 236);
+ padding: 5px;
+ margin: 5px;
+}
+.header{
+ display: block;
+ padding: 30px;
+ font-size: 40px;
+ text-align: center;
+ background: rgb(181, 122, 236);
+ /*position: relative; top: 20px;*/
+}
+.controls{
+ /*position: relative; left: 20px;*/
+ list-style: none; /* Отключение отображения маркеров. */
+ width: 25%; /* Ширина меню. */
+ float: left;
+ /*padding-left: 20px;*/
+}
+.controls li {
+ margin: 5px; /* Отступ между блоками по высоте, необходимый для того чтобы пункты меню не сливались */
+ font-family: Verdana, Arial, Helvetica, sans-serif; /* Тип шрифта пунктов меню */
+ font-size: 14px; /* Размер текста меню */
+}
+.controls li a{
+ display: block; /* Изменение отображения на блочное для того, чтобы иметь возможность задать внутренние отступы. */
+ padding: 4px 15px; /* Отступы внутри блоков. */
+ background: #0db5b5; /* Цвет блоков меню. */
+ color: #3f3f3f; /* Цвет текста в блоках меню. */
+ text-decoration: none; /* Устранение подчёркивания ссылок. */
+ position: relative; /* Это необходимо при использовании Internet Explorer 6 для того, чтобы ссылка по всей своей площади была «кликабельной». */
+}
+.controls li a:hover {
+ background: #92d3d3; /* Цвет фона при наведении курсора мыши */
+ color: #6b6b6b; /* Цвет текста при наведении курсора мыши */
+}
+.mainframe{
+ background-color: aliceblue;
+}
\ No newline at end of file
diff --git a/target/moodle-web-0.1/WEB-INF/index.html b/target/moodle-web-0.1/WEB-INF/index.html
new file mode 100644
index 0000000..744949d
--- /dev/null
+++ b/target/moodle-web-0.1/WEB-INF/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+ molokoin.ru
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/target/moodle-web-0.1/WEB-INF/js/main.js b/target/moodle-web-0.1/WEB-INF/js/main.js
new file mode 100644
index 0000000..1a90dbd
--- /dev/null
+++ b/target/moodle-web-0.1/WEB-INF/js/main.js
@@ -0,0 +1 @@
+console.log("qu")
\ No newline at end of file
diff --git a/target/moodle-web-0.1/css/style.css b/target/moodle-web-0.1/css/style.css
new file mode 100644
index 0000000..50893ee
--- /dev/null
+++ b/target/moodle-web-0.1/css/style.css
@@ -0,0 +1,45 @@
+body {
+ font-family: Arial;
+ padding: 20px;
+ background: #f1f1f1;
+}
+div {
+ background-color: rgb(181, 122, 236);
+ padding: 5px;
+ margin: 5px;
+}
+.header{
+ display: block;
+ padding: 30px;
+ font-size: 40px;
+ text-align: center;
+ background: rgb(181, 122, 236);
+ /*position: relative; top: 20px;*/
+}
+.controls{
+ /*position: relative; left: 20px;*/
+ list-style: none; /* Отключение отображения маркеров. */
+ width: 25%; /* Ширина меню. */
+ float: left;
+ /*padding-left: 20px;*/
+}
+.controls li {
+ margin: 5px; /* Отступ между блоками по высоте, необходимый для того чтобы пункты меню не сливались */
+ font-family: Verdana, Arial, Helvetica, sans-serif; /* Тип шрифта пунктов меню */
+ font-size: 14px; /* Размер текста меню */
+}
+.controls li a{
+ display: block; /* Изменение отображения на блочное для того, чтобы иметь возможность задать внутренние отступы. */
+ padding: 4px 15px; /* Отступы внутри блоков. */
+ background: #0db5b5; /* Цвет блоков меню. */
+ color: #3f3f3f; /* Цвет текста в блоках меню. */
+ text-decoration: none; /* Устранение подчёркивания ссылок. */
+ position: relative; /* Это необходимо при использовании Internet Explorer 6 для того, чтобы ссылка по всей своей площади была «кликабельной». */
+}
+.controls li a:hover {
+ background: #92d3d3; /* Цвет фона при наведении курсора мыши */
+ color: #6b6b6b; /* Цвет текста при наведении курсора мыши */
+}
+.mainframe{
+ background-color: aliceblue;
+}
\ No newline at end of file
diff --git a/target/moodle-web-0.1/index.html b/target/moodle-web-0.1/index.html
new file mode 100644
index 0000000..744949d
--- /dev/null
+++ b/target/moodle-web-0.1/index.html
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+ molokoin.ru
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/target/moodle-web-0.1/js/main.js b/target/moodle-web-0.1/js/main.js
new file mode 100644
index 0000000..1a90dbd
--- /dev/null
+++ b/target/moodle-web-0.1/js/main.js
@@ -0,0 +1 @@
+console.log("qu")
\ No newline at end of file