summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-07-01 17:25:18 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-07-01 17:25:18 -0400
commitc75d7dbd613a47b217499f7a856c469a8bc59e2a (patch)
treef4cb5b93401b6a8e0f9f362e82010e8703930734
parent0a3e72585d76d4ac8686e02fdd0b8a58928b9a57 (diff)
Further improvements to the test project
Improve further on the test project. The current end-goal for what that will be is a basic blog, with a capability to do basic CRM for the blog entries using the browser
-rw-r--r--wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html77
-rw-r--r--wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod30
-rw-r--r--wotonomy-web-test/src/main/webapp/WEB-INF/web.xml4
3 files changed, 59 insertions, 52 deletions
diff --git a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html
index 03d5f83..a5de5d7 100644
--- a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html
+++ b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.html
@@ -1,23 +1,58 @@
-<HTML>
-<HEAD><TITLE>MyTest</TITLE></HEAD>
+<html>
+ <head>
+ <title>Welcome to Jakarta EE!</title>
+ </head>
+ <body>
+ <div class="header">
+ <h2>Blog Name</h2>
+ </div>
-<BODY>
+ <div class="row">
+ <div class="leftcolumn">
+ <webobject name="cardlist">
+ <div class="card">
+ <h2>TITLE HEADING</h2>
+ <h5>Title description, Dec 7, 2017</h5>
+ <div class="fakeimg" style="height:200px;">
+ Image
+ </div>
+ <p>Some text..</p>
+ </div>
+ </webobject>
+ <div class="card">
+ <h2>TITLE HEADING</h2>
+ <h5>Title description, Sep 2, 2017</h5>
+ <div class="fakeimg" style="height:200px;">
+ Image
+ </div>
+ <p>Some text..</p>
+ </div>
+ </div>
+ <div class="rightcolumn">
+ <div class="card">
+ <h2>About Me</h2>
+ <div class="fakeimg" style="height:100px;">
+ Image
+ </div>
+ <p>
+ Some text about me in culpa qui officia deserunt mollit anim..
+ </p>
+ </div>
+ <div class="card">
+ <h3>Popular Post</h3>
+ <div class="fakeimg">Image</div><br>
+ <div class="fakeimg">Image</div><br>
+ <div class="fakeimg">Image</div>
+ </div>
+ <div class="card">
+ <h3>Follow Me</h3>
+ <p>Some text..</p>
+ </div>
+ </div>
+ </div>
-<WEBOBJECT NAME=showTime>
-The time is <WEBOBJECT NAME=time></WEBOBJECT>.
-<BR><BR>
-</WEBOBJECT>
-<WEBOBJECT NAME=timeLink></WEBOBJECT>
-
-<WEBOBJECT NAME=FORM>
-Here's a textfield: <WEBOBJECT NAME=textfield></WEBOBJECT>
-<WEBOBJECT NAME=submit></WEBOBJECT>
-</WEBOBJECT>
-
-<BR><BR>
-Here's a link to an <WEBOBJECT NAME=EXTLINK>external site</WEBOBJECT>.
-<BR>
-And here's a link to a <WEBOBJECT NAME=DIRLINK>direct action</WEBOBJECT>.
-
-</BODY>
-</HTML>
+ <div class="footer">
+ <h2>Footer</h2>
+ </div>
+ </body>
+</html>
diff --git a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod
index 57b5656..564d8d9 100644
--- a/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod
+++ b/wotonomy-web-test/src/main/webapp/WEB-INF/classes/Main.wo/Main.wod
@@ -1,31 +1,3 @@
-showTime : WOConditional {
+cardlist : WORepetition {
}
-
-time: WOString {
-
-}
-
-timeLink : WOHyperlink {
-
-}
-
-FORM : WOForm {
-
-}
-
-textfield : WOTextField {
-
-}
-
-submit : WOSubmitButton {
-
-}
-
-EXTLINK : WOHyperlink {
-
-}
-
-DIRLINK : WOHyperlink {
-
-}
diff --git a/wotonomy-web-test/src/main/webapp/WEB-INF/web.xml b/wotonomy-web-test/src/main/webapp/WEB-INF/web.xml
index b505b52..72a5389 100644
--- a/wotonomy-web-test/src/main/webapp/WEB-INF/web.xml
+++ b/wotonomy-web-test/src/main/webapp/WEB-INF/web.xml
@@ -6,12 +6,12 @@
<web-app>
<servlet>
- <servlet-name>ApplicatonServlet</servlet-name>
+ <servlet-name>ApplicationServlet</servlet-name>
<servlet-class>Application</servlet-class>
</servlet>
<servlet-mapping>
- <servlet-name>ApplicatonServlet</servlet-name>
+ <servlet-name>ApplicationServlet</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
</web-app>