Skip to content

Commit 41d51d6

Browse files
committed
initial commit
0 parents  commit 41d51d6

File tree

21 files changed

+2627
-0
lines changed

21 files changed

+2627
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Resource Calendar
2+
## Objective
3+
4+
To create an alternative to the FullCalendar jquery plugin. Improvements over FullCalendar include:
5+
* Tableless layout
6+
* Overridable rendering functions
7+
* Events become independent objects that can be transferred between Calendars
8+
* A new Resource container class, giving a hierarchy of Calendar -> one or more Resources -> zero or more Events
9+
* Extensible Policies - locked events, nudge later events on insert, inter-event gaps
Binary file not shown.
Binary file not shown.

css/jquery.pnotify.default.css

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
/*
2+
Document : jquery.pnotify.default.css
3+
Created on : Nov 23, 2009, 3:14:10 PM
4+
Author : Hunter Perrin
5+
Version : 1.2.0
6+
Link : http://pinesframework.org/pnotify/
7+
Description:
8+
Default styling for Pines Notify jQuery plugin.
9+
*/
10+
/* -- Notice */
11+
h4.ui-pnotify-title { display: inline; }
12+
.ui-pnotify {
13+
top: 25px;
14+
right: 25px;
15+
position: absolute;
16+
height: auto;
17+
font-size:80%;
18+
/* Ensures notices are above everything */
19+
z-index: 9999;
20+
}
21+
/* Hides position: fixed from IE6 */
22+
html > body .ui-pnotify {
23+
position: fixed;
24+
}
25+
.ui-pnotify .ui-pnotify-shadow {
26+
-webkit-box-shadow: 0px 2px 10px rgba(50, 50, 50, 0.5);
27+
-moz-box-shadow: 0px 2px 10px rgba(50, 50, 50, 0.5);
28+
box-shadow: 0px 2px 10px rgba(50, 50, 50, 0.5);
29+
}
30+
.ui-pnotify-container {
31+
background-position: 0 0;
32+
padding: .8em;
33+
height: 100%;
34+
margin: 0;
35+
}
36+
.ui-pnotify-sharp {
37+
-webkit-border-radius: 0;
38+
-moz-border-radius: 0;
39+
border-radius: 0;
40+
}
41+
.ui-pnotify-closer, .ui-pnotify-sticker {
42+
float: right;
43+
margin-left: .2em;
44+
}
45+
.ui-pnotify-title {
46+
display: block;
47+
margin-bottom: .4em;
48+
}
49+
.ui-pnotify-text {
50+
display: block;
51+
}
52+
.ui-pnotify-icon, .ui-pnotify-icon span {
53+
display: block;
54+
float: left;
55+
margin-right: .2em;
56+
}
57+
/* -- History Pulldown */
58+
.ui-pnotify-history-container {
59+
position: absolute;
60+
top: 0;
61+
right: 18px;
62+
width: 70px;
63+
border-top: none;
64+
padding: 0;
65+
-webkit-border-top-left-radius: 0;
66+
-moz-border-top-left-radius: 0;
67+
border-top-left-radius: 0;
68+
-webkit-border-top-right-radius: 0;
69+
-moz-border-top-right-radius: 0;
70+
border-top-right-radius: 0;
71+
/* Ensures history container is above notices. */
72+
z-index: 10000;
73+
}
74+
.ui-pnotify-history-container .ui-pnotify-history-header {
75+
padding: 2px;
76+
}
77+
.ui-pnotify-history-container button {
78+
cursor: pointer;
79+
display: block;
80+
width: 100%;
81+
}
82+
.ui-pnotify-history-container .ui-pnotify-history-pulldown {
83+
display: block;
84+
margin: 0 auto;
85+
}

css/pform.css

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
/*
2+
Pines Form 2.0
3+
4+
license: http://www.gnu.org/licenses/gpl.html
5+
license: http://www.gnu.org/licenses/lgpl.html
6+
license: http://www.mozilla.org/MPL/MPL-1.1.html
7+
author: Hunter Perrin <[email protected]>
8+
copyright: SciActive.com
9+
link: http://pinesframework.org/pform/
10+
*/
11+
.pf-form {
12+
display: inline;
13+
}
14+
.pf-form:after, .pf-form fieldset:after {
15+
content: ".";
16+
display: block;
17+
height: 0;
18+
clear: both;
19+
visibility: hidden;
20+
}
21+
.pf-form .pf-clearing { /* For clearing BRs... */
22+
clear: both;
23+
height: 1px;
24+
}
25+
.pf-form fieldset {
26+
padding: 5.6px 10px 12px;
27+
border: 1px solid #CCC;
28+
}
29+
.pf-form fieldset.pf-group {
30+
display: block;
31+
clear: left;
32+
margin-bottom: 15px;
33+
}
34+
.pf-form .pf-element {
35+
float: left;
36+
clear: left;
37+
padding-bottom: 15px;
38+
}
39+
.pf-form .pf-heading, .pf-form .pf-element.pf-full-width {
40+
width: 100%;
41+
}
42+
.pf-form .pf-heading {
43+
border-bottom: 1px solid #CCC;
44+
padding-bottom: 0;
45+
margin-bottom: 10px;
46+
}
47+
.pf-form .pf-element .pf-label, .pf-form .pf-element .pf-note {
48+
width: 230px; /* Width of labels. */
49+
float: left;
50+
}
51+
.pf-form.pf-labels-right .pf-label, .pf-form .pf-labels-right .pf-label, .pf-form .pf-labels-right.pf-label, .pf-form.pf-labels-right .pf-note, .pf-form .pf-labels-right .pf-note, .pf-form .pf-labels-right.pf-note {
52+
text-align: right;
53+
}
54+
.pf-form.pf-labels-left .pf-label, .pf-form .pf-labels-left .pf-label, .pf-form .pf-labels-left.pf-label, .pf-form.pf-labels-left .pf-note, .pf-form .pf-labels-left .pf-note, .pf-form .pf-labels-left.pf-note {
55+
text-align: left;
56+
}
57+
.pf-form .pf-element .pf-note {
58+
margin-top: .5em;
59+
clear: left;
60+
font-size: 70%;
61+
opacity: .8;
62+
}
63+
.pf-form .pf-element .pf-required {
64+
color: #f00;
65+
}
66+
.pf-form .pf-element .pf-group {
67+
margin-left: 230px; /* Same as width of labels. */
68+
display: block;
69+
}
70+
.pf-form .pf-element .pf-field, .pf-form .pf-buttons .pf-button {
71+
float: none;
72+
margin-left: 5px; /* Margin between inputs and labels. */
73+
}
74+
.pf-form .pf-element .pf-field.pf-full-width {
75+
display: block;
76+
margin-left: 235px; /* Width of labels + margin between inputs and labels. */
77+
}
78+
.pf-form .pf-buttons {
79+
clear: both;
80+
padding-bottom: 0;
81+
padding-left: 215px; /* Width of labels + margin to inputs - button spacing. */
82+
}
83+
.pf-form .pf-buttons.pf-centered {
84+
width: 100%;
85+
padding-left: 0;
86+
text-align: center;
87+
}
88+
.pf-form .pf-buttons .pf-button {
89+
margin-left: 20px; /* Button spacing. */
90+
margin-bottom: 10px;
91+
}
92+
93+
@media (max-width: 720px) {
94+
.pf-form .pf-element.pf-full-width .pf-full-width {
95+
padding-right: .2em; /* Keep padded inputs from pushing out of their box. */
96+
}
97+
.pf-form .pf-element .pf-label, .pf-form .pf-element .pf-note {
98+
float: none;
99+
width: auto;
100+
display: block;
101+
margin-bottom: .1em;
102+
}
103+
.pf-form .pf-element .pf-group {
104+
margin-left: 0;
105+
display: block;
106+
}
107+
.pf-form .pf-element .pf-field.pf-full-width {
108+
margin-left: 0;
109+
}
110+
.pf-form .pf-buttons {
111+
padding-left: 0;
112+
}
113+
}

css/rc_calendar.css

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
.clearfix:after {
2+
content: ".";
3+
display: block;
4+
clear: both;
5+
visibility: hidden;
6+
line-height: 0;
7+
height: 0; }
8+
9+
.clearfix {
10+
display: inline-block; }
11+
12+
.rc_event {
13+
width: 99%;
14+
max-width: 118px;
15+
height: 66px;
16+
border: 1px solid #888888;
17+
font-family: metrophobic,arial; }
18+
.rc_event .rc_event_head {
19+
width: 100%;
20+
font-size: 80%;
21+
text-align: center;
22+
background: rgba(0, 0, 0, 0.1); }
23+
.rc_event .rc_event_body {
24+
font-size: 80%;
25+
text-align: center; }
26+
.rc_event .rc_event_prepad {
27+
background: rgba(0, 0, 0, 0.3);
28+
width: 100%; }
29+
.rc_event .rc_event_postpad {
30+
background: rgba(0, 0, 0, 0.3);
31+
width: 100%;
32+
position: absolute;
33+
left: 0;
34+
bottom: 0; }
35+
.rc_event #sgrip {
36+
width: 20px;
37+
height: 10px;
38+
border: 1px solid #888888;
39+
border-top: none;
40+
-webkit-border-bottom-right-radius: 6px;
41+
-webkit-border-bottom-left-radius: 6px;
42+
-moz-border-radius-bottomright: 6px;
43+
-moz-border-radius-bottomleft: 6px;
44+
border-bottom-right-radius: 6px;
45+
border-bottom-left-radius: 6px;
46+
text-align: center;
47+
position: absolute;
48+
bottom: -11px;
49+
left: 40px;
50+
font-size: 50%; }
51+
52+
.rc_week {
53+
font-family: metrophobic,arial;
54+
width: 645px;
55+
margin: 8px auto; }
56+
.rc_week .rc_event {
57+
position: absolute; }
58+
59+
.rc_headerweek {
60+
width: 645px;
61+
background: #dfc; }
62+
.rc_headerweek .rc_name {
63+
float: left;
64+
padding-left: 8px; }
65+
.rc_headerweek .rc_location {
66+
float: right;
67+
padding-right: 8px; }
68+
69+
.col_5dayweek {
70+
float: left;
71+
width: 118px;
72+
border: 1px solid #cccccc;
73+
border-left: none;
74+
overflow: hidden;
75+
position: relative; }
76+
77+
.col_7dayweek {
78+
float: left;
79+
width: col_7days_width;
80+
border: 1px solid #cccccc;
81+
overflow: hidden;
82+
position: relative; }
83+
84+
.rc_gutter {
85+
float: left;
86+
width: 48px;
87+
border: 1px solid #cccccc; }
88+
89+
.rc_hour_slot {
90+
height: 71px;
91+
border-bottom: 1px solid #cccccc; }
92+
93+
.rc_quarters_slot {
94+
height: 17px;
95+
width: 100%;
96+
border-bottom: 1px dotted #cccccc; }
97+
98+
.rc_quarters_slot:nth-child(even) {
99+
border-bottom: 1px solid #cccccc; }
100+
101+
.rc_thirds_slot {
102+
height: 23px;
103+
width: 100%;
104+
border-bottom: 1px dotted #cccccc; }
105+
106+
.rc_thirds_slot:nth-child(3n-3) {
107+
border-bottom: 1px solid #cccccc; }
108+
109+
.rc_halves_slot {
110+
height: 35px;
111+
width: 100%;
112+
border-bottom: 1px dotted #cccccc; }
113+
114+
.rc_quarters_slot:nth-child(even) {
115+
border-bottom: 1px solid #cccccc; }

css/test.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.calendar {
2+
margin-left: 180px; }
3+
4+
.event_palette {
5+
position: fixed;
6+
top: 10px;
7+
left: 10px; }
8+
9+
.ip_spacing {
10+
margin: 4px; }
11+
12+
.in_palette {
13+
-webkit-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
14+
box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2); }
15+
16+
.event {
17+
background: rgba(255, 255, 255, 0.6);
18+
display: table; }
19+
.event p {
20+
display: table-cell;
21+
text-align: center;
22+
vertical-align: middle; }
23+
24+
.client {
25+
border-color: #A66;
26+
color: #A66; }
27+
28+
.vendor {
29+
border-color: #6A6;
30+
color: #6A6; }
31+
32+
.internal {
33+
border-color: #66A;
34+
color: #66A; }

js/doT.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)