-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
integrated electron and sb-admin angular
- Loading branch information
0 parents
commit 42b3fdb
Showing
52 changed files
with
5,964 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
app-main/node_modules | ||
app-main/bower_components |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### To start the app | ||
go to https://nodejs.org/en/blog/release/v0.8.23/ to download it | ||
```bash | ||
# To run the app | ||
cd crumbs/app-main | ||
sudo npm install -g bower | ||
npm install | ||
# Wait for a while to install | ||
npm start | ||
``` | ||
### Folders to look for implementation of features to be used | ||
>app-main/scripts | ||
> | ||
>app-main/views |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.coffee |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Page Not Found :(</title> | ||
<style> | ||
::-moz-selection { | ||
background: #b3d4fc; | ||
text-shadow: none; | ||
} | ||
|
||
::selection { | ||
background: #b3d4fc; | ||
text-shadow: none; | ||
} | ||
|
||
html { | ||
padding: 30px 10px; | ||
font-size: 20px; | ||
line-height: 1.4; | ||
color: #737373; | ||
background: #f0f0f0; | ||
-webkit-text-size-adjust: 100%; | ||
-ms-text-size-adjust: 100%; | ||
} | ||
|
||
html, | ||
input { | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
body { | ||
max-width: 500px; | ||
_width: 500px; | ||
padding: 30px 20px 50px; | ||
border: 1px solid #b3b3b3; | ||
border-radius: 4px; | ||
margin: 0 auto; | ||
box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff; | ||
background: #fcfcfc; | ||
} | ||
|
||
h1 { | ||
margin: 0 10px; | ||
font-size: 50px; | ||
text-align: center; | ||
} | ||
|
||
h1 span { | ||
color: #bbb; | ||
} | ||
|
||
h3 { | ||
margin: 1.5em 0 0.5em; | ||
} | ||
|
||
p { | ||
margin: 1em 0; | ||
} | ||
|
||
ul { | ||
padding: 0 0 0 40px; | ||
margin: 1em 0; | ||
} | ||
|
||
.container { | ||
max-width: 380px; | ||
_width: 380px; | ||
margin: 0 auto; | ||
} | ||
|
||
/* google search */ | ||
|
||
#goog-fixurl ul { | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
#goog-fixurl form { | ||
margin: 0; | ||
} | ||
|
||
#goog-wm-qt, | ||
#goog-wm-sb { | ||
border: 1px solid #bbb; | ||
font-size: 16px; | ||
line-height: normal; | ||
vertical-align: top; | ||
color: #444; | ||
border-radius: 2px; | ||
} | ||
|
||
#goog-wm-qt { | ||
width: 220px; | ||
height: 20px; | ||
padding: 5px; | ||
margin: 5px 10px 0 0; | ||
box-shadow: inset 0 1px 1px #ccc; | ||
} | ||
|
||
#goog-wm-sb { | ||
display: inline-block; | ||
height: 32px; | ||
padding: 0 10px; | ||
margin: 5px 0 0; | ||
white-space: nowrap; | ||
cursor: pointer; | ||
background-color: #f5f5f5; | ||
background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1); | ||
-webkit-appearance: none; | ||
-moz-appearance: none; | ||
appearance: none; | ||
*overflow: visible; | ||
*display: inline; | ||
*zoom: 1; | ||
} | ||
|
||
#goog-wm-sb:hover, | ||
#goog-wm-sb:focus { | ||
border-color: #aaa; | ||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); | ||
background-color: #f8f8f8; | ||
} | ||
|
||
#goog-wm-qt:hover, | ||
#goog-wm-qt:focus { | ||
border-color: #105cb6; | ||
outline: 0; | ||
color: #222; | ||
} | ||
|
||
input::-moz-focus-inner { | ||
padding: 0; | ||
border: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Not found <span>:(</span></h1> | ||
<p>Sorry, but the page you were trying to view does not exist.</p> | ||
<p>It looks like this was the result of either:</p> | ||
<ul> | ||
<li>a mistyped address</li> | ||
<li>an out-of-date link</li> | ||
</ul> | ||
<script> | ||
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host; | ||
</script> | ||
<script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
CC0 1.0 Universal | ||
================== | ||
|
||
Statement of Purpose | ||
--------------------- | ||
|
||
The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work"). | ||
|
||
Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others. | ||
|
||
For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights. | ||
|
||
1. Copyright and Related Rights. | ||
-------------------------------- | ||
A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following: | ||
|
||
i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work; | ||
ii. moral rights retained by the original author(s) and/or performer(s); | ||
iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work; | ||
iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below; | ||
v. rights protecting the extraction, dissemination, use and reuse of data in a Work; | ||
vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and | ||
vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof. | ||
|
||
2. Waiver. | ||
----------- | ||
To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose. | ||
|
||
3. Public License Fallback. | ||
---------------------------- | ||
Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose. | ||
|
||
4. Limitations and Disclaimers. | ||
-------------------------------- | ||
|
||
a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. | ||
b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law. | ||
c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work. | ||
d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# electron-quick-start | ||
|
||
**Clone and run for a quick way to see Electron in action.** | ||
|
||
This is a minimal Electron application based on the [Quick Start Guide](http://electron.atom.io/docs/tutorial/quick-start) within the Electron documentation. | ||
|
||
**Use this app along with the [Electron API Demos](http://electron.atom.io/#get-started) app for API code examples to help you get started.** | ||
|
||
A basic Electron application needs just these files: | ||
|
||
- `package.json` - Points to the app's main file and lists its details and dependencies. | ||
- `main.js` - Starts the app and creates a browser window to render HTML. This is the app's **main process**. | ||
- `index.html` - A web page to render. This is the app's **renderer process**. | ||
|
||
You can learn more about each of these components within the [Quick Start Guide](http://electron.atom.io/docs/tutorial/quick-start). | ||
|
||
## To Use | ||
|
||
To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line: | ||
|
||
```bash | ||
# Clone this repository | ||
git clone https://github.com/electron/electron-quick-start | ||
# Go into the repository | ||
cd electron-quick-start | ||
# Install dependencies | ||
npm install | ||
# Run the app | ||
npm start | ||
``` | ||
|
||
Learn more about Electron and its API in the [documentation](http://electron.atom.io/docs/). | ||
|
||
## Other Example Apps | ||
|
||
For more example apps, see the | ||
[list of boilerplates](http://electron.atom.io/community/#boilerplates) | ||
created by the awesome electron community. | ||
|
||
#### License [CC0 1.0 (Public Domain)](LICENSE.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "crumbs", | ||
"version": "0.0.0", | ||
"dependencies": { | ||
"angular": "1.2.16", | ||
"json3": "~3.3.1", | ||
"es5-shim": "~3.1.0", | ||
"angular-resource": "1.2.16", | ||
"angular-cookies": "1.2.16", | ||
"angular-sanitize": "1.2.16", | ||
"angular-animate": "1.2.16", | ||
"angular-touch": "1.2.16", | ||
"angular-route": "1.2.16", | ||
"font-awesome": "4.3.0", | ||
"angular-bootstrap": "0.12.0", | ||
"oclazyload": "~0.5.2", | ||
"angular-loading-bar": "~0.7.0", | ||
"angular-ui-router": "~0.2.13", | ||
"angular-toggle-switch": "~1.2.1", | ||
"metisMenu": "~1.1.3", | ||
"angular-chart.js": "~0.5.2" | ||
}, | ||
"devDependencies": { | ||
"angular-mocks": "1.2.16", | ||
"angular-scenario": "1.2.16" | ||
}, | ||
"resolutions":{ | ||
"bootstrap": "~3.1.1" | ||
} | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!doctype html> | ||
<html class="no-js"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title></title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width"> | ||
<!-- Place favicon.ico and apple-touch-icon.png in the root directory --> | ||
<!-- build:css(.) styles/vendor.css --> | ||
<!-- bower:css --> | ||
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css" /> | ||
<!-- endbower --> | ||
<!-- endbuild --> | ||
|
||
<!-- build:css(.tmp) styles/main.css --> | ||
<link rel="stylesheet" href="styles/main.css"> | ||
<link rel="stylesheet" href="styles/sb-admin-2.css"> | ||
<link rel="stylesheet" href="styles/timeline.css"> | ||
<link rel="stylesheet" href="bower_components/metisMenu/dist/metisMenu.min.css"> | ||
<link rel="stylesheet" href="bower_components/angular-loading-bar/build/loading-bar.min.css"> | ||
<link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css" type="text/css"> | ||
<!-- endbuild --> | ||
|
||
<!-- build:js(.) scripts/vendor.js --> | ||
<!-- bower:js --> | ||
<script> | ||
if (typeof module === 'object') { | ||
window.module = module; | ||
module = undefined; | ||
} | ||
</script> | ||
<script src="bower_components/jquery/dist/jquery.min.js"></script> | ||
<script src="bower_components/angular/angular.min.js"></script> | ||
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script> | ||
<script src="bower_components/angular-ui-router/release/angular-ui-router.min.js"></script> | ||
<script src="bower_components/json3/lib/json3.min.js"></script> | ||
<script src="bower_components/oclazyload/dist/ocLazyLoad.min.js"></script> | ||
<script src="bower_components/angular-loading-bar/build/loading-bar.min.js"></script> | ||
<script src="bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script> | ||
<script src="bower_components/metisMenu/dist/metisMenu.min.js"></script> | ||
<script src="bower_components/Chart.js/Chart.min.js"></script> | ||
<!-- endbower --> | ||
<!-- endbuild --> | ||
|
||
<!-- build:js({.tmp,app}) scripts/scripts.js --> | ||
<script src="scripts/app.js"></script> | ||
<script src="js/sb-admin-2.js"></script> | ||
<!-- endbuild --> | ||
|
||
|
||
|
||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); | ||
ga('create', 'UA-XXXXX-X'); | ||
ga('send', 'pageview'); | ||
</script> | ||
<!-- Custom CSS --> | ||
|
||
<!-- Custom Fonts --> | ||
|
||
<!-- Morris Charts CSS --> | ||
<!-- <link href="styles/morrisjs/morris.css" rel="stylesheet"> --> | ||
|
||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div ng-app="sbAdminApp"> | ||
|
||
<div ui-view></div> | ||
|
||
</div> | ||
|
||
</body> | ||
|
||
</html> |
Oops, something went wrong.