1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/minesweeper/src/main/webapp/pages/index.html Fri Feb 07 14:47:07 2014 +0100
1.3 @@ -0,0 +1,62 @@
1.4 +<!--
1.5 +
1.6 + The MIT License (MIT)
1.7 +
1.8 + Copyright (C) 2013 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
1.9 +
1.10 + Permission is hereby granted, free of charge, to any person obtaining a copy
1.11 + of this software and associated documentation files (the "Software"), to deal
1.12 + in the Software without restriction, including without limitation the rights
1.13 + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1.14 + copies of the Software, and to permit persons to whom the Software is
1.15 + furnished to do so, subject to the following conditions:
1.16 +
1.17 + The above copyright notice and this permission notice shall be included in
1.18 + all copies or substantial portions of the Software.
1.19 +
1.20 + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1.21 + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1.22 + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1.23 + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1.24 + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1.25 + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
1.26 + THE SOFTWARE.
1.27 +
1.28 +-->
1.29 +<!DOCTYPE html>
1.30 +<html>
1.31 + <head>
1.32 + <title></title>
1.33 + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
1.34 + <link href="bootstrap.css" rel="stylesheet">
1.35 + <link href="bootstrap-responsive.css" rel="stylesheet">
1.36 + <link href="mines.css" rel="stylesheet">
1.37 + </head>
1.38 + <body>
1.39 + <h1>MineSweeper</h1>
1.40 + A demo of an HTML/Java rendering technology.
1.41 +
1.42 + <table class="field">
1.43 + <tbody>
1.44 + <!-- ko foreach: rows -->
1.45 + <tr>
1.46 + <!-- ko foreach: columns -->
1.47 + <td data-bind="click: $parents[1].click" >
1.48 + <span data-bind='css: state, text: text'></span>
1.49 + </td>
1.50 + <!-- /ko -->
1.51 + </tr>
1.52 + <!-- /ko -->
1.53 + </tbody>
1.54 + </table>
1.55 +
1.56 +
1.57 +
1.58 + <script type="text/javascript" src="bck2brwsr.js"></script>
1.59 + <script>
1.60 + var vm = bck2brwsr('${project.build.finalName}.jar');
1.61 + vm.loadClass('cz.xelfi.demo.minesweeper.MainBrwsr');
1.62 + </script>
1.63 +
1.64 + </body>
1.65 +</html>