Skip to content

Commit 6b1a6be

Browse files
committed
new files added to UI-itemsSellPurchase
0 parents  commit 6b1a6be

File tree

12,435 files changed

+1310959
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,435 files changed

+1310959
-0
lines changed

LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License
2+
3+
Copyright (c) 2010-2012 Google, Inc. http://angularjs.org
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
22+

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# AngularJS UI-itemsSellPurchase Application
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
(function(angular) {
2+
'use strict';
3+
4+
function AdminLayoutController($state) {
5+
var ctrl = this;
6+
}
7+
8+
angular.module('adminLayout')
9+
.component('adminLayout',{
10+
templateUrl: 'admin/admin-layout/admin-layout.template.html',
11+
controller:['$state', AdminLayoutController]
12+
});
13+
14+
})(window.angular);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(function(angular) {
2+
'use strict';
3+
4+
angular.module('adminLayout',[]);
5+
6+
})(window.angular);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
<!-- PAGE LAYOUT -->
3+
4+
<div ui-view="adminPanel"></div>
5+
6+
<div ui-view="adminSubPanel"></div>
7+
8+
<div ui-view="contentSection"></div>
9+
<!-- PAGE LAYOUT END-->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
(function(angular) {
2+
3+
'use strict';
4+
5+
function AdminPanelController($state) {
6+
var ctrl = this;
7+
}
8+
9+
angular.module('adminPanel')
10+
.component('adminPanel',{
11+
templateUrl: 'admin/admin-panel/admin-panel.template.html',
12+
controller:['$state', AdminPanelController]
13+
});
14+
15+
})(window.angular);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
(function(angular) {
2+
3+
'use strict';
4+
5+
angular.module('adminPanel',[]);
6+
7+
})(window.angular);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!-- / component1 \ -->
2+
<div class="component1">
3+
<div class="menu-bg">
4+
<div class="container">
5+
<nav class="navbar navbar-default">
6+
<div class="container-fluid">
7+
<!-- Brand and toggle get grouped for better mobile display -->
8+
<div class="navbar-header">
9+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
10+
<span class="sr-only">Toggle navigation</span>
11+
<span class="icon-bar"></span>
12+
<span class="icon-bar"></span>
13+
<span class="icon-bar"></span>
14+
</button>
15+
</div>
16+
<!-- Collect the nav links, forms, and other content for toggling -->
17+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
18+
<ul class="nav navbar-nav pull-right">
19+
<!-- <li ng-if="$ctrl.userRights.SuperAdmin" ng-class="{'active': $root.$state.includes('manageAdmin')}"><a href="" ui-sref="manageAdmin">Manage Rights</a></li> -->
20+
<li><a href="">Admin</a></li>
21+
<li ng-class="{'active': $root.$state.includes('salesPurchase.salesPurchaseDetails')}"><a href="" ui-sref="salesPurchase.salesPurchaseDetails">Sales/Purchase</a></li>
22+
<li><a href="">Stock</a></li>
23+
</ul>
24+
</div>
25+
<!-- /.navbar-collapse -->
26+
</div>
27+
</nav>
28+
</div>
29+
</div>
30+
</div>
31+
<!-- \ component1 end / -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
(function(angular) {
2+
3+
'use strict';
4+
5+
function AdminSubPanelController($state) {
6+
var ctrl = this;
7+
}
8+
9+
angular.module('adminSubPanel')
10+
.component('adminSubPanel',{
11+
templateUrl: 'admin/admin-sub-panel/admin-sub-panel.template.html',
12+
controller:['$state', AdminSubPanelController]
13+
});
14+
15+
})(window.angular);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
(function(angular) {
2+
3+
'use strict';
4+
5+
angular.module('adminSubPanel',[]);
6+
7+
})(window.angular);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
<!-- / component2 \ -->
3+
<div class="component2">
4+
5+
<div class="container">
6+
7+
<ul class="pull-right">
8+
<li ng-class="{'active': $root.$state.includes('driver')}"><a ui-sref="adminLayout.drivers">Drivers</a></li>
9+
<li ng-class="{'active': $root.$state.includes('truck')}"><a ui-sref="adminLayout.trucks">Trucks</a></li>
10+
<li ng-class="{'active': $root.$state.includes('timeslot')}"><a ui-sref="adminLayout.timeslot">Time Slots</a></li>
11+
<li ng-class="{'active': $root.$state.includes('zipCode')}"><a ui-sref="adminLayout.zipCodes">Zip Codes</a></li>
12+
<li ng-class="{'active': $root.$state.includes('promoCode')}"><a ui-sref="adminLayout.promoCode">Promo Codes</a></li>
13+
</ul>
14+
15+
</div>
16+
</div>
17+
<!-- \ component2 end / -->

