From 1468d4314442eb36f262b9d09fff803759a99048 Mon Sep 17 00:00:00 2001 From: tanshu Date: Wed, 8 Feb 2017 19:22:00 +0530 Subject: [PATCH] Chore: Changed layout to confirm better with the Style Guide --- brewman/static/{partial => app}/404.html | 0 .../account}/account-detail.html | 0 .../account}/account-list.html | 0 .../account/account.controller.js} | 0 .../attendance/attendance.controller.js} | 0 .../attendance}/attendance.html | 0 .../balance-sheet.controller.js} | 0 .../balance-sheet}/balance-sheet.html | 0 .../cash-flow/cash-flow.controller.js} | 0 .../{partial => app/cash-flow}/cash-flow.html | 0 .../client}/client-detail.html | 0 .../{partial => app/client}/client-list.html | 0 .../client/client.controller.js} | 0 .../closing-stock.controller.js} | 0 .../closing-stock}/closing-stock.html | 0 .../cost-centre}/cost-centre-detail.html | 0 .../cost-centre}/cost-centre-list.html | 0 .../cost-centre/cost-centre.controller.js} | 0 .../daybook/daybook.controller.js} | 0 .../{partial => app/daybook}/daybook.html | 0 .../employee-attendance.controller.js} | 0 .../employee}/employee-attendance.html | 0 .../employee}/employee-detail.html | 0 .../employee-functions.controller.js} | 0 .../employee}/employee-functions.html | 0 .../employee}/employee-list.html | 0 .../employee}/employee-service-charge.html | 0 .../employee/employee.controller.js} | 0 .../{partial => app/group}/group-detail.html | 0 .../{partial => app/group}/group-list.html | 0 .../group/group.controller.js} | 0 .../home.js => app/home.controller.js} | 0 brewman/static/{partial => app}/home.html | 0 .../{partial => app/issue}/issue-modal.html | 0 .../issue/issue.controller.js} | 2 +- .../static/{partial => app/issue}/issue.html | 0 .../journal}/journal-modal.html | 0 .../journal/journal.controller.js} | 2 +- .../{partial => app/journal}/journal.html | 0 .../ledger/ledger.controller.js} | 0 .../{partial => app/ledger}/ledger.html | 0 .../login/login.controller.js} | 0 .../static/{partial => app/login}/login.html | 0 .../net-transactions.controller.js} | 0 .../net-transactions}/net-transactions.html | 0 .../overlord.js => app/overlord.app.js} | 150 +++++++++--------- .../payment}/payment-modal.html | 0 .../payment/payment.controller.js} | 2 +- .../{partial => app/payment}/payment.html | 0 .../product-group}/product-group-detail.html | 0 .../product-group}/product-group-list.html | 0 .../product-group.controller.js} | 0 .../product-ledger.controller.js} | 0 .../product-ledger}/product-ledger.html | 0 .../product}/product-detail.html | 0 .../product}/product-list.html | 0 .../product/product.controller.js} | 0 .../profit-loss/profit-loss.controller.js} | 0 .../profit-loss}/profit-loss.html | 0 .../purchase-entries.controller.js} | 0 .../purchase-entries}/purchase-entries.html | 0 .../purchase-return-modal.html | 0 .../purchase-return.controller.js} | 2 +- .../purchase-return}/purchase-return.html | 0 .../purchase}/purchase-modal.html | 0 .../purchase/purchase.controller.js} | 2 +- .../{partial => app/purchase}/purchase.html | 0 .../purchases/purchases.controller.js} | 0 .../{partial => app/purchases}/purchases.html | 0 .../raw-material-cost-detail.html | 0 .../raw-material-cost.controller.js} | 0 .../raw-material-cost}/raw-material-cost.html | 0 .../receipt}/receipt-modal.html | 0 .../receipt/receipt.controller.js} | 2 +- .../{partial => app/receipt}/receipt.html | 0 .../recipe}/recipe-detail.html | 0 .../{partial => app/recipe}/recipe-list.html | 0 .../recipe/recipe.controller.js} | 0 .../reconcile/reconcile.controller.js} | 0 .../{partial => app/reconcile}/reconcile.html | 0 .../salary-deduction.controller.js} | 0 .../salary-deduction}/salary-deduction.html | 0 .../service-charge.controller.js} | 0 .../settings/settings.controller.js} | 0 .../{partial => app/settings}/settings.html | 0 .../stock-movement.controller.js} | 0 .../stock-movement}/stock-movement.html | 0 .../trial-balance.controller.js} | 0 .../trial-balance}/trial-balance.html | 0 .../unposted/unposted.controller.js} | 0 .../{partial => app/unposted}/unposted.html | 0 .../{partial => app/user}/user-detail.html | 0 .../{partial => app/user}/user-list.html | 0 .../user.js => app/user/user.controller.js} | 0 brewman/static/base.html | 88 +++++----- 95 files changed, 127 insertions(+), 123 deletions(-) rename brewman/static/{partial => app}/404.html (100%) rename brewman/static/{partial => app/account}/account-detail.html (100%) rename brewman/static/{partial => app/account}/account-list.html (100%) rename brewman/static/{scripts/account.js => app/account/account.controller.js} (100%) rename brewman/static/{scripts/attendance.js => app/attendance/attendance.controller.js} (100%) rename brewman/static/{partial => app/attendance}/attendance.html (100%) rename brewman/static/{scripts/balance-sheet.js => app/balance-sheet/balance-sheet.controller.js} (100%) rename brewman/static/{partial => app/balance-sheet}/balance-sheet.html (100%) rename brewman/static/{scripts/cash-flow.js => app/cash-flow/cash-flow.controller.js} (100%) rename brewman/static/{partial => app/cash-flow}/cash-flow.html (100%) rename brewman/static/{partial => app/client}/client-detail.html (100%) rename brewman/static/{partial => app/client}/client-list.html (100%) rename brewman/static/{scripts/client.js => app/client/client.controller.js} (100%) rename brewman/static/{scripts/closing-stock.js => app/closing-stock/closing-stock.controller.js} (100%) rename brewman/static/{partial => app/closing-stock}/closing-stock.html (100%) rename brewman/static/{partial => app/cost-centre}/cost-centre-detail.html (100%) rename brewman/static/{partial => app/cost-centre}/cost-centre-list.html (100%) rename brewman/static/{scripts/cost-centre.js => app/cost-centre/cost-centre.controller.js} (100%) rename brewman/static/{scripts/daybook.js => app/daybook/daybook.controller.js} (100%) rename brewman/static/{partial => app/daybook}/daybook.html (100%) rename brewman/static/{scripts/employee-attendance.js => app/employee/employee-attendance.controller.js} (100%) rename brewman/static/{partial => app/employee}/employee-attendance.html (100%) rename brewman/static/{partial => app/employee}/employee-detail.html (100%) rename brewman/static/{scripts/employee-functions.js => app/employee/employee-functions.controller.js} (100%) rename brewman/static/{partial => app/employee}/employee-functions.html (100%) rename brewman/static/{partial => app/employee}/employee-list.html (100%) rename brewman/static/{partial => app/employee}/employee-service-charge.html (100%) rename brewman/static/{scripts/employee.js => app/employee/employee.controller.js} (100%) rename brewman/static/{partial => app/group}/group-detail.html (100%) rename brewman/static/{partial => app/group}/group-list.html (100%) rename brewman/static/{scripts/group.js => app/group/group.controller.js} (100%) rename brewman/static/{scripts/home.js => app/home.controller.js} (100%) rename brewman/static/{partial => app}/home.html (100%) rename brewman/static/{partial => app/issue}/issue-modal.html (100%) rename brewman/static/{scripts/issue.js => app/issue/issue.controller.js} (99%) rename brewman/static/{partial => app/issue}/issue.html (100%) rename brewman/static/{partial => app/journal}/journal-modal.html (100%) rename brewman/static/{scripts/journal.js => app/journal/journal.controller.js} (99%) rename brewman/static/{partial => app/journal}/journal.html (100%) rename brewman/static/{scripts/ledger.js => app/ledger/ledger.controller.js} (100%) rename brewman/static/{partial => app/ledger}/ledger.html (100%) rename brewman/static/{scripts/login.js => app/login/login.controller.js} (100%) rename brewman/static/{partial => app/login}/login.html (100%) rename brewman/static/{scripts/net-transactions.js => app/net-transactions/net-transactions.controller.js} (100%) rename brewman/static/{partial => app/net-transactions}/net-transactions.html (100%) rename brewman/static/{scripts/overlord.js => app/overlord.app.js} (73%) rename brewman/static/{partial => app/payment}/payment-modal.html (100%) rename brewman/static/{scripts/payment.js => app/payment/payment.controller.js} (99%) rename brewman/static/{partial => app/payment}/payment.html (100%) rename brewman/static/{partial => app/product-group}/product-group-detail.html (100%) rename brewman/static/{partial => app/product-group}/product-group-list.html (100%) rename brewman/static/{scripts/product-group.js => app/product-group/product-group.controller.js} (100%) rename brewman/static/{scripts/product-ledger.js => app/product-ledger/product-ledger.controller.js} (100%) rename brewman/static/{partial => app/product-ledger}/product-ledger.html (100%) rename brewman/static/{partial => app/product}/product-detail.html (100%) rename brewman/static/{partial => app/product}/product-list.html (100%) rename brewman/static/{scripts/product.js => app/product/product.controller.js} (100%) rename brewman/static/{scripts/profit-loss.js => app/profit-loss/profit-loss.controller.js} (100%) rename brewman/static/{partial => app/profit-loss}/profit-loss.html (100%) rename brewman/static/{scripts/purchase-entries.js => app/purchase-entries/purchase-entries.controller.js} (100%) rename brewman/static/{partial => app/purchase-entries}/purchase-entries.html (100%) rename brewman/static/{partial => app/purchase-return}/purchase-return-modal.html (100%) rename brewman/static/{scripts/purchase-return.js => app/purchase-return/purchase-return.controller.js} (99%) rename brewman/static/{partial => app/purchase-return}/purchase-return.html (100%) rename brewman/static/{partial => app/purchase}/purchase-modal.html (100%) rename brewman/static/{scripts/purchase.js => app/purchase/purchase.controller.js} (99%) rename brewman/static/{partial => app/purchase}/purchase.html (100%) rename brewman/static/{scripts/purchases.js => app/purchases/purchases.controller.js} (100%) rename brewman/static/{partial => app/purchases}/purchases.html (100%) rename brewman/static/{partial => app/raw-material-cost}/raw-material-cost-detail.html (100%) rename brewman/static/{scripts/raw-material-cost.js => app/raw-material-cost/raw-material-cost.controller.js} (100%) rename brewman/static/{partial => app/raw-material-cost}/raw-material-cost.html (100%) rename brewman/static/{partial => app/receipt}/receipt-modal.html (100%) rename brewman/static/{scripts/receipt.js => app/receipt/receipt.controller.js} (99%) rename brewman/static/{partial => app/receipt}/receipt.html (100%) rename brewman/static/{partial => app/recipe}/recipe-detail.html (100%) rename brewman/static/{partial => app/recipe}/recipe-list.html (100%) rename brewman/static/{scripts/recipe.js => app/recipe/recipe.controller.js} (100%) rename brewman/static/{scripts/reconcile.js => app/reconcile/reconcile.controller.js} (100%) rename brewman/static/{partial => app/reconcile}/reconcile.html (100%) rename brewman/static/{scripts/salary-deduction.js => app/salary-deduction/salary-deduction.controller.js} (100%) rename brewman/static/{partial => app/salary-deduction}/salary-deduction.html (100%) rename brewman/static/{scripts/service-charge.js => app/service-charge/service-charge.controller.js} (100%) rename brewman/static/{scripts/settings.js => app/settings/settings.controller.js} (100%) rename brewman/static/{partial => app/settings}/settings.html (100%) rename brewman/static/{scripts/stock-movement.js => app/stock-movement/stock-movement.controller.js} (100%) rename brewman/static/{partial => app/stock-movement}/stock-movement.html (100%) rename brewman/static/{scripts/trial-balance.js => app/trial-balance/trial-balance.controller.js} (100%) rename brewman/static/{partial => app/trial-balance}/trial-balance.html (100%) rename brewman/static/{scripts/unposted.js => app/unposted/unposted.controller.js} (100%) rename brewman/static/{partial => app/unposted}/unposted.html (100%) rename brewman/static/{partial => app/user}/user-detail.html (100%) rename brewman/static/{partial => app/user}/user-list.html (100%) rename brewman/static/{scripts/user.js => app/user/user.controller.js} (100%) diff --git a/brewman/static/partial/404.html b/brewman/static/app/404.html similarity index 100% rename from brewman/static/partial/404.html rename to brewman/static/app/404.html diff --git a/brewman/static/partial/account-detail.html b/brewman/static/app/account/account-detail.html similarity index 100% rename from brewman/static/partial/account-detail.html rename to brewman/static/app/account/account-detail.html diff --git a/brewman/static/partial/account-list.html b/brewman/static/app/account/account-list.html similarity index 100% rename from brewman/static/partial/account-list.html rename to brewman/static/app/account/account-list.html diff --git a/brewman/static/scripts/account.js b/brewman/static/app/account/account.controller.js similarity index 100% rename from brewman/static/scripts/account.js rename to brewman/static/app/account/account.controller.js diff --git a/brewman/static/scripts/attendance.js b/brewman/static/app/attendance/attendance.controller.js similarity index 100% rename from brewman/static/scripts/attendance.js rename to brewman/static/app/attendance/attendance.controller.js diff --git a/brewman/static/partial/attendance.html b/brewman/static/app/attendance/attendance.html similarity index 100% rename from brewman/static/partial/attendance.html rename to brewman/static/app/attendance/attendance.html diff --git a/brewman/static/scripts/balance-sheet.js b/brewman/static/app/balance-sheet/balance-sheet.controller.js similarity index 100% rename from brewman/static/scripts/balance-sheet.js rename to brewman/static/app/balance-sheet/balance-sheet.controller.js diff --git a/brewman/static/partial/balance-sheet.html b/brewman/static/app/balance-sheet/balance-sheet.html similarity index 100% rename from brewman/static/partial/balance-sheet.html rename to brewman/static/app/balance-sheet/balance-sheet.html diff --git a/brewman/static/scripts/cash-flow.js b/brewman/static/app/cash-flow/cash-flow.controller.js similarity index 100% rename from brewman/static/scripts/cash-flow.js rename to brewman/static/app/cash-flow/cash-flow.controller.js diff --git a/brewman/static/partial/cash-flow.html b/brewman/static/app/cash-flow/cash-flow.html similarity index 100% rename from brewman/static/partial/cash-flow.html rename to brewman/static/app/cash-flow/cash-flow.html diff --git a/brewman/static/partial/client-detail.html b/brewman/static/app/client/client-detail.html similarity index 100% rename from brewman/static/partial/client-detail.html rename to brewman/static/app/client/client-detail.html diff --git a/brewman/static/partial/client-list.html b/brewman/static/app/client/client-list.html similarity index 100% rename from brewman/static/partial/client-list.html rename to brewman/static/app/client/client-list.html diff --git a/brewman/static/scripts/client.js b/brewman/static/app/client/client.controller.js similarity index 100% rename from brewman/static/scripts/client.js rename to brewman/static/app/client/client.controller.js diff --git a/brewman/static/scripts/closing-stock.js b/brewman/static/app/closing-stock/closing-stock.controller.js similarity index 100% rename from brewman/static/scripts/closing-stock.js rename to brewman/static/app/closing-stock/closing-stock.controller.js diff --git a/brewman/static/partial/closing-stock.html b/brewman/static/app/closing-stock/closing-stock.html similarity index 100% rename from brewman/static/partial/closing-stock.html rename to brewman/static/app/closing-stock/closing-stock.html diff --git a/brewman/static/partial/cost-centre-detail.html b/brewman/static/app/cost-centre/cost-centre-detail.html similarity index 100% rename from brewman/static/partial/cost-centre-detail.html rename to brewman/static/app/cost-centre/cost-centre-detail.html diff --git a/brewman/static/partial/cost-centre-list.html b/brewman/static/app/cost-centre/cost-centre-list.html similarity index 100% rename from brewman/static/partial/cost-centre-list.html rename to brewman/static/app/cost-centre/cost-centre-list.html diff --git a/brewman/static/scripts/cost-centre.js b/brewman/static/app/cost-centre/cost-centre.controller.js similarity index 100% rename from brewman/static/scripts/cost-centre.js rename to brewman/static/app/cost-centre/cost-centre.controller.js diff --git a/brewman/static/scripts/daybook.js b/brewman/static/app/daybook/daybook.controller.js similarity index 100% rename from brewman/static/scripts/daybook.js rename to brewman/static/app/daybook/daybook.controller.js diff --git a/brewman/static/partial/daybook.html b/brewman/static/app/daybook/daybook.html similarity index 100% rename from brewman/static/partial/daybook.html rename to brewman/static/app/daybook/daybook.html diff --git a/brewman/static/scripts/employee-attendance.js b/brewman/static/app/employee/employee-attendance.controller.js similarity index 100% rename from brewman/static/scripts/employee-attendance.js rename to brewman/static/app/employee/employee-attendance.controller.js diff --git a/brewman/static/partial/employee-attendance.html b/brewman/static/app/employee/employee-attendance.html similarity index 100% rename from brewman/static/partial/employee-attendance.html rename to brewman/static/app/employee/employee-attendance.html diff --git a/brewman/static/partial/employee-detail.html b/brewman/static/app/employee/employee-detail.html similarity index 100% rename from brewman/static/partial/employee-detail.html rename to brewman/static/app/employee/employee-detail.html diff --git a/brewman/static/scripts/employee-functions.js b/brewman/static/app/employee/employee-functions.controller.js similarity index 100% rename from brewman/static/scripts/employee-functions.js rename to brewman/static/app/employee/employee-functions.controller.js diff --git a/brewman/static/partial/employee-functions.html b/brewman/static/app/employee/employee-functions.html similarity index 100% rename from brewman/static/partial/employee-functions.html rename to brewman/static/app/employee/employee-functions.html diff --git a/brewman/static/partial/employee-list.html b/brewman/static/app/employee/employee-list.html similarity index 100% rename from brewman/static/partial/employee-list.html rename to brewman/static/app/employee/employee-list.html diff --git a/brewman/static/partial/employee-service-charge.html b/brewman/static/app/employee/employee-service-charge.html similarity index 100% rename from brewman/static/partial/employee-service-charge.html rename to brewman/static/app/employee/employee-service-charge.html diff --git a/brewman/static/scripts/employee.js b/brewman/static/app/employee/employee.controller.js similarity index 100% rename from brewman/static/scripts/employee.js rename to brewman/static/app/employee/employee.controller.js diff --git a/brewman/static/partial/group-detail.html b/brewman/static/app/group/group-detail.html similarity index 100% rename from brewman/static/partial/group-detail.html rename to brewman/static/app/group/group-detail.html diff --git a/brewman/static/partial/group-list.html b/brewman/static/app/group/group-list.html similarity index 100% rename from brewman/static/partial/group-list.html rename to brewman/static/app/group/group-list.html diff --git a/brewman/static/scripts/group.js b/brewman/static/app/group/group.controller.js similarity index 100% rename from brewman/static/scripts/group.js rename to brewman/static/app/group/group.controller.js diff --git a/brewman/static/scripts/home.js b/brewman/static/app/home.controller.js similarity index 100% rename from brewman/static/scripts/home.js rename to brewman/static/app/home.controller.js diff --git a/brewman/static/partial/home.html b/brewman/static/app/home.html similarity index 100% rename from brewman/static/partial/home.html rename to brewman/static/app/home.html diff --git a/brewman/static/partial/issue-modal.html b/brewman/static/app/issue/issue-modal.html similarity index 100% rename from brewman/static/partial/issue-modal.html rename to brewman/static/app/issue/issue-modal.html diff --git a/brewman/static/scripts/issue.js b/brewman/static/app/issue/issue.controller.js similarity index 99% rename from brewman/static/scripts/issue.js rename to brewman/static/app/issue/issue.controller.js index 4f075293..92b898b6 100644 --- a/brewman/static/scripts/issue.js +++ b/brewman/static/app/issue/issue.controller.js @@ -208,7 +208,7 @@ var IssueController = ['$scope', '$routeParams', '$location', 'asDateFilter', 'v var modalInstance = $modal.open({ backdrop: true, size: 'lg', - templateUrl: '/partial/issue-modal.html', + templateUrl: '/app/issue/issue-modal.html', controller: IssueModalController, resolve: { edit: function () { diff --git a/brewman/static/partial/issue.html b/brewman/static/app/issue/issue.html similarity index 100% rename from brewman/static/partial/issue.html rename to brewman/static/app/issue/issue.html diff --git a/brewman/static/partial/journal-modal.html b/brewman/static/app/journal/journal-modal.html similarity index 100% rename from brewman/static/partial/journal-modal.html rename to brewman/static/app/journal/journal-modal.html diff --git a/brewman/static/scripts/journal.js b/brewman/static/app/journal/journal.controller.js similarity index 99% rename from brewman/static/scripts/journal.js rename to brewman/static/app/journal/journal.controller.js index 14343f24..9b15c82e 100644 --- a/brewman/static/scripts/journal.js +++ b/brewman/static/app/journal/journal.controller.js @@ -149,7 +149,7 @@ var JournalController = ['$scope', '$location', 'asDateFilter', '$uibModal', 'up var modalInstance = $modal.open({ backdrop: true, size: 'lg', - templateUrl: '/partial/journal-modal.html', + templateUrl: '/app/journal/journal-modal.html', controller: JournalModalController, resolve: { edit: function () { diff --git a/brewman/static/partial/journal.html b/brewman/static/app/journal/journal.html similarity index 100% rename from brewman/static/partial/journal.html rename to brewman/static/app/journal/journal.html diff --git a/brewman/static/scripts/ledger.js b/brewman/static/app/ledger/ledger.controller.js similarity index 100% rename from brewman/static/scripts/ledger.js rename to brewman/static/app/ledger/ledger.controller.js diff --git a/brewman/static/partial/ledger.html b/brewman/static/app/ledger/ledger.html similarity index 100% rename from brewman/static/partial/ledger.html rename to brewman/static/app/ledger/ledger.html diff --git a/brewman/static/scripts/login.js b/brewman/static/app/login/login.controller.js similarity index 100% rename from brewman/static/scripts/login.js rename to brewman/static/app/login/login.controller.js diff --git a/brewman/static/partial/login.html b/brewman/static/app/login/login.html similarity index 100% rename from brewman/static/partial/login.html rename to brewman/static/app/login/login.html diff --git a/brewman/static/scripts/net-transactions.js b/brewman/static/app/net-transactions/net-transactions.controller.js similarity index 100% rename from brewman/static/scripts/net-transactions.js rename to brewman/static/app/net-transactions/net-transactions.controller.js diff --git a/brewman/static/partial/net-transactions.html b/brewman/static/app/net-transactions/net-transactions.html similarity index 100% rename from brewman/static/partial/net-transactions.html rename to brewman/static/app/net-transactions/net-transactions.html diff --git a/brewman/static/scripts/overlord.js b/brewman/static/app/overlord.app.js similarity index 73% rename from brewman/static/scripts/overlord.js rename to brewman/static/app/overlord.app.js index 6684bf9a..8898eabb 100644 --- a/brewman/static/scripts/overlord.js +++ b/brewman/static/app/overlord.app.js @@ -3,402 +3,402 @@ var overlord = angular.module('overlord', ['overlord.directive', 'overlord.filter', 'overlord.service', 'ngCookies', 'ngRoute', 'ui.bootstrap', 'chieffancypants.loadingBar', 'ngMaterial']) .config(['$routeProvider', '$locationProvider', function ($routeProvider, $locationProvider) { $routeProvider. - when('/', {templateUrl: '/partial/home.html', controller: HomeController, resolve: HomeController.resolve}). - when('/login', {templateUrl: '/partial/login.html', controller: LoginController}). - when('/logout', {templateUrl: '/partial/home.html', controller: LogoutController}). + when('/', {templateUrl: '/app/home.html', controller: HomeController, resolve: HomeController.resolve}). + when('/login', {templateUrl: '/app/login/login.html', controller: LoginController}). + when('/logout', {templateUrl: '/app/home.html', controller: LogoutController}). when('/Journal', { - templateUrl: '/partial/journal.html', + templateUrl: '/app/journal/journal.html', controller: JournalController, resolve: JournalController.resolve }). when('/Journal/:id', { - templateUrl: '/partial/journal.html', + templateUrl: '/app/journal/journal.html', controller: JournalController, resolve: JournalController.resolve }). when('/Payment', { - templateUrl: '/partial/payment.html', + templateUrl: '/app/payment/payment.html', controller: PaymentController, resolve: PaymentController.resolve, reloadOnSearch: false }). when('/Payment/:id', { - templateUrl: '/partial/payment.html', + templateUrl: '/app/payment/payment.html', controller: PaymentController, resolve: PaymentController.resolve, reloadOnSearch: false }). when('/Receipt', { - templateUrl: '/partial/receipt.html', + templateUrl: '/app/receipt/receipt.html', controller: ReceiptController, resolve: ReceiptController.resolve, reloadOnSearch: false }). when('/Receipt/:id', { - templateUrl: '/partial/receipt.html', + templateUrl: '/app/receipt/receipt.html', controller: ReceiptController, resolve: ReceiptController.resolve, reloadOnSearch: false }). when('/Purchase', { - templateUrl: '/partial/purchase.html', + templateUrl: '/app/purchase/purchase.html', controller: PurchaseController, resolve: PurchaseController.resolve }). when('/Purchase/:id', { - templateUrl: '/partial/purchase.html', + templateUrl: '/app/purchase/purchase.html', controller: PurchaseController, resolve: PurchaseController.resolve }). when('/Return', { - templateUrl: '/partial/purchase-return.html', + templateUrl: '/app/purchase-return/purchase-return.html', controller: PurchaseReturnController, resolve: PurchaseReturnController.resolve }). when('/Return/:id', { - templateUrl: '/partial/purchase-return.html', + templateUrl: '/app/purchase-return/purchase-return.html', controller: PurchaseReturnController, resolve: PurchaseReturnController.resolve }). when('/Issue', { - templateUrl: '/partial/issue.html', + templateUrl: '/app/issue/issue.html', controller: IssueController, resolve: IssueController.resolve }). when('/Issue/:id', { - templateUrl: '/partial/issue.html', + templateUrl: '/app/issue/issue.html', controller: IssueController, resolve: IssueController.resolve }). when('/SalaryDeduction', { - templateUrl: '/partial/salary-deduction.html', + templateUrl: '/app/salary-deduction/salary-deduction.html', controller: SalaryDeductionController, resolve: SalaryDeductionController.resolve }). when('/SalaryDeduction/:id', { - templateUrl: '/partial/salary-deduction.html', + templateUrl: '/app/salary-deduction/salary-deduction.html', controller: SalaryDeductionController, resolve: SalaryDeductionController.resolve }). when('/ServiceCharge', { - templateUrl: '/partial/employee-service-charge.html', + templateUrl: '/app/employee/employee-service-charge.html', controller: ServiceChargeController, resolve: ServiceChargeController.resolve }). when('/ServiceCharge/:id', { - templateUrl: '/partial/employee-service-charge.html', + templateUrl: '/app/employee/employee-service-charge.html', controller: ServiceChargeController, resolve: ServiceChargeController.resolve }). when('/Ledger', { - templateUrl: '/partial/ledger.html', + templateUrl: '/app/ledger/ledger.html', controller: LedgerController, resolve: LedgerController.resolve }). when('/Ledger/:id', { - templateUrl: '/partial/ledger.html', + templateUrl: '/app/ledger/ledger.html', controller: LedgerController, resolve: LedgerController.resolve }). when('/Reconcile', { - templateUrl: '/partial/reconcile.html', + templateUrl: '/app/reconcile/reconcile.html', controller: ReconcileController, resolve: ReconcileController.resolve }). when('/Reconcile/:id', { - templateUrl: '/partial/reconcile.html', + templateUrl: '/app/reconcile/reconcile.html', controller: ReconcileController, resolve: ReconcileController.resolve }). when('/ProductLedger', { - templateUrl: '/partial/product-ledger.html', + templateUrl: '/app/product-ledger/product-ledger.html', controller: ProductLedgerController, resolve: ProductLedgerController.resolve }). when('/ProductLedger/:id', { - templateUrl: '/partial/product-ledger.html', + templateUrl: '/app/product-ledger/product-ledger.html', controller: ProductLedgerController, resolve: ProductLedgerController.resolve }). when('/CashFlow', { - templateUrl: '/partial/cash-flow.html', + templateUrl: '/app/cash-flow/cash-flow.html', controller: CashFlowController, resolve: CashFlowController.resolve }). when('/CashFlow/:id', { - templateUrl: '/partial/cash-flow.html', + templateUrl: '/app/cash-flow/cash-flow.html', controller: CashFlowController, resolve: CashFlowController.resolve }). when('/RawMaterialCost', { - templateUrl: '/partial/raw-material-cost.html', + templateUrl: '/app/raw-material-cost/raw-material-cost.html', controller: RawMaterialCostController, resolve: RawMaterialCostController.resolve }). when('/RawMaterialCost/:id', { - templateUrl: '/partial/raw-material-cost-detail.html', + templateUrl: '/app/raw-material-cost/raw-material-cost-detail.html', controller: RawMaterialCostController, resolve: RawMaterialCostController.resolve }). when('/Attendance', { - templateUrl: '/partial/attendance.html', + templateUrl: '/app/attendance/attendance.html', controller: AttendanceController, resolve: AttendanceController.resolve }). when('/Attendance/:date', { - templateUrl: '/partial/attendance.html', + templateUrl: '/app/attendance/attendance.html', controller: AttendanceController, resolve: AttendanceController.resolve }). when('/EmployeeAttendance', { - templateUrl: '/partial/employee-attendance.html', + templateUrl: '/app/employee/employee-attendance.html', controller: EmployeeAttendanceController, resolve: EmployeeAttendanceController.resolve }). when('/EmployeeAttendance/:id', { - templateUrl: '/partial/employee-attendance.html', + templateUrl: '/app/employee/employee-attendance.html', controller: EmployeeAttendanceController, resolve: EmployeeAttendanceController.resolve }). when('/Daybook', { - templateUrl: '/partial/daybook.html', + templateUrl: '/app/daybook/daybook.html', controller: DaybookController, resolve: DaybookController.resolve }). when('/Unposted', { - templateUrl: '/partial/unposted.html', + templateUrl: '/app/unposted/unposted.html', controller: UnpostedController, resolve: UnpostedController.resolve }). when('/ProfitLoss', { - templateUrl: '/partial/profit-loss.html', + templateUrl: '/app/profit-loss/profit-loss.html', controller: ProfitLossController, resolve: ProfitLossController.resolve }). when('/StockMovement', { - templateUrl: '/partial/stock-movement.html', + templateUrl: '/app/stock-movement/stock-movement.html', controller: StockMovementController, resolve: StockMovementController.resolve }). when('/NetTransactions', { - templateUrl: '/partial/net-transactions.html', + templateUrl: '/app/net-transactions/net-transactions.html', controller: NetTransactionsController, resolve: NetTransactionsController.resolve }). when('/PurchaseEntries', { - templateUrl: '/partial/purchase-entries.html', + templateUrl: '/app/purchase-entries/purchase-entries.html', controller: PurchaseEntriesController, resolve: PurchaseEntriesController.resolve }). when('/Purchases', { - templateUrl: '/partial/purchases.html', + templateUrl: '/app/purchases/purchases.html', controller: PurchasesController, resolve: PurchasesController.resolve }). when('/EmployeeFunctions', { - templateUrl: '/partial/employee-functions.html', + templateUrl: '/app/employee-functions/employee-functions.html', controller: EmployeeFunctionsController }). when('/BalanceSheet', { - templateUrl: '/partial/balance-sheet.html', + templateUrl: '/app/balance-sheet/balance-sheet.html', controller: BalanceSheetController, resolve: BalanceSheetController.resolve }). when('/BalanceSheet/:date', { - templateUrl: '/partial/balance-sheet.html', + templateUrl: '/app/balance-sheet/balance-sheet.html', controller: BalanceSheetController, resolve: BalanceSheetController.resolve }). when('/TrialBalance', { - templateUrl: '/partial/trial-balance.html', + templateUrl: '/app/trial-balance/trial-balance.html', controller: TrialBalanceController, resolve: TrialBalanceController.resolve }). when('/TrialBalance/:date', { - templateUrl: '/partial/trial-balance.html', + templateUrl: '/app/trial-balance/trial-balance.html', controller: TrialBalanceController, resolve: TrialBalanceController.resolve }). when('/ClosingStock', { - templateUrl: '/partial/closing-stock.html', + templateUrl: '/app/closing-stock/closing-stock.html', controller: ClosingStockController, resolve: ClosingStockController.resolve }). when('/ClosingStock/:date', { - templateUrl: '/partial/closing-stock.html', + templateUrl: '/app/closing-stock/closing-stock.html', controller: ClosingStockController, resolve: ClosingStockController.resolve }). when('/Accounts', { - templateUrl: '/partial/account-list.html', + templateUrl: '/app/account/account-list.html', controller: AccountListController, resolve: AccountListController.resolve, reloadOnSearch: false }). when('/Account', { - templateUrl: '/partial/account-detail.html', + templateUrl: '/app/account/account-detail.html', controller: AccountController, resolve: AccountController.resolve }). when('/Account/:id', { - templateUrl: '/partial/account-detail.html', + templateUrl: '/app/account-detail/account-detail.html', controller: AccountController, resolve: AccountController.resolve }). when('/Employees', { - templateUrl: '/partial/employee-list.html', + templateUrl: '/app/employee/employee-list.html', controller: EmployeeListController, resolve: EmployeeListController.resolve, reloadOnSearch: false }). when('/Employee', { - templateUrl: '/partial/employee-detail.html', + templateUrl: '/app/employee/employee-detail.html', controller: EmployeeController, resolve: EmployeeController.resolve }). when('/Employee/:id', { - templateUrl: '/partial/employee-detail.html', + templateUrl: '/app/employee/employee-detail.html', controller: EmployeeController, resolve: EmployeeController.resolve }). when('/CostCentres', { - templateUrl: '/partial/cost-centre-list.html', + templateUrl: '/app/cost-centre/cost-centre-list.html', controller: CostCentreListController, resolve: CostCentreListController.resolve }). when('/CostCentre', { - templateUrl: '/partial/cost-centre-detail.html', + templateUrl: '/app/cost-centre/cost-centre-detail.html', controller: CostCentreController, resolve: CostCentreController.resolve }). when('/CostCentre/:id', { - templateUrl: '/partial/cost-centre-detail.html', + templateUrl: '/app/cost-centre/cost-centre-detail.html', controller: CostCentreController, resolve: CostCentreController.resolve }). when('/Products', { - templateUrl: '/partial/product-list.html', + templateUrl: '/app/product/product-list.html', controller: ProductListController, resolve: ProductListController.resolve, reloadOnSearch: false }). when('/Product', { - templateUrl: '/partial/product-detail.html', + templateUrl: '/app/product/product-detail.html', controller: ProductController, resolve: ProductController.resolve }). when('/Product/:id', { - templateUrl: '/partial/product-detail.html', + templateUrl: '/app/product/product-detail.html', controller: ProductController, resolve: ProductController.resolve }). when('/Recipes', { - templateUrl: '/partial/recipe-list.html', + templateUrl: '/app/recipe/recipe-list.html', controller: RecipeListController, resolve: RecipeListController.resolve, reloadOnSearch: false }). when('/Recipe', { - templateUrl: '/partial/recipe-detail.html', + templateUrl: '/app/recipe/recipe-detail.html', controller: RecipeController, resolve: RecipeController.resolve }). when('/Recipe/:id', { - templateUrl: '/partial/recipe-detail.html', + templateUrl: '/app/recipe/recipe-detail.html', controller: RecipeController, resolve: RecipeController.resolve }). when('/ProductGroups', { - templateUrl: '/partial/product-group-list.html', + templateUrl: '/app/product-group/product-group-list.html', controller: ProductGroupListController, resolve: ProductGroupListController.resolve }). when('/ProductGroup', { - templateUrl: '/partial/product-group-detail.html', + templateUrl: '/app/product-group/product-group-detail.html', controller: ProductGroupController, resolve: ProductGroupController.resolve }). when('/ProductGroup/:id', { - templateUrl: '/partial/product-group-detail.html', + templateUrl: '/app/product-group/product-group-detail.html', controller: ProductGroupController, resolve: ProductGroupController.resolve }). when('/Users', { - templateUrl: '/partial/user-list.html', + templateUrl: '/app/user/user-list.html', controller: UserListController, resolve: UserListController.resolve }). when('/User', { - templateUrl: '/partial/user-detail.html', + templateUrl: '/app/user/user-detail.html', controller: UserController, resolve: UserController.resolve }). when('/User/:id', { - templateUrl: '/partial/user-detail.html', + templateUrl: '/app/user/user-detail.html', controller: UserController, resolve: UserController.resolve }). when('/Groups', { - templateUrl: '/partial/group-list.html', + templateUrl: '/app/group/group-list.html', controller: GroupListController, resolve: GroupListController.resolve }). when('/Group', { - templateUrl: '/partial/group-detail.html', controller: GroupController, + templateUrl: '/app/group/group-detail.html', resolve: GroupController.resolve }). when('/Group/:id', { - templateUrl: '/partial/group-detail.html', + templateUrl: '/app/group/group-detail.html', controller: GroupController, resolve: GroupController.resolve }). when('/Clients', { - templateUrl: '/partial/client-list.html', + templateUrl: '/app/client/client-list.html', controller: ClientListController, resolve: ClientListController.resolve }). when('/Client/:id', { - templateUrl: '/partial/client-detail.html', + templateUrl: '/app/client/client-detail.html', controller: ClientController, resolve: ClientController.resolve }). when('/Settings', { - templateUrl: '/partial/settings.html', + templateUrl: '/app/settings/settings.html', controller: SettingsController, resolve: SettingsController.resolve }). - otherwise({templateUrl: '/partial/404.html'}); + otherwise({templateUrl: '/app/404.html'}); $locationProvider.html5Mode(true).hashPrefix('!'); }]) .config(['$httpProvider', function ($httpProvider) { diff --git a/brewman/static/partial/payment-modal.html b/brewman/static/app/payment/payment-modal.html similarity index 100% rename from brewman/static/partial/payment-modal.html rename to brewman/static/app/payment/payment-modal.html diff --git a/brewman/static/scripts/payment.js b/brewman/static/app/payment/payment.controller.js similarity index 99% rename from brewman/static/scripts/payment.js rename to brewman/static/app/payment/payment.controller.js index 1299ac1a..09b16727 100644 --- a/brewman/static/scripts/payment.js +++ b/brewman/static/app/payment/payment.controller.js @@ -144,7 +144,7 @@ var PaymentController = ['$scope', '$location', 'asDateFilter', '$uibModal', 'up var modalInstance = $modal.open({ backdrop: true, size: 'lg', - templateUrl: '/partial/payment-modal.html', + templateUrl: '/app/payment/payment-modal.html', controller: PaymentModalController, resolve: { edit: function () { diff --git a/brewman/static/partial/payment.html b/brewman/static/app/payment/payment.html similarity index 100% rename from brewman/static/partial/payment.html rename to brewman/static/app/payment/payment.html diff --git a/brewman/static/partial/product-group-detail.html b/brewman/static/app/product-group/product-group-detail.html similarity index 100% rename from brewman/static/partial/product-group-detail.html rename to brewman/static/app/product-group/product-group-detail.html diff --git a/brewman/static/partial/product-group-list.html b/brewman/static/app/product-group/product-group-list.html similarity index 100% rename from brewman/static/partial/product-group-list.html rename to brewman/static/app/product-group/product-group-list.html diff --git a/brewman/static/scripts/product-group.js b/brewman/static/app/product-group/product-group.controller.js similarity index 100% rename from brewman/static/scripts/product-group.js rename to brewman/static/app/product-group/product-group.controller.js diff --git a/brewman/static/scripts/product-ledger.js b/brewman/static/app/product-ledger/product-ledger.controller.js similarity index 100% rename from brewman/static/scripts/product-ledger.js rename to brewman/static/app/product-ledger/product-ledger.controller.js diff --git a/brewman/static/partial/product-ledger.html b/brewman/static/app/product-ledger/product-ledger.html similarity index 100% rename from brewman/static/partial/product-ledger.html rename to brewman/static/app/product-ledger/product-ledger.html diff --git a/brewman/static/partial/product-detail.html b/brewman/static/app/product/product-detail.html similarity index 100% rename from brewman/static/partial/product-detail.html rename to brewman/static/app/product/product-detail.html diff --git a/brewman/static/partial/product-list.html b/brewman/static/app/product/product-list.html similarity index 100% rename from brewman/static/partial/product-list.html rename to brewman/static/app/product/product-list.html diff --git a/brewman/static/scripts/product.js b/brewman/static/app/product/product.controller.js similarity index 100% rename from brewman/static/scripts/product.js rename to brewman/static/app/product/product.controller.js diff --git a/brewman/static/scripts/profit-loss.js b/brewman/static/app/profit-loss/profit-loss.controller.js similarity index 100% rename from brewman/static/scripts/profit-loss.js rename to brewman/static/app/profit-loss/profit-loss.controller.js diff --git a/brewman/static/partial/profit-loss.html b/brewman/static/app/profit-loss/profit-loss.html similarity index 100% rename from brewman/static/partial/profit-loss.html rename to brewman/static/app/profit-loss/profit-loss.html diff --git a/brewman/static/scripts/purchase-entries.js b/brewman/static/app/purchase-entries/purchase-entries.controller.js similarity index 100% rename from brewman/static/scripts/purchase-entries.js rename to brewman/static/app/purchase-entries/purchase-entries.controller.js diff --git a/brewman/static/partial/purchase-entries.html b/brewman/static/app/purchase-entries/purchase-entries.html similarity index 100% rename from brewman/static/partial/purchase-entries.html rename to brewman/static/app/purchase-entries/purchase-entries.html diff --git a/brewman/static/partial/purchase-return-modal.html b/brewman/static/app/purchase-return/purchase-return-modal.html similarity index 100% rename from brewman/static/partial/purchase-return-modal.html rename to brewman/static/app/purchase-return/purchase-return-modal.html diff --git a/brewman/static/scripts/purchase-return.js b/brewman/static/app/purchase-return/purchase-return.controller.js similarity index 99% rename from brewman/static/scripts/purchase-return.js rename to brewman/static/app/purchase-return/purchase-return.controller.js index ac262586..f21cac71 100644 --- a/brewman/static/scripts/purchase-return.js +++ b/brewman/static/app/purchase-return/purchase-return.controller.js @@ -135,7 +135,7 @@ var PurchaseReturnController = ['$scope', '$location', 'asDateFilter', '$uibModa var modalInstance = $modal.open({ backdrop: true, size: 'lg', - templateUrl: '/partial/purchase-return-modal.html', + templateUrl: '/app/purchase-return/purchase-return-modal.html', controller: PurchaseReturnModalController, resolve: { edit: function () { diff --git a/brewman/static/partial/purchase-return.html b/brewman/static/app/purchase-return/purchase-return.html similarity index 100% rename from brewman/static/partial/purchase-return.html rename to brewman/static/app/purchase-return/purchase-return.html diff --git a/brewman/static/partial/purchase-modal.html b/brewman/static/app/purchase/purchase-modal.html similarity index 100% rename from brewman/static/partial/purchase-modal.html rename to brewman/static/app/purchase/purchase-modal.html diff --git a/brewman/static/scripts/purchase.js b/brewman/static/app/purchase/purchase.controller.js similarity index 99% rename from brewman/static/scripts/purchase.js rename to brewman/static/app/purchase/purchase.controller.js index 3d3fa46e..a209f2cc 100644 --- a/brewman/static/scripts/purchase.js +++ b/brewman/static/app/purchase/purchase.controller.js @@ -137,7 +137,7 @@ var PurchaseController = ['$scope', '$location', 'asDateFilter', '$uibModal', 'u var modalInstance = $modal.open({ backdrop: true, size: 'lg', - templateUrl: '/partial/purchase-modal.html', + templateUrl: '/app/purchase/purchase-modal.html', controller: PurchaseModalController, resolve: { edit: function () { diff --git a/brewman/static/partial/purchase.html b/brewman/static/app/purchase/purchase.html similarity index 100% rename from brewman/static/partial/purchase.html rename to brewman/static/app/purchase/purchase.html diff --git a/brewman/static/scripts/purchases.js b/brewman/static/app/purchases/purchases.controller.js similarity index 100% rename from brewman/static/scripts/purchases.js rename to brewman/static/app/purchases/purchases.controller.js diff --git a/brewman/static/partial/purchases.html b/brewman/static/app/purchases/purchases.html similarity index 100% rename from brewman/static/partial/purchases.html rename to brewman/static/app/purchases/purchases.html diff --git a/brewman/static/partial/raw-material-cost-detail.html b/brewman/static/app/raw-material-cost/raw-material-cost-detail.html similarity index 100% rename from brewman/static/partial/raw-material-cost-detail.html rename to brewman/static/app/raw-material-cost/raw-material-cost-detail.html diff --git a/brewman/static/scripts/raw-material-cost.js b/brewman/static/app/raw-material-cost/raw-material-cost.controller.js similarity index 100% rename from brewman/static/scripts/raw-material-cost.js rename to brewman/static/app/raw-material-cost/raw-material-cost.controller.js diff --git a/brewman/static/partial/raw-material-cost.html b/brewman/static/app/raw-material-cost/raw-material-cost.html similarity index 100% rename from brewman/static/partial/raw-material-cost.html rename to brewman/static/app/raw-material-cost/raw-material-cost.html diff --git a/brewman/static/partial/receipt-modal.html b/brewman/static/app/receipt/receipt-modal.html similarity index 100% rename from brewman/static/partial/receipt-modal.html rename to brewman/static/app/receipt/receipt-modal.html diff --git a/brewman/static/scripts/receipt.js b/brewman/static/app/receipt/receipt.controller.js similarity index 99% rename from brewman/static/scripts/receipt.js rename to brewman/static/app/receipt/receipt.controller.js index b4999d72..218bf4e2 100644 --- a/brewman/static/scripts/receipt.js +++ b/brewman/static/app/receipt/receipt.controller.js @@ -143,7 +143,7 @@ var ReceiptController = ['$scope', '$routeParams', '$location', 'asDateFilter', var modalInstance = $modal.open({ backdrop: true, size: 'lg', - templateUrl: '/partial/receipt-modal.html', + templateUrl: '/app/receipt/receipt-modal.html', controller: ReceiptModalController, resolve: { edit: function () { diff --git a/brewman/static/partial/receipt.html b/brewman/static/app/receipt/receipt.html similarity index 100% rename from brewman/static/partial/receipt.html rename to brewman/static/app/receipt/receipt.html diff --git a/brewman/static/partial/recipe-detail.html b/brewman/static/app/recipe/recipe-detail.html similarity index 100% rename from brewman/static/partial/recipe-detail.html rename to brewman/static/app/recipe/recipe-detail.html diff --git a/brewman/static/partial/recipe-list.html b/brewman/static/app/recipe/recipe-list.html similarity index 100% rename from brewman/static/partial/recipe-list.html rename to brewman/static/app/recipe/recipe-list.html diff --git a/brewman/static/scripts/recipe.js b/brewman/static/app/recipe/recipe.controller.js similarity index 100% rename from brewman/static/scripts/recipe.js rename to brewman/static/app/recipe/recipe.controller.js diff --git a/brewman/static/scripts/reconcile.js b/brewman/static/app/reconcile/reconcile.controller.js similarity index 100% rename from brewman/static/scripts/reconcile.js rename to brewman/static/app/reconcile/reconcile.controller.js diff --git a/brewman/static/partial/reconcile.html b/brewman/static/app/reconcile/reconcile.html similarity index 100% rename from brewman/static/partial/reconcile.html rename to brewman/static/app/reconcile/reconcile.html diff --git a/brewman/static/scripts/salary-deduction.js b/brewman/static/app/salary-deduction/salary-deduction.controller.js similarity index 100% rename from brewman/static/scripts/salary-deduction.js rename to brewman/static/app/salary-deduction/salary-deduction.controller.js diff --git a/brewman/static/partial/salary-deduction.html b/brewman/static/app/salary-deduction/salary-deduction.html similarity index 100% rename from brewman/static/partial/salary-deduction.html rename to brewman/static/app/salary-deduction/salary-deduction.html diff --git a/brewman/static/scripts/service-charge.js b/brewman/static/app/service-charge/service-charge.controller.js similarity index 100% rename from brewman/static/scripts/service-charge.js rename to brewman/static/app/service-charge/service-charge.controller.js diff --git a/brewman/static/scripts/settings.js b/brewman/static/app/settings/settings.controller.js similarity index 100% rename from brewman/static/scripts/settings.js rename to brewman/static/app/settings/settings.controller.js diff --git a/brewman/static/partial/settings.html b/brewman/static/app/settings/settings.html similarity index 100% rename from brewman/static/partial/settings.html rename to brewman/static/app/settings/settings.html diff --git a/brewman/static/scripts/stock-movement.js b/brewman/static/app/stock-movement/stock-movement.controller.js similarity index 100% rename from brewman/static/scripts/stock-movement.js rename to brewman/static/app/stock-movement/stock-movement.controller.js diff --git a/brewman/static/partial/stock-movement.html b/brewman/static/app/stock-movement/stock-movement.html similarity index 100% rename from brewman/static/partial/stock-movement.html rename to brewman/static/app/stock-movement/stock-movement.html diff --git a/brewman/static/scripts/trial-balance.js b/brewman/static/app/trial-balance/trial-balance.controller.js similarity index 100% rename from brewman/static/scripts/trial-balance.js rename to brewman/static/app/trial-balance/trial-balance.controller.js diff --git a/brewman/static/partial/trial-balance.html b/brewman/static/app/trial-balance/trial-balance.html similarity index 100% rename from brewman/static/partial/trial-balance.html rename to brewman/static/app/trial-balance/trial-balance.html diff --git a/brewman/static/scripts/unposted.js b/brewman/static/app/unposted/unposted.controller.js similarity index 100% rename from brewman/static/scripts/unposted.js rename to brewman/static/app/unposted/unposted.controller.js diff --git a/brewman/static/partial/unposted.html b/brewman/static/app/unposted/unposted.html similarity index 100% rename from brewman/static/partial/unposted.html rename to brewman/static/app/unposted/unposted.html diff --git a/brewman/static/partial/user-detail.html b/brewman/static/app/user/user-detail.html similarity index 100% rename from brewman/static/partial/user-detail.html rename to brewman/static/app/user/user-detail.html diff --git a/brewman/static/partial/user-list.html b/brewman/static/app/user/user-list.html similarity index 100% rename from brewman/static/partial/user-list.html rename to brewman/static/app/user/user-list.html diff --git a/brewman/static/scripts/user.js b/brewman/static/app/user/user.controller.js similarity index 100% rename from brewman/static/scripts/user.js rename to brewman/static/app/user/user.controller.js diff --git a/brewman/static/base.html b/brewman/static/base.html index 4d19fd3f..d9c4e26b 100644 --- a/brewman/static/base.html +++ b/brewman/static/base.html @@ -9,9 +9,11 @@ - + - + @@ -29,7 +31,9 @@ - + @@ -46,52 +50,52 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - -