forked from dozoisch/pointsgenie
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Did 61 modification and make it work
* Mise a jour de ldapjs * Enlevé le paragraphe sur la promocarte * Enlevé toute mention de la promocarte et de son prix * Mise a jour du readme du changelog et de la version * Use new connection logic from Mongoose 4.11 * Migrate webpack to 3.5.5 * Fix a typo * Remove yargs dependency * Update changelog to include other necessary changes * Add myself as contributor * Update nodemon * Show admin in navbar only if user is admin * Update FAQ to link to our charter on Tsunamì * Update HISTORY.md * Fix the website to work in prod * Add myself and remove everyone else from the pages footer * Add item in Changelog * Update node from 0.12 to 8 #1 * Update README.md * Update README.md Bumped deps to work on Node 8, so update README * Update contact details * Fix some authorization tests * First run for 62 promo * Rebase Master * Delete not use file
- Loading branch information
1 parent
a275cef
commit f015139
Showing
41 changed files
with
25,945 additions
and
6,675 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- "0.12" | ||
- "iojs" | ||
- "8" | ||
services: | ||
- mongodb |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import React, { PropTypes } from "react"; | ||
import { Input } from "react-bootstrap"; | ||
|
||
const Authorization = React.createClass({ | ||
displayName: "Authorization", | ||
|
||
propTypes: { | ||
authorization: PropTypes.shape({ | ||
date: PropTypes.instanceOf(Date) | ||
}), | ||
}, | ||
|
||
renderInner: function () { | ||
var authMessage = "Non-autorisé"; | ||
var authDate = ""; | ||
if ("date" in this.props.authorization) { | ||
authMessage = "Autorisé"; | ||
authDate = this.props.authorization.date.toLocaleDateString(); | ||
} | ||
return ( | ||
<form className="form-horizontal"> | ||
<Input type="static" label="Statut" labelClassName="col-md-3" | ||
wrapperClassName="col-md-6" value={authMessage} /> | ||
<Input type="static" label="Date" labelClassName="col-md-3" | ||
wrapperClassName="col-md-6" value={authDate} /> | ||
</form> | ||
); | ||
}, | ||
render: function() { | ||
return ( | ||
<div className="user-authorization-info"> | ||
<h4>Autorisation</h4> | ||
{this.renderInner()} | ||
</div> | ||
); | ||
}, | ||
}); | ||
|
||
export default Authorization; |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ body { | |
} | ||
|
||
tfoot { | ||
border-top-width: : 2px; | ||
border-top-width: 2px; | ||
} | ||
|
||
.navbar-brand { | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.