Skip to content

Commit

Permalink
created empty views for remaining pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sbryzak committed Jun 8, 2011
1 parent 0cfcd86 commit 393153a
Show file tree
Hide file tree
Showing 9 changed files with 83 additions and 10 deletions.
10 changes: 10 additions & 0 deletions src/main/webapp/about.xw
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<xw:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:xw="http://xwidgets.org/core"
xmlns:seam="http://seam.jboss.org/xwidgets">

<h1>About Seam University</h1>



</xw:view>
8 changes: 8 additions & 0 deletions src/main/webapp/feeds.xw
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<xw:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:xw="http://xwidgets.org/core"
xmlns:seam="http://seam.jboss.org/xwidgets">

<h1>Feeds</h1>

</xw:view>
8 changes: 8 additions & 0 deletions src/main/webapp/home.xw
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<xw:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:xw="http://xwidgets.org/core"
xmlns:seam="http://seam.jboss.org/xwidgets">

<h1>Home</h1>

</xw:view>
9 changes: 4 additions & 5 deletions src/main/webapp/index.html
Expand Up @@ -7,14 +7,15 @@
<link href="style/default.css" rel="stylesheet" type="text/css"/>
<link href='http://fonts.googleapis.com/css?family=Puritan' rel='stylesheet' type='text/css'>
<link REL="SHORTCUT ICON" HREF="/favicon.ico"/>


<script src="xwidgets/resources/xw.js"></script>
<script type="text/javascript" src="seam/resource/remoting/resource/remote.js"></script>
<script type="text/javascript" src="seam/resource/remoting/interface.js?org.jboss.seam.university.action.CategorySearch"></script>
</head>
<body>
<div id="container">
<div id="header">
<div id="logo"></div>
<div id="logo" onclick="javascript:xw.openView('home.xw', 'content')"></div>
<div id="menu"></div>
</div>

Expand All @@ -23,12 +24,10 @@

</body>

<script src="xwidgets/resources/xw.js"></script>
<script src="xwidgets/resources/org/xwidgets/core/selectitems.js"></script>

<script type="text/javascript">
xw.setResourceBase("xwidgets/resources/");
xw.openView("menu.xw", "menu");
xw.openView("home.xw", "content");
</script>

</html>
8 changes: 8 additions & 0 deletions src/main/webapp/learn.xw
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<xw:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:xw="http://xwidgets.org/core"
xmlns:seam="http://seam.jboss.org/xwidgets">

<h1>Learn</h1>

</xw:view>
33 changes: 28 additions & 5 deletions src/main/webapp/menu.xw
@@ -1,15 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<xw:view xmlns="http://www.w3.org/1999/xhtml" xmlns:xw="http://xwidgets.org/core">
<xw:link styleClass="menu" caption="learn"/>
<xw:link styleClass="menu" caption="learn">
<xw:event type="onclick">
<xw:action type="script">xw.openView("learn.xw", "content")</xw:action>
</xw:event>
</xw:link>

<xw:link styleClass="menu" caption="share">
<xw:event type="onclick">
<xw:action type="script">xw.openView("share.xw", "content")</xw:action>
</xw:event>
</xw:link>

<xw:link styleClass="menu" caption="about"/>
<xw:link styleClass="menu" caption="settings"/>
<xw:link styleClass="menu" caption="profile"/>
<xw:link styleClass="menu" caption="feeds"/>
<xw:link styleClass="menu" caption="about">
<xw:event type="onclick">
<xw:action type="script">xw.openView("about.xw", "content")</xw:action>
</xw:event>
</xw:link>

<xw:link styleClass="menu" caption="settings">
<xw:event type="onclick">
<xw:action type="script">xw.openView("settings.xw", "content")</xw:action>
</xw:event>
</xw:link>

<xw:link styleClass="menu" caption="profile">
<xw:event type="onclick">
<xw:action type="script">xw.openView("profile.xw", "content")</xw:action>
</xw:event>
</xw:link>

<xw:link styleClass="menu" caption="feeds">
<xw:event type="onclick">
<xw:action type="script">xw.openView("feeds.xw", "content")</xw:action>
</xw:event>
</xw:link>
</xw:view>
8 changes: 8 additions & 0 deletions src/main/webapp/profile.xw
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<xw:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:xw="http://xwidgets.org/core"
xmlns:seam="http://seam.jboss.org/xwidgets">

<h1>Profile</h1>

</xw:view>
8 changes: 8 additions & 0 deletions src/main/webapp/settings.xw
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<xw:view xmlns="http://www.w3.org/1999/xhtml"
xmlns:xw="http://xwidgets.org/core"
xmlns:seam="http://seam.jboss.org/xwidgets">

<h1>Settings</h1>

</xw:view>
1 change: 1 addition & 0 deletions src/main/webapp/style/default.css
Expand Up @@ -48,6 +48,7 @@ body {
background: url(logo.png) top left no-repeat;
width: 195px;
height: 71px;
cursor: pointer;
position: relative;
}

Expand Down

0 comments on commit 393153a

Please sign in to comment.