diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-29 00:17:18 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2012-05-29 00:17:18 +0000 |
commit | 136d9fa1c8b17d472741e9dcca68af6a0c99462a (patch) | |
tree | 8f9c5210513f1a5cb649d8c7a2349a2d82980bb2 /sca-cpp/trunk/hosting/server/data/apps/shoppingcart/htdocs/app.html | |
parent | a7a8f4f9c9bbbd3bd16605235440dec29f581ad7 (diff) |
Refactor sample app definitions into proper ATOM entries.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343439 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/hosting/server/data/apps/shoppingcart/htdocs/app.html')
-rw-r--r-- | sca-cpp/trunk/hosting/server/data/apps/shoppingcart/htdocs/app.html | 113 |
1 files changed, 60 insertions, 53 deletions
diff --git a/sca-cpp/trunk/hosting/server/data/apps/shoppingcart/htdocs/app.html b/sca-cpp/trunk/hosting/server/data/apps/shoppingcart/htdocs/app.html index 0464f3e4c4..dbca542ac9 100644 --- a/sca-cpp/trunk/hosting/server/data/apps/shoppingcart/htdocs/app.html +++ b/sca-cpp/trunk/hosting/server/data/apps/shoppingcart/htdocs/app.html @@ -17,56 +17,63 @@ * specific language governing permissions and limitations * under the License. --> -<DIV id="page"> - <SPAN id="page:h2" class="h2" style="position: absolute; top: 0px; left: 2px; "> - <H2>Shopping Cart</H2> - </SPAN> - <SPAN id="message" class="text" style="position: absolute; top: 36px; left: 2px; "> - <SPAN>Welcome</SPAN> - </SPAN> - <SPAN id="page:section" class="section" style="position: absolute; top: 63px; width: 100%; left: 2px; "> - <SPAN>Catalog</SPAN> - </SPAN> - <SPAN id="page:button" class="button" style="position: absolute; top: 63px; left: 146px; "> - <INPUT type="button" value="Add to cart" class="graybutton"/> - </SPAN> - <SPAN id="catalog" class="list" style="position: absolute; top: 99px; width: 100%; left: 2px; "> - <TABLE class="datatable" style="width: 100%; "> - <TBODY> - <TR> - <TD>=catalog</TD> - </TR> - <TR> - <TD>...</TD> - </TR> - </TBODY> - </TABLE> - </SPAN> - <SPAN id="page:section" class="section" style="position: absolute; top: 180px; width: 100%; left: 2px; "> - <SPAN>Your cart:</SPAN> - </SPAN> - <SPAN id="page:text" class="text" style="position: absolute; top: 180px; left: 83px; "> - <SPAN>$</SPAN> - </SPAN> - <SPAN id="total" class="text" style="position: absolute; top: 180px; left: 92px; "> - <SPAN>=total</SPAN> - </SPAN> - <SPAN id="page:button" class="button" style="position: absolute; top: 180px; left: 146px; "> - <INPUT type="button" value="Check out" class="graybutton"/> - </SPAN> - <SPAN id="page:button" class="button" style="position: absolute; top: 180px; left: 245px; "> - <INPUT type="button" value="Empty" class="graybutton"/> - </SPAN> - <SPAN id="cart" class="list" style="position: absolute; top: 216px; width: 100%; left: 2px; "> - <TABLE class="datatable" style="width: 100%; "> - <TBODY> - <TR> - <TD>=cart</TD> - </TR> - <TR> - <TD>...</TD> - </TR> - </TBODY> - </TABLE> - </SPAN> -</DIV> +<entry xmlns="http://www.w3.org/2005/Atom"> + <title type="text">shoppingcart</title> + <id>shoppingcart</id> + <content type="application/xml"> + <DIV id="page"> + <SPAN id="page:h2" class="h2" style="position: absolute; top: 0px; left: 2px; "> + <H2>Shopping Cart</H2> + </SPAN> + <SPAN id="message" class="text" style="position: absolute; top: 36px; left: 2px; "> + <SPAN>Welcome</SPAN> + </SPAN> + <SPAN id="page:section" class="section" style="position: absolute; top: 63px; width: 100%; left: 2px; "> + <SPAN>Catalog</SPAN> + </SPAN> + <SPAN id="page:button" class="button" style="position: absolute; top: 63px; left: 146px; "> + <INPUT type="button" value="Add to cart" class="graybutton"/> + </SPAN> + <SPAN id="catalog" class="list" style="position: absolute; top: 99px; width: 100%; left: 2px; "> + <TABLE class="datatable" style="width: 100%; "> + <TBODY> + <TR> + <TD>=catalog</TD> + </TR> + <TR> + <TD>...</TD> + </TR> + </TBODY> + </TABLE> + </SPAN> + <SPAN id="page:section" class="section" style="position: absolute; top: 180px; width: 100%; left: 2px; "> + <SPAN>Your cart:</SPAN> + </SPAN> + <SPAN id="page:text" class="text" style="position: absolute; top: 180px; left: 83px; "> + <SPAN>$</SPAN> + </SPAN> + <SPAN id="total" class="text" style="position: absolute; top: 180px; left: 92px; "> + <SPAN>=total</SPAN> + </SPAN> + <SPAN id="page:button" class="button" style="position: absolute; top: 180px; left: 146px; "> + <INPUT type="button" value="Check out" class="graybutton"/> + </SPAN> + <SPAN id="page:button" class="button" style="position: absolute; top: 180px; left: 245px; "> + <INPUT type="button" value="Empty" class="graybutton"/> + </SPAN> + <SPAN id="cart" class="list" style="position: absolute; top: 216px; width: 100%; left: 2px; "> + <TABLE class="datatable" style="width: 100%; "> + <TBODY> + <TR> + <TD>=cart</TD> + </TR> + <TR> + <TD>...</TD> + </TR> + </TBODY> + </TABLE> + </SPAN> + </DIV> + </content> + <link href="shoppingcart"/> +</entry> |