2015-06-10 14:25:27 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html class="no-js" lang="">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Gwent</title>
|
|
|
|
<meta name="description" content="">
|
2015-06-19 16:40:35 +00:00
|
|
|
<link rel="stylesheet" href="build/bootstrap.css">
|
|
|
|
<link rel="stylesheet" href="build/main.css">
|
|
|
|
<script src="Config.js"></script>
|
2015-06-10 14:25:27 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2015-06-13 22:33:20 +00:00
|
|
|
<script id="info-template" type="text/x-handlebars-template">
|
|
|
|
<div class="col-xs-12 game-info game-info-foe foe">
|
|
|
|
<div class="col-xs-12 info-name">{{name}}</div>
|
|
|
|
<div class="col-xs-6 field-single field-leader"></div>
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Points:</div>
|
|
|
|
<div class="col-xs-6 score">{{score}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Hand:</div>
|
|
|
|
<div class="col-xs-6 hand-card">{{hand}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 gwent-lives">
|
|
|
|
{{#health}}
|
|
|
|
{{/health}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 passing">Passed</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2015-06-13 19:36:02 +00:00
|
|
|
<script id="battle-template" type="text/x-handlebars-template">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-3 left-side">
|
2015-06-13 07:58:55 +00:00
|
|
|
<div class="col-xs-12 game-info game-info-foe foe">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-12 info-name"></div>
|
|
|
|
<div class="col-xs-6 field-single field-leader"></div>
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Points:</div>
|
|
|
|
<div class="col-xs-6 score">0</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Hand:</div>
|
|
|
|
<div class="col-xs-6 hand-card">0</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 gwent-lives">
|
|
|
|
<i class="ruby"></i>
|
|
|
|
<i class="ruby"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 passing">Passed</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 field field-weather">
|
|
|
|
field
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 game-info game-info-player player">
|
2015-06-13 22:33:20 +00:00
|
|
|
<div class="col-xs-12 info-name">{{name}}</div>
|
|
|
|
<div class="col-xs-6 field-single field-leader"></div>
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Points:</div>
|
|
|
|
<div class="col-xs-6 score">{{score}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Hand:</div>
|
|
|
|
<div class="col-xs-6 hand-card">{{hand}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 gwent-lives">
|
|
|
|
{{#health lives}}{{/health}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 passing">Passed</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<button class="button-pass">Pass</button>
|
|
|
|
</div>
|
2015-06-10 14:25:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="row">
|
2015-06-13 07:58:55 +00:00
|
|
|
<div class="col-xs-12 battleside battleside-foe foe">
|
2015-06-21 14:50:50 +00:00
|
|
|
<div class="col-xs-2 field-horn field-horn-siege">
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 field">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-1 large-field-counter">0</div>
|
|
|
|
<div class="col-xs-11 field-siege"></div>
|
|
|
|
</div>
|
2015-06-21 14:50:50 +00:00
|
|
|
<div class="col-xs-2 field-horn field-horn-range">
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 field">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-1 large-field-counter">0</div>
|
|
|
|
<div class="col-xs-11 field-range"></div>
|
|
|
|
</div>
|
2015-06-21 14:50:50 +00:00
|
|
|
<div class="col-xs-2 field-horn field-horn-close">
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 field">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-1 large-field-counter">0</div>
|
|
|
|
<div class="col-xs-11 field-close"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 mid-line"></div>
|
|
|
|
<div class="col-xs-12 battleside battleside-player player">
|
2015-06-21 14:50:50 +00:00
|
|
|
<div class="col-xs-2 field-horn field-horn-close">
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 field{{#if active.close}} active{{/if}}">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-1 large-field-counter">0</div>
|
|
|
|
<div class="col-xs-11 field-close"></div>
|
|
|
|
</div>
|
2015-06-21 14:50:50 +00:00
|
|
|
<div class="col-xs-2 field-horn field-horn-range">
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 field{{#if active.range}} active{{/if}}">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-1 large-field-counter">0</div>
|
|
|
|
<div class="col-xs-11 field-range"></div>
|
|
|
|
</div>
|
2015-06-21 14:50:50 +00:00
|
|
|
<div class="col-xs-2 field-horn field-horn-siege">
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-10 field{{#if active.range}} active{{/if}}">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-1 large-field-counter">0</div>
|
|
|
|
<div class="col-xs-11 field-siege"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 field field-hand">
|
2015-06-13 19:36:02 +00:00
|
|
|
{{#each cards}}
|
2015-06-14 14:01:25 +00:00
|
|
|
<div class="card" data-key="{{_key}}" data-id="{{_id}}">
|
2015-06-13 19:36:02 +00:00
|
|
|
<img src='../assets/cards/{{_data.img}}.png'>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2015-06-10 14:25:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-3">
|
2015-06-13 20:04:44 +00:00
|
|
|
<div class="col-xs-12 card-preview">
|
2015-06-18 13:06:13 +00:00
|
|
|
<!--<img src="{{preview}}">-->
|
2015-06-13 20:04:44 +00:00
|
|
|
</div>
|
2015-06-13 07:58:55 +00:00
|
|
|
<div class="col-xs-12 right-side right-side-foe foe">
|
2015-06-10 14:25:27 +00:00
|
|
|
<div class="col-xs-5 field-discard field-single">
|
|
|
|
discard deck
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-5 field-single field-deck pull-right">
|
|
|
|
main deck
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12 right-side right-side-player player">
|
|
|
|
<div class="col-xs-5 field-discard field-single">
|
|
|
|
discard deck
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-5 field-single field-deck pull-right">
|
|
|
|
main deck
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-13 19:36:02 +00:00
|
|
|
</script>
|
2015-06-13 07:58:55 +00:00
|
|
|
<script id="matchmaker-template" type="text/x-handlebars-template">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">Gwent</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<input type="text" class="name-input" value="{{name}}">
|
2015-06-19 12:14:37 +00:00
|
|
|
<select id="deckChoice">
|
|
|
|
<option value="northern_realm">Deck: Northern Realms</option>
|
|
|
|
<option value="scoiatael">Deck: Scoia'tael</option>
|
|
|
|
<option value="monster">Deck: Monster</option>
|
|
|
|
</select>
|
2015-06-13 07:58:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<button type="button" class="btn btn-primary create-room">Create Room</button>
|
|
|
|
<button type="button" class="btn btn-primary join-room">Join Room</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
|
|
|
<script id="game-info-template" type="text/x-handlebars-template">
|
|
|
|
<div class="col-xs-12 info-name">{{name}}</div>
|
|
|
|
<div class="col-xs-6 field-single field-leader"></div>
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Points:</div>
|
|
|
|
<div class="col-xs-6 score">{{score}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-6">Hand:</div>
|
|
|
|
<div class="col-xs-6 hand-card">{{hand}}</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 gwent-lives">
|
|
|
|
<!--<i class="ruby"></i>-->
|
|
|
|
{{#health lives}}{{/health}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 passing">Passed</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<button class="button-pass">Pass</button>
|
|
|
|
</div>
|
|
|
|
</script>
|
2015-06-18 13:06:13 +00:00
|
|
|
<script type="text/template" id="modal-template">
|
|
|
|
<div class="bbm-modal__topbar">
|
|
|
|
<h3 class="bbm-modal__title">Discard of {{openDiscard.name}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="bbm-modal__section">
|
|
|
|
{{#each openDiscard.discard}}
|
|
|
|
<div class="card" data-key="{{_key}}" data-id="{{_id}}">
|
|
|
|
<img src="../assets/cards/{{_data.img}}.png">
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
<div class="bbm-modal__bottombar">
|
|
|
|
<div class="bbm-button bbm-close">close</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2015-06-19 12:14:37 +00:00
|
|
|
<script type="text/template" id="modal-medic-template">
|
|
|
|
<div class="bbm-modal__topbar">
|
|
|
|
<h3 class="bbm-modal__title">Choose one card from your discard</h3>
|
|
|
|
</div>
|
|
|
|
<div class="bbm-modal__section">
|
|
|
|
{{#each medicDiscard.cards}}
|
|
|
|
<div class="card" data-key="{{_key}}" data-id="{{_id}}">
|
|
|
|
<img src="../assets/cards/{{_data.img}}.png">
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
<div class="bbm-modal__bottombar">
|
|
|
|
<div class="bbm-button bbm-close">close</div>
|
|
|
|
</div>
|
|
|
|
</script>
|
2015-06-18 13:06:13 +00:00
|
|
|
<script type="text/template" id="preview-template">
|
|
|
|
<img src="{{src}}">
|
|
|
|
</script>
|
2015-06-19 16:40:35 +00:00
|
|
|
<script src="build/app.js"></script>
|
2015-06-10 14:25:27 +00:00
|
|
|
</body>
|
|
|
|
</html>
|