added heroku one-click deploy button

This commit is contained in:
David Baldwynn 2015-11-12 17:00:18 -08:00
parent 763bb472ad
commit 7eccc07d02
4 changed files with 13 additions and 4 deletions

View file

@ -3,6 +3,8 @@ NodeForms
[![Build Status](https://travis-ci.org/whitef0x0/nodeforms.svg?branch=master)](https://travis-ci.org/whitef0x0/nodeforms)
[![Dependencies Status](https://david-dm.org/whitef0x0/NodeForms.svg)](https://david-dm.org/whitef0x0/nodeforms)
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)
NodeForms is an opensource *form builder* built ontop of nodejs that can create stunning forms from PDFs or from scratch

7
app.json Normal file
View file

@ -0,0 +1,7 @@
{
"name": "NodeForms",
"description": "Beautiful, opensource web forms",
"repository": "https://github.com/whitef0x0/nodeforms",
"logo": "https://node-js-sample.herokuapp.com/node.svg",
"keywords": ["node", "express", "static", "mean"]
}

View file

@ -27,11 +27,11 @@
</div>
<div class="form-group">
<label for="firstName">First Name</label>
<input type="text" required id="firstName" name="firstName" class="form-control" data-ng-model="credentials.firstName" placeholder="First Name">
<input type="text" ng-pattern="/^[a-zA-Z0-9 \-.]*$/" required id="firstName" name="firstName" class="form-control" data-ng-model="credentials.firstName" placeholder="First Name">
</div>
<div class="form-group">
<label for="lastName">Last Name</label>
<input type="text" id="lastName" name="lastName" class="form-control" data-ng-model="credentials.lastName" placeholder="Last Name">
<input type="text" ng-pattern="/^[a-zA-Z0-9 \-.]*$/" required id="lastName" name="lastName" class="form-control" data-ng-model="credentials.lastName" placeholder="Last Name">
</div>
<hr>
<div class="form-group">

View file

@ -16,7 +16,7 @@
<b>First Name</b>
</div>
<div class="col-xs-12 field-input">
<input type="text" id="firstName" name="firstName" class="form-control" data-ng-model="user.firstName" placeholder="First Name">
<input type="text" id="firstName" name="firstName" class="form-control" data-ng-model="user.firstName" placeholder="First Name" ng-pattern="/^[a-zA-Z0-9 \-.]*$/">
</div>
</div>
<div class="form-group row">
@ -24,7 +24,7 @@
<b>Last Name</b>
</div>
<div class="col-xs-12 field-input">
<input type="text" id="lastName" name="lastName" class="form-control" data-ng-model="user.lastName" placeholder="Last Name">
<input type="text" id="lastName" name="lastName" class="form-control" data-ng-model="user.lastName" placeholder="Last Name" ng-pattern="/^[a-zA-Z0-9 \-.]*$/">
</div>
</div>
<div class="row">