app/app.config.js

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
'use strict';
2+
3+
angular.
4+
module('bathwaterApp').
5+
config(['$urlRouterProvider', '$stateProvider',
6+
function config($urlRouterProvider, $stateProvider) {
7+
8+
9+
// UI-Routing Config
10+
$urlRouterProvider.otherwise('/');
11+
12+
$stateProvider
13+
.state('adminLayout', {
14+
url: '/admin',
15+
views: {
16+
'': {
17+
template: '<admin-layout></admin-layout>'
18+
},
19+
'adminPanel@adminLayout': {
20+
template: '<admin-panel></admin-panel>'
21+
},
22+
'adminSubPanel@adminLayout': {
23+
template: '<admin-sub-panel></admin-sub-panel>'
24+
}
25+
}
26+
})
27+
.state('salesPurchase', {
28+
url: '/salesPurchase',
29+
abstract: true,
30+
views: {
31+
'': {
32+
template: '<admin-layout></admin-layout>'
33+
},
34+
'adminPanel@salesPurchase': {
35+
template: '<admin-panel></admin-panel>'
36+
},
37+
'adminSubPanel@salesPurchase': {
38+
template: '<sales-purchase-sub-panel></sales-purchase-sub-panel>'
39+
}
40+
}
41+
})
42+
.state('salesPurchase.salesPurchaseDetails', {
43+
url: '/salesPurchaseDetails',
44+
views: {
45+
'contentSection@salesPurchase': {
46+
template: '<sales-purchase-details></sales-purchase-details>'
47+
}
48+
}
49+
})
50+
51+
52+
}
53+
54+
]);

