Initial commit. Modified the Meteor todos app to create the Petit Teton data tracking app. Has working data for sales. Requires a Mongo database.
This commit is contained in:
69
client/bootstrap.styl
vendored
Normal file
69
client/bootstrap.styl
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
textarea:focus,
|
||||
input[type="text"]:focus,
|
||||
input[type="password"]:focus,
|
||||
input[type="datetime"]:focus,
|
||||
input[type="datetime-local"]:focus,
|
||||
input[type="date"]:focus,
|
||||
input[type="month"]:focus,
|
||||
input[type="time"]:focus,
|
||||
input[type="week"]:focus,
|
||||
input[type="number"]:focus,
|
||||
input[type="email"]:focus,
|
||||
input[type="url"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="tel"]:focus,
|
||||
input[type="color"]:focus,
|
||||
.uneditable-input:focus,
|
||||
.list-group:focus {
|
||||
border-color: rgba(82, 168, 236, 0.8);
|
||||
outline: 0;
|
||||
outline: thin dotted \9;
|
||||
/* IE6-9 */
|
||||
|
||||
/*
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
||||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
||||
*/
|
||||
-webkit-box-shadow: 0px 0px 46px -13px rgba(230,28,230,1) !important;
|
||||
-moz-box-shadow: 0px 0px 46px -13px rgba(230,28,230,1) !important;
|
||||
box-shadow: 0px 0px 46px -13px rgba(230,28,230,1) !important;
|
||||
|
||||
}
|
||||
|
||||
.form-control, .select2-selection {
|
||||
font-size: 14px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.select2 .select2-selection {
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
||||
border-color: rgba(101, 174, 231, 0.823529);
|
||||
outline: 0;
|
||||
outline: thin dotted \9;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 46px -11px rgba(230,28,230,1) !important;
|
||||
-moz-box-shadow: 0px 0px 46px -11px rgba(230,28,230,1) !important;
|
||||
box-shadow: 0px 0px 46px -11px rgba(230,28,230,1) !important;
|
||||
}
|
||||
|
||||
.has-error {
|
||||
border-color: #a94442 !important;
|
||||
/*
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
|
||||
*/
|
||||
|
||||
/*
|
||||
-webkit-box-shadow: 0px 0px 46px -13px rgba(255,28,230,1) !important;
|
||||
-moz-box-shadow: 0px 0px 46px -13px rgba(255,28,230,1) !important;
|
||||
box-shadow: 0px 0px 46px -13px rgba(255,28,230,1) !important;
|
||||
*/
|
||||
}
|
||||
53
client/client.js
Normal file
53
client/client.js
Normal file
@@ -0,0 +1,53 @@
|
||||
import {Meteor} from 'meteor/meteor';
|
||||
import '/imports/startup/client'
|
||||
import '/imports/startup/both'
|
||||
import '/imports/api';
|
||||
import '/imports/ui/helpers.js';
|
||||
import '/imports/util/validator.js';
|
||||
import '/imports/util/blaze.js';
|
||||
import '/imports/util/date.js';
|
||||
import '/imports/util/de.combo.js';
|
||||
import '/imports/util/resize/ResizeSensor.js';
|
||||
import '/imports/util/resize/ElementQueries.js';
|
||||
import '/imports/ui/layouts/Body.js';
|
||||
import '/imports/ui/layouts/Full.js';
|
||||
import '/imports/ui/accounts/accounts.js';
|
||||
|
||||
Blaze._allowJavascriptUrls();
|
||||
|
||||
Meteor.subscribe("measures");
|
||||
Meteor.subscribe("venues");
|
||||
Meteor.subscribe("categories");
|
||||
Meteor.subscribe("subcategories");
|
||||
Meteor.subscribe("items");
|
||||
|
||||
Meteor.startup(function () {
|
||||
sAlert.config({
|
||||
effect: '',
|
||||
position: 'bottom-right',
|
||||
timeout: 5000,
|
||||
html: false,
|
||||
onRouteClose: true,
|
||||
stack: true,
|
||||
// or you can pass an object:
|
||||
// stack: {
|
||||
// spacing: 10 // in px
|
||||
// limit: 3 // when fourth alert appears all previous ones are cleared
|
||||
// }
|
||||
offset: 0, // in px - will be added to first alert (bottom or top - depends of the position in config)
|
||||
beep: false,
|
||||
// examples:
|
||||
// beep: '/beep.mp3' // or you can pass an object:
|
||||
// beep: {
|
||||
// info: '/beep-info.mp3',
|
||||
// error: '/beep-error.mp3',
|
||||
// success: '/beep-success.mp3',
|
||||
// warning: '/beep-warning.mp3'
|
||||
// }
|
||||
onClose: _.noop //
|
||||
// examples:
|
||||
// onClose: function() {
|
||||
// /* Code here will be executed once the alert closes. */
|
||||
// }
|
||||
});
|
||||
});
|
||||
4
client/head.html
Normal file
4
client/head.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<head>
|
||||
<title>PT App</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
74
client/main.styl
Normal file
74
client/main.styl
Normal file
@@ -0,0 +1,74 @@
|
||||
*
|
||||
box-sizing: border-box
|
||||
-webkit-tap-highlight-color: transparent
|
||||
-webkit-font-smoothing: antialiased
|
||||
|
||||
html
|
||||
scrollbar-face-color: #808080
|
||||
scrollbar-highlight-color: #808080
|
||||
scrollbar-3dlight-color: #707070
|
||||
scrollbar-darkshadow-color: #808080
|
||||
scrollbar-shadow-color: #7e7e7e
|
||||
scrollbar-arrow-color: #ffffff
|
||||
scrollbar-track-color: #505050
|
||||
height: 100%
|
||||
|
||||
html, body, #archives ul, #overall-footer, #content ul
|
||||
margin: 0 0 0 0
|
||||
padding: 0 0 0 0
|
||||
|
||||
body
|
||||
font-family: verdana, arial, helvetica, sans-serif
|
||||
font-size: 1.0em
|
||||
height: 100%
|
||||
|
||||
#__blaze-root
|
||||
//max-width: 950px //Use if the width should be limited.
|
||||
//min-width: 250px
|
||||
//margin: 0 auto //Use if the width should be limited.
|
||||
//min-height: 100% //Used with a full height layout.
|
||||
|
||||
//Flex container.
|
||||
//display: flex
|
||||
//flex-direction: row
|
||||
//flex-wrap: nowrap
|
||||
//align-items: stretch
|
||||
//align-content: stretch
|
||||
height: 100%;
|
||||
//width: 100%;
|
||||
//min-height: 100%;
|
||||
//min-width: 100%;
|
||||
|
||||
.noselect
|
||||
-webkit-touch-callout: none; /* iOS Safari */
|
||||
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
||||
-khtml-user-select: none; /* Konqueror */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
||||
user-select: none; /* Non-prefixed version, currently not supported by any browser */
|
||||
.clickable
|
||||
cursor: pointer
|
||||
.nonclickable
|
||||
cursor: default
|
||||
.left
|
||||
text-align: left
|
||||
.center
|
||||
text-align: center
|
||||
|
||||
|
||||
//@import "../imports/util/selectize/selectize.default.import.styl"
|
||||
//@import "../imports/util/selectize/selectize.import.styl"
|
||||
@import "../imports/util/de.combo.import.styl"
|
||||
|
||||
@import "../imports/ui/layouts/Body.import.styl"
|
||||
@import "../imports/ui/layouts/Full.import.styl"
|
||||
|
||||
@import "../imports/ui/UserManagement.import.styl"
|
||||
@import "../imports/ui/Menu.import.styl"
|
||||
@import "../imports/ui/Intro.import.styl"
|
||||
@import "../imports/ui/Measures.import.styl"
|
||||
@import "../imports/ui/Products.import.styl"
|
||||
@import "../imports/ui/ProductTags.import.styl"
|
||||
@import "../imports/ui/Sales.import.styl"
|
||||
@import "../imports/ui/Pricing.import.styl"
|
||||
@import "../imports/ui/Production.import.styl"
|
||||
1245
client/titatoggle-dist.css
Normal file
1245
client/titatoggle-dist.css
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user