Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .bowerrc

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ node_modules/

## Compiled files ##
client/compiled/
client/lib/bower_components
client/lib/bower_components
1 change: 0 additions & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta charset="UTF-8">
<title>persistentPoplars</title>
<link rel="stylesheet" href="styles/styles.css">

<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/cosmo/bootstrap.min.css" rel="stylesheet" integrity="sha384-h21C2fcDk/eFsW9sC9h0dhokq5pDinLNklTKoxIZRUn3+hvmgQSffLLQ4G4l2eEr" crossorigin="anonymous">
</head>
<body>
Expand Down
22 changes: 14 additions & 8 deletions client/src/components/NewProposal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,24 @@ class NewProposal extends React.Component {
});
}

//HOW TO LINK COMPANY.

render() {
return (
<div>
<form onSubmit={this.newProposalAjax}>
<input onChange={this.changeForm} name="title" type="text" placeholder="Title" /> <br/>
<textarea onChange={this.changeForm} name="description" type="text" placeholder="Description" id="description"></textarea><br/>
<button>Create New Proposal</button>
</form>
</div>
);
<form onSubmit={this.newProposalAjax}>
<div className="form-group">
<label for="title">Title</label>
<input onChange={this.changeForm} name="title" type="text" placeholder="Title" className="form-control"/> <br/>
</div>

<div className="form-group">
<label for="description">Description</label>
<input onChange={this.changeForm} name="description" type="text" placeholder="Description" className="form-control"></input><br/>
</div>
<button type="submit" className="btn btn-default">Create New Proposal</button>
</form>
</div>
);
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "server/server.js",
"scripts": {
"start": "babel ./client --out-dir client/compiled --presets=es2015,react --ignore=node_modules,client/compiled,client/lib --source-maps inline --watch & nodemon server/server.js",
"start": "node server/server.js",
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "webpack -d --watch",
"build": "webpack -p"
Expand Down
Loading