Skip to content

Instantly share code, notes, and snippets.

@JeroenVinke
Created August 22, 2017 13:54
Show Gist options
  • Save JeroenVinke/0b19ea09b8fb8d2a72f21372721911b8 to your computer and use it in GitHub Desktop.
Save JeroenVinke/0b19ea09b8fb8d2a72f21372721911b8 to your computer and use it in GitHub Desktop.
Aurelia Gist
<template>
<h1>${message}</h1>
${reportCriteria.reportType}
<fieldset class="form-group">
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="reportType" id="MgrSum" model.bind="1" checked.bind="reportCriteria.reportType">
<b>Manager Summary Report</b> - shows scores and performance by region by IA brand
</label>
</div>
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="reportType" id="MgrDtl" model.bind="2" checked.bind="reportCriteria.reportType">
<b>Manager Detailed Report</b> - shows scores and performance by individual adjusters
</label>
</div>
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="reportType" id="CSR" model.bind="3" checked.bind="reportCriteria.reportType">
<b>CSR Report</b> - (internal) identifies which files need to be followed up on by our APEX team
</label>
</div>
</fieldset>
</template>
export class App {
message = 'Hello World!';
reportCriteria = {
reportType: 1
};
}
<!doctype html>
<html>
<head>
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</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