app/app.module.js

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
'use strict';
2+
3+
// Define the `bathwaterApp` module
4+
angular.module('bathwaterApp', [
5+
'ui.router',
6+
'angular-google-gapi',
7+
'ngMessages',
8+
'naif.base64',
9+
'ui.bootstrap',
10+
'images-resizer',
11+
'720kb.datepicker',
12+
'ngAnimate',
13+
'ngSanitize',
14+
// For Notification
15+
'ngToast',
16+
//LightBox Library used as Image Viewer.
17+
'bootstrapLightbox',
18+
'adminLayout',
19+
'adminPanel',
20+
'salesPurchase',
21+
'salesPurchaseSubPanel'
22+
]);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"author": {
3+
"name": "https://github.com/angular-ui/bootstrap/graphs/contributors"
4+
},
5+
"name": "angular-bootstrap",
6+
"keywords": [
7+
"angular",
8+
"angular-ui",
9+
"bootstrap"
10+
],
11+
"license": "MIT",
12+
"ignore": [],
13+
"description": "Native AngularJS (Angular) directives for Bootstrap.",
14+
"version": "2.5.0",
15+
"main": [
16+
"./ui-bootstrap-tpls.js"
17+
],
18+
"dependencies": {
19+
"angular": ">=1.4.0"
20+
},
21+
"homepage": "https://github.com/angular-ui/bootstrap-bower",
22+
"_release": "2.5.0",
23+
"_resolution": {
24+
"type": "version",
25+
"tag": "2.5.0",
26+
"commit": "2ab82fe5b072269e897d5d11333e9925888df456"
27+
},
28+
"_source": "https://github.com/angular-ui/bootstrap-bower.git",
29+
"_target": "^2.5.0",
30+
"_originalSource": "angular-bootstrap"
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bower.json
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
### UI Bootstrap - [AngularJS](http://angularjs.org/) directives specific to [Bootstrap](http://getbootstrap.com)
2+
3+
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/bootstrap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4+
[![Build Status](https://secure.travis-ci.org/angular-ui/bootstrap.svg)](http://travis-ci.org/angular-ui/bootstrap)
5+
[![devDependency Status](https://david-dm.org/angular-ui/bootstrap/dev-status.svg?branch=master)](https://david-dm.org/angular-ui/bootstrap#info=devDependencies)
6+
7+
### Quick links
8+
- [Demo](#demo)
9+
- [Installation](#installation)
10+
- [NPM](#install-with-npm)
11+
- [Bower](#install-with-bower)
12+
- [NuGet](#install-with-nuget)
13+
- [Custom](#custom-build)
14+
- [Manual](#manual-download)
15+
- [Support](#support)
16+
- [FAQ](#faq)
17+
- [Supported browsers](#supported-browsers)
18+
- [Need help?](#need-help)
19+
- [Found a bug?](#found-a-bug)
20+
- [Contributing to the project](#contributing-to-the-project)
21+
- [Development, meeting minutes, roadmap and more.](#development-meeting-minutes-roadmap-and-more)
22+
23+
24+
# Demo
25+
26+
Do you want to see directives in action? Visit http://angular-ui.github.io/bootstrap/!
27+
28+
# Installation
29+
30+
Installation is easy as UI Bootstrap has minimal dependencies - only the AngularJS and Twitter Bootstrap's CSS are required.
31+
Note: Since version 0.13.0, UI Bootstrap depends on [ngAnimate](https://docs.angularjs.org/api/ngAnimate) for transitions and animations, such as the accordion, carousel, etc. Include `ngAnimate` in the module dependencies for your app in order to enable animation.
32+
33+
#### Install with NPM
34+
35+
```sh
36+
$ npm install angular-ui-bootstrap
37+
```
38+
39+
This will install AngularJS and Bootstrap NPM packages.
40+
41+
#### Install with Bower
42+
```sh
43+
$ bower install angular-bootstrap
44+
```
45+
46+
Note: do not install 'angular-ui-bootstrap'. A separate repository - [bootstrap-bower](https://github.com/angular-ui/bootstrap-bower) - hosts the compiled javascript file and bower.json.
47+
48+
#### Install with NuGet
49+
To install AngularJS UI Bootstrap, run the following command in the Package Manager Console
50+
51+
```sh
52+
PM> Install-Package Angular.UI.Bootstrap
53+
```
54+
55+
#### Custom build
56+
57+
Head over to http://angular-ui.github.io/bootstrap/ and hit the *Custom build* button to create your own custom UI Bootstrap build, just the way you like it.
58+
59+
#### Manual download
60+
61+
After downloading dependencies (or better yet, referencing them from your favorite CDN) you need to download build version of this project. All the files and their purposes are described here:
62+
https://github.com/angular-ui/bootstrap/tree/gh-pages#build-files
63+
Don't worry, if you are not sure which file to take, opt for `ui-bootstrap-tpls-[version].min.js`.
64+
65+
### Adding dependency to your project
66+
67+
When you are done downloading all the dependencies and project files the only remaining part is to add dependencies on the `ui.bootstrap` AngularJS module:
68+
69+
```js
70+
angular.module('myModule', ['ui.bootstrap']);
71+
```
72+
73+
If you're a Browserify or Webpack user, you can do:
74+
75+
```js
76+
var uibs = require('angular-ui-bootstrap');
77+
78+
angular.module('myModule', [uibs]);
79+
```
80+
81+
# Support
82+
83+
## FAQ
84+
85+
https://github.com/angular-ui/bootstrap/wiki/FAQ
86+
87+
## Supported browsers
88+
89+
Directives from this repository are automatically tested with the following browsers:
90+
* Chrome (stable and canary channel)
91+
* Firefox
92+
* IE 9 and 10
93+
* Opera
94+
* Safari
95+
96+
Modern mobile browsers should work without problems.
97+
98+
99+
## Need help?
100+
Need help using UI Bootstrap?
101+
102+
* Live help in the IRC (`#angularjs` channel at the `freenode` network). Use this [webchat](https://webchat.freenode.net/) or your own IRC client.
103+
* Ask a question in [StackOverflow](http://stackoverflow.com/) under the [angular-ui-bootstrap](http://stackoverflow.com/questions/tagged/angular-ui-bootstrap) tag.
104+
105+
**Please do not create new issues in this repository to ask questions about using UI Bootstrap**
106+
107+
## Found a bug?
108+
Please take a look at [CONTRIBUTING.md](CONTRIBUTING.md#you-think-youve-found-a-bug) and submit your issue [here](https://github.com/angular-ui/bootstrap/issues/new).
109+
110+
111+
----
112+
113+
114+
# Contributing to the project
115+
116+
We are always looking for the quality contributions! Please check the [CONTRIBUTING.md](CONTRIBUTING.md) for the contribution guidelines.
117+
118+
# Development, meeting minutes, roadmap and more.
119+
120+
Head over to the [Wiki](https://github.com/angular-ui/bootstrap/wiki) for notes on development for UI Bootstrap, meeting minutes from the UI Bootstrap team, roadmap plans, project philosophy and more.

0 commit comments

Comments
 (0)