Copied starter Meteor App files.

Cut and paste of the BasicMeteorApp.
This commit is contained in:
2018-07-30 14:15:39 -07:00
parent b65fc15fb8
commit 94000458e4
89 changed files with 27017 additions and 1 deletions

61
client/bootstrap.styl vendored Normal file
View File

@@ -0,0 +1,61 @@
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
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;
*/

64
client/client.js Normal file
View File

@@ -0,0 +1,64 @@
import {Meteor} from 'meteor/meteor';
import '/imports/startup/client';
import '/imports/startup/both';
import '/imports/api';
import '/imports/ui/helpers.js';
// import '/imports/util/normalize.css';
import '/imports/util/validator.js';
import '/imports/util/polyfills/blaze.js';
import '/imports/util/polyfills/regex.js';
import '/imports/util/polyfills/date.js';
import '/imports/util/polyfills/array.js';
import '/imports/util/de.combo.js';
import '/imports/util/resize/ResizeSensor.js';
import '/imports/util/resize/ElementQueries.js';
import '/imports/ui/layouts/Public.js';
import '/imports/ui/layouts/Admin.js';
import '/imports/ui/layouts/Login.js';
import '/imports/ui/accounts/accounts.js';
import '/imports/util/select2/select2.css';
import '/imports/util/select2/select2.full.js';
//The SweetAlert2 NPM package is where this is being pulled from. The js file that actually wants to use it should import it (see Sales.js).
import 'sweetalert2/dist/sweetalert2.min.css';
import '/imports/util/simplegrid.css';
import 'dragula/dist/dragula.css';
//import 'malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css';
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. */
// }
});
});

6
client/head.html Normal file
View File

@@ -0,0 +1,6 @@
<head>
<title>PT App</title>
<!--<meta http-equiv="content-type" content="text/html; charset=UTF8">-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF8">
</head>

147
client/main.styl Normal file
View File

@@ -0,0 +1,147 @@
@import url('//fonts.googleapis.com/css?family=PT+Sans|Grand+Hotel|Open+Sans:400,600');
*
-webkit-tap-highlight-color: transparent
-webkit-font-smoothing: antialiased
*, *:after, *:before
-webkit-box-sizing: border-box
-moz-box-sizing: border-box
box-sizing: border-box
padding: 0
margin: 0
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%
min-height: 100%
body
font-family: verdana, arial, helvetica, sans-serif
font-size: 1.0em
height: 100%
min-height: 100%
background: #F6F6F6
#__blaze-root
height: 100%
//Standard Stylings
.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
.right
text-align: right
.center
text-align: center
.floatLeft
float: left
.floatRight
float: right
//Table Styles
.table
padding: 0
margin: 0
border-collapse: collapse
border: 1px solid #ddddf9
> thead
> tr
> th
border: 0
padding: 4px 4px 8px 4px
vertical-align: top
color: white
background: #6f6fec
input
padding: 2px
border-radius: 3px
> tbody
> tr
border-bottom: 1px solid #aaa
> td
padding: 4px 4px
> tr.selected
background-attachment: fixed
background-repeat: no-repeat
background-position: 0 0
background-image: linear-gradient(to left, #E0DCBA 70%,#f1da36 100%)
> tr:nth-child(odd).selected
background-attachment: fixed
background-repeat: no-repeat
background-position: 0 0
background-image: linear-gradient(to left, #FCF8D1 70%,#f1da36 100%)
.table-striped > tbody > tr:nth-child(even)
background-color: #f4f4f4
.table-striped > tbody > tr:nth-child(odd)
background-color: white
.table-hover > tbody > tr:hover
background-color: #ded
.pagination
text-align: right
font-size: 15px
line-height: 34px
font-family: "Arial Black", "Arial Bold", Gadget, sans-serif
margin: 0 0 10px 0
overflow: visible
white-space: nowrap
display: inline-block
span
padding: 2px 8px 3px 8px
margin: 0 8px
border: 2px solid #7b9961
border-radius: 5px
background-color: #90b272
cursor: pointer
overflow: visible
whitespace: nowrap
span:hover
background-color: #4ca84c
span:active
background-color: #3c983c
span.disabled
background-color: #ccc
border-color: #c5c5c5
color: white
cursor: default
span.disabled:hover
background-color: #ccc
span.disabled:active
background-color: #ccc
// Keep the custom scroll bars on top so they can be interacted with. They are placed outside the content div that they scroll.
.mCSB_1_scrollbar
z-index: 999
@import "../imports/ui/styles/effects.import.styl"
@import "../imports/ui/styles/buttons.import.styl"
@import "../imports/ui/styles/maxHeightLayout.import.styl"
@import "../imports/ui/styles/tabs.import.styl"
@import "../imports/ui/styles/forms.import.styl"
@import "../imports/util/de.combo.import.styl"
@import "../imports/util/bootstrap-like-btn.import.styl"
@import "../imports/ui/layouts/Public.import.styl"
@import "../imports/ui/layouts/Admin.import.styl"
@import "../imports/ui/layouts/Login.import.styl"
@import "../imports/ui/Home.import.styl"
@import "../imports/ui/AdminHome.import.styl"
@import "../imports/ui/UserManagement.import.styl"

1245
client/titatoggle-dist.css Normal file

File diff suppressed because it is too large Load Diff