Skip to content

Commit

Permalink
Merge pull request #14 from KleeGroup/focus-startert-update
Browse files Browse the repository at this point in the history
Focus startert update
  • Loading branch information
pierr committed Jun 22, 2015
2 parents 03b66e8 + e46073e commit 0205df5
Show file tree
Hide file tree
Showing 95 changed files with 10,151 additions and 49,381 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ bower_components
Properties/
*.suo
*.sln
public
public
.idea
5 changes: 5 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
registry = http://registry.npmjs.org
http_proxy = http://172.20.0.9:3128
https_proxy = http://172.20.0.9:3128
https-proxy = http://172.20.0.9:3128
proxy = http://172.20.0.9:3128
5 changes: 0 additions & 5 deletions .travis.yml

This file was deleted.

7 changes: 6 additions & 1 deletion app/application.js
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
console.log('Application');
console.info('############# Application starting ############');
//Start the application.
console.info('Load all the routes.');
require('./router');
//Start the router.
Backbone.history.start();
Binary file added app/assets/fonts/fontawesome-webfont.eot
Binary file not shown.
565 changes: 565 additions & 0 deletions app/assets/fonts/fontawesome-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file added app/assets/fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file added app/assets/fonts/fontawesome-webfont.woff2
Binary file not shown.
Binary file added app/assets/fonts/glyphicons-halflings-regular.eot
Binary file not shown.
61 changes: 18 additions & 43 deletions app/assets/index.html
Original file line number Diff line number Diff line change
@@ -1,59 +1,34 @@
<!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>
<head>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Klee Group">
<title>Rodolphe</title>
<link rel="icon" type="image/png" href="images/favicon.png" />

<!--link rel="icon" type="image/png" href="static/images/favicon.png"/-->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="http://fezvrasta.github.io/bootstrap-material-design/bootstrap-elements.html" />
<!--script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.12.2/react.js"></script-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.1/react.js"></script>

<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js" ></script>

<!--Material design -->
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/material-wfont.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/material.min.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/css/ripples.min.css">
<script src="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/js/material.min.js"></script>
<script src="//cdn.jsdelivr.net/bootstrap.material-design/0.3.0/js/ripples.min.js"></script>

<!-- End material desgn-->

<title>Focus Starter Kit</title>
<link rel="icon" type="image/png" href="static/img/focus.png" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/0.5.0/showdown.js"></script>
<link rel="stylesheet" href="stylesheets/app.css">
<script src='javascripts/vendor.js'></script>
<script src='javascripts/app.js'></script>

</head>
<body>
<div id="pageContent">
<div id="leftMenu">
<div id="logo"><img/></div>
<div id="search"><a href="#filterResult"><img src="static/img/search.png"/></a></div>
</div>
<div id="container">
<div id="header">
<div id="user"><img/></div>
<div id="notification"><img/></div>
</div>
<div id="page"></div>
<div id="lineResume"></div>
</div>
</div>
<script>require('./index');</script>
<div id="leftMenu">
</div>
<div id="pageContent">
<div id="header"></div>
<div id="page"></div>
<div id="modalContainer"></div>
<div id="previewModal"></div>
</div>
<script>require('index');</script>

</body>
</html>
8 changes: 8 additions & 0 deletions app/config/domain/do-date-time.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
"type": "text",
"decorator": "datePicker",
"style": "date right",
"format": {
"value": function(data){return data;}
}
};
12 changes: 12 additions & 0 deletions app/config/domain/do-date.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* global moment, Focus */
module.exports = {
"type": "text",
"style": "date right",
'InputComponent': Focus.components.common.input.date.component,
formatter: function dateFormatter(date){
return moment(date).format('L');
},
unformatter: function dateUnformatter(data){
return moment(data).toDate();
}
};
6 changes: 6 additions & 0 deletions app/config/domain/do-email.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports={
'type': 'email',
validator: [{
'type': 'email'
}]
};
9 changes: 9 additions & 0 deletions app/config/domain/do-file-name.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
'type': 'text',
validator: [{
type: 'string',
options: {
maxLength: 70
}
}]
};
9 changes: 9 additions & 0 deletions app/config/domain/do-first-name.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports={
'type': 'text',
validator: [{
type: 'string',
options: {
maxLength: 50
}
}]
};
6 changes: 6 additions & 0 deletions app/config/domain/do-id.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
type: 'number',
validator: [{
'type': 'number'
}]
};
9 changes: 9 additions & 0 deletions app/config/domain/do-label-long.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
'type': 'text',
validator: [{
type: 'string',
options: {
maxLength: 200
}
}]
};
9 changes: 9 additions & 0 deletions app/config/domain/do-label-medium.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
'type': 'text',
validator: [{
type: 'string',
options: {
maxLength: 100
}
}]
};
7 changes: 7 additions & 0 deletions app/config/domain/do-label-short.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

module.exports = {
'type': 'text',
validator: [{type: 'string', options: {
maxLength: 50
}}]
};
9 changes: 9 additions & 0 deletions app/config/domain/do-last-name.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports={
'type': 'text',
validator: [{
type: 'string',
options: {
maxLength: 50
}
}]
};
9 changes: 9 additions & 0 deletions app/config/domain/do-password.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports={
'type': 'password',
validator: [{
type: 'string',
options: {
maxLength: 32
}
}]
};
3 changes: 3 additions & 0 deletions app/config/domain/do-yes-no.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports={
'type': 'boolean'
};
Loading

0 comments on commit 0205df5

Please sign in to comment.