-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arun Kumar Singh
committed
Oct 31, 2016
0 parents
commit 9e6b99b
Showing
26 changed files
with
915 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"directory": "bower_components" | ||
} |
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,21 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 @@ | ||
* text=auto |
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,5 @@ | ||
/node_modules | ||
/dist | ||
/.tmp | ||
/.sass-cache | ||
/bower_components |
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,6 @@ | ||
{ | ||
"requireCamelCaseOrUpperCaseIdentifiers": true, | ||
"requireCapitalizedConstructors": true, | ||
"requireParenthesesAroundIIFE": true, | ||
"validateQuoteMarks": "'" | ||
} |
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,16 @@ | ||
{ | ||
"bitwise": true, | ||
"browser": true, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"esnext": true, | ||
"latedef": true, | ||
"noarg": true, | ||
"node": true, | ||
"strict": true, | ||
"undef": true, | ||
"unused": true, | ||
"globals": { | ||
"angular": false | ||
} | ||
} |
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,11 @@ | ||
{ | ||
"generator-karma": { | ||
"base-path": "../", | ||
"frameworks": "jasmine", | ||
"browsers": "PhantomJS", | ||
"app-files": "app/scripts/**/*.js", | ||
"files-comments": "bower:js,endbower", | ||
"bower-components-path": "bower_components", | ||
"test-files": "test/mock/**/*.js,test/spec/**/*.js" | ||
} | ||
} |
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,12 @@ | ||
# client | ||
|
||
This project is generated with [yo angular generator](https://github.com/yeoman/generator-angular) | ||
version 0.15.1. | ||
|
||
## Build & development | ||
|
||
Run `grunt` for building and `grunt serve` for preview. | ||
|
||
## Testing | ||
|
||
Running `grunt test` will run the unit tests with karma. |
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,152 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Page Not Found :(</title> | ||
<style> | ||
::-moz-selection { | ||
background: #b3d4fc; | ||
text-shadow: none; | ||
} | ||
|
||
::selection { | ||
background: #b3d4fc; | ||
text-shadow: none; | ||
} | ||
|
||
html { | ||
padding: 30px 10px; | ||
font-size: 20px; | ||
line-height: 1.4; | ||
color: #737373; | ||
background: #f0f0f0; | ||
-webkit-text-size-adjust: 100%; | ||
-ms-text-size-adjust: 100%; | ||
} | ||
|
||
html, | ||
input { | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
body { | ||
max-width: 500px; | ||
padding: 30px 20px 50px; | ||
border: 1px solid #b3b3b3; | ||
border-radius: 4px; | ||
margin: 0 auto; | ||
box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff; | ||
background: #fcfcfc; | ||
} | ||
|
||
h1 { | ||
margin: 0 10px; | ||
font-size: 50px; | ||
text-align: center; | ||
} | ||
|
||
h1 span { | ||
color: #bbb; | ||
} | ||
|
||
h3 { | ||
margin: 1.5em 0 0.5em; | ||
} | ||
|
||
p { | ||
margin: 1em 0; | ||
} | ||
|
||
ul { | ||
padding: 0 0 0 40px; | ||
margin: 1em 0; | ||
} | ||
|
||
.container { | ||
max-width: 380px; | ||
margin: 0 auto; | ||
} | ||
|
||
/* google search */ | ||
|
||
#goog-fixurl ul { | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
#goog-fixurl form { | ||
margin: 0; | ||
} | ||
|
||
#goog-wm-qt, | ||
#goog-wm-sb { | ||
border: 1px solid #bbb; | ||
font-size: 16px; | ||
line-height: normal; | ||
vertical-align: top; | ||
color: #444; | ||
border-radius: 2px; | ||
} | ||
|
||
#goog-wm-qt { | ||
width: 220px; | ||
height: 20px; | ||
padding: 5px; | ||
margin: 5px 10px 0 0; | ||
box-shadow: inset 0 1px 1px #ccc; | ||
} | ||
|
||
#goog-wm-sb { | ||
display: inline-block; | ||
height: 32px; | ||
padding: 0 10px; | ||
margin: 5px 0 0; | ||
white-space: nowrap; | ||
cursor: pointer; | ||
background-color: #f5f5f5; | ||
background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
-webkit-appearance: none; | ||
-moz-appearance: none; | ||
appearance: none; | ||
} | ||
|
||
#goog-wm-sb:hover, | ||
#goog-wm-sb:focus { | ||
border-color: #aaa; | ||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); | ||
background-color: #f8f8f8; | ||
} | ||
|
||
#goog-wm-qt:hover, | ||
#goog-wm-qt:focus { | ||
border-color: #105cb6; | ||
outline: 0; | ||
color: #222; | ||
} | ||
|
||
input::-moz-focus-inner { | ||
padding: 0; | ||
border: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Not found <span>:(</span></h1> | ||
<p>Sorry, but the page you were trying to view does not exist.</p> | ||
<p>It looks like this was the result of either:</p> | ||
<ul> | ||
<li>a mistyped address</li> | ||
<li>an out-of-date link</li> | ||
</ul> | ||
<script> | ||
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host; | ||
</script> | ||
<script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script> | ||
</div> | ||
</body> | ||
</html> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,65 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title></title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width"> | ||
<!-- Place favicon.ico and apple-touch-icon.png in the root directory --> | ||
<!-- build:css(.) styles/vendor.css --> | ||
<!-- bower:css --> | ||
<link rel="stylesheet" href="/bower_components/bootstrap/dist/css/bootstrap.css" /> | ||
<!-- endbower --> | ||
<!-- endbuild --> | ||
<!-- build:css(.tmp) styles/main.css --> | ||
<link rel="stylesheet" href="styles/main.css"> | ||
<!-- endbuild --> | ||
</head> | ||
<body ng-app="clientApp"> | ||
<!--[if lte IE 8]> | ||
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> | ||
<![endif]--> | ||
|
||
<!-- Add your site or application content here --> | ||
<div class="header"> | ||
<div class="navbar navbar-default" role="navigation"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="#/">Wishrupt</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="container"> | ||
<div ng-view=""></div> | ||
</div> | ||
|
||
<div class="footer"> | ||
<div class="container"> | ||
<span>Wishrupt Team</span> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
|
||
<!-- build:js(.) scripts/vendor.js --> | ||
<!-- bower:js --> | ||
<script src="/bower_components/jquery/dist/jquery.js"></script> | ||
<script src="/bower_components/angular/angular.js"></script> | ||
<script src="/bower_components/bootstrap/dist/js/bootstrap.js"></script> | ||
<script src="/bower_components/angular-cookies/angular-cookies.js"></script> | ||
<script src="/bower_components/angular-resource/angular-resource.js"></script> | ||
<script src="/bower_components/angular-route/angular-route.js"></script> | ||
<script src="/bower_components/angular-touch/angular-touch.js"></script> | ||
<script src="/bower_components/lodash/lodash.js"></script> | ||
<!-- endbower --> | ||
<!-- endbuild --> | ||
|
||
<!-- build:js({.tmp,app}) scripts/scripts.js --> | ||
<script src="scripts/app.js"></script> | ||
<script src="scripts/controllers/home.js"></script> | ||
<!-- endbuild --> | ||
</body> | ||
</html> |
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,4 @@ | ||
# robotstxt.org | ||
|
||
User-agent: * | ||
Disallow: |
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,30 @@ | ||
'use strict'; | ||
|
||
/** | ||
* @ngdoc overview | ||
* @name clientApp | ||
* @description | ||
* # clientApp | ||
* | ||
* Main module of the application. | ||
*/ | ||
angular | ||
.module('clientApp', [ | ||
'ngCookies', | ||
'ngResource', | ||
'ngRoute', | ||
'ngTouch' | ||
|
||
]) | ||
.config(function ($routeProvider, $httpProvider) { | ||
$routeProvider | ||
.when('/', { | ||
templateUrl: 'views/home.html', | ||
controller: 'HomeCtrl', | ||
controllerAs: 'about' | ||
}) | ||
.otherwise({ | ||
redirectTo: '/' | ||
}); | ||
}); | ||
|
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,21 @@ | ||
var flag = true, | ||
server = 'https://shubhlabh.herokuapp.com/', | ||
local = 'http://localhost:3000/'; | ||
|
||
angular.module('clientApp') | ||
.constant('context', { | ||
login: flag ? local + 'users/login' : server + 'users/login', | ||
register: flag ? local + 'users/register' : server + 'users/register', | ||
getPayment : flag ? local + 'payments' : server + 'payments', | ||
postPayment : flag ? local + 'payments' : server + 'payments', | ||
updatePayment : flag ? local + 'payments' : server + 'payments', | ||
getSaving : flag ? local + 'saving' : server + 'saving', | ||
postSaving : flag ? local + 'saving' : server + 'saving', | ||
updateSaving : flag ? local + 'saving' : server + 'saving', | ||
getExpense : flag ? local + 'expense' : server + 'expense', | ||
postExpense : flag ? local + 'expense' : server + 'expense', | ||
updateExpense : flag ? local + 'expense' : server + 'expense', | ||
getCash : flag ? local + 'cash' : server + 'cash', | ||
postCash : flag ? local + 'cash' : server + 'cash', | ||
updateCash : flag ? local + 'cash' : server + 'cash', | ||
}); |
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,14 @@ | ||
'use strict'; | ||
|
||
/** | ||
* @ngdoc function | ||
* @name clientApp.controller:MainCtrl | ||
* @description | ||
* # MainCtrl | ||
* Controller of the clientApp | ||
*/ | ||
angular.module('clientApp') | ||
.controller('HomeCtrl', function ($scope) { | ||
$scope.header = ''; | ||
|
||
}); |
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.form-signin{ | ||
max-width: 330px; | ||
padding: 15px; | ||
margin: 0 auto; | ||
} | ||
|
Oops, something went wrong.