BUG 0000 User Inbox Simplified (first commit)
565
gulliver/js/jquery/css/smoothness/jquery-ui-1.8.17.custom.css
vendored
Normal file
@@ -0,0 +1,565 @@
|
||||
/*
|
||||
* jQuery UI CSS Framework 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*/
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden { display: none; }
|
||||
.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
|
||||
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
||||
.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
|
||||
.ui-helper-clearfix:after { clear: both; }
|
||||
.ui-helper-clearfix { zoom: 1; }
|
||||
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled { cursor: default !important; }
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
||||
|
||||
|
||||
/*
|
||||
* jQuery UI CSS Framework 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Theming/API
|
||||
*
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana,Arial,sans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=02_glass.png&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=02_glass.png&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
||||
*/
|
||||
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
|
||||
.ui-widget .ui-widget { font-size: 1em; }
|
||||
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
|
||||
.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
|
||||
.ui-widget-content a { color: #222222; }
|
||||
.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
|
||||
.ui-widget-header a { color: #222222; }
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; }
|
||||
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; }
|
||||
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
||||
.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; }
|
||||
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; }
|
||||
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; }
|
||||
.ui-widget :active { outline: none; }
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
|
||||
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
|
||||
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
|
||||
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
|
||||
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
|
||||
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
|
||||
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
||||
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
||||
.ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
|
||||
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
||||
.ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
|
||||
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
|
||||
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-off { background-position: -96px -144px; }
|
||||
.ui-icon-radio-on { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
||||
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
||||
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
|
||||
.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
|
||||
* jQuery UI Resizable 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Resizable#theming
|
||||
*/
|
||||
.ui-resizable { position: relative;}
|
||||
.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }
|
||||
.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }
|
||||
.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }
|
||||
.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }
|
||||
.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }
|
||||
.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
||||
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }
|
||||
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
|
||||
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*
|
||||
* jQuery UI Selectable 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Selectable#theming
|
||||
*/
|
||||
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
|
||||
/*
|
||||
* jQuery UI Accordion 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Accordion#theming
|
||||
*/
|
||||
/* IE/Win - Fix animation bug - #4615 */
|
||||
.ui-accordion { width: 100%; }
|
||||
.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-li-fix { display: inline; }
|
||||
.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }
|
||||
.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }
|
||||
.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }
|
||||
.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }
|
||||
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }
|
||||
.ui-accordion .ui-accordion-content-active { display: block; }
|
||||
/*
|
||||
* jQuery UI Autocomplete 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Autocomplete#theming
|
||||
*/
|
||||
.ui-autocomplete { position: absolute; cursor: default; }
|
||||
|
||||
/* workarounds */
|
||||
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
|
||||
|
||||
/*
|
||||
* jQuery UI Menu 1.8.17
|
||||
*
|
||||
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Menu#theming
|
||||
*/
|
||||
.ui-menu {
|
||||
list-style:none;
|
||||
padding: 2px;
|
||||
margin: 0;
|
||||
display:block;
|
||||
float: left;
|
||||
}
|
||||
.ui-menu .ui-menu {
|
||||
margin-top: -3px;
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
margin:0;
|
||||
padding: 0;
|
||||
zoom: 1;
|
||||
float: left;
|
||||
clear: left;
|
||||
width: 100%;
|
||||
}
|
||||
.ui-menu .ui-menu-item a {
|
||||
text-decoration:none;
|
||||
display:block;
|
||||
padding:.2em .4em;
|
||||
line-height:1.5;
|
||||
zoom:1;
|
||||
}
|
||||
.ui-menu .ui-menu-item a.ui-state-hover,
|
||||
.ui-menu .ui-menu-item a.ui-state-active {
|
||||
font-weight: normal;
|
||||
margin: -1px;
|
||||
}
|
||||
/*
|
||||
* jQuery UI Button 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Button#theming
|
||||
*/
|
||||
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
|
||||
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
|
||||
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
|
||||
.ui-button-icons-only { width: 3.4em; }
|
||||
button.ui-button-icons-only { width: 3.7em; }
|
||||
|
||||
/*button text element */
|
||||
.ui-button .ui-button-text { display: block; line-height: 1.4; }
|
||||
.ui-button-text-only .ui-button-text { padding: .4em 1em; }
|
||||
.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }
|
||||
.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }
|
||||
.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }
|
||||
.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }
|
||||
/* no icon support for input elements, provide padding by default */
|
||||
input.ui-button { padding: .4em 1em; }
|
||||
|
||||
/*button icon element(s) */
|
||||
.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }
|
||||
.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }
|
||||
.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }
|
||||
.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }
|
||||
|
||||
/*button sets*/
|
||||
.ui-buttonset { margin-right: 7px; }
|
||||
.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }
|
||||
|
||||
/* workarounds */
|
||||
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */
|
||||
/*
|
||||
* jQuery UI Dialog 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Dialog#theming
|
||||
*/
|
||||
.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }
|
||||
.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }
|
||||
.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; }
|
||||
.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
|
||||
.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
|
||||
.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }
|
||||
.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
|
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
|
||||
.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
|
||||
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
|
||||
.ui-draggable .ui-dialog-titlebar { cursor: move; }
|
||||
/*
|
||||
* jQuery UI Slider 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Slider#theming
|
||||
*/
|
||||
.ui-slider { position: relative; text-align: left; }
|
||||
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
||||
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
||||
|
||||
.ui-slider-horizontal { height: .8em; }
|
||||
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
||||
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
||||
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
||||
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
||||
|
||||
.ui-slider-vertical { width: .8em; height: 100px; }
|
||||
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
||||
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
||||
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
||||
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
|
||||
* jQuery UI Tabs 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Tabs#theming
|
||||
*/
|
||||
.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
||||
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
|
||||
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
|
||||
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
|
||||
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
|
||||
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
|
||||
.ui-tabs .ui-tabs-hide { display: none !important; }
|
||||
/*
|
||||
* jQuery UI Datepicker 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Datepicker#theming
|
||||
*/
|
||||
.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }
|
||||
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
|
||||
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
|
||||
.ui-datepicker .ui-datepicker-prev { left:2px; }
|
||||
.ui-datepicker .ui-datepicker-next { right:2px; }
|
||||
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
|
||||
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
|
||||
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
|
||||
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
|
||||
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
|
||||
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year { width: 49%;}
|
||||
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
|
||||
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
|
||||
.ui-datepicker td { border: 0; padding: 1px; }
|
||||
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi { width:auto; }
|
||||
.ui-datepicker-multi .ui-datepicker-group { float:left; }
|
||||
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
|
||||
.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl { direction: rtl; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
|
||||
|
||||
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
|
||||
.ui-datepicker-cover {
|
||||
display: none; /*sorry for IE5*/
|
||||
display/**/: block; /*sorry for IE5*/
|
||||
position: absolute; /*must have*/
|
||||
z-index: -1; /*must have*/
|
||||
filter: mask(); /*must have*/
|
||||
top: -4px; /*must have*/
|
||||
left: -4px; /*must have*/
|
||||
width: 200px; /*must have*/
|
||||
height: 200px; /*must have*/
|
||||
}/*
|
||||
* jQuery UI Progressbar 1.8.17
|
||||
*
|
||||
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
|
||||
* Dual licensed under the MIT or GPL Version 2 licenses.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://docs.jquery.com/UI/Progressbar#theming
|
||||
*/
|
||||
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
|
||||
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }
|
||||
4
gulliver/js/jquery/jquery-1.7.1.min.js
vendored
Normal file
356
gulliver/js/jquery/jquery-ui-1.8.17.min.js
vendored
Normal file
56
gulliver/js/jquery/jquery.confirm.js
Normal file
@@ -0,0 +1,56 @@
|
||||
(function($){
|
||||
|
||||
$.confirm = function(params){
|
||||
|
||||
if($('#confirmOverlay').length){
|
||||
// A confirm is already shown on the page:
|
||||
return false;
|
||||
}
|
||||
|
||||
var buttonHTML = '';
|
||||
$.each(params.buttons,function(name,obj){
|
||||
|
||||
// Generating the markup for the buttons:
|
||||
|
||||
buttonHTML += '<a href="#" class="button '+obj['class']+'">'+name+'<span></span></a>';
|
||||
|
||||
if(!obj.action){
|
||||
obj.action = function(){};
|
||||
}
|
||||
});
|
||||
|
||||
var markup = [
|
||||
'<div id="confirmOverlay">',
|
||||
'<div id="confirmBox">',
|
||||
'<h1>',params.title,'</h1>',
|
||||
'<p>',params.message,'</p>',
|
||||
'<div id="confirmButtons">',
|
||||
buttonHTML,
|
||||
'</div></div></div>'
|
||||
].join('');
|
||||
|
||||
$(markup).hide().appendTo('body').fadeIn();
|
||||
|
||||
var buttons = $('#confirmBox .button'),
|
||||
i = 0;
|
||||
|
||||
$.each(params.buttons,function(name,obj){
|
||||
buttons.eq(i++).click(function(){
|
||||
|
||||
// Calling the action attribute when a
|
||||
// click occurs, and hiding the confirm.
|
||||
|
||||
obj.action();
|
||||
$.confirm.hide();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
$.confirm.hide = function(){
|
||||
$('#confirmOverlay').fadeOut(function(){
|
||||
$(this).remove();
|
||||
});
|
||||
}
|
||||
|
||||
})(jQuery);
|
||||
135
gulliver/js/jquery/jquery.iframe-auto-height.plugin.js
Normal file
@@ -0,0 +1,135 @@
|
||||
/*jslint white: true, indent: 2, onevar: false, browser: true, undef: true, nomen: false, eqeqeq: true, plusplus: false, bitwise: true, regexp: true, strict: false, newcap: true, immed: true */
|
||||
/*global window, console, jQuery, setTimeout */
|
||||
|
||||
/*
|
||||
[INSERT_PLUGIN_NAME]
|
||||
[INSERT_VERSION_NUMBER]
|
||||
Author and Contributors
|
||||
========================================
|
||||
[INSERT_AUTHOR_LIST]
|
||||
File: jquery.iframe-auto-height.plugin.js
|
||||
Remarks: original code from http://sonspring.com/journal/jquery-iframe-sizing
|
||||
[INSERT_DESCRIPTION]
|
||||
*/
|
||||
(function ($) {
|
||||
$.fn.iframeAutoHeight = function (spec) {
|
||||
|
||||
// set default option values
|
||||
var options = $.extend({
|
||||
heightOffset: 0,
|
||||
minHeight: 0,
|
||||
callback: function (newHeight) {},
|
||||
debug: false,
|
||||
diagnostics: false // used for development only
|
||||
}, spec);
|
||||
|
||||
// logging
|
||||
function debug(message) {
|
||||
if (options.debug && options.debug === true && window.console) {
|
||||
console.log(message);
|
||||
}
|
||||
}
|
||||
|
||||
// not used by production code
|
||||
function showDiagnostics(iframe, calledFrom) {
|
||||
debug("Diagnostics from '" + calledFrom + "'");
|
||||
try {
|
||||
debug(" " + $(iframe, window.top.document).contents().find('body')[0].scrollHeight + " for ...find('body')[0].scrollHeight");
|
||||
debug(" " + $(iframe.contentWindow.document).height() + " for ...contentWindow.document).height()");
|
||||
debug(" " + $(iframe.contentWindow.document.body).height() + " for ...contentWindow.document.body).height()");
|
||||
} catch (ex) {
|
||||
// ie fails when called during for each, ok later on
|
||||
// probably not an issue if called in a document ready block
|
||||
debug(" unable to check in this state");
|
||||
}
|
||||
debug("End diagnostics -> results vary by browser and when diagnostics are requested");
|
||||
}
|
||||
|
||||
// show all option values
|
||||
debug(options);
|
||||
|
||||
// ******************************************************
|
||||
// iterate over the matched elements passed to the plugin ; return will make it chainable
|
||||
return this.each(function () {
|
||||
|
||||
// for use by webkit only
|
||||
var loadCounter = 0;
|
||||
|
||||
// resizeHeight
|
||||
function resizeHeight(iframe) {
|
||||
if (options.diagnostics) {
|
||||
showDiagnostics(iframe, "resizeHeight");
|
||||
}
|
||||
|
||||
// get the iframe body height and set inline style to that plus a little
|
||||
var $body = $(iframe, window.top.document).contents().find('body');
|
||||
var newHeight = $body[0].scrollHeight + options.heightOffset;
|
||||
|
||||
|
||||
|
||||
//erik: forcing minHeigth to current body height
|
||||
dd = $(document.body)
|
||||
options.minHeight = dd[0].clientHeight - 40;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (newHeight < options.minHeight) {
|
||||
debug("new height is less than minHeight");
|
||||
newHeight = options.minHeight;// + options.heightOffset;
|
||||
}
|
||||
|
||||
debug("New Height: " + newHeight);
|
||||
iframe.style.height = newHeight + 'px';
|
||||
|
||||
options.callback.apply($(iframe), [{newFrameHeight: newHeight}]);
|
||||
}
|
||||
|
||||
// debug me
|
||||
debug(this);
|
||||
if (options.diagnostics) {
|
||||
showDiagnostics(this, "each iframe");
|
||||
}
|
||||
|
||||
// Check if browser is Opera or Safari (Webkit really, so includes Chrome)
|
||||
if (true) { //erik patch ($.browser.safari || $.browser.opera) {
|
||||
debug("browser is webkit or opera");
|
||||
|
||||
// Start timer when loaded.
|
||||
$(this).load(function () {
|
||||
var delay = 0;
|
||||
var iframe = this;
|
||||
// Reset iframe height to 0 to force new frame size to fit window properly
|
||||
iframe.style.height = '0px';
|
||||
var delayedResize = function () {
|
||||
resizeHeight(iframe);
|
||||
};
|
||||
|
||||
if (loadCounter === 0) {
|
||||
delay = 500; // delay the first one
|
||||
}
|
||||
|
||||
debug("load delay: " + delay);
|
||||
setTimeout(delayedResize, delay);
|
||||
loadCounter++;
|
||||
});
|
||||
|
||||
// Safari and Opera need a kick-start.
|
||||
var source = $(this).attr('src');
|
||||
$(this).attr('src', '');
|
||||
$(this).attr('src', source);
|
||||
} else {
|
||||
// For other browsers.
|
||||
$(this).load(function () {
|
||||
resizeHeight(this);
|
||||
});
|
||||
} // if browser
|
||||
|
||||
this.forceResizeHeight = resizeHeight;
|
||||
// this.forceResizeHeight = function (iframeInstance) {
|
||||
// resizeHeight(iframeInstance);
|
||||
// };
|
||||
}); // $(this).each(function () {
|
||||
}; // $.fn.iframeAutoHeight = function (options) {
|
||||
}(jQuery)); // (function ($) {
|
||||
@@ -223,7 +223,7 @@ class Controller
|
||||
*/
|
||||
public function setVar($name, $value)
|
||||
{
|
||||
$this->getHeadPublisher()->sssignVar($name, $value);
|
||||
$this->getHeadPublisher()->assignVar($name, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -995,18 +995,23 @@ class G
|
||||
$filenameParts = explode("-",$filename);
|
||||
$skinName = $filenameParts[0];
|
||||
$skinVariant = "skin";
|
||||
|
||||
if(isset($filenameParts[1])){
|
||||
$skinVariant=strtolower($filenameParts[1]);
|
||||
}
|
||||
|
||||
if($skinName == "jscolors") $skinName = "classic";
|
||||
if($skinName == "xmlcolors") $skinName = "classic";
|
||||
if($skinName=="classic"){
|
||||
$configurationFile = G::ExpandPath( "skinEngine" ).'base'.PATH_SEP.'config.xml';
|
||||
}else{
|
||||
}
|
||||
else {
|
||||
$configurationFile = G::ExpandPath( "skinEngine" ) . $skinName . PATH_SEP . 'config.xml';
|
||||
|
||||
if (!is_file($configurationFile)) {
|
||||
$configurationFile = PATH_CUSTOM_SKINS . $skinName . PATH_SEP . 'config.xml';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//Read Configuration File
|
||||
$xmlConfiguration = file_get_contents ( $configurationFile );
|
||||
|
||||
@@ -54,6 +54,9 @@ class headPublisher {
|
||||
/* extVariable array, to store the variables generated in PHP, and used in JavaScript */
|
||||
var $extVariable = array ();
|
||||
|
||||
/* variable array, to store the variables generated in PHP, and used in JavaScript */
|
||||
var $vars = array ();
|
||||
|
||||
var $leimnudInitString = ' var leimnud = new maborak();
|
||||
leimnud.make({
|
||||
zip:true,
|
||||
@@ -527,6 +530,14 @@ class headPublisher {
|
||||
$this->extJsContent [] = $templateHtml;
|
||||
}
|
||||
|
||||
function getContent() {
|
||||
if (!isset($this->extJsContent[0])) {
|
||||
throw new Exception('MVC Error: View template is not set!');
|
||||
}
|
||||
|
||||
return $this->extJsContent[0];
|
||||
}
|
||||
|
||||
/**
|
||||
* Function assign
|
||||
* assign a STRING value to a JS variable
|
||||
@@ -540,6 +551,14 @@ class headPublisher {
|
||||
$this->extVariable [] = array ('name' => $variable, 'value' => $value, 'type' => 'string' );
|
||||
}
|
||||
|
||||
function AssignVar($name, $value) {
|
||||
$this->vars [$name] = $value;
|
||||
}
|
||||
|
||||
function getVars() {
|
||||
return $this->vars;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function assignNumber
|
||||
* assign a Number value to a JS variable
|
||||
|
||||
235
workflow/engine/controllers/home.php
Normal file
@@ -0,0 +1,235 @@
|
||||
<?php
|
||||
/**
|
||||
* Application controller
|
||||
* @author Erik Amaru Ortiz <erik@colosa.com, aortiz.erik@gmail.com>
|
||||
* @inherits Controller
|
||||
* @access public
|
||||
*/
|
||||
|
||||
class Home extends Controller
|
||||
{
|
||||
private $userID;
|
||||
private $userName;
|
||||
private $userFullName;
|
||||
private $userRolName;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
if (isset($_SESSION['USER_LOGGED']) && !empty($_SESSION['USER_LOGGED'])) {
|
||||
$this->userID = isset($_SESSION['USER_LOGGED']) ? $_SESSION['USER_LOGGED'] : null;
|
||||
$this->userName = isset($_SESSION['USR_USERNAME']) ? $_SESSION['USR_USERNAME'] : '';
|
||||
$this->userFullName = isset($_SESSION['USR_FULLNAME']) ? $_SESSION['USR_FULLNAME'] : '';
|
||||
$this->userRolName = isset($_SESSION['USR_ROLENAME']) ? $_SESSION['USR_ROLENAME'] : '';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* getting default list
|
||||
* @param string $httpData (opional)
|
||||
*/
|
||||
|
||||
public function index($httpData)
|
||||
{
|
||||
G::LoadClass('process');
|
||||
G::LoadClass('case');
|
||||
|
||||
$process = new Process();
|
||||
$case = new Cases();
|
||||
|
||||
/**
|
||||
* Getting the user's processes that can start
|
||||
*/
|
||||
|
||||
if (!$case->canStartCase($_SESSION ['USER_LOGGED'])) {
|
||||
//throw new Exception("User can not start a cases");
|
||||
}
|
||||
|
||||
//Get ProcessStatistics Info
|
||||
$start = 0;
|
||||
$limit = '';
|
||||
|
||||
$proData = $process->getAllProcesses($start, $limit);
|
||||
$processList = $case->getStartCasesPerType ( $_SESSION ['USER_LOGGED'], 'category' );
|
||||
unset($processList[0]);
|
||||
|
||||
//$processList = array();
|
||||
|
||||
// foreach ( $processListInitial as $key => $procInfo ) {
|
||||
// if (isset ( $procInfo ['pro_uid'] )) {
|
||||
// if (trim ( $procInfo ['cat'] ) == "")
|
||||
// $procInfo ['cat'] = "_OTHER_";
|
||||
// $processList [$procInfo ['catname']] [$procInfo ['value']] = $procInfo;
|
||||
// }
|
||||
// }
|
||||
//ksort($processList);
|
||||
|
||||
|
||||
|
||||
|
||||
//g::pr($processList); die;
|
||||
|
||||
|
||||
$this->setView('home/index');
|
||||
$this->setVar('usrUid', $this->userID);
|
||||
$this->setVar('userName', $this->userName);
|
||||
$this->setVar('processList', $processList);
|
||||
|
||||
G::RenderPage('publish', 'mvc');
|
||||
}
|
||||
|
||||
public function init($httpData)
|
||||
{
|
||||
require_once ( "classes/model/AppCacheView.php" );
|
||||
require_once ( "classes/model/Application.php" );
|
||||
require_once ( "classes/model/AppNotes.php" );
|
||||
|
||||
$appCache = new AppCacheView();
|
||||
$appNotes = new AppNotes();
|
||||
|
||||
$start = 0;
|
||||
$limit = 100;
|
||||
|
||||
$notesStart = 0;
|
||||
$notesLimit = 4;
|
||||
|
||||
$httpData->t = isset($httpData->t)? $httpData->t : 'in';
|
||||
|
||||
/**
|
||||
* Getting the user's applications list
|
||||
*/
|
||||
//TODO validate user id
|
||||
|
||||
|
||||
// getting user's cases on inbox
|
||||
|
||||
switch ($httpData->t) {
|
||||
case 'in':
|
||||
$criteria = $appCache->getToDoListCriteria($this->userID);
|
||||
$title = 'My Inbox';
|
||||
break;
|
||||
case 'draft':
|
||||
default:
|
||||
$criteria = $appCache->getDraftListCriteria($this->userID); //fast enough
|
||||
$title = 'My Drafts';
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//$criteriac = $oAppCache->getToDoCountCriteria($this->userID);
|
||||
|
||||
//$criteria->setLimit($limit);
|
||||
//$criteria->setOffset($start);
|
||||
|
||||
//$this->setView('home/index4');
|
||||
$this->setView('home/index2');
|
||||
|
||||
$criteria->addDescendingOrderByColumn(AppCacheViewPeer::APP_NUMBER);
|
||||
$dataset = AppCacheViewPeer::doSelectRS($criteria);
|
||||
$dataset->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||
|
||||
$cases = array();
|
||||
//$data['totalCount'] = $totalCount;
|
||||
$rows = array();
|
||||
$priorities = array('1'=>'VL', '2'=>'L', '3'=>'N', '4'=>'H', '5'=>'VH');
|
||||
$index = $start;
|
||||
|
||||
while ($dataset->next()) {
|
||||
$row = $dataset->getRow();
|
||||
if (is_numeric(str_replace('#', '', $row['APP_TITLE']))) {
|
||||
$row['APP_TITLE'] = 'Case ' . str_replace('#', '', $row['APP_TITLE']);
|
||||
}
|
||||
// replacing the status data with their respective translation
|
||||
if (isset($row['APP_STATUS'])) {
|
||||
$row['APP_STATUS'] = G::LoadTranslation("ID_{$row['APP_STATUS']}");
|
||||
}
|
||||
// replacing the priority data with their respective translation
|
||||
if (isset($row['DEL_PRIORITY'])) {
|
||||
$row['DEL_PRIORITY'] = G::LoadTranslation("ID_PRIORITY_{$priorities[$row['DEL_PRIORITY']]}");
|
||||
}
|
||||
|
||||
$row['DEL_DELEGATE_DATE'] = G::getformatedDate($row['DEL_DELEGATE_DATE'], 'M d, yyyy at h:i:s');
|
||||
|
||||
|
||||
$notes = $appNotes->getNotesList($row['APP_UID'], $this->userID, $notesStart, $notesLimit);
|
||||
$notes = $notes['array'];
|
||||
|
||||
$row['NOTES_COUNT'] = $notes['totalCount'];
|
||||
$row['NOTES_LIST'] = $notes['notes'];
|
||||
|
||||
$cases[] = $row;
|
||||
|
||||
}
|
||||
//g::pr($cases); die;
|
||||
// settings vars and rendering
|
||||
$this->setVar('cases', $cases);
|
||||
$this->setVar('title', $title);
|
||||
|
||||
G::RenderPage('publish', 'mvc');
|
||||
}
|
||||
|
||||
/**
|
||||
* getting default list
|
||||
* @param string $httpData (opional)
|
||||
*/
|
||||
public function start($httpData)
|
||||
{
|
||||
$this->setView('home/index5');
|
||||
|
||||
//$this->setVar('id', $httpData->a);
|
||||
//$this->setVar('index', $httpData->i);
|
||||
$this->setVar('action', 'todo');
|
||||
|
||||
G::RenderPage('publish', 'mvc');
|
||||
}
|
||||
|
||||
public function iframe_3($httpData)
|
||||
{
|
||||
$this->setView('home/iframe_3');
|
||||
|
||||
//$this->setVar('id', $httpData->a);
|
||||
//$this->setVar('index', $httpData->i);
|
||||
$this->setVar('action', 'todo');
|
||||
|
||||
G::RenderPage('publish', 'mvc');
|
||||
}
|
||||
|
||||
public function iframe_4($httpData)
|
||||
{
|
||||
$this->setView('home/iframe_4');
|
||||
|
||||
//$this->setVar('id', $httpData->a);
|
||||
//$this->setVar('index', $httpData->i);
|
||||
$this->setVar('action', 'todo');
|
||||
|
||||
G::RenderPage('publish', 'mvc');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Private functions
|
||||
*/
|
||||
|
||||
public function startCase($httpData)
|
||||
{
|
||||
G::LoadClass('case');
|
||||
$case = new Cases();
|
||||
$aData = $case->startCase($httpData->id, $_SESSION['USER_LOGGED']);
|
||||
|
||||
$_SESSION['APPLICATION'] = $aData['APPLICATION'];
|
||||
$_SESSION['INDEX'] = $aData['INDEX'];
|
||||
$_SESSION['PROCESS'] = $aData['PROCESS'];
|
||||
$_SESSION['TASK'] = $httpData->id;
|
||||
$_SESSION['STEP_POSITION'] = 0;
|
||||
$_SESSION['CASES_REFRESH'] = true;
|
||||
|
||||
$oCase = new Cases();
|
||||
$aNextStep = $oCase->getNextStep($_SESSION['PROCESS'], $_SESSION['APPLICATION'], $_SESSION['INDEX'], $_SESSION['STEP_POSITION']);
|
||||
//../cases/cases_Open?APP_UID={$APP.APP_UID}&DEL_INDEX={$APP.DEL_INDEX}&action=todo
|
||||
$aNextStep['PAGE'] = '../cases/cases_Open?APP_UID='.$aData['APPLICATION'].'&DEL_INDEX='.$aData['INDEX'].'&action=draft';
|
||||
$_SESSION ['BREAKSTEP'] ['NEXT_STEP'] = $aNextStep;
|
||||
|
||||
G::header('Location: ' . $aNextStep['PAGE']);
|
||||
}
|
||||
}
|
||||
5150
workflow/engine/skinEngine/simplified/baseCss/ext-all-notheme.css
Executable file
6789
workflow/engine/skinEngine/simplified/baseCss/ext-all.css
Executable file
18
workflow/engine/skinEngine/simplified/config.xml
Executable file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<skinConfiguration>
|
||||
<information>
|
||||
<id>00000000000000000000000000000002</id>
|
||||
<name>Symplified</name>
|
||||
<description>Symplified skin</description>
|
||||
<author>Erik Amaru Ortiz</author>
|
||||
<version>1.0</version>
|
||||
<createDate>2012-01-17</createDate>
|
||||
<modifiedDate>2012-01-17</modifiedDate>
|
||||
</information>
|
||||
<cssFiles>
|
||||
<skin>
|
||||
<cssFile file="style.css" enabledBrowsers="ALL" disabledBrowsers=""></cssFile>
|
||||
<cssFile file="topbar.css" enabledBrowsers="ALL" disabledBrowsers=""></cssFile>
|
||||
</skin>
|
||||
</cssFiles>
|
||||
</skinConfiguration>
|
||||
265
workflow/engine/skinEngine/simplified/css/style.css
Normal file
@@ -0,0 +1,265 @@
|
||||
/**
|
||||
* Main simplified skin styles
|
||||
* @author Erik Amaru Ortiz <erik@colosa.com>
|
||||
*/
|
||||
|
||||
body {
|
||||
margin : 0px;
|
||||
color : #808080;
|
||||
font : normal 8em sans-serif,Tahoma,MiscFixed;
|
||||
background-color: #ECECEC;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
color: #1F98C7;
|
||||
font-weight: bold;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
pre {
|
||||
font: normal 12px Georgia, "Times New Roman", Times, serif;
|
||||
}
|
||||
|
||||
|
||||
.global-nav {
|
||||
position : fixed;
|
||||
left : 0px;
|
||||
top : 0px;
|
||||
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
background-color: #252525;
|
||||
background-position: 0 0;
|
||||
|
||||
/* background-image: url("/images/twitter_web_sprite_bgs.png");
|
||||
background-repeat: repeat-x;*/
|
||||
|
||||
|
||||
/*background-color: #00A0D1;
|
||||
background-image: -moz-linear-gradient(#00A0D1, #008DB8); */
|
||||
|
||||
bottom: 0;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 -1px 0 rgba(0, 0, 0, 0.1) inset;
|
||||
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
|
||||
.bar-nav {
|
||||
width: 100%;
|
||||
height: 41px;
|
||||
}
|
||||
|
||||
|
||||
.global-nav-table {
|
||||
color: #fff;
|
||||
/*padding: 5px 5px;*/
|
||||
}
|
||||
|
||||
.global-nav-table-right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
iframe {
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
iframe::-webkit-scrollbar {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.tooltip {
|
||||
display:none;
|
||||
-webkit-border-bottom-left-radius: 5px;
|
||||
-webkit-border-bottom-right-radius: 5px;
|
||||
-moz-border-radius: 0 0 5px 5px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
|
||||
-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.6);
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,0.6);
|
||||
font-size:12px;
|
||||
height:70px;
|
||||
width:160px;
|
||||
padding:25px;
|
||||
color:red;
|
||||
}
|
||||
|
||||
|
||||
/* index2*/
|
||||
/* number style */
|
||||
#commentlist {
|
||||
margin: 10px 0 40px;
|
||||
padding: 5;
|
||||
text-align: left;
|
||||
}
|
||||
#commentlist li {
|
||||
padding: 10px 0 20px;
|
||||
list-style: none;
|
||||
border-top: solid 1px #ccc;
|
||||
position: relative;
|
||||
}
|
||||
#commentlist cite {
|
||||
font: bold 140%/110% Arial, Helvetica, sans-serif;
|
||||
color: #666;
|
||||
}
|
||||
#commentlist .time {
|
||||
color: #ccc;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
#commentlist .commentnumber {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 8px;
|
||||
font: normal 200%/100% Georgia, "Times New Roman", Times, serif;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#commentlist .notes-link {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 38px;
|
||||
font: normal 200%/100% Georgia, "Times New Roman", Times, serif;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
|
||||
.list-highlight{
|
||||
background-color: #e8edf3;
|
||||
}
|
||||
|
||||
|
||||
.content-header {
|
||||
background-color: #FFFFFF;
|
||||
border-bottom: 1px solid #E8E8E8;
|
||||
border-radius: 5px 5px 0 0;
|
||||
min-height: 20px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
|
||||
.appMessages {
|
||||
display: none;
|
||||
background-color: #EBFFFF;
|
||||
padding: 6px 6px 6px 6px;
|
||||
-webkit-border-bottom-left-radius: 5px;
|
||||
-webkit-border-bottom-right-radius: 5px;
|
||||
-moz-border-radius: 0 0 5px 5px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
|
||||
.appMessage {
|
||||
border-top: 1px solid #DCDCDC;
|
||||
border-radius: 2px 2px 2px 2px;
|
||||
margin: 2px 2px 2px 2px;
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
.appMessageDate {
|
||||
font-size: 1p1x;
|
||||
margin: 10px 0px 0px 0px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Confirm ui popup window styles
|
||||
*/
|
||||
|
||||
#confirmOverlay{
|
||||
width:100%;
|
||||
height:100%;
|
||||
position:fixed;
|
||||
top:0;
|
||||
left:0;
|
||||
background:url('/images/simplified/ie.png');
|
||||
background: -moz-linear-gradient(rgba(11,11,11,0.1), rgba(11,11,11,0.6)) repeat-x rgba(11,11,11,0.2);
|
||||
background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(11,11,11,0.1)), to(rgba(11,11,11,0.6))) repeat-x rgba(11,11,11,0.2);
|
||||
z-index:100000;
|
||||
}
|
||||
|
||||
#confirmBox{
|
||||
background:url('/images/simplified/body_bg.jpg') repeat-x left bottom #e5e5e5;
|
||||
width: 400px;
|
||||
position:fixed;
|
||||
left:50%;
|
||||
top:50%;
|
||||
margin:-130px 0 0 -230px;
|
||||
border: 1px solid rgba(33, 33, 33, 0.6);
|
||||
|
||||
-moz-box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
|
||||
-webkit-box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
|
||||
box-shadow: 0 0 2px rgba(255, 255, 255, 0.6) inset;
|
||||
}
|
||||
|
||||
#confirmBox h1,
|
||||
#confirmBox p{
|
||||
font: 20px/1 'Cuprum','Lucida Sans Unicode', 'Lucida Grande', sans-serif;
|
||||
background:url('/images/simplified/header_bg.jpg') repeat-x left bottom #f5f5f5;
|
||||
padding: 12px 15px;
|
||||
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
|
||||
color:#666;
|
||||
}
|
||||
|
||||
#confirmBox h1{
|
||||
letter-spacing:0.3px;
|
||||
color:#888;
|
||||
}
|
||||
|
||||
#confirmBox p{
|
||||
background:none;
|
||||
font-size:16px;
|
||||
line-height:1.4;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#confirmButtons{
|
||||
padding:15px 0 25px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
#confirmBox .button{
|
||||
display:inline-block;
|
||||
background:url('/images/simplified/buttons.png') no-repeat;
|
||||
color:white;
|
||||
position:relative;
|
||||
height: 33px;
|
||||
|
||||
font:17px/33px 'Cuprum','Lucida Sans Unicode', 'Lucida Grande', sans-serif;
|
||||
|
||||
margin-right: 15px;
|
||||
padding: 0 35px 0 40px;
|
||||
text-decoration:none;
|
||||
border:none;
|
||||
}
|
||||
|
||||
#confirmBox .button:last-child{ margin-right:0;}
|
||||
|
||||
#confirmBox .button span{
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:-5px;
|
||||
background:url('buttons.png') no-repeat;
|
||||
width:5px;
|
||||
height:33px
|
||||
}
|
||||
|
||||
#confirmBox .blue{ background-position:left top;text-shadow:1px 1px 0 #5889a2;}
|
||||
#confirmBox .blue span{ background-position:-195px 0;}
|
||||
#confirmBox .blue:hover{ background-position:left bottom;}
|
||||
#confirmBox .blue:hover span{ background-position:-195px bottom;}
|
||||
|
||||
#confirmBox .gray{ background-position:-200px top;text-shadow:1px 1px 0 #707070;}
|
||||
#confirmBox .gray span{ background-position:-395px 0;}
|
||||
#confirmBox .gray:hover{ background-position:-200px bottom;}
|
||||
#confirmBox .gray:hover span{ background-position:-395px bottom;}
|
||||
1228
workflow/engine/skinEngine/simplified/css/topbar.css
Normal file
70
workflow/engine/skinEngine/simplified/extJsInitLoad.html
Executable file
@@ -0,0 +1,70 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{header}
|
||||
<style>
|
||||
#loading-mask{
|
||||
position:absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:20000;
|
||||
background-color:white;
|
||||
}
|
||||
#loading{
|
||||
position:absolute;
|
||||
left:40%;
|
||||
top:37%;
|
||||
padding:2px;
|
||||
z-index:20001;
|
||||
height:auto;
|
||||
}
|
||||
#loading a {
|
||||
color:#225588;
|
||||
}
|
||||
#loading .loading-indicator{
|
||||
background:white;
|
||||
color:#444;
|
||||
font:bold 13px tahoma,arial,helvetica;
|
||||
padding:10px;
|
||||
margin:0;
|
||||
height:auto;
|
||||
}
|
||||
#loading-msg {
|
||||
font: bold 11px arial,tahoma,sans-serif;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="loading-mask" style=""></div>
|
||||
<div id="loading">
|
||||
<div class="loading-indicator">
|
||||
<center>
|
||||
<img src="/images/gears.gif"/><br />
|
||||
<span id="loading-msg">Loading styles and images...</span><br />
|
||||
<a href="http://www.processmaker.com">
|
||||
<img src="/images/processmaker.logo.jpg" border="0"/>
|
||||
</a>
|
||||
</center>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading Core API...';</script>
|
||||
<script type='text/javascript' src='/js/ext/ext-base.js'></script>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading UI Components...';</script>
|
||||
<script type='text/javascript' src='/js/ext/ext-all.js'></script>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Loading UI Extensions';</script>
|
||||
<!--
|
||||
<script type='text/javascript' src='/js/ext/wz_jsgraphics.js'></script>
|
||||
<script type='text/javascript' src='/js/ext/mootools.js'></script>
|
||||
<script type='text/javascript' src='/js/ext/moocanvas.js'></script>
|
||||
!-->
|
||||
<script type='text/javascript' src='/js/ext/draw2d.js'></script>
|
||||
<script type="text/javascript">document.getElementById('loading-msg').innerHTML = 'Initializing...';</script>
|
||||
{styles}
|
||||
|
||||
{bodyTemplate}
|
||||
</body>
|
||||
</html>
|
||||
24
workflow/engine/skinEngine/simplified/layout-blank.html
Executable file
@@ -0,0 +1,24 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
|
||||
</head>
|
||||
<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#999999" marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" rightmargin="0">
|
||||
<table width="100%" cellspacing="0" cellpadding="0" height="100%">
|
||||
|
||||
<tr>
|
||||
<td width="100%" valign="top">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '')
|
||||
{
|
||||
G::LoadTemplate($G_TEMPLATE);
|
||||
}
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
10
workflow/engine/skinEngine/simplified/layout-extjs.html
Executable file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{header}
|
||||
</head>
|
||||
<body>
|
||||
{bodyTemplate}
|
||||
</body>
|
||||
</html>
|
||||
16
workflow/engine/skinEngine/simplified/layout-raw.html
Executable file
@@ -0,0 +1,16 @@
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
<script type="text/javascript">
|
||||
{$header}
|
||||
</script>
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '')
|
||||
{
|
||||
G::LoadTemplate($G_TEMPLATE);
|
||||
}
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
44
workflow/engine/skinEngine/simplified/layout-submenu.html
Executable file
@@ -0,0 +1,44 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
|
||||
{if (count($subMenus)>0) }
|
||||
<tr>
|
||||
<td >
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td width="100%" class="mainMenuBG">{include file= "$tpl_submenu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr><td id="pm_separator" class="pm_separator"></td></tr>
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="100%">
|
||||
<td height="100%" valign="bottom">
|
||||
<div class="Footer">
|
||||
<div class="content">{$footer}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
63
workflow/engine/skinEngine/simplified/layout-tracker.html
Executable file
@@ -0,0 +1,63 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td id="pm_header" valign="top">
|
||||
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td width="50%" rowspan="2" valign="top"><img src="{$logo_company}"></td>
|
||||
<td width="50%" height="16" align="right" valign="top">
|
||||
<div align="right" class="logout"><small>{php}if ((int)$_SESSION['CASE'] != 0) {{/php}<a href="../tracker/login" class="tableOption">{php}echo G::LoadTranslation('ID_LOGOUT');{/php}</a>{php}}{/php}</small> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" height="16" valign="bottom" class="title">
|
||||
<div align="right"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
<tr>
|
||||
<td width="100%" align="left" class="mainMenu" id="pm_menu">
|
||||
<table width="70%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td class="mainMenu"> <td>{include file= "$tpl_menu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="100%" align="left" class="subMenu" id="pm_submenu">
|
||||
<table width="50%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td> <td>{include file= "$tpl_submenu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td id="pm_separator" class="pm_separator"></td></tr>
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="100%">
|
||||
<td height="100%" valign="bottom">
|
||||
<div class="Footer">
|
||||
<div class="content">{$footer}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
74
workflow/engine/skinEngine/simplified/layout.html
Normal file
@@ -0,0 +1,74 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
{$header}
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" id="pm_main_table">
|
||||
<tr>
|
||||
<td id="pm_header" valign="top">
|
||||
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
||||
<tr>
|
||||
<td width="50%" rowspan="2" valign="center"><img src="{$logo_company}"/></td>
|
||||
<td width="50%" height="16" align="right" valign="top">
|
||||
<div align="right" class="logout">
|
||||
<small>
|
||||
{php}if ((int)$_SESSION['USER_LOGGED'] != 0) {{/php}
|
||||
{$msgVer}<label class="textBlue">{$userfullname} <a href="../users/myInfo">{$user}</a> | </label>
|
||||
<a href="{$linklogout}" class="tableOption">{$logout}</a> <br/>
|
||||
<label class="textBlack"><b>{$rolename}</b> {$workspace_label} <b><u>{$workspace}</u></b> <br/>
|
||||
{$udate}</label>
|
||||
{php}}{/php}
|
||||
</small>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="50%" height="16" valign="bottom" class="title">
|
||||
<div align="right"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" >
|
||||
<tr>
|
||||
<td width="100%" class="mainMenuBG" style="height:25px">
|
||||
{include file="$tpl_menu"}
|
||||
</td>
|
||||
</tr>
|
||||
{if (count($subMenus)>0) }
|
||||
<tr>
|
||||
<td >
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr><td width="100%" class="mainMenuBG">{include file= "$tpl_submenu"}</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td width="100%" align="center">
|
||||
{php}
|
||||
global $G_TEMPLATE;
|
||||
if ($G_TEMPLATE != '') G::LoadTemplate($G_TEMPLATE);
|
||||
{/php}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="100%">
|
||||
<td height="100%">
|
||||
<div class="Footer">
|
||||
<div class="content">{$footer}</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,24 +3,38 @@
|
||||
global $G_SKIN;
|
||||
global $G_SKIN_MAIN;
|
||||
|
||||
if((!isset($G_SKIN))||($G_SKIN=="")){
|
||||
$forceTemplateCompile = true;
|
||||
$skinVariants = array('blank','extjs','raw','tracker','submenu');
|
||||
|
||||
// setting default skin
|
||||
if (!isset($G_SKIN) || $G_SKIN == "") {
|
||||
$G_SKIN = "classic";
|
||||
}
|
||||
if($G_SKIN=="green-submenu") $G_SKIN = "submenu";
|
||||
$skinVariants=array('blank','extjs','raw','tracker','submenu');
|
||||
$forceTemplateCompile=true;
|
||||
|
||||
// deprecated submenu type ""green-submenu"" now is mapped to "submenu"
|
||||
if ($G_SKIN == "green-submenu") {
|
||||
$G_SKIN = "submenu";
|
||||
}
|
||||
|
||||
if (!(in_array(strtolower($G_SKIN), $skinVariants))) {
|
||||
//Only save in session the main SKIN
|
||||
$forceTemplateCompile = true;
|
||||
if((isset($_SESSION['currentSkin']))&&($_SESSION['currentSkin']!=$G_SKIN)){
|
||||
|
||||
if (isset($_SESSION['currentSkin']) && $_SESSION['currentSkin'] != $G_SKIN) {
|
||||
$forceTemplateCompile = true;
|
||||
}
|
||||
$_SESSION['currentSkin']=$G_SKIN;
|
||||
|
||||
}else{
|
||||
$_SESSION['currentSkin']=$G_SKIN;
|
||||
}
|
||||
else {
|
||||
$_SESSION['currentSkinVariant']=$G_SKIN;
|
||||
}
|
||||
if(!(isset($_SESSION['currentSkin']))) $_SESSION['currentSkin'] = "classic";
|
||||
|
||||
// setting default skin
|
||||
if (!isset($_SESSION['currentSkin'])){
|
||||
$_SESSION['currentSkin'] = "classic";
|
||||
}
|
||||
|
||||
$G_SKIN_MAIN = $_SESSION['currentSkin'];
|
||||
|
||||
//Set defaults "classic"
|
||||
@@ -40,6 +54,7 @@ if(strtolower($G_SKIN_MAIN)!="classic"){
|
||||
$skinObject=PATH_CUSTOM_SKINS.$G_SKIN_MAIN;
|
||||
$sw_config=file_exists ($skinObject.PATH_SEP.'config.xml');
|
||||
$sw_layout=file_exists ($skinObject.PATH_SEP.'layout.html');
|
||||
|
||||
if ($sw_config && $sw_layout ) {
|
||||
$configurationFile = $skinObject.PATH_SEP.'config.xml';
|
||||
$layoutFile = $skinObject.PATH_SEP.'layout.html';
|
||||
@@ -59,12 +74,13 @@ if(strtolower($G_SKIN_MAIN)!="classic"){
|
||||
$layoutFileSubmenu = $skinObject.PATH_SEP.'layout-submenu.html';
|
||||
}
|
||||
|
||||
}else{
|
||||
}
|
||||
else{
|
||||
//define a error message.. but continue and show a smooth message
|
||||
$G_SKIN_MAIN="classic";
|
||||
|
||||
}
|
||||
}else{
|
||||
}
|
||||
else{
|
||||
//Skin doesn't exist
|
||||
$G_SKIN_MAIN="classic";
|
||||
}
|
||||
@@ -79,14 +95,12 @@ $layoutFileRaw = pathInfo($layoutFileRaw);
|
||||
$layoutFileSubmenu = pathInfo($layoutFileSubmenu);
|
||||
|
||||
$cssFileName = $G_SKIN_MAIN;
|
||||
if(($G_SKIN!=$G_SKIN_MAIN)&&(in_array(strtolower($G_SKIN), $skinVariants))){
|
||||
|
||||
if ($G_SKIN != $G_SKIN_MAIN && in_array(strtolower($G_SKIN), $skinVariants)) {
|
||||
$cssFileName .= "-" . $G_SKIN;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (isset($_GET['debug'])) {
|
||||
//if(true){
|
||||
//Render
|
||||
print "Requested Skin: $G_SKIN<br />";
|
||||
print "Main Skin: ".$G_SKIN_MAIN;
|
||||
@@ -357,6 +371,37 @@ if (isset($G_ENABLE_BLANK_SKIN) && $G_ENABLE_BLANK_SKIN) {
|
||||
$smarty->display($layoutFileTracker['basename']);
|
||||
}
|
||||
break;
|
||||
|
||||
case "mvc": // mvc
|
||||
G::LoadClass('serverConfiguration');
|
||||
$oServerConf =& serverConf::getSingleton();
|
||||
$oHeadPublisher =& headPublisher::getSingleton();
|
||||
|
||||
require_once(PATH_THIRDPARTY . 'smarty/libs/Smarty.class.php');
|
||||
$smarty = new Smarty();
|
||||
|
||||
$smarty->template_dir = PATH_SKINS;
|
||||
$smarty->compile_dir = PATH_SMARTY_C;
|
||||
$smarty->cache_dir = PATH_SMARTY_CACHE;
|
||||
$smarty->config_dir = PATH_THIRDPARTY . 'smarty/configs';
|
||||
|
||||
$viewFile = $oHeadPublisher->getContent();
|
||||
$viewVars = $oHeadPublisher->getVars();
|
||||
|
||||
if (strpos($viewFile, '.') === false) {
|
||||
$viewFile .= '.html';
|
||||
}
|
||||
|
||||
foreach ($viewVars as $key => $value) {
|
||||
$smarty->assign($key, $value);
|
||||
}
|
||||
|
||||
if (defined('DEBUG') && DEBUG ) {
|
||||
$smarty->force_compile = true;
|
||||
}
|
||||
|
||||
$smarty->display(PATH_TPL . $viewFile);
|
||||
break;
|
||||
default://Render a common page
|
||||
if (! defined('DB_SYSTEM_INFORMATION'))
|
||||
define('DB_SYSTEM_INFORMATION', 1);
|
||||
|
||||
165
workflow/engine/templates/home/index.html
Normal file
@@ -0,0 +1,165 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||
|
||||
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
|
||||
<link rel="stylesheet" href="/js/jquery/css/esmothness/jquery-ui-1.8.17.custom.css" type="text/css">
|
||||
<link rel="stylesheet" href="/css/simplified.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script type="text/javascript" src="/js/jquery/jquery-1.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery/jquery-ui-1.8.17.min.js"></script>
|
||||
<script type="text/javascript" src="/js/jquery/jquery.confirm.js"></script>
|
||||
|
||||
{literal}
|
||||
<style>
|
||||
body {
|
||||
padding-top: 40px !important;
|
||||
overflow:hidden;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
|
||||
function resize()
|
||||
{
|
||||
var h = $(window).height() - 42;
|
||||
$('iframe').height(h)
|
||||
}
|
||||
|
||||
function redirect(url)
|
||||
{
|
||||
var $iframe = $('#iframex');
|
||||
$iframe.attr('src', url);
|
||||
return false;
|
||||
}
|
||||
|
||||
function appStart(id, title)
|
||||
{
|
||||
$.confirm({
|
||||
'title' : 'Start Case Confirmation',
|
||||
'message' : 'Do you wanna start a new case for:<br /> * <b>"'+title+'"</b>?',
|
||||
'buttons' : {
|
||||
'Yes' : {
|
||||
'class' : 'blue',
|
||||
'action': function(){
|
||||
//elem.slideUp();
|
||||
redirect('home/startCase?id='+id);
|
||||
}
|
||||
},
|
||||
'No' : {
|
||||
'class' : 'gray',
|
||||
'action': function(){} // Nothing to do in this case. You can as well omit the action property.
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
</head>
|
||||
<body onload="resize()" onresize="resize()" >
|
||||
<div class="global-nav">
|
||||
<!-- start topbar -->
|
||||
<div class="topbar" id="corpBar">
|
||||
<div class="topbar-bg"></div>
|
||||
<div class="topbar-inner">
|
||||
<div class="fixed-container clearfix">
|
||||
<!-- <a href="" title="_title / Home" accesskey="1" id="logo">_title</a> -->
|
||||
|
||||
<ul class="nav primary-nav">
|
||||
<li class="account">
|
||||
<a class="menu user-actions" href="#" onclick="redirect('home/init?t=in')" title="My Inbox">
|
||||
<img alt="A99679add21e8b0704ea5f0fb569572c_mini" src="/images/simplified/in-set-grey.png" />
|
||||
<!-- <span class="menu-label screen-name">new cases</span> -->
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="account">
|
||||
<a class="menu user-actions" href="#" onclick="redirect('home/init?t=draft')" title="My Drafts">
|
||||
<img alt="A99679add21e8b0704ea5f0fb569572c_mini" src="/images/simplified/folder-grey.png" />
|
||||
<!-- <span class="menu-label screen-name">new cases</span> -->
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="account">
|
||||
<a class="menu user-actions" href="#">
|
||||
<img alt="A99679add21e8b0704ea5f0fb569572c_mini" src="/images/simplified/plus-set-grey.png" title="Start a new Application"/>
|
||||
<!-- <span class="menu-label screen-name">new cases</span> -->
|
||||
</a>
|
||||
|
||||
<ul class="menu-dropdown" style="width: 360px">
|
||||
{foreach from=$processList key=id item=proc}
|
||||
<li>
|
||||
<a href="#" onclick="appStart('{$proc.uid}', '{$proc.value}')" accesskey="s" id="settings_link">{$proc.value}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<ul class="nav secondary-nav">
|
||||
<li class="account">
|
||||
<a class="menu user-photo" href="#">
|
||||
<img alt="user_avatar_mini" height="24" src="users/users_ViewPhotoGrid?pUID={$usrUid}" width="24" />
|
||||
<span class="menu-label screen-name">{$userName}</span>
|
||||
</a>
|
||||
|
||||
<ul class="menu-dropdown">
|
||||
<!--<li><a href="#" accesskey="s" id="settings_link">Settings</a></li>
|
||||
<li><a href="#" accesskey="?" id="help_link">Help</a></li>-->
|
||||
|
||||
<li><a href="login/login" accesskey="l" id="sign_out_link">Sign out</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div> <!-- /fixed-container -->
|
||||
</div> <!-- /topbar-inner -->
|
||||
</div>
|
||||
<!-- end topbar -->
|
||||
</div>
|
||||
|
||||
<iframe id="iframex" name="iframex" src="home/init" width="100%" height="200" scrolling="yes" frameborder="0"></iframe>
|
||||
|
||||
|
||||
{literal}
|
||||
<script type="text/javascript">
|
||||
// Javascript to toggle the dropdowns
|
||||
$(document).ready(function(){
|
||||
// Dropdowns
|
||||
$("body").bind("click", function(e) {
|
||||
$("ul.menu-dropdown").hide();
|
||||
$('a.menu').parent("li").removeClass("open").children("ul.menu-dropdown").hide();
|
||||
});
|
||||
|
||||
$("a.menu").click(function() {
|
||||
if ($(this).parent("li").hasClass("open")) {
|
||||
$(this).parent("li").removeClass("open");
|
||||
$(this).siblings("ul.menu-dropdown").hide();
|
||||
} else {
|
||||
$(this).parent("li").addClass("open");
|
||||
$(this).siblings("ul.menu-dropdown").show();
|
||||
}
|
||||
$(this).parent("li").siblings("li").children("ul.menu-dropdown").hide();
|
||||
$(this).parent("li").siblings("li").removeClass("open");
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
// To hide some actived menu clicking on inner iframe content
|
||||
$('iframe').load(function(){
|
||||
var iframeDoc = $('iframe').contents().get(0);
|
||||
// Bind event to iframe document
|
||||
$(iframeDoc).bind('click', function( event ) {
|
||||
$("ul.menu-dropdown").hide();
|
||||
$('a.menu').parent("li").removeClass("open").children("ul.menu-dropdown").hide();
|
||||
});
|
||||
|
||||
})
|
||||
});
|
||||
</script>
|
||||
{/literal}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
106
workflow/engine/templates/home/index2.html
Normal file
@@ -0,0 +1,106 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />
|
||||
<link rel="stylesheet" href="/css/simplified.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<script type="text/javascript" src="/js/jquery/jquery-1.7.1.min.js"></script>
|
||||
|
||||
{literal}
|
||||
<style>
|
||||
body {
|
||||
/*width: 500px;*/
|
||||
margin: 10px auto;
|
||||
/*color: #999;*/
|
||||
font: 90%/150% Arial, Helvetica, sans-serif;
|
||||
/*margin : 0px;*/
|
||||
color : #808080;
|
||||
/*font : normal 8pt sans-serif,Tahoma,MiscFixed;*/
|
||||
background-color:#ECECEC;
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
function resize()
|
||||
{
|
||||
var h = $(document.body).height() - 52;
|
||||
var w = $(document.body).width();
|
||||
if (w > 600) {
|
||||
w = 600;
|
||||
}
|
||||
|
||||
$('.content-header').width(w-50);
|
||||
}
|
||||
|
||||
function showNt(appNum)
|
||||
{
|
||||
var d = $('#m_'+appNum);
|
||||
|
||||
if (d.css('display') == 'block') {
|
||||
d.hide('slow');
|
||||
}
|
||||
else {
|
||||
d.show('slow');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
</head>
|
||||
|
||||
<body onload="resize()" onresize="resize()" >
|
||||
<center>
|
||||
<div class="content-header" style="text-align:left">
|
||||
<h1 style="padding: 10px">{$title}</h1>
|
||||
<ul id="commentlist">
|
||||
{foreach from=$cases key=id item=APP}
|
||||
<li>
|
||||
<!-- <span class="messages-link"></span> -->
|
||||
<span class="commentnumber">
|
||||
#{$APP.APP_NUMBER}
|
||||
</span>
|
||||
|
||||
{if $APP.NOTES_COUNT neq 0}
|
||||
<span class="notes-link">
|
||||
<a href="#" onclick="showNt('{$APP.APP_NUMBER}'); return false;"><img src="/images/simplified/messages-grey.png" height="20" width="20"></a>
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
<p>
|
||||
<cite>
|
||||
<a href="../cases/cases_Open?APP_UID={$APP.APP_UID}&DEL_INDEX={$APP.DEL_INDEX}&action=todo">{$APP.APP_TITLE}</a>
|
||||
</cite>
|
||||
</p>
|
||||
<p class="time">{$APP.DEL_DELEGATE_DATE}<!-- February 8th, 2009 at 5:38 am --></p>
|
||||
<p>{$APP.APP_PRO_TITLE}
|
||||
<br/>{$APP.APP_TAS_TITLE}</p>
|
||||
|
||||
<div id="m_{$APP.APP_NUMBER}" class="appMessages">
|
||||
{if $APP.NOTES_COUNT neq 0}
|
||||
{foreach from=$APP.NOTES_LIST key=k item=NOTE}
|
||||
<div class="appMessage">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<td width="50" valign="top">
|
||||
<img border="0" src="../users/users_ViewPhotoGrid?pUID={$NOTE.USR_UID}" width="40" height="40"/>
|
||||
</td>
|
||||
<td>
|
||||
<h3>{$NOTE.USR_FIRSTNAME} {$NOTE.USR_LASTNAME} ({$NOTE.USR_USERNAME})</h3>
|
||||
<p><pre>{$NOTE.NOTE_CONTENT}</pre>
|
||||
|
||||
<div class="appMessageDate">Posted at {$NOTE.NOTE_DATE}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
BIN
workflow/public_html/images/simplified/body_bg.jpg
Normal file
|
After Width: | Height: | Size: 602 B |
BIN
workflow/public_html/images/simplified/buttons.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
workflow/public_html/images/simplified/folder-grey.png
Normal file
|
After Width: | Height: | Size: 561 B |
BIN
workflow/public_html/images/simplified/header_bg.jpg
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
workflow/public_html/images/simplified/ie.png
Normal file
|
After Width: | Height: | Size: 121 B |
BIN
workflow/public_html/images/simplified/in-set-grey.png
Normal file
|
After Width: | Height: | Size: 824 B |
BIN
workflow/public_html/images/simplified/messages-grey.png
Normal file
|
After Width: | Height: | Size: 757 B |
BIN
workflow/public_html/images/simplified/plus-set-grey.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |