michahell/pinbored-nwjs

View on GitHub
App/index.template.html

Summary

Maintainability
Test Coverage
<!doctype html>
<html class="no-js">
  <head>
    <meta charset="utf-8">

    <link rel="stylesheet" href="bower_components_dist/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" href="bower_components_dist/animate.css/animate.min.css" />
    <link rel="stylesheet" href="bower_components_dist/ng-tags-input/ng-tags-input.min.css">
    <link rel="stylesheet" href="bower_components_dist/flat-ui/dist/css/flat-ui.min.css">
    <link rel="stylesheet" href="bower_components_dist/angular-gridster/dist/angular-gridster.min.css" />
    <link rel="stylesheet" href="bower_components_dist/ngprogress/ngProgress.css" />
    <link rel="stylesheet" href="bower_components_dist/ngDialog/css/ngDialog.min.css" />
    <link rel="stylesheet" href="bower_components_dist/ngDialog/css/ngDialog-theme-default.min.css" />

    <!-- @ifdef DEBUG -->
    <!-- component / theme / skin CSS overrides -->
    <link rel="stylesheet" href="styles/override-browser.css" />
    <link rel="stylesheet" href="styles/override-noresponsive.css" />
    <link rel="stylesheet" href="styles/override-bootstrap.css">
    <link rel="stylesheet" href="styles/override-flatui.css">
    <link rel="stylesheet" href="styles/override-flatui-pagination.css">
    <link rel="stylesheet" href="styles/override-ng-tags-input.css">
    <link rel="stylesheet" href="styles/override-autocomplete.css">
    <link rel="stylesheet" href="styles/override-gridster.css">

    <!-- the css for all application specific stuff -->
    <link rel="stylesheet" href="styles/app-viewcontainer.css">
    <link rel="stylesheet" href="styles/app-behaviour.css">
    <link rel="stylesheet" href="styles/app-styling.css">

    <!-- the css for all the views -->
    <link rel="stylesheet" href="styles/view-common.css">
    <link rel="stylesheet" href="styles/view-mainnav.css">
    <link rel="stylesheet" href="styles/view-login.css">
    <link rel="stylesheet" href="styles/view-overview.css">
    <link rel="stylesheet" href="styles/view-bookmarkitem.css">
    <link rel="stylesheet" href="styles/view-tags.css">
    <link rel="stylesheet" href="styles/view-tools.css">
    <link rel="stylesheet" href="styles/view-settings.css">
    <link rel="stylesheet" href="styles/view-modal.css">
    <!-- @endif -->

    <!-- @ifdef RELEASE -->
    <link rel="stylesheet" href="pinbored-nwjs.min.css" />
    <!-- @endif -->

  </head>
  <body ng-app="pinboredWebkitApp">
    
    <!-- @ifdef DEBUG -->
    <!-- main navigation -->
    <!-- @endif -->

    <div ng-include src="'views/partials/mainnav.html'" ng-controller="MainNavCtrl" ng-show="showNav" 
    class="navbar navbar-default navbar-static-top" role="navigation"></div>

    <div class="viewcontainer" ui-view="login" ng-show="$state.includes('login')"></div>
    <div class="viewcontainer" ui-view="overview" ng-show="$state.includes('overview')"></div>
    <div class="viewcontainer" ui-view="tags" ng-show="$state.includes('tags')"></div>
    <div class="viewcontainer" ui-view="tools" ng-show="$state.includes('tools')"></div>
    <div class="viewcontainer" ui-view="settings" ng-show="$state.includes('settings')"></div>

    <!-- @ifdef DEBUG -->
    <!-- main app status window -->
    <!-- @endif -->

    <div ng-controller="AppStatusCtrl" ng-show="visible" class="app-status-indicator" ng-animate="app-status-indicator">
      <h7><span class="{{status.color}}">{{status.text}}</span></h7>
    </div>

    <script src="bower_components_dist/jquery/dist/jquery.min.js"></script>
    <script src="bower_components_dist/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="bower_components_dist/underscore/underscore-min.js"></script>
    <script src="bower_components_dist/json3/lib/json3.min.js"></script>
    <script src="bower_components_dist/ramda/dist/ramda.min.js"></script>

    <script src="bower_components_dist/angular/angular.min.js"></script>
    <script src="bower_components_dist/angular-sanitize/angular-sanitize.min.js"></script>
    <script src="bower_components_dist/angular-animate/angular-animate.min.js"></script>
    <script src="bower_components_dist/angular-ui-router/release/angular-ui-router.min.js"></script>
    <script src="bower_components_dist/ui-router-extras/release/modular/ct-ui-router-extras.core.min.js"></script>
    <script src="bower_components_dist/ui-router-extras/release/modular/ct-ui-router-extras.sticky.min.js"></script>
    
    <script src="bower_components_dist/angular-bootstrap/ui-bootstrap.min.js"></script>
    <script src="bower_components_dist/angular-gridster/dist/angular-gridster.min.js"></script>
    <script src="bower_components_dist/ng-tags-input/ng-tags-input.min.js"></script>
    <script src="bower_components_dist/flat-ui/dist/js/flat-ui.min.js"></script>
    <script src="bower_components_dist/ngprogress/build/ngProgress.min.js"></script>
    <script src="bower_components_dist/ngDialog/js/ngDialog.min.js"></script>
    <script src="bower_components_dist/angular-elastic/elastic.js"></script>
    <script src="bower_components_dist/mousetrap/mousetrap.min.js"></script>
    <!-- <script src="bower_components_dist/ramdangular/ramdangular.js"></script> -->
        
    <script src="bower_components_dist/fui-angular/fui-template.js"></script>
    <script src="bower_components_dist/fui-angular/fui-checkbox.js"></script>
    <script src="bower_components_dist/fui-angular/fui-radio.js"></script>
    <script src="bower_components_dist/fui-angular/fui-switch.js"></script>
    <script src="bower_components_dist/fui-angular/fui-tpls.js"></script>

    <!-- @ifdef DEBUG -->
    <!-- nwjs configuration and setup -->
    <script src="scripts/config/config-node-nwjs.js"></script>

    <!-- main angular entry point -->
    <script src="scripts/app.js"></script>

    <!-- constants (need to be declared after app.js) -->
    <script src="scripts/constants/events.js"></script>
    <script src="scripts/constants/config.js"></script>

    <!-- controllers -->
    <script src="scripts/controllers/behaviours/baseview.js"></script>
    <script src="scripts/controllers/behaviours/searchableview.js"></script>

    <script src="scripts/controllers/mainnav.js"></script>
    <script src="scripts/controllers/appstatus.js"></script>
    <script src="scripts/controllers/overview.js"></script>
    <script src="scripts/controllers/tags.js"></script>
    <script src="scripts/controllers/tools.js"></script>
    <script src="scripts/controllers/settings.js"></script>
    <script src="scripts/controllers/about.js"></script>
    <script src="scripts/controllers/login.js"></script>
    <script src="scripts/controllers/bookmarkitem.js"></script>
    <script src="scripts/controllers/tagitem.js"></script>

    <!-- services -->
    <script src="scripts/services/bookmarkservice.js"></script>
    <script src="scripts/services/utilservice.js"></script>
    <script src="scripts/services/appstatusservice.js"></script>
    <script src="scripts/services/appconfigservice.js"></script>
    <script src="scripts/services/pinboardservice.js"></script>
    <script src="scripts/services/usersessionservice.js"></script>
    <script src="scripts/services/modalservice.js"></script>

    <!-- directives -->
    <script src="scripts/directives/btnloading.js"></script>
    <script src="scripts/directives/stopevent.js"></script>
    <script src="scripts/directives/ngenter.js"></script>

    <!-- filters -->
    <script src="scripts/filters/bookmarkfulltextfilter.js"></script>
    <script src="scripts/filters/bookmarktagsfilter.js"></script>
    <script src="scripts/filters/tagfulltextfilter.js"></script>

    <script src="scripts/filters/highlightfilter.js"></script>
    <script src="scripts/filters/offsetfilter.js"></script>
    <script src="scripts/filters/wordcutfilter.js"></script>
    <!-- @endif -->

    <!-- @ifdef RELEASE -->
    <script src="pinbored-nwjs.min.js"></script>
    <!-- @endif -->

</body>
</html>