Commit 183a308167ba22e2ca4aa4df8a191844e547250b

Authored by Tarpit Grover
0 parents
Exists in master

first commit

about/about-partial.html 0 โ†’ 100644
  1 +++ a/about/about-partial.html
... ... @@ -0,0 +1,46 @@
  1 +<div class="container" id="todo">
  2 + <h1>Todo List App</h1>
  3 + <div class="row">
  4 + <div class="col-md-3">
  5 + <h5>Add Task</h5>
  6 + <div class="form-group">
  7 + <label for="task-name">Task Name</label>
  8 + <input id="task-name" type="text" class="form-control" ng-model="task.taskname" required>
  9 + </div>
  10 + <div class="form-group">
  11 + <label for="task-details">Task Details</label>
  12 + <textarea id="task-details" ng-model="task.details" class="form-control" required></textarea>
  13 + </div>
  14 + <button class="btn btn-primary" ng-click="addTask()">Add Task</button>
  15 + </div>
  16 + <div class="col-md-9">
  17 + <h5>View Task</h5>
  18 + <table class="table">
  19 + <thead>
  20 + <tr>
  21 + <th>Tasks</th>
  22 + <th>Actions</th>
  23 + </tr>
  24 + </thead>
  25 + <tbody>
  26 + <tr ng-repeat="todo in todolist.slice().reverse()">
  27 + <!--<td><input type="checkbox" ng-model="todo.done">&nbsp;&nbsp;
  28 + <span ng-class="{'done':todo.done}">{{todo.taskname}}</span>-->
  29 + <td colspan="3">
  30 + <div class="task">
  31 + <button ng-click="deleteTask(todo._id)" class="delete btn btn-xs btn-primary">Delete</button>&nbsp;&nbsp;
  32 + <div class="task-item">
  33 + <input type="checkbox" ng-model="todo.Done" ng-checked="todo.Done" ng-click="updateTask(todo)">&nbsp;&nbsp;
  34 +
  35 + <span ng-class="(todo.Done==true)? 'done':''">{{todo.taskname}}</span></div>
  36 + </div>
  37 + </td>
  38 +
  39 +
  40 + </tr>
  41 + </tbody>
  42 + </table>
  43 + </div>
  44 + </div>
  45 +
  46 + </div>
0 47 \ No newline at end of file
... ...
config.codekit 0 โ†’ 100644
  1 +++ a/config.codekit
... ... @@ -0,0 +1,880 @@
  1 +{
  2 +"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
  3 +"creatorBuild": "18493",
  4 +"files": {
  5 + "\/includes\/css\/style.css": {
  6 + "fileType": 16,
  7 + "ignore": 1,
  8 + "ignoreWasSetByUser": 0,
  9 + "inputAbbreviatedPath": "\/includes\/css\/style.css",
  10 + "outputAbbreviatedPath": "No Output Path",
  11 + "outputPathIsOutsideProject": 0,
  12 + "outputPathIsSetByUser": 0
  13 + },
  14 + "\/includes\/js\/page-scripts.js": {
  15 + "fileType": 64,
  16 + "ignore": 1,
  17 + "ignoreWasSetByUser": 0,
  18 + "inputAbbreviatedPath": "\/includes\/js\/page-scripts.js",
  19 + "outputAbbreviatedPath": "\/includes\/js\/min\/page-scripts-min.js",
  20 + "outputPathIsOutsideProject": 0,
  21 + "outputPathIsSetByUser": 0,
  22 + "outputStyle": 0,
  23 + "syntaxCheckerStyle": 0
  24 + },
  25 + "\/includes\/less\/style.less": {
  26 + "allowInsecureImports": 0,
  27 + "createSourceMap": 0,
  28 + "disableJavascript": 0,
  29 + "fileType": 1,
  30 + "ieCompatibility": 1,
  31 + "ignore": 0,
  32 + "ignoreWasSetByUser": 0,
  33 + "inputAbbreviatedPath": "\/includes\/less\/style.less",
  34 + "outputAbbreviatedPath": "\/includes\/css\/style.css",
  35 + "outputPathIsOutsideProject": 0,
  36 + "outputPathIsSetByUser": 0,
  37 + "outputStyle": 0,
  38 + "relativeURLS": 0,
  39 + "shouldRunAutoprefixer": 0,
  40 + "shouldRunBless": 0,
  41 + "strictImports": 0,
  42 + "strictMath": 0,
  43 + "strictUnits": 0
  44 + },
  45 + "\/index.html": {
  46 + "fileType": 8192,
  47 + "ignore": 0,
  48 + "ignoreWasSetByUser": 0,
  49 + "inputAbbreviatedPath": "\/index.html",
  50 + "outputAbbreviatedPath": "No Output Path",
  51 + "outputPathIsOutsideProject": 0,
  52 + "outputPathIsSetByUser": 0
  53 + }
  54 + },
  55 +"hooks": [
  56 + ],
  57 +"lastSavedByUser": "Tarpit Grover",
  58 +"manualImportLinks": {
  59 + },
  60 +"projectAttributes": {
  61 + "bowerAbbreviatedPath": "",
  62 + "displayValue": "AppStore",
  63 + "displayValueWasSetByUser": 0,
  64 + "iconImageName": "globe_orange"
  65 + },
  66 +"projectSettings": {
  67 + "alwaysUseExternalServer": 0,
  68 + "animateCSSInjections": 1,
  69 + "autoApplyPSLanguageSettingsStyle": 0,
  70 + "autoprefixerBrowserString": "> 1%, last 2 versions, Firefox ESR, Opera 12.1",
  71 + "autoSyncProjectSettingsFile": 1,
  72 + "browserRefreshDelay": 0,
  73 + "coffeeAutoOutputPathEnabled": 1,
  74 + "coffeeAutoOutputPathFilenamePattern": "*.js",
  75 + "coffeeAutoOutputPathRelativePath": "",
  76 + "coffeeAutoOutputPathReplace1": "",
  77 + "coffeeAutoOutputPathReplace2": "",
  78 + "coffeeAutoOutputPathStyle": 0,
  79 + "coffeeCreateSourceMap": 0,
  80 + "coffeeLintFlags2": {
  81 + "arrow_spacing": {
  82 + "active": 0,
  83 + "flagValue": -1
  84 + },
  85 + "camel_case_classes": {
  86 + "active": 1,
  87 + "flagValue": -1
  88 + },
  89 + "colon_assignment_spacing": {
  90 + "active": 0,
  91 + "flagValue": 1
  92 + },
  93 + "cyclomatic_complexity": {
  94 + "active": 0,
  95 + "flagValue": 10
  96 + },
  97 + "duplicate_key": {
  98 + "active": 1,
  99 + "flagValue": -1
  100 + },
  101 + "empty_constructor_needs_parens": {
  102 + "active": 0,
  103 + "flagValue": -1
  104 + },
  105 + "ensure_comprehensions": {
  106 + "active": 1,
  107 + "flagValue": -1
  108 + },
  109 + "indentation": {
  110 + "active": 1,
  111 + "flagValue": 2
  112 + },
  113 + "line_endings": {
  114 + "active": 0,
  115 + "flagValue": 0
  116 + },
  117 + "max_line_length": {
  118 + "active": 0,
  119 + "flagValue": 150
  120 + },
  121 + "missing_fat_arrows": {
  122 + "active": 0,
  123 + "flagValue": -1
  124 + },
  125 + "newlines_after_classes": {
  126 + "active": 0,
  127 + "flagValue": 3
  128 + },
  129 + "no_backticks": {
  130 + "active": 1,
  131 + "flagValue": -1
  132 + },
  133 + "no_debugger": {
  134 + "active": 1,
  135 + "flagValue": -1
  136 + },
  137 + "no_empty_functions": {
  138 + "active": 0,
  139 + "flagValue": -1
  140 + },
  141 + "no_empty_param_list": {
  142 + "active": 0,
  143 + "flagValue": -1
  144 + },
  145 + "no_implicit_braces": {
  146 + "active": 1,
  147 + "flagValue": -1
  148 + },
  149 + "no_implicit_parens": {
  150 + "active": 0,
  151 + "flagValue": -1
  152 + },
  153 + "no_interpolation_in_single_quotes": {
  154 + "active": 0,
  155 + "flagValue": -1
  156 + },
  157 + "no_plusplus": {
  158 + "active": 0,
  159 + "flagValue": -1
  160 + },
  161 + "no_stand_alone_at": {
  162 + "active": 1,
  163 + "flagValue": -1
  164 + },
  165 + "no_tabs": {
  166 + "active": 1,
  167 + "flagValue": -1
  168 + },
  169 + "no_throwing_strings": {
  170 + "active": 1,
  171 + "flagValue": -1
  172 + },
  173 + "no_trailing_semicolons": {
  174 + "active": 1,
  175 + "flagValue": -1
  176 + },
  177 + "no_trailing_whitespace": {
  178 + "active": 1,
  179 + "flagValue": -1
  180 + },
  181 + "no_unnecessary_double_quotes": {
  182 + "active": 0,
  183 + "flagValue": -1
  184 + },
  185 + "no_unnecessary_fat_arrows": {
  186 + "active": 1,
  187 + "flagValue": -1
  188 + },
  189 + "non_empty_constructor_needs_parens": {
  190 + "active": 0,
  191 + "flagValue": -1
  192 + },
  193 + "prefer_english_operator": {
  194 + "active": 0,
  195 + "flagValue": -1
  196 + },
  197 + "space_operators": {
  198 + "active": 0,
  199 + "flagValue": -1
  200 + },
  201 + "spacing_after_comma": {
  202 + "active": 1,
  203 + "flagValue": -1
  204 + }
  205 + },
  206 + "coffeeMinifyOutput": 1,
  207 + "coffeeOutputStyle": 0,
  208 + "coffeeSyntaxCheckerStyle": 1,
  209 + "externalServerAddress": "http:\/\/localhost:8888",
  210 + "externalServerPreviewPathAddition": "",
  211 + "genericWebpageFileExtensionsString": "html, htm, shtml, shtm, xhtml, php, jsp, asp, aspx, erb, ctp",
  212 + "hamlAutoOutputPathEnabled": 1,
  213 + "hamlAutoOutputPathFilenamePattern": "*.html",
  214 + "hamlAutoOutputPathRelativePath": "",
  215 + "hamlAutoOutputPathReplace1": "",
  216 + "hamlAutoOutputPathReplace2": "",
  217 + "hamlAutoOutputPathStyle": 0,
  218 + "hamlEscapeHTMLCharacters": 0,
  219 + "hamlNoEscapeInAttributes": 0,
  220 + "hamlOutputFormat": 2,
  221 + "hamlOutputStyle": 0,
  222 + "hamlUseCDATA": 0,
  223 + "hamlUseDoubleQuotes": 0,
  224 + "hamlUseUnixNewlines": 0,
  225 + "jadeAutoOutputPathEnabled": 1,
  226 + "jadeAutoOutputPathFilenamePattern": "*.html",
  227 + "jadeAutoOutputPathRelativePath": "",
  228 + "jadeAutoOutputPathReplace1": "",
  229 + "jadeAutoOutputPathReplace2": "",
  230 + "jadeAutoOutputPathStyle": 0,
  231 + "jadeCompileDebug": 1,
  232 + "jadeOutputStyle": 0,
  233 + "javascriptAutoOutputPathEnabled": 0,
  234 + "javascriptAutoOutputPathFilenamePattern": "*-min.js",
  235 + "javascriptAutoOutputPathRelativePath": "\/min",
  236 + "javascriptAutoOutputPathReplace1": "",
  237 + "javascriptAutoOutputPathReplace2": "",
  238 + "javascriptAutoOutputPathStyle": 2,
  239 + "javascriptCreateSourceMap": 1,
  240 + "javascriptOutputStyle": 0,
  241 + "javascriptSyntaxCheckerStyle": 0,
  242 + "jsCheckerReservedNamesString": "",
  243 + "jsHintFlags2": {
  244 + "asi": {
  245 + "active": 0,
  246 + "flagValue": -1
  247 + },
  248 + "bitwise": {
  249 + "active": 1,
  250 + "flagValue": -1
  251 + },
  252 + "boss": {
  253 + "active": 0,
  254 + "flagValue": -1
  255 + },
  256 + "browser": {
  257 + "active": 1,
  258 + "flagValue": -1
  259 + },
  260 + "browserify": {
  261 + "active": 0,
  262 + "flagValue": -1
  263 + },
  264 + "camelcase": {
  265 + "active": 0,
  266 + "flagValue": -1
  267 + },
  268 + "couch": {
  269 + "active": 0,
  270 + "flagValue": -1
  271 + },
  272 + "curly": {
  273 + "active": 1,
  274 + "flagValue": -1
  275 + },
  276 + "debug": {
  277 + "active": 0,
  278 + "flagValue": -1
  279 + },
  280 + "devel": {
  281 + "active": 0,
  282 + "flagValue": -1
  283 + },
  284 + "dojo": {
  285 + "active": 0,
  286 + "flagValue": -1
  287 + },
  288 + "elision": {
  289 + "active": 1,
  290 + "flagValue": -1
  291 + },
  292 + "eqeqeq": {
  293 + "active": 1,
  294 + "flagValue": -1
  295 + },
  296 + "eqnull": {
  297 + "active": 0,
  298 + "flagValue": -1
  299 + },
  300 + "es3": {
  301 + "active": 0,
  302 + "flagValue": -1
  303 + },
  304 + "esnext": {
  305 + "active": 0,
  306 + "flagValue": -1
  307 + },
  308 + "evil": {
  309 + "active": 0,
  310 + "flagValue": -1
  311 + },
  312 + "expr": {
  313 + "active": 0,
  314 + "flagValue": -1
  315 + },
  316 + "forin": {
  317 + "active": 0,
  318 + "flagValue": -1
  319 + },
  320 + "freeze": {
  321 + "active": 1,
  322 + "flagValue": -1
  323 + },
  324 + "funcscope": {
  325 + "active": 0,
  326 + "flagValue": -1
  327 + },
  328 + "globalstrict": {
  329 + "active": 0,
  330 + "flagValue": -1
  331 + },
  332 + "immed": {
  333 + "active": 0,
  334 + "flagValue": -1
  335 + },
  336 + "indent": {
  337 + "active": 0,
  338 + "flagValue": 4
  339 + },
  340 + "iterator": {
  341 + "active": 0,
  342 + "flagValue": -1
  343 + },
  344 + "jasmine": {
  345 + "active": 0,
  346 + "flagValue": -1
  347 + },
  348 + "jquery": {
  349 + "active": 1,
  350 + "flagValue": -1
  351 + },
  352 + "lastsemic": {
  353 + "active": 0,
  354 + "flagValue": -1
  355 + },
  356 + "latedef": {
  357 + "active": 1,
  358 + "flagValue": -1
  359 + },
  360 + "laxbreak": {
  361 + "active": 0,
  362 + "flagValue": -1
  363 + },
  364 + "laxcomma": {
  365 + "active": 0,
  366 + "flagValue": -1
  367 + },
  368 + "loopfunc": {
  369 + "active": 0,
  370 + "flagValue": -1
  371 + },
  372 + "maxcomplexity": {
  373 + "active": 0,
  374 + "flagValue": 10
  375 + },
  376 + "maxdepth": {
  377 + "active": 0,
  378 + "flagValue": 3
  379 + },
  380 + "maxlen": {
  381 + "active": 0,
  382 + "flagValue": 150
  383 + },
  384 + "maxparams": {
  385 + "active": 0,
  386 + "flagValue": 3
  387 + },
  388 + "maxstatements": {
  389 + "active": 0,
  390 + "flagValue": 4
  391 + },
  392 + "mocha": {
  393 + "active": 0,
  394 + "flagValue": -1
  395 + },
  396 + "mootools": {
  397 + "active": 0,
  398 + "flagValue": -1
  399 + },
  400 + "moz": {
  401 + "active": 0,
  402 + "flagValue": -1
  403 + },
  404 + "multistr": {
  405 + "active": 0,
  406 + "flagValue": -1
  407 + },
  408 + "newcap": {
  409 + "active": 1,
  410 + "flagValue": -1
  411 + },
  412 + "noarg": {
  413 + "active": 1,
  414 + "flagValue": -1
  415 + },
  416 + "node": {
  417 + "active": 0,
  418 + "flagValue": -1
  419 + },
  420 + "noempty": {
  421 + "active": 0,
  422 + "flagValue": -1
  423 + },
  424 + "nonbsp": {
  425 + "active": 0,
  426 + "flagValue": -1
  427 + },
  428 + "nonew": {
  429 + "active": 1,
  430 + "flagValue": -1
  431 + },
  432 + "nonstandard": {
  433 + "active": 0,
  434 + "flagValue": -1
  435 + },
  436 + "notypeof": {
  437 + "active": 1,
  438 + "flagValue": -1
  439 + },
  440 + "noyield": {
  441 + "active": 0,
  442 + "flagValue": -1
  443 + },
  444 + "onecase": {
  445 + "active": 0,
  446 + "flagValue": -1
  447 + },
  448 + "phantom": {
  449 + "active": 0,
  450 + "flagValue": -1
  451 + },
  452 + "plusplus": {
  453 + "active": 0,
  454 + "flagValue": -1
  455 + },
  456 + "proto": {
  457 + "active": 0,
  458 + "flagValue": -1
  459 + },
  460 + "prototypejs": {
  461 + "active": 0,
  462 + "flagValue": -1
  463 + },
  464 + "qunit": {
  465 + "active": 0,
  466 + "flagValue": -1
  467 + },
  468 + "regexp": {
  469 + "active": 1,
  470 + "flagValue": -1
  471 + },
  472 + "rhino": {
  473 + "active": 0,
  474 + "flagValue": -1
  475 + },
  476 + "scripturl": {
  477 + "active": 0,
  478 + "flagValue": -1
  479 + },
  480 + "shadow": {
  481 + "active": 0,
  482 + "flagValue": -1
  483 + },
  484 + "shelljs": {
  485 + "active": 0,
  486 + "flagValue": -1
  487 + },
  488 + "singleGroups": {
  489 + "active": 0,
  490 + "flagValue": -1
  491 + },
  492 + "strict": {
  493 + "active": 0,
  494 + "flagValue": -1
  495 + },
  496 + "sub": {
  497 + "active": 0,
  498 + "flagValue": -1
  499 + },
  500 + "supernew": {
  501 + "active": 0,
  502 + "flagValue": -1
  503 + },
  504 + "typed": {
  505 + "active": 0,
  506 + "flagValue": -1
  507 + },
  508 + "undef": {
  509 + "active": 1,
  510 + "flagValue": -1
  511 + },
  512 + "unused": {
  513 + "active": 1,
  514 + "flagValue": -1
  515 + },
  516 + "withstmt": {
  517 + "active": 0,
  518 + "flagValue": -1
  519 + },
  520 + "worker": {
  521 + "active": 0,
  522 + "flagValue": -1
  523 + },
  524 + "wsh": {
  525 + "active": 0,
  526 + "flagValue": -1
  527 + },
  528 + "yui": {
  529 + "active": 0,
  530 + "flagValue": -1
  531 + }
  532 + },
  533 + "jsLintFlags2": {
  534 + "ass": {
  535 + "active": 0,
  536 + "flagValue": -1
  537 + },
  538 + "bitwise": {
  539 + "active": 0,
  540 + "flagValue": -1
  541 + },
  542 + "browser": {
  543 + "active": 1,
  544 + "flagValue": -1
  545 + },
  546 + "closure": {
  547 + "active": 0,
  548 + "flagValue": -1
  549 + },
  550 + "continue": {
  551 + "active": 0,
  552 + "flagValue": -1
  553 + },
  554 + "debug": {
  555 + "active": 0,
  556 + "flagValue": -1
  557 + },
  558 + "devel": {
  559 + "active": 0,
  560 + "flagValue": -1
  561 + },
  562 + "eqeq": {
  563 + "active": 0,
  564 + "flagValue": -1
  565 + },
  566 + "evil": {
  567 + "active": 0,
  568 + "flagValue": -1
  569 + },
  570 + "forin": {
  571 + "active": 0,
  572 + "flagValue": -1
  573 + },
  574 + "indent": {
  575 + "active": 0,
  576 + "flagValue": 4
  577 + },
  578 + "maxlen": {
  579 + "active": 0,
  580 + "flagValue": 150
  581 + },
  582 + "newcap": {
  583 + "active": 0,
  584 + "flagValue": -1
  585 + },
  586 + "node": {
  587 + "active": 0,
  588 + "flagValue": -1
  589 + },
  590 + "nomen": {
  591 + "active": 0,
  592 + "flagValue": -1
  593 + },
  594 + "plusplus": {
  595 + "active": 0,
  596 + "flagValue": -1
  597 + },
  598 + "properties": {
  599 + "active": 0,
  600 + "flagValue": -1
  601 + },
  602 + "regexp": {
  603 + "active": 0,
  604 + "flagValue": -1
  605 + },
  606 + "rhino": {
  607 + "active": 0,
  608 + "flagValue": -1
  609 + },
  610 + "sloppy": {
  611 + "active": 0,
  612 + "flagValue": -1
  613 + },
  614 + "stupid": {
  615 + "active": 0,
  616 + "flagValue": -1
  617 + },
  618 + "sub": {
  619 + "active": 0,
  620 + "flagValue": -1
  621 + },
  622 + "todo": {
  623 + "active": 0,
  624 + "flagValue": -1
  625 + },
  626 + "unparam": {
  627 + "active": 0,
  628 + "flagValue": -1
  629 + },
  630 + "vars": {
  631 + "active": 0,
  632 + "flagValue": -1
  633 + },
  634 + "white": {
  635 + "active": 0,
  636 + "flagValue": -1
  637 + }
  638 + },
  639 + "kitAutoOutputPathEnabled": 1,
  640 + "kitAutoOutputPathFilenamePattern": "*.html",
  641 + "kitAutoOutputPathRelativePath": "",
  642 + "kitAutoOutputPathReplace1": "",
  643 + "kitAutoOutputPathReplace2": "",
  644 + "kitAutoOutputPathStyle": 0,
  645 + "lessAllowInsecureImports": 0,
  646 + "lessAutoOutputPathEnabled": 1,
  647 + "lessAutoOutputPathFilenamePattern": "*.css",
  648 + "lessAutoOutputPathRelativePath": "..\/css",
  649 + "lessAutoOutputPathReplace1": "less",
  650 + "lessAutoOutputPathReplace2": "css",
  651 + "lessAutoOutputPathStyle": 2,
  652 + "lessCreateSourceMap": 0,
  653 + "lessDisableJavascript": 0,
  654 + "lessIeCompatibility": 1,
  655 + "lessOutputStyle": 0,
  656 + "lessRelativeURLS": 0,
  657 + "lessStrictImports": 0,
  658 + "lessStrictMath": 0,
  659 + "lessStrictUnits": 0,
  660 + "markdownAutoOutputPathEnabled": 1,
  661 + "markdownAutoOutputPathFilenamePattern": "*.html",
  662 + "markdownAutoOutputPathRelativePath": "",
  663 + "markdownAutoOutputPathReplace1": "",
  664 + "markdownAutoOutputPathReplace2": "",
  665 + "markdownAutoOutputPathStyle": 0,
  666 + "markdownEnableFootnotes": 0,
  667 + "markdownEnableSmartyPants": 1,
  668 + "markdownExpandTabs": 1,
  669 + "reloadFileURLs": 0,
  670 + "sassAutoOutputPathEnabled": 1,
  671 + "sassAutoOutputPathFilenamePattern": "*.css",
  672 + "sassAutoOutputPathRelativePath": "..\/css",
  673 + "sassAutoOutputPathReplace1": "sass",
  674 + "sassAutoOutputPathReplace2": "css",
  675 + "sassAutoOutputPathStyle": 2,
  676 + "sassCreateSourceMap": 0,
  677 + "sassDebugStyle": 0,
  678 + "sassDecimalPrecision": 10,
  679 + "sassOutputStyle": 0,
  680 + "sassUseLibsass": 0,
  681 + "shouldRunAutoprefixer": 0,
  682 + "shouldRunBless": 0,
  683 + "skippedItemsString": ".svn, .git, .hg, log, _logs, _cache, cache, logs, node_modules",
  684 + "slimAutoOutputPathEnabled": 1,
  685 + "slimAutoOutputPathFilenamePattern": "*.html",
  686 + "slimAutoOutputPathRelativePath": "",
  687 + "slimAutoOutputPathReplace1": "",
  688 + "slimAutoOutputPathReplace2": "",
  689 + "slimAutoOutputPathStyle": 0,
  690 + "slimCompileOnly": 0,
  691 + "slimLogicless": 0,
  692 + "slimOutputFormat": 0,
  693 + "slimOutputStyle": 1,
  694 + "slimRailsCompatible": 0,
  695 + "stylusAutoOutputPathEnabled": 1,
  696 + "stylusAutoOutputPathFilenamePattern": "*.css",
  697 + "stylusAutoOutputPathRelativePath": "..\/css",
  698 + "stylusAutoOutputPathReplace1": "stylus",
  699 + "stylusAutoOutputPathReplace2": "css",
  700 + "stylusAutoOutputPathStyle": 2,
  701 + "stylusCreateSourceMap": 0,
  702 + "stylusDebugStyle": 0,
  703 + "stylusImportCSS": 0,
  704 + "stylusOutputStyle": 0,
  705 + "stylusResolveRelativeURLS": 0,
  706 + "typescriptAutoOutputPathEnabled": 1,
  707 + "typescriptAutoOutputPathFilenamePattern": "*.js",
  708 + "typescriptAutoOutputPathRelativePath": "\/js",
  709 + "typescriptAutoOutputPathReplace1": "",
  710 + "typescriptAutoOutputPathReplace2": "",
  711 + "typescriptAutoOutputPathStyle": 2,
  712 + "typescriptCreateDeclarationFile": 0,
  713 + "typescriptCreateSourceMap": 0,
  714 + "typescriptMinifyOutput": 0,
  715 + "typescriptModuleType": 0,
  716 + "typescriptNoImplicitAny": 0,
  717 + "typescriptPreserveConstEnums": 0,
  718 + "typescriptRemoveComments": 0,
  719 + "typescriptSuppressImplicitAnyIndexErrors": 0,
  720 + "typescriptTargetECMAVersion": 0,
  721 + "uglifyDefinesString": "",
  722 + "uglifyFlags2": {
  723 + "ascii-only": {
  724 + "active": 0,
  725 + "flagValue": -1
  726 + },
  727 + "booleans": {
  728 + "active": 1,
  729 + "flagValue": -1
  730 + },
  731 + "bracketize": {
  732 + "active": 0,
  733 + "flagValue": -1
  734 + },
  735 + "cascade": {
  736 + "active": 1,
  737 + "flagValue": -1
  738 + },
  739 + "comments": {
  740 + "active": 1,
  741 + "flagValue": -1
  742 + },
  743 + "comparisons": {
  744 + "active": 1,
  745 + "flagValue": -1
  746 + },
  747 + "compress": {
  748 + "active": 1,
  749 + "flagValue": -1
  750 + },
  751 + "conditionals": {
  752 + "active": 1,
  753 + "flagValue": -1
  754 + },
  755 + "dead_code": {
  756 + "active": 0,
  757 + "flagValue": -1
  758 + },
  759 + "drop_console": {
  760 + "active": 0,
  761 + "flagValue": -1
  762 + },
  763 + "drop_debugger": {
  764 + "active": 1,
  765 + "flagValue": -1
  766 + },
  767 + "eval": {
  768 + "active": 0,
  769 + "flagValue": -1
  770 + },
  771 + "evaluate": {
  772 + "active": 1,
  773 + "flagValue": -1
  774 + },
  775 + "hoist_funs": {
  776 + "active": 1,
  777 + "flagValue": -1
  778 + },
  779 + "hoist_vars": {
  780 + "active": 0,
  781 + "flagValue": -1
  782 + },
  783 + "if_return": {
  784 + "active": 1,
  785 + "flagValue": -1
  786 + },
  787 + "indent-level": {
  788 + "active": 0,
  789 + "flagValue": 4
  790 + },
  791 + "indent-start": {
  792 + "active": 0,
  793 + "flagValue": 0
  794 + },
  795 + "inline-script": {
  796 + "active": 0,
  797 + "flagValue": -1
  798 + },
  799 + "join_vars": {
  800 + "active": 1,
  801 + "flagValue": -1
  802 + },
  803 + "keep_fargs": {
  804 + "active": 0,
  805 + "flagValue": -1
  806 + },
  807 + "loops": {
  808 + "active": 1,
  809 + "flagValue": -1
  810 + },
  811 + "mangle": {
  812 + "active": 1,
  813 + "flagValue": -1
  814 + },
  815 + "max-line-len": {
  816 + "active": 1,
  817 + "flagValue": 32000
  818 + },
  819 + "negate_iife": {
  820 + "active": 1,
  821 + "flagValue": -1
  822 + },
  823 + "properties": {
  824 + "active": 1,
  825 + "flagValue": -1
  826 + },
  827 + "pure_getters": {
  828 + "active": 0,
  829 + "flagValue": -1
  830 + },
  831 + "quote-keys": {
  832 + "active": 0,
  833 + "flagValue": -1
  834 + },
  835 + "screw-ie8": {
  836 + "active": 0,
  837 + "flagValue": -1
  838 + },
  839 + "semicolons": {
  840 + "active": 1,
  841 + "flagValue": -1
  842 + },
  843 + "sequences": {
  844 + "active": 1,
  845 + "flagValue": -1
  846 + },
  847 + "sort": {
  848 + "active": 0,
  849 + "flagValue": -1
  850 + },
  851 + "space-colon": {
  852 + "active": 1,
  853 + "flagValue": -1
  854 + },
  855 + "toplevel": {
  856 + "active": 0,
  857 + "flagValue": -1
  858 + },
  859 + "unsafe": {
  860 + "active": 0,
  861 + "flagValue": -1
  862 + },
  863 + "unused": {
  864 + "active": 0,
  865 + "flagValue": -1
  866 + },
  867 + "warnings": {
  868 + "active": 0,
  869 + "flagValue": -1
  870 + },
  871 + "width": {
  872 + "active": 1,
  873 + "flagValue": 80
  874 + }
  875 + },
  876 + "uglifyReservedNamesString": "$",
  877 + "websiteRelativeRoot": ""
  878 + },
  879 +"settingsFileVersion": "2"
  880 +}
0 881 \ No newline at end of file
... ...
home/home-partial.html 0 โ†’ 100644
  1 +++ a/home/home-partial.html
... ... @@ -0,0 +1,29 @@
  1 +<div class="row" >
  2 + <div class="col-lg-8 col-md-8 col-sm-6 col-xs-12">
  3 + <div class="app" ng-repeat="app in appData | filter:searchTerm">
  4 + <div class="row">
  5 + <div class="col-lg-2 col-md-4 col-sm-4">
  6 + <img ng-src="{{app['im:image'][2].label}}" class="app-logo" />
  7 + </div>
  8 + <div class="col-lg-10 col-md-8 col-sm-8">
  9 + <h3>{{app['im:name'].label}}</h3>
  10 + <div ng-bind="app.summary.label | Truncate:105"></div>
  11 + <span ng-click="">...more</span>
  12 + </div>
  13 + </div>
  14 + <button class="btn btn-primary" ng-click="addtofav(app)">Add to Fav</button>
  15 + </div>
  16 + </div>
  17 + <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
  18 + <div class="cart">
  19 + <h3>Fav Apps</h3>
  20 + <ul ng-if="Cart.Items.length>0">
  21 + <li ng-repeat="cartItem in Cart.Items">
  22 + {{cartItem["im:name"].label}}
  23 + <span ng-click="removeApp(item)">x</span>
  24 + </li>
  25 + </ul>
  26 + <div ng-show="Cart.Items.length==0">No Items Added to the Cart</div>
  27 + </div>
  28 + </div>
  29 + </div>
0 30 \ No newline at end of file
... ...
includes/css/style.css 0 โ†’ 100644
  1 +++ a/includes/css/style.css
... ... @@ -0,0 +1,97 @@
  1 +nav {
  2 + margin-top: 10px;
  3 +}
  4 +nav.navbar-default {
  5 + background: #8e44ad;
  6 + color: #ffffff !important;
  7 +}
  8 +nav .search-box {
  9 + float: right;
  10 + margin-top: 10px;
  11 +}
  12 +nav a.navbar-brand {
  13 + color: white !important;
  14 +}
  15 +nav #navbar ul li a {
  16 + color: #fff;
  17 +}
  18 +nav #navbar ul li.active a {
  19 + color: #8e44ad;
  20 +}
  21 +.app {
  22 + border: 1px solid #8e44ad;
  23 + border-radius: 6px;
  24 + padding: 20px;
  25 + margin-bottom: 10px;
  26 + background-color: #eee3f3;
  27 +}
  28 +.app .app-logo {
  29 + border: 1px solid #aaa;
  30 + border-radius: 50px;
  31 +}
  32 +.app h3 {
  33 + color: #8e44ad;
  34 + margin: 0 0 10px 0;
  35 + font-size: 18px;
  36 +}
  37 +.app .btn {
  38 + width: 100%;
  39 + margin-top: 20px;
  40 + display: none;
  41 +}
  42 +@media (max-width: 1024px) {
  43 + .app .btn {
  44 + display: block;
  45 + }
  46 +}
  47 +.app:hover .btn {
  48 + display: block;
  49 +}
  50 +.cart {
  51 + background-color: #8e44ad;
  52 + padding: 20px;
  53 + border-radius: 10px;
  54 + color: #fff;
  55 +}
  56 +.cart ul {
  57 + list-style: none;
  58 + padding-left: 0;
  59 +}
  60 +.cart ul li {
  61 + display: block;
  62 + padding: 5px 0;
  63 + border-bottom: 1px dashed #000;
  64 +}
  65 +.cart ul li:first-child {
  66 + border-top: 1px dashed #000;
  67 +}
  68 +.cart ul li span {
  69 + cursor: pointer;
  70 +}
  71 +#todo h1 {
  72 + color: #8e44ad;
  73 + font-size: 28px;
  74 + margin: 10px 0 10px;
  75 +}
  76 +#todo .table thead th {
  77 + color: #8e44ad;
  78 +}
  79 +#todo .table tbody tr td {
  80 + height: 50px;
  81 + vertical-align: middle;
  82 +}
  83 +#todo .task .task-item {
  84 + float: left;
  85 +}
  86 +#todo .task .delete {
  87 + display: none;
  88 + float: right;
  89 + margin: 0;
  90 +}
  91 +#todo .task:hover .delete {
  92 + display: block;
  93 +}
  94 +.btn.btn-primary {
  95 + background: #391b45;
  96 + border: 0;
  97 +}
... ...
includes/js/min/page-scripts-min.js 0 โ†’ 100644
  1 +++ a/includes/js/min/page-scripts-min.js
... ... @@ -0,0 +1 @@
  1 +!function(){"use strict";var o=angular.module("appStore",[]);o.controller("pageController",function(o){})}();
0 2 \ No newline at end of file
... ...
includes/js/page-scripts.js 0 โ†’ 100644
  1 +++ a/includes/js/page-scripts.js
... ... @@ -0,0 +1,137 @@
  1 +(function () {
  2 + 'use strict';
  3 +
  4 + //Initiate module
  5 + var app = angular.module("appStore",['ngRoute']);
  6 +
  7 + app.config(['$routeProvider',
  8 + function ($routeProvider) {
  9 + $routeProvider
  10 + .when('/', {
  11 + controller: 'appController',
  12 + templateUrl: '/home/home-partial.html'
  13 + })
  14 + .when('/about', {
  15 + controller: 'aboutController',
  16 + templateUrl: '/about/about-partial.html'
  17 + })
  18 + .otherwise('/')
  19 + }]);
  20 +
  21 + app.controller("pageController",function($scope, $location){
  22 +
  23 + $scope.isActive = function (viewLocation) {
  24 + return viewLocation === $location.path();
  25 + };
  26 +
  27 + });
  28 +
  29 + app.controller("appController", function($scope, $http){
  30 + //Call to get top 5 apps
  31 + $http.get('http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/topfreeapplications/sf=143441/limit=25/json').
  32 + success(function(data, status, headers, config) {
  33 + $scope.appData = data.feed.entry;
  34 + }).
  35 + error(function(data, status, headers, config) {
  36 + // called asynchronously if an error occurs
  37 + // or server returns response with an error status.
  38 + });
  39 +
  40 + if(localStorage.getItem("Cart")) {
  41 + $scope.Cart = JSON.parse(localStorage.getItem("Cart"));
  42 + }
  43 + else {
  44 + $scope.Cart={
  45 + Items: []
  46 + };
  47 + }
  48 +
  49 + $scope.addtofav = addtofav;
  50 +
  51 + function addtofav(item){
  52 + var index = $scope.Cart.Items.indexOf(item);
  53 + if(index==-1) {
  54 + $scope.Cart.Items.push(item);
  55 + }
  56 + else
  57 + alert("Item Already Added");
  58 +
  59 + debugger;
  60 + localStorage.setItem("Cart", JSON.stringify($scope.Cart));
  61 + }
  62 +
  63 + $scope.removeApp = removeApp;
  64 +
  65 + function removeApp(item) {
  66 + var index = $scope.Cart.Items.indexOf(item);
  67 + $scope.Cart.Items.splice(index, 1);
  68 + localStorage.setItem("Cart", JSON.stringify($scope.Cart));
  69 + }
  70 + });
  71 +
  72 + app.controller("aboutController",function($scope, $http){
  73 +
  74 + $http.get('http://localhost:8080/todolist').success(function(response) {
  75 + //console.log("I got the data I requested");
  76 + $scope.todolist = response;
  77 + });
  78 +
  79 + $scope.task = {
  80 + taskname: "",
  81 + Done: false,
  82 + details: ""
  83 + }
  84 +
  85 + $scope.addTask = function() {
  86 + $http.post('http://localhost:8080/todolist', $scope.task).success(function(response){
  87 + $http.get('http://localhost:8080/todolist').success(function(response) {
  88 + $scope.todolist = response;
  89 + });
  90 + console.log(response);
  91 + $scope.task = {
  92 + taskname: "",
  93 + Done: false,
  94 + details: ""
  95 + }
  96 + });
  97 + };
  98 +
  99 + $scope.updateTask = function(task) {
  100 + $http.put('http://localhost:8080/todolist/'+task._id,task).success(function(response) {
  101 + });
  102 + };
  103 +
  104 + $scope.deleteTask = function(id) {
  105 + var x=confirm("Are you sure?")
  106 + if(x==true){
  107 + $http.delete('http://localhost:8080/todolist/' + id).success(function(response) {
  108 + console.log(response);
  109 + $http.get('http://localhost:8080/todolist').success(function(response) {
  110 + $scope.todolist = response;
  111 + });
  112 + });
  113 + }
  114 + }
  115 + });
  116 +
  117 + app.filter('Truncate', function () {
  118 + return function (text, length, end) {
  119 + if (!text) {
  120 + return '';
  121 + }
  122 + if (isNaN(length))
  123 + length = 10;
  124 + if (end === undefined)
  125 + end = "";
  126 + if (text.length <= length || text.length - end.length <= length)
  127 + { return text; }
  128 + else
  129 + {
  130 + return String(text).substring(0, length - end.length) + end;
  131 + //return '<h1 ng-click="chutiya=true">Bokachoda</h1><span ng-show="chutiya==true">Chutiyapa ka limit</span>';
  132 + }
  133 + }
  134 + });
  135 +
  136 +
  137 +})();
0 138 \ No newline at end of file
... ...
includes/less/style.less 0 โ†’ 100644
  1 +++ a/includes/less/style.less
... ... @@ -0,0 +1,127 @@
  1 +@brand-primary: #8e44ad;
  2 +
  3 +nav {
  4 + margin-top: 10px;
  5 + &.navbar-default {
  6 + background: @brand-primary;
  7 + color: #fff !important
  8 +}
  9 + .search-box {
  10 + float: right;
  11 + margin-top: 10px;
  12 + }
  13 + a.navbar-brand {
  14 + color: white !important;
  15 + }
  16 + #navbar {
  17 + ul {
  18 + li {
  19 + a {
  20 + color: #fff;
  21 + }
  22 + &.active {
  23 + a {
  24 + color: @brand-primary;
  25 + }
  26 + }
  27 + }
  28 + }
  29 + }
  30 +}
  31 +
  32 +.app {
  33 + border:1px solid @brand-primary;
  34 + border-radius: 6px;
  35 + padding:20px;
  36 + margin-bottom: 10px;
  37 + background-color: mix(@brand-primary, white, 15%);
  38 + .app-logo {
  39 + border:1px solid #aaa;
  40 + border-radius: 50px;
  41 + }
  42 + h3 {
  43 + color: @brand-primary;
  44 + margin: 0 0 10px 0;
  45 + font-size: 18px;
  46 + }
  47 + .btn {
  48 + width: 100%;
  49 + margin-top: 20px;
  50 + display:none;
  51 + @media (max-width:1024px) {
  52 + display:block;
  53 + }
  54 + }
  55 + &:hover {
  56 + .btn {
  57 + display: block;;
  58 + }
  59 + }
  60 +}
  61 +
  62 +.cart {
  63 + background-color: @brand-primary;
  64 + padding:20px;
  65 + border-radius:10px;
  66 + color: #fff;
  67 + ul {
  68 + list-style: none;
  69 + padding-left: 0;
  70 + li {
  71 + display: block;
  72 + padding:5px 0;
  73 + border-bottom:1px dashed #000;
  74 + &:first-child {
  75 + border-top:1px dashed #000;
  76 + }
  77 + span {
  78 + cursor: pointer;
  79 + }
  80 + }
  81 + }
  82 +}
  83 +
  84 +#todo {
  85 + h1 {
  86 + color: @brand-primary;
  87 + font-size: 28px;
  88 + margin: 10px 0 10px;
  89 + }
  90 + .table {
  91 + thead {
  92 + th {
  93 + color: @brand-primary;
  94 + }
  95 + }
  96 + tbody {
  97 + tr {
  98 + td {
  99 + height: 50px;
  100 + vertical-align: middle;
  101 + }
  102 + }
  103 + }
  104 + }
  105 + .task {
  106 + .task-item {
  107 + float: left;
  108 + }
  109 + .delete {
  110 + display: none;
  111 + float: right;
  112 + margin:0;
  113 + }
  114 + &:hover{
  115 + .delete{
  116 + display: block;
  117 + }
  118 + }
  119 + }
  120 +}
  121 +
  122 +.btn {
  123 + &.btn-primary {
  124 + background: mix(@brand-primary,black,40%);
  125 + border:0;
  126 + }
  127 +}
0 128 \ No newline at end of file
... ...
index.html 0 โ†’ 100644
  1 +++ a/index.html
... ... @@ -0,0 +1,47 @@
  1 +<!DOCTYPE html>
  2 +<html ng-app="appStore">
  3 +<head>
  4 + <title>App Store</title>
  5 + <!-- Latest compiled and minified CSS -->
  6 + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
  7 +
  8 + <!-- Optional theme -->
  9 + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">
  10 +
  11 + <!-- Latest compiled and minified JavaScript -->
  12 + <link rel="stylesheet" href="/includes/css/style.css">
  13 +
  14 +</head>
  15 +<body ng-controller="pageController">
  16 + <div class="container">
  17 + <nav class="navbar navbar-default">
  18 + <div class="container-fluid">
  19 + <div class="navbar-header">
  20 + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  21 + <span class="sr-only">Toggle navigation</span>
  22 + <span class="icon-bar"></span>
  23 + <span class="icon-bar"></span>
  24 + <span class="icon-bar"></span>
  25 + </button>
  26 + <a class="navbar-brand" href="#">App Store</a>
  27 + </div>
  28 + <div id="navbar" class="navbar-collapse collapse">
  29 + <ul class="nav navbar-nav">
  30 + <li ng-class="{ active: isActive('/')}"><a href="#/">Home</a></li>
  31 + <li ng-class="{ active: isActive('/about')}"><a href="#/about/">About</a></li>
  32 + </ul>
  33 + <input type="text" class="search-box" ng-model="searchTerm['im:name'].label" />
  34 + </div><!--/.nav-collapse -->
  35 + </div><!--/.container-fluid -->
  36 + </nav>
  37 + <div ng-view></div>
  38 + </div>
  39 + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
  40 + <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
  41 + <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-route.js"></script>
  42 + <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-sanitize.min.js"></script>
  43 +
  44 + <script src="/includes/js/page-scripts.js"></script>
  45 +
  46 +</body>
  47 +</html>
0 48 \ No newline at end of file
... ...