Created
September 9, 2015 19:55
-
-
Save jrabbit/8d260b2ce195b20e8103 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template is="dom-bind"> | |
<iron-ajax url="/total" last-response="{{A}}total{{B}}" handle-as="json" auto></iron-ajax> | |
<paper-card heading="Grand Total" class="pink"> | |
<div class="card-content"> | |
[[total]] dead flies | |
</div> | |
<div class="card-actions"> | |
<form is="ajax-form" action="/kill" method="POST" id="anon-form"> | |
<paper-button id="submitButton2">I killed a fly (anonymously)</paper-button> | |
</form> | |
</div> | |
</paper-card> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment