Skip to content

Instantly share code, notes, and snippets.

@nicknezis
Forked from jdanyow/app.html
Last active August 3, 2016 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicknezis/65672322d74f380861a1c12525bbe85f to your computer and use it in GitHub Desktop.
Save nicknezis/65672322d74f380861a1c12525bbe85f to your computer and use it in GitHub Desktop.
<template>
<div id="main" class="container-fluid clear-top">
<div class="row">
<div class="col-md-4 col-sm-12 col-xs-12">
<div class="row">
<div id="quarterback" class="col-md-12 col-sm-12 col-xs-12">
<table class="table table-condensed table-hover table-striped">
<tbody>
<tr repeat.for="$i of 10">
<td>1</td>
<td>Cam Newton</td>
<td>5.0</td>
<td>3</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row">
<div id="tightend" class="col-md-12 col-sm-12 col-xs-12">
<table class="table table-condensed table-hover table-striped">
<tbody>
<tr repeat.for="$i of 10">
<td>1</td>
<td>Gronk</td>
<td>5.0</td>
<td>3</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="runningback" class="col-md-4 col-sm-12 col-xs-12">
<table class="table table-condensed table-hover table-striped">
<tbody>
<tr repeat.for="$i of 30">
<td>1</td>
<td>Todd Gurley</td>
<td>5.0</td>
<td>3</td>
</tr>
</tbody>
</table>
</div>
<div id="widereceiver" class="col-md-4 col-sm-12 col-xs-12">
<table class="table table-condensed table-hover table-striped">
<tbody>
<tr repeat.for="$i of 40">
<td>1</td>
<td>Antonio Brown</td>
<td>5.0</td>
<td>3</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</template>
export class App {
changeCount = 0;
inputCount = 0;
incrementInputCount(inputElement) {
console.log(inputElement.value);
this.inputCount++;
}
}
<!doctype html>
<html>
<head>
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
form {
border: 1px solid blue;
margin: 10px;
padding: 10px;
}
</style>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</head>
<body aurelia-app>
<h1>Loading...</h1>
<script src="https://jdanyow.github.io/rjs-bundle/node_modules/requirejs/require.js"></script>
<script src="https://jdanyow.github.io/rjs-bundle/config.js"></script>
<script src="https://jdanyow.github.io/rjs-bundle/bundles/aurelia.js"></script>
<script src="https://jdanyow.github.io/rjs-bundle/bundles/babel.js"></script>
<script>
require(['aurelia-bootstrapper']);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment