examples in stupid.css
This commit is contained in:
1 parent
bcc4ae2ec6
commit
db223dc70a
19 files changed
+170
-877
No files matched your search
@@ -1,9 +0,0 @@
|
|||||||
/*!
|
|
||||||
* Bootstrap Responsive v2.3.2
|
|
||||||
*
|
|
||||||
* Copyright 2013 Twitter, Inc
|
|
||||||
* Licensed under the Apache License v2.0
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Designed and built with all the love in the world by @mdo and @fat.
|
|
||||||
*/.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@-ms-viewport{width:device-width}.hidden{display:none;visibility:hidden}.visible-phone{display:none!important}.visible-tablet{display:none!important}.hidden-desktop{display:none!important}.visible-desktop{display:inherit!important}@media(min-width:768px) and (max-width:979px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-tablet{display:inherit!important}.hidden-tablet{display:none!important}}@media(max-width:767px){.hidden-desktop{display:inherit!important}.visible-desktop{display:none!important}.visible-phone{display:inherit!important}.hidden-phone{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:inherit!important}.hidden-print{display:none!important}}@media(min-width:1200px){.row{margin-left:-30px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:30px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px}.span12{width:1170px}.span11{width:1070px}.span10{width:970px}.span9{width:870px}.span8{width:770px}.span7{width:670px}.span6{width:570px}.span5{width:470px}.span4{width:370px}.span3{width:270px}.span2{width:170px}.span1{width:70px}.offset12{margin-left:1230px}.offset11{margin-left:1130px}.offset10{margin-left:1030px}.offset9{margin-left:930px}.offset8{margin-left:830px}.offset7{margin-left:730px}.offset6{margin-left:630px}.offset5{margin-left:530px}.offset4{margin-left:430px}.offset3{margin-left:330px}.offset2{margin-left:230px}.offset1{margin-left:130px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.564102564102564%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.45299145299145%;*width:91.39979996362975%}.row-fluid .span10{width:82.90598290598291%;*width:82.8527914166212%}.row-fluid .span9{width:74.35897435897436%;*width:74.30578286961266%}.row-fluid .span8{width:65.81196581196582%;*width:65.75877432260411%}.row-fluid .span7{width:57.26495726495726%;*width:57.21176577559556%}.row-fluid .span6{width:48.717948717948715%;*width:48.664757228587014%}.row-fluid .span5{width:40.17094017094017%;*width:40.11774868157847%}.row-fluid .span4{width:31.623931623931625%;*width:31.570740134569924%}.row-fluid .span3{width:23.076923076923077%;*width:23.023731587561375%}.row-fluid .span2{width:14.52991452991453%;*width:14.476723040552828%}.row-fluid .span1{width:5.982905982905983%;*width:5.929714493544281%}.row-fluid .offset12{margin-left:105.12820512820512%;*margin-left:105.02182214948171%}.row-fluid .offset12:first-child{margin-left:102.56410256410257%;*margin-left:102.45771958537915%}.row-fluid .offset11{margin-left:96.58119658119658%;*margin-left:96.47481360247316%}.row-fluid .offset11:first-child{margin-left:94.01709401709402%;*margin-left:93.91071103837061%}.row-fluid .offset10{margin-left:88.03418803418803%;*margin-left:87.92780505546462%}.row-fluid .offset10:first-child{margin-left:85.47008547008548%;*margin-left:85.36370249136206%}.row-fluid .offset9{margin-left:79.48717948717949%;*margin-left:79.38079650845607%}.row-fluid .offset9:first-child{margin-left:76.92307692307693%;*margin-left:76.81669394435352%}.row-fluid .offset8{margin-left:70.94017094017094%;*margin-left:70.83378796144753%}.row-fluid .offset8:first-child{margin-left:68.37606837606839%;*margin-left:68.26968539734497%}.row-fluid .offset7{margin-left:62.393162393162385%;*margin-left:62.28677941443899%}.row-fluid .offset7:first-child{margin-left:59.82905982905982%;*margin-left:59.72267685033642%}.row-fluid .offset6{margin-left:53.84615384615384%;*margin-left:53.739770867430444%}.row-fluid .offset6:first-child{margin-left:51.28205128205128%;*margin-left:51.175668303327875%}.row-fluid .offset5{margin-left:45.299145299145295%;*margin-left:45.1927623204219%}.row-fluid .offset5:first-child{margin-left:42.73504273504273%;*margin-left:42.62865975631933%}.row-fluid .offset4{margin-left:36.75213675213675%;*margin-left:36.645753773413354%}.row-fluid .offset4:first-child{margin-left:34.18803418803419%;*margin-left:34.081651209310785%}.row-fluid .offset3{margin-left:28.205128205128204%;*margin-left:28.09874522640Line truncated
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
/*!
|
|
||||||
* Bootstrap v2.3.2
|
|
||||||
*
|
|
||||||
* Copyright 2013 Twitter, Inc
|
|
||||||
* Licensed under the Apache License v2.0
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Designed and built with all the love in the world by @mdo and @fat.
|
|
||||||
*/.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}a:hover,a:active{outline:0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{width:auto\9;height:auto;max-width:100%;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic}#map_canvas img,.google-maps img{max-width:none}button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle}button,input{*overflow:visible;line-height:normal}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}label,select,button,input[type="button"],input[type="reset"],input[type="submit"],input[type="radio"],input[type="checkbox"]{cursor:pointer}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}textarea{overflow:auto;vertical-align:top}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px;color:#333;background-color:#fff}a{color:#08c;text-decoration:none}a:hover,a:focus{color:#005580;text-decoration:underline}.img-rounded{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.1);-moz-box-shadow:0 1px 3px rgba(0,0,0,0.1);box-shadow:0 1px 3px rgba(0,0,0,0.1)}.img-circle{-webkit-border-radius:500px;-moz-border-radius:500px;border-radius:500px}.row{margin-left:-20px;*zoom:1}.row:before,.row:after{display:table;line-height:0;content:""}.row:after{clear:both}[class*="span"]{float:left;min-height:1px;margin-left:20px}.container,.navbar-static-top .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px}.span12{width:940px}.span11{width:860px}.span10{width:780px}.span9{width:700px}.span8{width:620px}.span7{width:540px}.span6{width:460px}.span5{width:380px}.span4{width:300px}.span3{width:220px}.span2{width:140px}.span1{width:60px}.offset12{margin-left:980px}.offset11{margin-left:900px}.offset10{margin-left:820px}.offset9{margin-left:740px}.offset8{margin-left:660px}.offset7{margin-left:580px}.offset6{margin-left:500px}.offset5{margin-left:420px}.offset4{margin-left:340px}.offset3{margin-left:260px}.offset2{margin-left:180px}.offset1{margin-left:100px}.row-fluid{width:100%;*zoom:1}.row-fluid:before,.row-fluid:after{display:table;line-height:0;content:""}.row-fluid:after{clear:both}.row-fluid [class*="span"]{display:block;float:left;width:100%;min-height:30px;margin-left:2.127659574468085%;*margin-left:2.074468085106383%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.row-fluid [class*="span"]:first-child{margin-left:0}.row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.127659574468085%}.row-fluid .span12{width:100%;*width:99.94680851063829%}.row-fluid .span11{width:91.48936170212765%;*width:91.43617021276594%}.row-fluid .span10{width:82.97872340425532%;*width:82.92553191489361%}.row-fluid .span9{width:74.46808510638297%;*width:74.41489361702126%}.row-fluid .span8{width:65.95744680851064%;*width:65.90425531914893%}.row-fluid .span7{width:57.44680851063829%;*width:57.39361702127659%}.row-fluid .span6{width:48.93617021276595%;*width:48.88297872340425%}.row-fluid .span5{width:40.42553191489362%;*width:40.37234042553192%}.row-fluid .span4{width:31.914893617021278%;*width:31.861702127659576%}.row-fluid .span3{width:23.404255319148934%;*width:23.351063829787233%}.row-fluid .span2{width:14.893617021276595%;*width:14.84042553Line truncated
|
|
||||||
@@ -1,7 +1,11 @@
|
|||||||
.calendar{z-index:99;position:relative;display:none;background:#fff;border:2px solid #000;font-size:11px;color:#000;cursor:default;font-family:Arial,Helvetica,sans-serif;
|
.calendar {z-index:2000;position:relative;margin-top:140px;display:none;background-color:white;border:1px solid #000;color:#000;cursor:default;box-shadow:0 0 10px #666}.calendar * {text-align: center;font-size:10px!important}
|
||||||
border-radius: 10px;
|
.calendar table {border-collapse:collapse}
|
||||||
-moz-border-radius: 10px;
|
.calendar tbody tr:hover {background-color:#fbf6d9}
|
||||||
-webkit-border-radius: 10px;
|
.calendar td, th {padding:5px; vertical-align:top; text-align:left; border:0}
|
||||||
}.calendar table{margin:0px;font-size:11px;color:#000;cursor:default;font-family:tahoma,verdana,sans-serif;}.calendar .button{text-align:center;padding:1px;color:#fff;background:#000;}.calendar .nav{background:#000;color:#fff}.calendar thead .title{font-weight:bold;padding:1px;background:#000;color:#fff;text-align:center;}.calendar thead .name{padding:2px;text-align:center;background:#bbb;}.calendar thead .weekend{color:#f00;}.calendar thead .hilite {background-color:#666;}.calendar thead .active{padding:2px 0 0 2px;background-color:#c4c0b8;}.calendar tbody .day{width:2em;text-align:right;padding:2px 4px 2px 2px;}.calendar tbody .day.othermonth{color:#aaa;}.calendar tbody .day.othermonth.oweekend{color:#faa;}.calendar table .wn{padding:2px 3px 2px 2px;background:#bbb;}.calendar tbody .rowhilite td{background:#ddd;}.calendar tbody td.hilite{background:#bbb;}.calendar tbody td.active{background:#bbb;}.calendar tbody td.selected{font-weight:bold;background:#ddd;}.calendar tbody td.weekend{color:#f00;}.calendar tbody td.today{font-weight:bold;color:#00f;}.calendar tbody .disabled{color:#999;}.calendar tbody .emptycell{visibility:hidden;}.calendar tbody .emptyrow{display:none;}.calendar tfoot .ttip{background:#bbb;padding:1px;background:#000;color:#fff;text-align:center;}.calendar tfoot .hilite{background:#ddd;}.calendar tfoot .active{}.calendar .combo{position:absolute;display:none;width:4em;top:0;left:0;cursor:default;background:#e4e0d8;padding:1px;z-index:100;}.calendar .combo .label,.calendar .combo .label-IEfix{text-align:center;padding:1px;}.calendar .combo .label-IEfix{width:4em;}.calendar .combo .active{background:#c4c0b8;}.calendar .combo .hilite{background:#048;color:#fea;}.calendar td.time{padding:1px 0;text-align:center;background-color:#bbb;}.calendar td.time .hour,.calendar td.time .minute,.calendar td.time .ampm{padding:0 3px 0 4px;font-weight:bold;}.calendar td.time .ampm{text-align:center;}.calendar td.time .colon{padding:0 2px 0 3px;font-weight:bold;}.calendar td.time span.hilite{}.calendar td.time span.active{border-color:#f00;background-color:#000;color:#0f0;}.hour,.minute{font-size:2em;}
|
.calendar thead tr {background-color:#f1f1f1}
|
||||||
|
.calendar tbody tr {border-bottom:2px solid #f1f1f1}
|
||||||
|
.calendar th {font-weight:string; padding:5px; vertical-align:bottom; text-align:left}
|
||||||
|
.calendar thead th {vertical-align:bottom}
|
||||||
|
.calendar tbody th {vertical-align:top}
|
||||||
|
|
||||||
#CP_hourcont{z-index:99;padding:0;position:absolute;border:1px dashed #666;background-color:#eee;display:none;}#CP_minutecont{z-index:99;background-color:#ddd;padding:1px;position:absolute;width:45px;display:none;}.floatleft{float:left;}.CP_hour{z-index:99;padding:1px;font-family:Arial,Helvetica,sans-serif;font-size:9px;white-space:nowrap;cursor:pointer;width:35px;}.CP_minute{z-index:99;padding:1px;font-family:Arial,Helvetica,sans-serif;font-size:9px;white-space:nowrap;cursor:pointer;width:auto;}.CP_over{background-color:#fff;z-index:99}
|
#CP_hourcont{z-index:2000;padding:0;position:absolute;border:1px dashed #666;background-color:#eee;display:none;}#CP_minutecont{z-index:2000;background-color:#ddd;padding:1px;position:absolute;width:45px;display:none;}.floatleft{float:left;}.CP_hour{z-index:2000;padding:1px;font-family:Arial,Helvetica,sans-serif;font-size:9px;white-space:nowrap;cursor:pointer;width:35px;}.CP_minute{z-index:2000;padding:1px;font-family:Arial,Helvetica,sans-serif;font-size:9px;white-space:nowrap;cursor:pointer;width:auto;}.CP_over{background-color:#fff;z-index:2000}
|
||||||
@@ -1,84 +1,17 @@
|
|||||||
/** these MUST stay **/
|
header a {color: white; font-size:1.1em}
|
||||||
a {text-decoration:none; white-space:nowrap}
|
main {min-height: 70vh}
|
||||||
a:hover {text-decoration:underline}
|
.form-group {padding-bottom: 10px !important;}
|
||||||
a.button {text-decoration:none}
|
.w2p_hidden {display:none;visibility:visible}
|
||||||
h1,h2,h3,h4,h5,h6 {margin:0.5em 0 0.25em 0; display:block;
|
|
||||||
font-family:Helvetica}
|
|
||||||
h1 {font-size:4.00em}
|
|
||||||
h2 {font-size:3.00em}
|
|
||||||
h3 {font-size:2.00em}
|
|
||||||
h4 {font-size:1.50em}
|
|
||||||
h5 {font-size:1.25em}
|
|
||||||
h6 {font-size:1.12em}
|
|
||||||
th,label {font-weight:bold; white-space:nowrap;}
|
|
||||||
td,th {text-align:left; padding:2px 5px 2px 5px}
|
|
||||||
th {vertical-align:middle; border-right:1px solid white}
|
|
||||||
td {vertical-align:top}
|
|
||||||
form table tr td label {text-align:left}
|
|
||||||
p,table,ol,ul {padding:0; margin: 0.75em 0}
|
|
||||||
p {text-align:justify}
|
|
||||||
ol, ul {list-style-position:outside; margin-left:2em}
|
|
||||||
li {margin-bottom:0.5em}
|
|
||||||
span,input,select,textarea,button,label,a {display:inline}
|
|
||||||
img {border:0}
|
|
||||||
blockquote,blockquote p,p blockquote {
|
|
||||||
font-style:italic; margin:0.5em 30px 0.5em 30px; font-size:0.9em}
|
|
||||||
i,em {font-style:italic}
|
|
||||||
strong {font-weight:bold}
|
|
||||||
small {font-size:0.8em}
|
|
||||||
code {font-family:Courier}
|
|
||||||
textarea {width:100%}
|
|
||||||
video {width:400px}
|
|
||||||
audio {width:200px}
|
|
||||||
[type="text"], [type="password"], select {
|
|
||||||
margin-right: 5px; width: 300px;
|
|
||||||
}
|
|
||||||
.hidden {display:none;visibility:visible}
|
|
||||||
.right {float:right; text-align:right}
|
.right {float:right; text-align:right}
|
||||||
.left {float:left; text-align:left}
|
.left {float:left; text-align:left}
|
||||||
.center {width:100%; text-align:center; vertical-align:middle}
|
.center {width:100%; text-align:center; vertical-align:middle}
|
||||||
/** end **/
|
|
||||||
|
|
||||||
/* Sticky footer begin */
|
|
||||||
|
|
||||||
.main {
|
|
||||||
padding:20px 0 50px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer,.push {
|
|
||||||
height:6em;
|
|
||||||
padding:1em 0;
|
|
||||||
clear:both;
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer-content {position:relative; bottom:-4em; width:100%}
|
|
||||||
|
|
||||||
.auth_navbar {
|
|
||||||
white-space:nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sticky footer end */
|
|
||||||
|
|
||||||
.footer {
|
|
||||||
border-top:1px #DEDEDE solid;
|
|
||||||
}
|
|
||||||
.header {
|
|
||||||
/* background:<fill here for header image>; */
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
fieldset {padding:16px; border-top:1px #DEDEDE solid}
|
|
||||||
fieldset legend {text-transform:uppercase; font-weight:bold; padding:4px 16px 4px 16px; background:#f1f1f1}
|
|
||||||
|
|
||||||
/* fix ie problem with menu */
|
|
||||||
|
|
||||||
td.w2p_fw {padding-bottom:1px}
|
td.w2p_fw {padding-bottom:1px}
|
||||||
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
||||||
td.w2p_fl {text-align:left}
|
td.w2p_fl {text-align:left}
|
||||||
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
||||||
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
||||||
div.w2p_export_menu {margin:5px 0}
|
div.w2p_export_menu {white-space: wrap; margin:5px 0}
|
||||||
div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}
|
div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; font-size:0.7em; color: black}
|
||||||
|
|
||||||
/* tr#submit_record__row {border-top:1px solid #E5E5E5} */
|
/* tr#submit_record__row {border-top:1px solid #E5E5E5} */
|
||||||
#submit_record__row td {padding-top:.5em}
|
#submit_record__row td {padding-top:.5em}
|
||||||
@@ -88,54 +21,30 @@ div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; pa
|
|||||||
#web2py_user_form td {vertical-align:top}
|
#web2py_user_form td {vertical-align:top}
|
||||||
|
|
||||||
/*********** web2py specific ***********/
|
/*********** web2py specific ***********/
|
||||||
div.flash {
|
div.w2p_flash {
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
display:none;
|
display:none;
|
||||||
position:fixed;
|
padding:20px 20px 20px 50px;
|
||||||
padding:10px;
|
width:100%;
|
||||||
top:48px;
|
|
||||||
right:250px;
|
|
||||||
min-width:280px;
|
|
||||||
opacity:0.95;
|
opacity:0.95;
|
||||||
margin:0px 0px 10px 10px;
|
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
color:#fff;
|
color:#000;
|
||||||
background-color:#000;
|
background-color:#ffdc00;
|
||||||
border:2px solid #fff;
|
|
||||||
border-radius:8px;
|
|
||||||
-o-border-radius: 8px;
|
|
||||||
-moz-border-radius:8px;
|
|
||||||
-webkit-border-radius:8px;
|
|
||||||
background-image: -webkit-linear-gradient(top,#222,#000);
|
|
||||||
background-image: -o-linear-gradient(top,#222,#000);
|
|
||||||
background-image: -moz-linear-gradient(90deg, #222, #000);
|
|
||||||
background-image: linear-gradient(top,#222,#000);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
|
||||||
z-index:2000;
|
z-index:2000;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.flash #closeflash{color:inherit; float:right; margin-left:15px;}
|
div.w2p_flash:before{content:"×";float:right; margin-right:100px; color:black;}
|
||||||
.ie-lte7 div.flash #closeflash
|
.ie-lte7 div.flash #closeflash
|
||||||
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}
|
||||||
|
|
||||||
div.flash:hover { opacity:0.25; }
|
div.w2p_flash:hover { opacity:0.80; }
|
||||||
|
|
||||||
div.error_wrapper {display:block}
|
div.error_wrapper {display:block}
|
||||||
div.error {
|
div.error {
|
||||||
width: 298px;
|
color:red;
|
||||||
background:red;
|
|
||||||
border: 2px solid #d00;
|
|
||||||
color:white;
|
|
||||||
padding:5px;
|
padding:5px;
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
background-image: -webkit-linear-gradient(left,#f00,#fdd);
|
|
||||||
background-image: -o-linear-gradient(left,#f00,#fdd);
|
|
||||||
background-image: -moz-linear-gradient(0deg, #f00, #fdd);
|
|
||||||
background-image: linear-gradient(left,#f00,#fdd);
|
|
||||||
background-repeat: repeat-y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbar {
|
.topbar {
|
||||||
@@ -190,34 +99,8 @@ div.error {
|
|||||||
*/
|
*/
|
||||||
/* .web2py_table {border:1px solid #ccc} */
|
/* .web2py_table {border:1px solid #ccc} */
|
||||||
.web2py_paginator {}
|
.web2py_paginator {}
|
||||||
.web2py_grid {width:100%}
|
|
||||||
.web2py_grid table {width:100%}
|
.web2py_grid table {width:100%}
|
||||||
.web2py_grid tbody td {padding:2px 5px 2px 5px; vertical-align: middle;}
|
.web2py_grid td {color: black;}
|
||||||
.web2py_grid .web2py_form td {vertical-align: top;}
|
|
||||||
|
|
||||||
.web2py_grid thead th,.web2py_grid tfoot td {
|
|
||||||
background-color:#EAEAEA;
|
|
||||||
padding:10px 5px 10px 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.web2py_grid tr.odd {background-color:#F9F9F9}
|
|
||||||
.web2py_grid tr:hover {background-color:#F5F5F5}
|
|
||||||
|
|
||||||
/*
|
|
||||||
.web2py_breadcrumbs a {
|
|
||||||
line-height:20px; margin-right:5px; display:inline-block;
|
|
||||||
padding:3px 5px 3px 5px;
|
|
||||||
font-family:'lucida grande',tahoma,verdana,arial,sans-serif;
|
|
||||||
color:#3C3C3D;
|
|
||||||
text-shadow:1px 1px 0 #FFFFFF;
|
|
||||||
white-space:nowrap; overflow:visible; cursor:pointer;
|
|
||||||
background:#ECECEC;
|
|
||||||
border:1px solid #CACACA;
|
|
||||||
-webkit-border-radius:2px; -moz-border-radius:2px;
|
|
||||||
-webkit-background-clip:padding-box; border-radius:2px;
|
|
||||||
outline:none; position:relative; zoom:1; *display:inline;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
.web2py_console form {
|
.web2py_console form {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -302,11 +185,6 @@ li.w2p_grid_breadcrumb_elem {
|
|||||||
.web2py_console input, .web2py_console select,
|
.web2py_console input, .web2py_console select,
|
||||||
.web2py_console a { margin: 2px; }
|
.web2py_console a { margin: 2px; }
|
||||||
|
|
||||||
.web2py_htmltable {
|
|
||||||
width: 100%;
|
|
||||||
overflow-x: auto;
|
|
||||||
-ms-overflow-x:scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wiki_page_body {
|
#wiki_page_body {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
@@ -317,13 +195,10 @@ li.w2p_grid_breadcrumb_elem {
|
|||||||
/* fix some IE problems */
|
/* fix some IE problems */
|
||||||
|
|
||||||
.ie-lte7 .topbar .container {z-index:2}
|
.ie-lte7 .topbar .container {z-index:2}
|
||||||
.ie-lte8 div.flash{ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#000000', GradientType=0 ); }
|
.ie-lte8 div.w2p_flash{ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#000000', GradientType=0 ); }
|
||||||
.ie-lte8 div.flash:hover {filter:alpha(opacity=25);}
|
.ie-lte8 div.w2p_flash:hover {filter:alpha(opacity=25);}
|
||||||
.ie9 #w2p_query_panel {padding-bottom:2px}
|
.ie9 #w2p_query_panel {padding-bottom:2px}
|
||||||
.control-label.readonly{
|
|
||||||
padding-top:0px !important;
|
|
||||||
padding-right:0px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.web2py_console .form-control {width: 20%; display: inline;}
|
||||||
|
.web2py_console #w2p_keywords {width: 50%;}
|
||||||
|
.web2py_search_actions a, .web2py_console input[type=submit], .web2py_console input[type=button], .web2py_console button { padding: 6px 12px; }
|
||||||
@@ -1,264 +0,0 @@
|
|||||||
/*=============================================================
|
|
||||||
CUSTOM RULES
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
body{height:auto;} /* to avoid vertical scroll bar */
|
|
||||||
|
|
||||||
a{}
|
|
||||||
a:visited{}
|
|
||||||
a:hover{}
|
|
||||||
a:focus{}
|
|
||||||
a:active{}
|
|
||||||
|
|
||||||
h1{}
|
|
||||||
h2{}
|
|
||||||
h3{}
|
|
||||||
h4{}
|
|
||||||
h5{}
|
|
||||||
h6{}
|
|
||||||
|
|
||||||
div.flash.flash-center{left:25%;right:25%;}
|
|
||||||
div.flash.flash-top,div.flash.flash-top:hover{
|
|
||||||
position:relative;
|
|
||||||
display:block;
|
|
||||||
margin:0;
|
|
||||||
padding:1em;
|
|
||||||
top:0;
|
|
||||||
left:0;
|
|
||||||
width:100%;
|
|
||||||
text-align:center;
|
|
||||||
text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);
|
|
||||||
color:#865100;
|
|
||||||
background:#feea9a;
|
|
||||||
border:1px solid;
|
|
||||||
border-top:0px;
|
|
||||||
border-left:0px;
|
|
||||||
border-right:0px;
|
|
||||||
border-radius:0;
|
|
||||||
opacity:1;
|
|
||||||
}
|
|
||||||
#header{margin-top:60px;}
|
|
||||||
.mastheader h1 {
|
|
||||||
margin-bottom:9px;
|
|
||||||
font-size:81px;
|
|
||||||
font-weight:bold;
|
|
||||||
letter-spacing:-1px;
|
|
||||||
line-height:1;
|
|
||||||
font-size:54px;
|
|
||||||
}
|
|
||||||
.mastheader small {
|
|
||||||
font-size:20px;
|
|
||||||
font-weight:300;
|
|
||||||
}
|
|
||||||
/* auth navbar - primitive style */
|
|
||||||
.auth_navbar,.auth_navbar a{color:inherit;}
|
|
||||||
.navbar-inner {-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}
|
|
||||||
.ie-lte7 .auth_navbar,.auth_navbar a{color:expression(this.parentNode.currentStyle['color']); /* ie7 doesn't support inherit */}
|
|
||||||
.auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more lines */
|
|
||||||
.auth_navbar a:hover{color:white;text-decoration:none;}
|
|
||||||
ul#navbar>.auth_navbar{
|
|
||||||
display:inline-block;
|
|
||||||
padding:5px;
|
|
||||||
}
|
|
||||||
/* form errors message box customization */
|
|
||||||
div.error_wrapper{margin-bottom:9px;}
|
|
||||||
div.error_wrapper .error{
|
|
||||||
border-radius: 4px;
|
|
||||||
-o-border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
}
|
|
||||||
/* below rules are only for formstyle = bootstrap
|
|
||||||
trying to make errors look like bootstrap ones */
|
|
||||||
div.controls .error_wrapper{
|
|
||||||
display:inline-block;
|
|
||||||
margin-bottom:0;
|
|
||||||
vertical-align:middle;
|
|
||||||
}
|
|
||||||
div.controls .error{
|
|
||||||
min-width:5px;
|
|
||||||
background:inherit;
|
|
||||||
color:#B94A48;
|
|
||||||
border:none;
|
|
||||||
padding:0;
|
|
||||||
margin:0;
|
|
||||||
/*display:inline;*/ /* uncommenting this, the animation effect is lost */
|
|
||||||
}
|
|
||||||
div.controls .help-inline{color:#3A87AD;}
|
|
||||||
div.controls .error_wrapper +.help-inline {margin-left:-99999px;}
|
|
||||||
div.controls select +.error_wrapper {margin-left:5px;}
|
|
||||||
.ie-lte7 div.error{color:#fff;}
|
|
||||||
|
|
||||||
/* beautify brand */
|
|
||||||
.navbar {margin-bottom:0}
|
|
||||||
.navbar-inverse .brand{color:#c6cecc;}
|
|
||||||
.navbar-inverse .brand b{display:inline-block;margin-top:-1px;}
|
|
||||||
.navbar-inverse .brand b>span{font-size:22px;color:white}
|
|
||||||
.navbar-inverse .brand:hover b>span{color:white}
|
|
||||||
/* beautify web2py link in navbar */
|
|
||||||
span.highlighted{color:#d8d800;}
|
|
||||||
.open span.highlighted{color:#ffff00;}
|
|
||||||
|
|
||||||
/*=============================================================
|
|
||||||
OVERRIDING WEB2PY.CSS RULES
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
/* reset to default */
|
|
||||||
a{white-space:normal;}
|
|
||||||
li{margin-bottom:0;}
|
|
||||||
textarea,button{display:block;}
|
|
||||||
/*reset ul padding */
|
|
||||||
ul#navbar{padding:0;}
|
|
||||||
/* label aligned to related input */
|
|
||||||
td.w2p_fl,td.w2p_fc {padding:0;}
|
|
||||||
#web2py_user_form td{vertical-align:middle;}
|
|
||||||
|
|
||||||
/*=============================================================
|
|
||||||
OVERRIDING BOOTSTRAP.CSS RULES
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
/* because web2py handles this via js */
|
|
||||||
textarea { width:90%}
|
|
||||||
.hidden{visibility:visible;}
|
|
||||||
/* right folder for bootstrap black images/icons */
|
|
||||||
[class^="icon-"],[class*=" icon-"]{
|
|
||||||
background-image:url("../images/glyphicons-halflings.png")
|
|
||||||
}
|
|
||||||
/* right folder for bootstrap white images/icons */
|
|
||||||
.icon-white,
|
|
||||||
.nav-tabs > .active > a > [class^="icon-"],
|
|
||||||
.nav-tabs > .active > a > [class*=" icon-"],
|
|
||||||
.nav-pills > .active > a > [class^="icon-"],
|
|
||||||
.nav-pills > .active > a > [class*=" icon-"],
|
|
||||||
.nav-list > .active > a > [class^="icon-"],
|
|
||||||
.nav-list > .active > a > [class*=" icon-"],
|
|
||||||
.navbar-inverse .nav > .active > a > [class^="icon-"],
|
|
||||||
.navbar-inverse .nav > .active > a > [class*=" icon-"],
|
|
||||||
.dropdown-menu > li > a:hover > [class^="icon-"],
|
|
||||||
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
|
||||||
.dropdown-menu > .active > a > [class^="icon-"],
|
|
||||||
.dropdown-menu > .active > a > [class*=" icon-"] {
|
|
||||||
background-image:url("../images/glyphicons-halflings-white.png");
|
|
||||||
}
|
|
||||||
/* bootstrap has a label as input's wrapper while web2py has a div */
|
|
||||||
div>input[type="radio"],div>input[type="checkbox"]{margin:0;}
|
|
||||||
/* bootstrap has button instead of input */
|
|
||||||
input[type="button"], input[type="submit"]{margin-right:8px;}
|
|
||||||
|
|
||||||
/* web2py radio widget adjustment */
|
|
||||||
.generic-widget input[type='radio'] {margin:-1px 0 0 0; vertical-align: middle;}
|
|
||||||
.generic-widget input[type='radio'] + label {display:inline-block; margin:0 0 0 6px; vertical-align: middle;}
|
|
||||||
|
|
||||||
/*=============================================================
|
|
||||||
RULES FOR SOLVING CONFLICTS BETWEEN WEB2PY.CSS AND BOOTSTRAP.CSS
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
/*when formstyle=table3cols*/
|
|
||||||
tr#auth_user_remember__row>td.w2p_fw>div{padding-bottom:8px;}
|
|
||||||
td.w2p_fw div>label{vertical-align:middle;}
|
|
||||||
td.w2p_fc {padding-bottom:5px;}
|
|
||||||
/*when formstyle=divs*/
|
|
||||||
div#auth_user_remember__row{margin-top:4px;}
|
|
||||||
div#auth_user_remember__row>.w2p_fl{display:none;}
|
|
||||||
div#auth_user_remember__row>.w2p_fw{min-height:39px;}
|
|
||||||
div.w2p_fw,div.w2p_fc{
|
|
||||||
display:inline-block;
|
|
||||||
vertical-align:middle;
|
|
||||||
margin-bottom:0;
|
|
||||||
}
|
|
||||||
div.w2p_fc{
|
|
||||||
padding-left:5px;
|
|
||||||
margin-top:-8px;
|
|
||||||
}
|
|
||||||
/*when formstyle=ul*/
|
|
||||||
form>ul{
|
|
||||||
list-style:none;
|
|
||||||
margin:0;
|
|
||||||
}
|
|
||||||
li#auth_user_remember__row{margin-top:4px;}
|
|
||||||
li#auth_user_remember__row>.w2p_fl{display:none;}
|
|
||||||
li#auth_user_remember__row>.w2p_fw{min-height:39px;}
|
|
||||||
/*when formstyle=bootstrap*/
|
|
||||||
#auth_user_remember__row label.checkbox{display:block;}
|
|
||||||
span.inline-help{display:inline-block;}
|
|
||||||
input[type="text"].input-xlarge,input[type="password"].input-xlarge{width:270px;}
|
|
||||||
/*when recaptcha is used*/
|
|
||||||
#recaptcha{min-height:30px;display:inline-block;margin-bottom:0;line-height:30px;vertical-align:middle;}
|
|
||||||
td>#recaptcha{margin-bottom:6px;}
|
|
||||||
div>#recaptcha{margin-bottom:9px;}
|
|
||||||
div.control-group.error{
|
|
||||||
width:auto;
|
|
||||||
background:transparent;
|
|
||||||
border:0;
|
|
||||||
color:inherit;
|
|
||||||
padding:0;
|
|
||||||
background-repeat:repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*=============================================================
|
|
||||||
OTHER RULES
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
/* Massimo Di Pierro fixed alignment in forms with list:string */
|
|
||||||
form table tr{margin-bottom:9px;}
|
|
||||||
td.w2p_fw ul{margin-left:0px;}
|
|
||||||
|
|
||||||
/* web2py_console in grid and smartgrid */
|
|
||||||
.hidden{visibility:visible;}
|
|
||||||
.web2py_console input{
|
|
||||||
display: inline-block;
|
|
||||||
margin-bottom: 0;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
.web2py_console input[type="submit"],
|
|
||||||
.web2py_console input[type="button"],
|
|
||||||
.web2py_console button{
|
|
||||||
padding-top:4px;
|
|
||||||
padding-bottom:4px;
|
|
||||||
margin:3px 0 0 2px;
|
|
||||||
}
|
|
||||||
.web2py_console a,
|
|
||||||
.web2py_console select,
|
|
||||||
.web2py_console input
|
|
||||||
{
|
|
||||||
margin:3px 0 0 2px;
|
|
||||||
}
|
|
||||||
.web2py_grid form table{width:auto;}
|
|
||||||
/* auth_user_remember checkbox extrapadding in IE fix */
|
|
||||||
.ie-lte9 input#auth_user_remember.checkbox {padding-left:0;}
|
|
||||||
|
|
||||||
div.controls .error {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*=============================================================
|
|
||||||
MEDIA QUERIES
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
@media only screen and (max-width:979px){
|
|
||||||
body{padding-top:0px;}
|
|
||||||
#navbar{/*top:5px;*/}
|
|
||||||
div.flash{right:5px;}
|
|
||||||
.dropdown-menu ul{visibility:visible;}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width:479px){
|
|
||||||
body{
|
|
||||||
padding-left:10px;
|
|
||||||
padding-right:10px;
|
|
||||||
}
|
|
||||||
.navbar-fixed-top,.navbar-fixed-bottom {
|
|
||||||
margin-left:-10px;
|
|
||||||
margin-right:-10px;
|
|
||||||
}
|
|
||||||
input[type="text"],input[type="password"],select{
|
|
||||||
width:95%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
.navbar {
|
|
||||||
margin-right: -20px;
|
|
||||||
margin-left: -20px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,122 +0,0 @@
|
|||||||
/*=============================================================
|
|
||||||
BOOTSTRAP DROPDOWN MENU
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
.dropdown-menu ul{
|
|
||||||
left:100%;
|
|
||||||
position:absolute;
|
|
||||||
top:0;
|
|
||||||
visibility:hidden;
|
|
||||||
margin-top:-1px;
|
|
||||||
}
|
|
||||||
.dropdown-menu li:hover ul{visibility:visible;}
|
|
||||||
.navbar .dropdown-menu ul:before{
|
|
||||||
border-bottom:7px solid transparent;
|
|
||||||
border-left:none;
|
|
||||||
border-right:7px solid rgba(0, 0, 0, 0.2);
|
|
||||||
border-top:7px solid transparent;
|
|
||||||
left:-7px;
|
|
||||||
top:5px;
|
|
||||||
}
|
|
||||||
.nav > li.dropdown > a:after {
|
|
||||||
border-left: 4px solid transparent;
|
|
||||||
border-right: 4px solid transparent;
|
|
||||||
border-top: 4px solid #000000;
|
|
||||||
content: "";
|
|
||||||
display: inline-block;
|
|
||||||
height: 0;
|
|
||||||
opacity: 0.7;
|
|
||||||
vertical-align: top;
|
|
||||||
width: 0;
|
|
||||||
|
|
||||||
margin-left: 2px;
|
|
||||||
margin-top: 8px;
|
|
||||||
|
|
||||||
border-bottom-color: #FFFFFF;
|
|
||||||
border-top-color: #FFFFFF;
|
|
||||||
}
|
|
||||||
.dropdown-menu span{display:inline-block;}
|
|
||||||
ul.dropdown-menu li.dropdown > a:after {
|
|
||||||
border-left: 4px solid #000;
|
|
||||||
border-right: 4px solid transparent;
|
|
||||||
border-bottom: 4px solid transparent;
|
|
||||||
border-top: 4px solid transparent;
|
|
||||||
content: "";
|
|
||||||
display: inline-block;
|
|
||||||
height: 0;
|
|
||||||
opacity: 0.7;
|
|
||||||
vertical-align: top;
|
|
||||||
width: 0;
|
|
||||||
|
|
||||||
margin-left: 8px;
|
|
||||||
margin-top: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul.nav li.dropdown:hover ul.dropdown-menu {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.open >.dropdown-menu ul{display:block;} /* fix menu issue when BS2.0.4 is applied */
|
|
||||||
|
|
||||||
/*=============================================================
|
|
||||||
BOOTSTRAP SUBMIT BUTTON
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
input[type='submit']:not(.btn) {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 4px 14px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 20px;
|
|
||||||
color: #333;
|
|
||||||
text-align: center;
|
|
||||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
|
||||||
vertical-align: middle;
|
|
||||||
cursor: pointer;
|
|
||||||
background-color: whiteSmoke;
|
|
||||||
background-image: -webkit-gradient(linear,0 0,0 100%,from(white),to(#E6E6E6));
|
|
||||||
background-image: -webkit-linear-gradient(top,white,#E6E6E6);
|
|
||||||
background-image: -o-linear-gradient(top,white,#E6E6E6);
|
|
||||||
background-image: linear-gradient(to bottom,white,#E6E6E6);
|
|
||||||
background-image: -moz-linear-gradient(top,white,#E6E6E6);
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
border: 1px solid #BBB;
|
|
||||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
|
||||||
border-bottom-color: #A2A2A2;
|
|
||||||
-webkit-border-radius: 4px;
|
|
||||||
-moz-border-radius: 4px;
|
|
||||||
border-radius: 4px;
|
|
||||||
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
|
|
||||||
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
|
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type='submit']:not(.btn):hover {
|
|
||||||
color: #333;
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: #E6E6E6;
|
|
||||||
background-position: 0 -15px;
|
|
||||||
-webkit-transition: background-position .1s linear;
|
|
||||||
-moz-transition: background-position .1s linear;
|
|
||||||
-o-transition: background-position .1s linear;
|
|
||||||
transition: background-position .1s linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
input[type='submit']:not(.btn).active, input[type='submit']:not(.btn):active {
|
|
||||||
background-color: #E6E6E6;
|
|
||||||
background-color: #D9D9D9 9;
|
|
||||||
background-image: none;
|
|
||||||
outline: 0;
|
|
||||||
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
|
|
||||||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*=============================================================
|
|
||||||
OTHER
|
|
||||||
==============================================================*/
|
|
||||||
|
|
||||||
.ie-lte8 .navbar-fixed-top {position:static;}
|
|
||||||
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
@@ -1,6 +0,0 @@
|
|||||||
/*!
|
|
||||||
* Bootstrap.js by @fat & @mdo
|
|
||||||
* Copyright 2013 Twitter, Inc.
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
||||||
*/
|
|
||||||
!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.Line truncated
|
|
||||||
@@ -21,22 +21,9 @@
|
|||||||
|
|
||||||
Calendar=function(J,K,H,G){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.getDateToolTip=null;this.getDateText=null;this.timeout=null;this.onSelected=H||null;this.onClose=G||null;this.dragging=false;this.hidden=false;this.minYear=1970;this.maxYear=2050;this.dateFormat=Calendar._TT.DEF_DATE_FORMAT;this.ttDateFormat=Calendar._TT.TT_DATE_FORMAT;this.isPopup=true;this.weekNumbers=true;this.firstDayOfWeek=typeof J=="number"?J:Calendar._FD;this.showsOtherMonths=false;this.dateStr=K;this.ar_days=null;this.showsTime=false;this.time24=true;this.yearStep=2;this.hiliteToday=true;this.multiple=null;this.table=null;this.element=null;this.tbody=null;this.firstdayname=null;this.monthsCombo=null;this.yearsCombo=null;this.hilitedMonth=null;this.activeMonth=null;this.hilitedYear=null;this.activeYear=null;this.dateClicked=false;if(typeof Calendar._SDN=="undefined"){if(typeof Calendar._SDN_len=="undefined"){Calendar._SDN_len=3}var L=new Array();for(var I=8;I>0;){L[--I]=Calendar._DN[I].substr(0,Calendar._SDN_len)}Calendar._SDN=L;if(typeof Calendar._SMN_len=="undefined"){Calendar._SMN_len=3}L=new Array();for(var I=12;I>0;){L[--I]=Calendar._MN[I].substr(0,Calendar._SMN_len)}Calendar._SMN=L}};Calendar._C=null;Calendar.is_ie=(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent));Calendar.is_ie5=(Calendar.is_ie&&/msie 5\.0/i.test(navigator.userAgent));Calendar.is_opera=/opera/i.test(navigator.userAgent);Calendar.is_khtml=/Konqueror|Safari|KHTML/i.test(navigator.userAgent);Calendar.getAbsolutePos=function(I){var G=0,J=0;var K=/^div$/i.test(I.tagName);if(K&&I.scrollLeft){G=I.scrollLeft}if(K&&I.scrollTop){J=I.scrollTop}var H={x:I.offsetLeft-G,y:I.offsetTop-J};if(I.offsetParent){var L=this.getAbsolutePos(I.offsetParent);H.x+=L.x;H.y+=L.y}return H};Calendar.isRelated=function(G,E){var F=E.relatedTarget;if(!F){var H=E.type;if(H=="mouseover"){F=E.fromElement}else{if(H=="mouseout"){F=E.toElement}}}while(F){if(F==G){return true}F=F.parentNode}return false};Calendar.removeClass=function(G,H){if(!(G&&G.className)){return }var F=G.className.split(" ");var J=new Array();for(var I=F.length;I>0;){if(F[--I]!=H){J[J.length]=F[I]}}G.className=J.join(" ")};Calendar.addClass=function(D,C){Calendar.removeClass(D,C);D.className+=" "+C};Calendar.getElement=function(C){var D=Calendar.is_ie?window.event.srcElement:C.currentTarget;while(D.nodeType!=1||/^div$/i.test(D.tagName)){D=D.parentNode}return D};Calendar.getTargetElement=function(C){var D=Calendar.is_ie?window.event.srcElement:C.target;while(D.nodeType!=1){D=D.parentNode}return D};Calendar.stopEvent=function(B){B||(B=window.event);if(Calendar.is_ie){B.cancelBubble=true;B.returnValue=false}else{B.preventDefault();B.stopPropagation()}return false};Calendar.addEvent=function(D,E,F){if(D.attachEvent){D.attachEvent("on"+E,F)}else{if(D.addEventListener){D.addEventListener(E,F,true)}else{D["on"+E]=F}}};Calendar.removeEvent=function(D,E,F){if(D.detachEvent){D.detachEvent("on"+E,F)}else{if(D.removeEventListener){D.removeEventListener(E,F,true)}else{D["on"+E]=null}}};Calendar.createElement=function(E,F){var D=null;if(document.createElementNS){D=document.createElementNS("http://www.w3.org/1999/xhtml",E)}else{D=document.createElement(E)}if(typeof F!="undefined"){F.appendChild(D)}return D};Calendar._add_evs=function(el){with(Calendar){addEvent(el,"mouseover",dayMouseOver);addEvent(el,"mousedown",dayMouseDown);addEvent(el,"mouseout",dayMouseOut);if(is_ie){addEvent(el,"dblclick",dayMouseDblClick);el.setAttribute("unselectable",true)}}};Calendar.findMonth=function(B){if(typeof B.month!="undefined"){return B}else{if(typeof B.parentNode.month!="undefined"){return B.parentNode}}return null};Calendar.findYear=function(B){if(typeof B.year!="undefined"){return B}else{if(typeof B.parentNode.year!="undefined"){return B.parentNode}}return null};Calendar.showMonthsCombo=function(){var I=Calendar._C;if(!I){return false}var I=I;var H=I.activeDiv;var J=I.monthsCombo;if(I.hilitedMonth){Calendar.removeClass(I.hilitedMonth,"hilite")}if(I.activeMonth){Calendar.removeClass(I.activeMonth,"active")}var K=I.monthsCombo.getElementsByTagName("div")[I.date.getMonth()];Calendar.addClass(K,"active");I.activeMonth=K;var L=J.style;L.display="block";if(H.navtype<0){L.left=H.offsetLeft+"px"}else{var G=J.offsetWidth;if(typeof G=="undefined"){G=50}L.left=(H.offsetLeft+H.offsetWidth-G)+"px"}L.top=(H.offsetTop+H.offsetHeight)+"px"};Calendar.showYearsCombo=function(K){var N=Calendar._C;if(!N){return false}var N=N;var L=N.activeDiv;var S=N.yearsCombo;if(N.hilitedYear){Calendar.removeClass(N.hilitedYear,"hilite")}if(N.activeYear){Calendar.removeClass(N.activeYear,"active")}N.activeYear=null;var M=N.date.getFullYear()+(K?1:-1);var P=S.firstChild;var Q=false;for(var T=12;T>0;--T){if(M>=N.minYear&&M<=N.maxYear){P.innerHTML=M;P.year=M;P.style.display="block";Q=true}else{P.style.display="none"}P=P.nextSibling;M+=K?N.yearStep:-N.yearStep}if(Q){var O=S.style;O.display="block";if(L.navtype<0){O.left=L.offsetLeft+"px"}Line truncated
|
Calendar=function(J,K,H,G){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.getDateToolTip=null;this.getDateText=null;this.timeout=null;this.onSelected=H||null;this.onClose=G||null;this.dragging=false;this.hidden=false;this.minYear=1970;this.maxYear=2050;this.dateFormat=Calendar._TT.DEF_DATE_FORMAT;this.ttDateFormat=Calendar._TT.TT_DATE_FORMAT;this.isPopup=true;this.weekNumbers=true;this.firstDayOfWeek=typeof J=="number"?J:Calendar._FD;this.showsOtherMonths=false;this.dateStr=K;this.ar_days=null;this.showsTime=false;this.time24=true;this.yearStep=2;this.hiliteToday=true;this.multiple=null;this.table=null;this.element=null;this.tbody=null;this.firstdayname=null;this.monthsCombo=null;this.yearsCombo=null;this.hilitedMonth=null;this.activeMonth=null;this.hilitedYear=null;this.activeYear=null;this.dateClicked=false;if(typeof Calendar._SDN=="undefined"){if(typeof Calendar._SDN_len=="undefined"){Calendar._SDN_len=3}var L=new Array();for(var I=8;I>0;){L[--I]=Calendar._DN[I].substr(0,Calendar._SDN_len)}Calendar._SDN=L;if(typeof Calendar._SMN_len=="undefined"){Calendar._SMN_len=3}L=new Array();for(var I=12;I>0;){L[--I]=Calendar._MN[I].substr(0,Calendar._SMN_len)}Calendar._SMN=L}};Calendar._C=null;Calendar.is_ie=(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent));Calendar.is_ie5=(Calendar.is_ie&&/msie 5\.0/i.test(navigator.userAgent));Calendar.is_opera=/opera/i.test(navigator.userAgent);Calendar.is_khtml=/Konqueror|Safari|KHTML/i.test(navigator.userAgent);Calendar.getAbsolutePos=function(I){var G=0,J=0;var K=/^div$/i.test(I.tagName);if(K&&I.scrollLeft){G=I.scrollLeft}if(K&&I.scrollTop){J=I.scrollTop}var H={x:I.offsetLeft-G,y:I.offsetTop-J};if(I.offsetParent){var L=this.getAbsolutePos(I.offsetParent);H.x+=L.x;H.y+=L.y}return H};Calendar.isRelated=function(G,E){var F=E.relatedTarget;if(!F){var H=E.type;if(H=="mouseover"){F=E.fromElement}else{if(H=="mouseout"){F=E.toElement}}}while(F){if(F==G){return true}F=F.parentNode}return false};Calendar.removeClass=function(G,H){if(!(G&&G.className)){return }var F=G.className.split(" ");var J=new Array();for(var I=F.length;I>0;){if(F[--I]!=H){J[J.length]=F[I]}}G.className=J.join(" ")};Calendar.addClass=function(D,C){Calendar.removeClass(D,C);D.className+=" "+C};Calendar.getElement=function(C){var D=Calendar.is_ie?window.event.srcElement:C.currentTarget;while(D.nodeType!=1||/^div$/i.test(D.tagName)){D=D.parentNode}return D};Calendar.getTargetElement=function(C){var D=Calendar.is_ie?window.event.srcElement:C.target;while(D.nodeType!=1){D=D.parentNode}return D};Calendar.stopEvent=function(B){B||(B=window.event);if(Calendar.is_ie){B.cancelBubble=true;B.returnValue=false}else{B.preventDefault();B.stopPropagation()}return false};Calendar.addEvent=function(D,E,F){if(D.attachEvent){D.attachEvent("on"+E,F)}else{if(D.addEventListener){D.addEventListener(E,F,true)}else{D["on"+E]=F}}};Calendar.removeEvent=function(D,E,F){if(D.detachEvent){D.detachEvent("on"+E,F)}else{if(D.removeEventListener){D.removeEventListener(E,F,true)}else{D["on"+E]=null}}};Calendar.createElement=function(E,F){var D=null;if(document.createElementNS){D=document.createElementNS("http://www.w3.org/1999/xhtml",E)}else{D=document.createElement(E)}if(typeof F!="undefined"){F.appendChild(D)}return D};Calendar._add_evs=function(el){with(Calendar){addEvent(el,"mouseover",dayMouseOver);addEvent(el,"mousedown",dayMouseDown);addEvent(el,"mouseout",dayMouseOut);if(is_ie){addEvent(el,"dblclick",dayMouseDblClick);el.setAttribute("unselectable",true)}}};Calendar.findMonth=function(B){if(typeof B.month!="undefined"){return B}else{if(typeof B.parentNode.month!="undefined"){return B.parentNode}}return null};Calendar.findYear=function(B){if(typeof B.year!="undefined"){return B}else{if(typeof B.parentNode.year!="undefined"){return B.parentNode}}return null};Calendar.showMonthsCombo=function(){var I=Calendar._C;if(!I){return false}var I=I;var H=I.activeDiv;var J=I.monthsCombo;if(I.hilitedMonth){Calendar.removeClass(I.hilitedMonth,"hilite")}if(I.activeMonth){Calendar.removeClass(I.activeMonth,"active")}var K=I.monthsCombo.getElementsByTagName("div")[I.date.getMonth()];Calendar.addClass(K,"active");I.activeMonth=K;var L=J.style;L.display="block";if(H.navtype<0){L.left=H.offsetLeft+"px"}else{var G=J.offsetWidth;if(typeof G=="undefined"){G=50}L.left=(H.offsetLeft+H.offsetWidth-G)+"px"}L.top=(H.offsetTop+H.offsetHeight)+"px"};Calendar.showYearsCombo=function(K){var N=Calendar._C;if(!N){return false}var N=N;var L=N.activeDiv;var S=N.yearsCombo;if(N.hilitedYear){Calendar.removeClass(N.hilitedYear,"hilite")}if(N.activeYear){Calendar.removeClass(N.activeYear,"active")}N.activeYear=null;var M=N.date.getFullYear()+(K?1:-1);var P=S.firstChild;var Q=false;for(var T=12;T>0;--T){if(M>=N.minYear&&M<=N.maxYear){P.innerHTML=M;P.year=M;P.style.display="block";Q=true}else{P.style.display="none"}P=P.nextSibling;M+=K?N.yearStep:-N.yearStep}if(Q){var O=S.style;O.display="block";if(L.navtype<0){O.left=L.offsetLeft+"px"}Line truncated
|
||||||
|
|
||||||
/*
|
/* http://keith-wood.name/timeEntry.html
|
||||||
http://keith-wood.name/timeEntry.html
|
Time entry for jQuery v1.5.1.
|
||||||
Time entry for jQuery v1.4.8.
|
|
||||||
Written by Keith Wood (kbwood{at}iinet.com.au) June 2007.
|
Written by Keith Wood (kbwood{at}iinet.com.au) June 2007.
|
||||||
Minor changes by Massimo Di Pierro Nov 2010 (simplified and changed behavior)
|
Licensed under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license.
|
||||||
Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and
|
Please attribute the author if you use it. */
|
||||||
MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses.
|
(function($){function TimeEntry(){this._disabledInputs=[];this.regional=[];this.regional['']={show24Hours:true,separator:':',ampmPrefix:'',ampmNames:['AM','PM'],spinnerTexts:['Now','Previous field','Next field','Increment','Decrement']};this._defaults={appendText:'',showSeconds:true,timeSteps:[1,1,1],initialField:0,noSeparatorEntry:false,useMouseWheel:true,defaultTime:null,minTime:null,maxTime:null,spinnerImage:'spinnerDefault.png',spinnerSize:[20,20,8],spinnerBigImage:'',spinnerBigSize:[40,40,16],spinnerIncDecOnly:false,spinnerRepeat:[500,250],beforeShow:null,beforeSetTime:null};$.extend(this._defaults,this.regional[''])}$.extend(TimeEntry.prototype,{markerClassName:'hasTimeEntry',propertyName:'timeEntry',_appendClass:'timeEntry_append',_controlClass:'timeEntry_control',_expandClass:'timeEntry_expand',setDefaults:function(a){$.extend(this._defaults,a||{});return this},_attachPlugin:function(b,c){var d=$(b);if(d.hasClass(this.markerClassName)){return}var e={options:$.extend({},this._defaults,c),input:d,_field:0,_selectedHour:0,_selectedMinute:0,_selectedSecond:0};d.data(this.propertyName,e).addClass(this.markerClassName).bind('focus.'+this.propertyName,this._doFocus).bind('blur.'+this.propertyName,this._doBlur).bind('click.'+this.propertyName,this._doClick).bind('keydown.'+this.propertyName,this._doKeyDown).bind('keypress.'+this.propertyName,this._doKeyPress).bind('paste.'+this.propertyName,function(a){setTimeout(function(){n._parseTime(e)},1)});this._optionPlugin(b,c)},_optionPlugin:function(a,b,c){a=$(a);var d=a.data(this.propertyName);if(!b||(typeof b=='string'&&c==null)){var e=b;b=(d||{}).options;return(b&&e?b[e]:b)}if(!a.hasClass(this.markerClassName)){return}b=b||{};if(typeof b=='string'){var e=b;b={};b[e]=c}var f=this._extractTime(d);$.extend(d.options,b);d._field=0;if(f){this._setTime(d,new Date(0,0,0,f[0],f[1],f[2]))}a.next('span.'+this._appendClass).remove();a.parent().find('span.'+this._controlClass).remove();if($.fn.mousewheel){a.unmousewheel()}var g=(!d.options.spinnerImage?null:$('<span class="'+this._controlClass+'" style="display: inline-block; '+'background: url(\''+d.options.spinnerImage+'\') 0 0 no-repeat; width: '+d.options.spinnerSize[0]+'px; height: '+d.options.spinnerSize[1]+'px;"></span>'));a.after(d.options.appendText?'<span class="'+this._appendClass+'">'+d.options.appendText+'</span>':'').after(g||'');if(d.options.useMouseWheel&&$.fn.mousewheel){a.mousewheel(this._doMouseWheel)}if(g){g.mousedown(this._handleSpinner).mouseup(this._endSpinner).mouseover(this._expandSpinner).mouseout(this._endSpinner).mousemove(this._describeSpinner)}},_enablePlugin:function(a){this._enableDisable(a,false)},_disablePlugin:function(a){this._enableDisable(a,true)},_enableDisable:function(b,c){var d=$.data(b,this.propertyName);if(!d){return}b.disabled=c;if(b.nextSibling&&b.nextSibling.nodeName.toLowerCase()=='span'){n._changeSpinner(d,b.nextSibling,(c?5:-1))}n._disabledInputs=$.map(n._disabledInputs,function(a){return(a==b?null:a)});if(c){n._disabledInputs.push(b)}},_isDisabledPlugin:function(a){return $.inArray(a,this._disabledInputs)>-1},_destroyPlugin:function(b){b=$(b);if(!b.hasClass(this.markerClassName)){return}b.removeClass(this.markerClassName).removeData(this.propertyName).unbind('.'+this.propertyName);if($.fn.mousewheel){b.unmousewheel()}this._disabledInputs=$.map(this._disabledInputs,function(a){return(a==b[0]?null:a)});b.siblings('.'+this._appendClass+',.'+this._controlClass).remove()},_setTimePlugin:function(a,b){var c=$.data(a,this.propertyName);if(c){if(b===null||b===''){c.input.val('')}else{this._setTime(c,b?(typeof b=='object'?new Date(b.getTime()):b):null)}}},_getTimePlugin:function(a){var b=$.data(a,this.propertyName);var c=(b?this._extractTime(b):null);return(!c?null:new Date(0,0,0,c[0],c[1],c[2]))},_getOffsetPlugin:function(a){var b=$.data(a,this.propertyName);var c=(b?this._extractTime(b):null);return(!c?0:(c[0]*3600+c[1]*60+c[2])*1000)},_doFocus:function(a){var b=(a.nodeName&&a.nodeName.toLowerCase()=='input'?a:this);if(n._lastInput==b||n._isDisabledPlugin(b)){n._focussed=false;return}var c=$.data(b,n.propertyName);n._focussed=true;n._lastInput=b;n._blurredInput=null;$.extend(c.options,($.isFunction(c.options.beforeShow)?c.options.beforeShow.apply(b,[b]):{}));n._parseTime(c);setTimeout(function(){n._showField(c)},10)},_doBlur:function(a){n._blurredInput=n._lastInput;n._lastInput=null},_doClick:function(b){var c=b.target;var d=$.data(c,n.propertyName);if(!n._focussed){var e=d.options.separator.length+2;d._field=0;if(c.selectionStart!=null){for(var f=0;f<=Math.max(1,d._secondField,d._ampmField);f++){var g=(f!=d._ampmField?(f*e)+2:(d._ampmField*e)+d.options.ampmPrefix.length+d.options.ampmNames[0].length);d._field=f;if(c.selectionStart<g){break}}}else if(c.createTextRange){var h=$(b.srcElement);var i=c.createTextRange();var j=function(a){return{thin:2,medium:4,thick:6}[a]||a};var k=b.clientX+document.documentElement.scrollLeft-(h.offset().left+parseInt(j(h.css('border-left-width')),Line truncated
|
||||||
Please attribute the author if you use it.
|
|
||||||
|
|
||||||
Turn an input field into an entry point for a time value.
|
|
||||||
The time can be entered via directly typing the value,
|
|
||||||
via the arrow keys.
|
|
||||||
It is configurable to show 12 or 24-hour time, to show or hide seconds,
|
|
||||||
to enforce a minimum and/or maximum time, to change the spinner image.
|
|
||||||
|
|
||||||
Example: jQuery('input.time').timeEntry();
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function(a){var d=12,k="ampmNames",i="show24Hours",m="showSeconds",l="character",b=10,f=false,j="string",e=-1,c=null,h=true,g="timeEntry";function o(){this._disabledInputs=[];this._defaults={showSeconds:h,defaultTime:c,minTime:c,maxTime:c,show24Hours:h,ampmNames:["am","pm"]};a.extend(this._defaults)}a.extend(o.prototype,{markerClassName:"hasTimeEntry",setDefaults:function(a){n(this._defaults,a||{});return this},_connectTimeEntry:function(e,f){var c=this,d=a(e);if(d.hasClass(c.markerClassName))return;var b={};b.options=a.extend({},f);b._selectedHour=0;b._selectedMinute=0;b._selectedSecond=0;b._field=0;b.input=a(e);a.data(e,g,b);d.addClass(c.markerClassName).bind("focus.timeEntry",c._doFocus).bind("blur.timeEntry",c._doBlur).bind("click.timeEntry",c._doClick).bind("keydown.timeEntry",c._doKeyDown).bind("keypress.timeEntry",c._doKeyPress);a.browser.mozilla&&d.bind("input.timeEntry",function(){a.timeEntry._parseTime(b)});a.browser.msie&&d.bind("paste.timeEntry",function(){setTimeout(function(){a.timeEntry._parseTime(b)},1)})},_isDisabledTimeEntry:function(b){return a.inArray(b,this._disabledInputs)>e},_changeTimeEntry:function(e,b,f){var c=a.data(e,g);if(c){if(typeof b==j){var h=b;b={};b[h]=f}var d=this._extractTime(c);n(c.options,b||{});d&&this._setTime(c,new Date(0,0,0,d[0],d[1],d[2]))}a.data(e,g,c)},_destroyTimeEntry:function(d){var b=this;jQueryinput=a(d);if(!jQueryinput.hasClass(b.markerClassName))return;jQueryinput.removeClass(b.markerClassName).unbind(".timeEntry");b._disabledInputs=a.map(b._disabledInputs,function(a){return a==d?c:a});jQueryinput.parent().replaceWith(jQueryinput);a.removeData(d,g)},_setTimeTimeEntry:function(e,b){var d=a.data(e,g);d&&this._setTime(d,b?typeof b=="object"?new Date(b.getTime()):b:c)},_getTimeTimeEntry:function(e){var d=a.data(e,g),b=d?this._extractTime(d):c;return !b?c:new Date(0,0,0,b[0],b[1],b[2])},_getOffsetTimeEntry:function(e){var d=a.data(e,g),b=d?this._extractTime(d):c;return !b?0:(b[0]*3600+b[1]*60+b[2])*1e3},_doFocus:function(e){var d=e.nodeName&&e.nodeName.toLowerCase()=="input"?e:this;if(a.timeEntry._lastInput==d||a.timeEntry._isDisabledTimeEntry(d)){a.timeEntry._focussed=f;return}var i=a.data(d,g);a.timeEntry._focussed=h;a.timeEntry._lastInput=d;a.timeEntry._blurredInput=c;a.data(d,g,i);a.timeEntry._parseTime(i);setTimeout(function(){a.timeEntry._showField(i)},b)},_doBlur:function(){a.timeEntry._blurredInput=a.timeEntry._lastInput;a.timeEntry._lastInput=c},_doClick:function(k){var h=k.target,d=a.data(h,g);if(!a.timeEntry._focussed){var i=3;d._field=0;if(h.selectionStart!=c)for(var e=0;e<=Math.max(1,d._secondField,d._ampmField);e++){var m=e!=d._ampmField?e*i+2:d._ampmField*i+2;d._field=e;if(h.selectionStart<m)break}else if(h.createTextRange)for(var n=a(k.srcElement),j=h.createTextRange(),o=function(a){return ({thin:2,medium:4,thick:6})[a]||a},p=k.clientX+document.documentElement.scrollLeft-(n.offset().left+parseInt(o(n.css("border-left-width")),b))-j.offsetLeft,e=0;e<=Math.max(1,d._secondField,d._ampmField);e++){var m=e!=d._ampmField?e*i+2:d._ampmField*i+2;j.collapse();j.moveEnd(l,m);d._field=e;if(p<j.boundingWidth)break}}a.data(h,g,d);a.timeEntry._showField(d);a.timeEntry._focussed=f},_doKeyDown:function(c){if(c.keyCode>=48)return h;var b=a.data(c.target,g);switch(c.keyCode){case 9:var d=a(":input");d.eq(d.index(this)+(c.shiftKey?e:+1)).focus();break;case 37:a.timeEntry._changeField(b,e,f);break;case 38:a.timeEntry._adjustField(b,e);break;case 16:!c.shiftKey&&a.timeEntry._changeField(b,+1,f);break;case 39:a.timeEntry._changeField(b,+1,f);break;case 40:a.timeEntry._adjustField(b,+1);break;case 32:case 46:a.timeEntry._setValue(b,"")}return f},_doKeyPress:function(b){var c=String.fromCharCode(b.charCode==undefined?b.keyCode:b.charCode);if(c<" ")return h;var d=a.data(b.target,g);a.timeEntry._handleKeyPress(d,c);return f},_get:function(d,b){return d.options[b]!=c?d.options[b]:a.timeEntry._defaults[b]},_parseTime:function(a){var b=this,c=b._extractTime(a),d=b._get(a,m);if(c){a._selectedHour=c[0];a._selectedMinute=c[1];a._selectedSecond=c[2]}else{var f=b._constrainTime(a);a._selectedHour=f[0];a._selectedMinute=f[1];a._selectedSecond=d?f[2]:0}a._secondField=d?2:e;a._ampmField=b._get(a,i)?e:d?3:2;a._lastChr="";a._field=Math.max(0,Math.min(Math.max(1,a._secondField,a._ampmField),0));a.input.val()!=""&&b._showTime(a)},_extractTime:function(h,g){var n=this;g=g||h.input.val();var f=g.split(":"),p=n._get(h,k),o=n._get(h,i);if(f.length>=2){var r=!o&&g.indexOf(p[0])>e,q=!o&&g.indexOf(p[1])>e,a=parseInt(f[0],b);a=isNaN(a)?0:a;a=((r||q)&&a==d?0:a)+(q?d:0);var j=parseInt(f[1],b);j=isNaN(j)?0:j;var l=f.length>=3?parseInt(f[2],b):0;l=isNaN(l)||!n._get(h,m)?0:l;return n._constrainTime(h,[a,j,l])}return c},_constrainTime:function(d,a){var e=a!=c;if(!e){var b=this._determineTime(d,this._get(d,"defaultTime"))||new Date;a=[b.getHours(),b.getMinutes(),b.getSeconds()]}return a},_showTime:function(a){var b=this,c=b._get(a,i),e=b._formatNumber(c?a._selectedHour:(a._selectedHour+11)%d+1)+"Line truncated
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
/**
|
|
||||||
* DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML <IMG/>.
|
|
||||||
* Author: Drew Diller
|
|
||||||
* Email: drew.diller@gmail.com
|
|
||||||
* URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/
|
|
||||||
* Version: 0.0.8a
|
|
||||||
* Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license
|
|
||||||
*
|
|
||||||
* Example usage:
|
|
||||||
* DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector
|
|
||||||
* DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement
|
|
||||||
**/
|
|
||||||
var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}},createVmlStyleSheet:function(){var b,a;b=document.createElement("style");b.setAttribute("media","screen");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){b=b.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;");this.screenStyleSheet=b;a=document.createElement("style");a.setAttribute("media","print");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);a=a.styleSheet;a.addRule(this.ns+"\\:*","{display: none !important;}");a.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}")}},readPropertyChange:function(){var b,c,a;b=event.srcElement;if(!b.vmlInitiated){return}if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(b)}if(event.propertyName=="style.display"){c=(b.currentStyle.display=="none")?"none":"block";for(a in b.vml){if(b.vml.hasOwnProperty(a)){b.vml[a].shape.style.display=c}}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(b)}},vmlOpacity:function(b){if(b.currentStyle.filter.search("lpha")!=-1){var a=b.currentStyle.filter;a=parseInt(a.substring(a.lastIndexOf("=")+1,a.lastIndexOf(")")),10)/100;b.vml.color.shape.style.filter=b.currentStyle.filter;b.vml.image.fill.opacity=a}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var c,b;c=a.split(",");for(b=0;b<c.length;b++){this.screenStyleSheet.addRule(c[b],"behavior:expression(DD_belatedPNG.fixPng(this))")}}},applyVML:function(a){a.runtimeStyle.cssText="";this.vmlFill(a);this.vmlOffsets(a);this.vmlOpacity(a);if(a.isImg){this.copyImageBorders(a)}},attachHandlers:function(i){var d,c,g,e,b,f;d=this;c={resize:"vmlOffsets",move:"vmlOffsets"};if(i.nodeName=="A"){e={mouseleave:"handlePseudoHover",mouseenter:"handlePseudoHover",focus:"handlePseudoHover",blur:"handlePseudoHover"};for(b in e){if(e.hasOwnProperty(b)){c[b]=e[b]}}}for(f in c){if(c.hasOwnProperty(f)){g=function(){d[c[f]](i)};i.attachEvent("on"+f,g)}}i.attachEvent("onpropertychange",this.readPropertyChange)},giveLayout:function(a){a.style.zoom=1;if(a.currentStyle.position=="static"){a.style.position="relative"}},copyImageBorders:function(b){var c,a;c={borderStyle:true,borderWidth:true,borderColor:true};for(a in c){if(c.hasOwnProperty(a)){b.vml.color.shape.style[a]=b.currentStyle[a]}}},vmlFill:function(e){if(!e.currentStyle){return}else{var d,f,g,b,a,c;d=e.currentStyle}for(b in e.vml){if(e.vml.hasOwnProperty(b)){e.vml[b].shape.style.zIndex=d.zIndex}}e.runtimeStyle.backgroundColor="";e.runtimeStyle.backgroundImage="";f=true;if(d.backgroundImage!="none"||e.isImg){if(!e.isImg){e.vmlBg=d.backgroundImage;e.vmlBg=e.vmlBg.substr(5,e.vmlBg.lastIndexOf('")')-5)}else{e.vmlBg=e.src}g=this;if(!g.imgSize[e.vmlBg]){a=document.createElement("img");g.imgSize[e.vmlBg]=a;a.className=g.ns+"_sizeFinder";a.runtimeStyle.cssText="behavior:none; position:absolute; left:-10000px; top:-10000px; border:none; margin:0; padding:0;";c=function(){this.width=this.offsetWidth;this.height=this.offsetHeight;g.vmlOffsets(e)};a.attachEvent("onload",c);a.src=e.vmlBg;a.removeAttribute("width");a.removeAttribute("height");document.body.insertBefore(a,document.body.firstChild)}e.vml.image.fill.src=e.vmlBg;f=false}e.vml.image.fill.on=!f;e.vml.image.fill.color="none";e.vml.color.shape.style.backgroundColor=d.backgroundColor;e.runtimeStyle.backgroundImage="none";e.runtimeStyle.backgroundColor="transparent"},vmlOffsets:function(d){var h,n,a,e,g,m,f,l,j,i,k;h=d.currentStyle;n={W:d.clientWidth+1,H:d.clientHeight+1,w:this.imgSize[d.vmlBg].width,h:this.imgSize[d.vmlBg].height,L:d.offsetLeft,T:d.offsetTop,bLW:d.clientLeft,bTW:d.clientTop};a=(n.L+n.bLW==1)?1:0;e=function(b,p,q,c,s,u){b.coordsize=c+","+s;b.coordorigin=u+","+u;b.path="m0,0l"+c+",0l"+c+","+s+"l0,"+s+" xe";b.style.width=c+"px";b.style.height=s+"px";b.style.left=p+"px";b.style.top=q+"px"};e(d.vml.color.shape,(n.L+(d.isImg?0:n.bLW)),(n.T+(d.isImg?0:n.bTW)),(n.W-1),(n.H-1),0);e(d.vml.image.shape,(n.L+n.bLW),(n.T+n.bTW),(n.W),(n.H),1);g={X:0,Y:0};if(d.isImg){g.X=parseInt(h.paddingLeft,10)+1;g.Y=parseInt(h.paddingTop,10)+1}else{for(j in g){if(g.hasOwnProperty(j)){this.figurePercentage(g,n,j,h["backgroundPosition"+j])}}}d.vml.image.fill.position=(g.X/n.W)+","+(g.Y/n.H);m=h.backgroundRepeat;f={T:1,R:n.W+a,B:n.H,L:1+a};l={X:{b1:"L",b2:"R",d:"W"},Y:{b1:"T",b2:"B",d:"H"}};if(m!="repeat"||d.isImg){i={T:(g.Y),R:(g.X+n.w),B:(g.Y+n.h),L:(g.X)};if(m.search("repeat-")!=-1){k=m.split("repeat-")[1].toUpperCase();i[l[Line truncated
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
|
|
||||||
* Build: http://modernizr.com/download/#-fontface-backgroundsize-borderimage-borderradius-boxshadow-flexbox-flexboxlegacy-hsla-multiplebgs-opacity-rgba-textshadow-cssanimations-csscolumns-generatedcontent-cssgradients-cssreflections-csstransforms-csstransforms3d-csstransitions-applicationcache-canvas-canvastext-draganddrop-hashchange-history-audio-video-indexeddb-input-inputtypes-localstorage-postmessage-sessionstorage-websockets-websqldatabase-webworkers-geolocation-inlinesvg-smil-svg-svgclippaths-touch-webgl-shiv-mq-cssclasses-teststyles-testprop-testallprops-hasevent-prefixes-domprefixes-load
|
|
||||||
*/
|
|
||||||
;window.Modernizr=function(a,b,c){function D(a){j.cssText=a}function E(a,b){return D(n.join(a+";")+(b||""))}function F(a,b){return typeof a===b}function G(a,b){return!!~(""+a).indexOf(b)}function H(a,b){for(var d in a){var e=a[d];if(!G(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function I(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:F(f,"function")?f.bind(d||b):f}return!1}function J(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return F(b,"string")||F(b,"undefined")?H(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),I(e,b,c))}function K(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)u[c[d]]=c[d]in k;return u.list&&(u.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),u}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)k.setAttribute("type",f=a[d]),e=k.type!=="text",e&&(k.value=l,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&k.style.WebkitAppearance!==c?(g.appendChild(k),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(k,null).WebkitAppearance!=="textfield"&&k.offsetHeight!==0,g.removeChild(k)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=k.checkValidity&&k.checkValidity()===!1:e=k.value!=l)),t[a[d]]=!!e;return t}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={svg:"http://www.w3.org/2000/svg"},s={},t={},u={},v=[],w=v.slice,x,y=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["­",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},z=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return y("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},A=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=F(e[d],"function"),F(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),B={}.hasOwnProperty,C;!F(B,"undefined")&&!F(B.call,"undefined")?C=function(a,b){return B.call(a,b)}:C=function(a,b){return b in a&&F(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=w.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(w.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(w.call(arguments)))};return e}),s.flexbox=function(){return J("flexWrap")},s.flexboxlegacy=function(){return J("boxDirection")},s.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},s.canvastext=function(){return!!e.canvas&&!!F(b.createElement("canvas").getContext("2d").fillText,"function")},s.webgl=function(){return!!a.WebGLRenderingContext},s.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:y(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},s.geolocation=function(){return"geolocation"in navigator},s.postmessage=function(){return!!a.postMessage},s.websqldatabase=function(){return!!a.openDatabase},s.indexedDB=function(){return!!J("indexedDB",a)},s.hashchange=function(){return A("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},s.history=function(){return!!a.history&&!!history.pushState},s.draganddrop=function(){var a=b.createElement("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},s.websockets=function(){return"WebSocket"in a||"MozWebSocket"in a},s.rgba=function(){return D("background-color:rgba(150,255,150,.5)"),G(j.backgroundColor,"rgba")},s.hsla=function(){return D("background-color:hsla(120,40%,100%,.5)"),G(j.backgroundColor,"rgba")||G(j.backgroundColor,"hsla")},s.multiplebgs=function(){return D("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(j.background)},s.backgroundsize=function(){return J("backgroundSize")},s.borderimage=function(){retuLine truncated
|
|
||||||
@@ -562,7 +562,7 @@
|
|||||||
var flash = $('.w2p_flash');
|
var flash = $('.w2p_flash');
|
||||||
web2py.hide_flash();
|
web2py.hide_flash();
|
||||||
flash.html(message).addClass(status);
|
flash.html(message).addClass(status);
|
||||||
if (flash.html()) flash.append('<span id="closeflash"> × </span>').slideDown();
|
if (flash.html()) flash.slideDown();
|
||||||
},
|
},
|
||||||
hide_flash: function () {
|
hide_flash: function () {
|
||||||
$('.w2p_flash').fadeOut(0).html('');
|
$('.w2p_flash').fadeOut(0).html('');
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
// this code improves bootstrap menus and adds dropdown support
|
|
||||||
jQuery(function(){
|
|
||||||
jQuery('.nav>li>a').each(function(){
|
|
||||||
if(jQuery(this).parent().find('ul').length)
|
|
||||||
jQuery(this).attr({'class':'dropdown-toggle','data-toggle':'dropdown'}).append('<b class="caret"></b>');
|
|
||||||
});
|
|
||||||
jQuery('.nav li li').each(function(){
|
|
||||||
if(jQuery(this).find('ul').length)
|
|
||||||
jQuery(this).addClass('dropdown-submenu');
|
|
||||||
});
|
|
||||||
function adjust_height_of_collapsed_nav() {
|
|
||||||
var cn = jQuery('div.collapse');
|
|
||||||
if (cn.get(0)) {
|
|
||||||
var cnh = cn.get(0).style.height;
|
|
||||||
if (cnh>'0px'){
|
|
||||||
cn.css('height','auto');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function hoverMenu(){
|
|
||||||
jQuery('ul.nav a.dropdown-toggle').parent().hover(function(){
|
|
||||||
adjust_height_of_collapsed_nav();
|
|
||||||
var mi = jQuery(this).addClass('open');
|
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeIn(400);
|
|
||||||
}, function(){
|
|
||||||
var mi = jQuery(this);
|
|
||||||
mi.children('.dropdown-menu').stop(true, true).delay(200).fadeOut(function(){mi.removeClass('open')});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
hoverMenu(); // first page load
|
|
||||||
jQuery(window).resize(hoverMenu); // on resize event
|
|
||||||
jQuery('ul.nav li.dropdown a').click(function(){window.location=jQuery(this).attr('href');});
|
|
||||||
});
|
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
{{extend 'layout.html'}}
|
{{extend 'layout.html'}}
|
||||||
|
|
||||||
<iframe src="//player.vimeo.com/hubnut/album/3016728?color=ff6600&background=ffffff&slideshow=1&video_title=1&video_byline=1" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
<center>
|
||||||
|
<iframe src="//player.vimeo.com/hubnut/album/3016728?color=ff6600&background=ffffff&slideshow=1&video_title=1&video_byline=1" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
||||||
|
</center>
|
||||||
|
|
||||||
<div class="contentleft">
|
<div>
|
||||||
<div >
|
{{=get_content('main')}}
|
||||||
{{=get_content('main')}}
|
{{=get_content('official')}}
|
||||||
</div>
|
{{=get_content('community')}}
|
||||||
{{=get_content('official')}}
|
{{=get_content('more')}}
|
||||||
{{=get_content('community')}}
|
|
||||||
{{=get_content('more')}}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,33 +5,37 @@
|
|||||||
|
|
||||||
<h2>web2py<sup style="font-size:0.5em;">TM</sup> Download</h2>
|
<h2>web2py<sup style="font-size:0.5em;">TM</sup> Download</h2>
|
||||||
|
|
||||||
<center style="padding:20px">
|
<center>
|
||||||
<table class="downloads">
|
<table>
|
||||||
<tr>
|
<thead>
|
||||||
<th>For Normal Users</th>
|
<tr>
|
||||||
<th>For Testers</th>
|
<th>For Normal Users</th>
|
||||||
<th>For Developers</th>
|
<th>For Testers</th>
|
||||||
</tr>
|
<th>For Developers</th>
|
||||||
<tr>
|
</tr>
|
||||||
<td><a class="btn btn-180 btn-success" href="http://www.web2py.com/examples/static/web2py_win.zip">For Windows</a></td>
|
</thead>
|
||||||
<td><a class="btn btn-180 btn-warning" href="http://www.web2py.com/examples/static/nightly/web2py_win.zip">For Windows</a></td>
|
<tbody>
|
||||||
<td><a class="btn btn-180 btn-danger" href="http://github.com/web2py/web2py/">Git Repository</a></td>
|
<tr>
|
||||||
</tr>
|
<td><a class="btn btn-180 red" href="http://www.web2py.com/examples/static/web2py_win.zip">For Windows</a></td>
|
||||||
<tr>
|
<td><a class="btn btn-180 yellow" href="http://www.web2py.com/examples/static/nightly/web2py_win.zip">For Windows</a></td>
|
||||||
<td><a class="btn btn-180 btn-success" href="http://www.web2py.com/examples/static/web2py_osx.zip">For Mac</a></td>
|
<td><a class="btn btn-180 red" href="http://github.com/web2py/web2py/">Git Repository</a></td>
|
||||||
<td><a class="btn btn-180 btn-warning" href="http://www.web2py.com/examples/static/nightly/web2py_osx.zip">For Mac</a></td>
|
</tr>
|
||||||
<td></td>
|
<tr>
|
||||||
</tr>
|
<td><a class="btn btn-180 red" href="http://www.web2py.com/examples/static/web2py_osx.zip">For Mac</a></td>
|
||||||
<tr>
|
<td><a class="btn btn-180 yellow" href="http://www.web2py.com/examples/static/nightly/web2py_osx.zip">For Mac</a></td>
|
||||||
<td><a class="btn btn-180 btn-success" href="http://www.web2py.com/examples/static/web2py_src.zip">Source Code</a></td>
|
<td></td>
|
||||||
<td><a class="btn btn-180 btn-warning" href="http://www.web2py.com/examples/static/nightly/web2py_src.zip">Source Code</a></td>
|
</tr>
|
||||||
<td><a class="btn btn-180 btn-danger" href="http://web2py.readthedocs.org/en/latest/">Source code docs</a></td>
|
<tr>
|
||||||
</tr>
|
<td><a class="btn btn-180 red" href="http://www.web2py.com/examples/static/web2py_src.zip">Source Code</a></td>
|
||||||
<tr>
|
<td><a class="btn btn-180 yellow" href="http://www.web2py.com/examples/static/nightly/web2py_src.zip">Source Code</a></td>
|
||||||
<td><a class="btn btn-180 btn-success" href="https://dl.dropbox.com/u/18065445/web2py/web2py_manual_5th.pdf">Manual</a></td>
|
<td><a class="btn btn-180 red" href="http://web2py.readthedocs.org/en/latest/">Source code docs</a></td>
|
||||||
<td><a class="btn btn-180" href="https://github.com/web2py/web2py/releases">Change Log</a></td>
|
</tr>
|
||||||
<td><a class="btn btn-180" href="https://github.com/web2py/web2py/issues">Report a Bug</a></td>
|
<tr>
|
||||||
</tr>
|
<td><a class="btn btn-180 red" href="https://dl.dropbox.com/u/18065445/web2py/web2py_manual_5th.pdf">Manual</a></td>
|
||||||
|
<td><a class="btn btn-180" href="https://github.com/web2py/web2py/releases">Change Log</a></td>
|
||||||
|
<td><a class="btn btn-180" href="https://github.com/web2py/web2py/issues">Report a Bug</a></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
|
|||||||
@@ -1,21 +1,8 @@
|
|||||||
{{extend 'layout.html'}}
|
{{extend 'layout.html'}}
|
||||||
{{
|
|
||||||
import random
|
|
||||||
quotes = [
|
|
||||||
("web2py was the life saver today for me, my blog post: Standalone Usage of web2py's", "caglartoklu", "http://twitter.com/#!/caglartoklu/status/84292131707031553"),
|
|
||||||
("Get Things Done - Faster, Better and More Easily with web2py",
|
|
||||||
"Bruno Rocha", "http://twitter.com/#!/rochacbruno/status/73583156044890112"),
|
|
||||||
("Please use www.web2py.com when using MVC , no PHP/SQL stuff please...its 2011 not 1999", "rabblesoft", "http://twitter.com/#!/rabblesoft/status/79189028431343616"),
|
|
||||||
('web2py rules! as a sysadmin I like the no installation and no configuration approach a lot)', "kjogut", "http://twitter.com/#!/jkogut/status/61414554273447936"),
|
|
||||||
("web2py it is. Compatible with everything under the sun and great interfaces to googleappengine", "comamitc","http://twitter.com/#!/comamitc/status/51744719071477760"),
|
|
||||||
("If you are still learning python, web2py is best tool by far", "pbreit", "http://twitter.com/#!/pbreit/status/48260905775017984")
|
|
||||||
]
|
|
||||||
random.shuffle(quotes)
|
|
||||||
}}
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
<div class="container">
|
||||||
<div class="span12">
|
<div class="twothirds">
|
||||||
<div class="span8">
|
<div class="padded">
|
||||||
<h3>web2py<sup>TM</sup> Web Framework</h3>
|
<h3>web2py<sup>TM</sup> Web Framework</h3>
|
||||||
<p>Free open source full-stack framework for rapid development of fast, scalable, <a href="http://www.web2py.com/book/default/chapter/01#Security" target="_blank">secure</a> and portable database-driven web-based applications. Written and programmable in <a href="http://www.python.org" target="_blank">Python</a>.</p>
|
<p>Free open source full-stack framework for rapid development of fast, scalable, <a href="http://www.web2py.com/book/default/chapter/01#Security" target="_blank">secure</a> and portable database-driven web-based applications. Written and programmable in <a href="http://www.python.org" target="_blank">Python</a>.</p>
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
@@ -39,45 +26,46 @@ random.shuffle(quotes)
|
|||||||
</table>
|
</table>
|
||||||
<p>Current version: <a href="{{=URL('download')}}">{{=request.env.web2py_version}} (<a href="http://www.gnu.org/licenses/lgpl.html">LGPLv3 License</a>)</p>
|
<p>Current version: <a href="{{=URL('download')}}">{{=request.env.web2py_version}} (<a href="http://www.gnu.org/licenses/lgpl.html">LGPLv3 License</a>)</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4" style="text-align:center">
|
</div>
|
||||||
<a href="http://www.infoworld.com/slideshow/24605/infoworlds-2012-technology-of-the-year-award-winners-183313#slide23"><img src="{{=URL('static','images/infoworld2012.jpeg')}}" width="200px"/></a><br/>
|
<div class="third">
|
||||||
<a class="btn btn-danger" href="{{=URL('download')}}" style="margin-top:10px; width:180px; color:white">Download Now</a><br/>
|
<div class="padded center">
|
||||||
<a class="btn btn-danger" href="https://www.pythonanywhere.com/try-web2py" style="margin-top:10px; width:180px; color:white">Try it now online</a><br/>
|
<a href="http://www.infoworld.com/slideshow/24605/infoworlds-2012-technology-of-the-year-award-winners-183313#slide23">
|
||||||
<a class="btn btn-danger" href="http://web2py.com/poweredby" style="margin-top:10px; width:180px; color:white">Sites Powered by web2py</a><br/><br/>
|
<img src="{{=URL('static','images/infoworld2012.jpeg')}}">
|
||||||
<a class="coinbase-button" data-code="df71ec5c2d5bc3b1c18139ab645f352b" data-button-style="donation_large" href="https://coinbase.com/checkouts/df71ec5c2d5bc3b1c18139ab645f352b">Donate Bitcoins</a><script src="https://coinbase.com/assets/button.js" type="text/javascript"></script>
|
</a>
|
||||||
|
<a class="btn rounded red fill" href="{{=URL('download')}}">
|
||||||
|
Download Now
|
||||||
|
</a>
|
||||||
|
<a class="btn rounded red fill" href="https://www.pythonanywhere.com/try-web2py">
|
||||||
|
Try it now online
|
||||||
|
</a>
|
||||||
|
<a class="btn rounded red fill" href="http://web2py.com/poweredby">
|
||||||
|
Sites Powered by web2py
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row-fluid">
|
<div class="container">
|
||||||
<div class="span12">
|
<div class="third">
|
||||||
<div class="span4">
|
<div class="padded">
|
||||||
<h3><a href="{{=URL('what')}}">Batteries Included</a></h3>
|
<h5><a href="{{=URL('what')}}">Batteries Included</a></h5>
|
||||||
<p>Everything you need in one package including fast multi-threaded web server, SQL database and web-based interface. No third party dependencies but works with <a href={{=URL('what')}}>third party tools</a>.</p>
|
<p>Everything you need in one package including fast multi-threaded web server, SQL database and web-based interface. No third party dependencies but works with <a href={{=URL('what')}}>third party tools</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
</div>
|
||||||
<h3><a href="http://web2py.com/demo_admin">Web-Based IDE</a></h3>
|
<div class="third">
|
||||||
|
<div class="padded">
|
||||||
|
<h5><a href="http://web2py.com/demo_admin">Web-Based IDE</a></h5>
|
||||||
<p>Create, modify, deploy and manage application from anywhere using your browser. One web2py instance can run multiple web sites using different databases. Try the <a href="http://www.web2py.com/demo_admin">interactive demo</a>.</p>
|
<p>Create, modify, deploy and manage application from anywhere using your browser. One web2py instance can run multiple web sites using different databases. Try the <a href="http://www.web2py.com/demo_admin">interactive demo</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span4">
|
</div>
|
||||||
<h3><a href="{{=URL('documentation')}}">Extensive Docs</a></h3>
|
<div class="third">
|
||||||
|
<div class="padded">
|
||||||
|
<h5><a href="{{=URL('documentation')}}">Extensive Docs</a></h5>
|
||||||
<p>Start with some <a href="{{=URL('examples')}}">quick examples</a>, then read the <a href="http://www.web2py.com/book" target="_blank">manual</a> and the <a href="http://web2py.readthedocs.org/en/latest/" target="_blank">Sphinx docs</a>, watch <a href="http://vimeo.com/album/178500" target="_blank">videos</a>, and join a <a href="{{=URL('default', 'usergroups')}}">user group</a> for discussion. Take advantage of the <a href="http://www.web2py.com/layouts" target="_blank">layouts</a>, <a href="http://dev.s-cubism.com/web2py_plugins" target="_blank">plugins</a>, <a href="http://www.web2py.com/appliances" target="_blank">appliances</a>, and <a href="http://web2pyslices.com" target="_blank">recipes</a>.</p>
|
<p>Start with some <a href="{{=URL('examples')}}">quick examples</a>, then read the <a href="http://www.web2py.com/book" target="_blank">manual</a> and the <a href="http://web2py.readthedocs.org/en/latest/" target="_blank">Sphinx docs</a>, watch <a href="http://vimeo.com/album/178500" target="_blank">videos</a>, and join a <a href="{{=URL('default', 'usergroups')}}">user group</a> for discussion. Take advantage of the <a href="http://www.web2py.com/layouts" target="_blank">layouts</a>, <a href="http://dev.s-cubism.com/web2py_plugins" target="_blank">plugins</a>, <a href="http://www.web2py.com/appliances" target="_blank">appliances</a>, and <a href="http://web2pyslices.com" target="_blank">recipes</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row-fluid">
|
<div class="container">
|
||||||
<div class="span12">
|
<div class="fill padded">
|
||||||
<img class="scale-with-grid centered" src="/examples/static/images/shadow-bottom.png">
|
<img class="scale-with-grid centered" src="/examples/static/images/shadow-bottom.png">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row-fluid">
|
|
||||||
<div class="span12">
|
|
||||||
{{for k,quote in enumerate(quotes[:3]):}}
|
|
||||||
<div class="span4">
|
|
||||||
<p style="text-align: left"><em>{{=quote[0]}}</em></p>
|
|
||||||
<span class="right">
|
|
||||||
<a href="{{=quote[2]}}">{{=quote[1]}}</a>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{{pass}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
{{block right_sidebar}}
|
{{block right_sidebar}}
|
||||||
<center>
|
<center>
|
||||||
|
<!--
|
||||||
<h3 class="feature-title">SITES POWERED BY WEB2PY</h3>
|
<h3 class="feature-title">SITES POWERED BY WEB2PY</h3>
|
||||||
<a href="http://web2py.com/poweredby"><img class="frame" id="img1" width="200px"/></a>
|
<a href="http://web2py.com/poweredby"><img class="frame" id="img1" width="200px"/></a>
|
||||||
<a href="http://web2py.com/poweredby"><img class="frame" id="img2" width="200px"/></a>
|
<a href="http://web2py.com/poweredby"><img class="frame" id="img2" width="200px"/></a>
|
||||||
@@ -14,7 +15,7 @@
|
|||||||
<a href="http://web2py.com/poweredby"><img class="frame" id="img6" width="200px"/></a>
|
<a href="http://web2py.com/poweredby"><img class="frame" id="img6" width="200px"/></a>
|
||||||
<a href="http://web2py.com/poweredby"><img class="frame" id="img7" width="200px"/></a>
|
<a href="http://web2py.com/poweredby"><img class="frame" id="img7" width="200px"/></a>
|
||||||
<a href="http://web2py.com/poweredby"><img class="frame" id="img8" width="200px"/></a>
|
<a href="http://web2py.com/poweredby"><img class="frame" id="img8" width="200px"/></a>
|
||||||
</div>
|
-->
|
||||||
</center>
|
</center>
|
||||||
<script>
|
<script>
|
||||||
function showimages() {
|
function showimages() {
|
||||||
|
|||||||
@@ -1,173 +1,67 @@
|
|||||||
<!--[if HTML5]><![endif]-->
|
<html>
|
||||||
<!DOCTYPE html>
|
<head>
|
||||||
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
<meta charset="utf-8">
|
||||||
<!--[if lt IE 7]><html class="ie ie6 ie-lte9 ie-lte8 ie-lte7 no-js" lang="{{=T.accepted_language or 'en'}}"> <![endif]-->
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<!--[if IE 7]><html class="ie ie7 ie-lte9 ie-lte8 ie-lte7 no-js" lang="{{=T.accepted_language or 'en'}}"> <![endif]-->
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<!--[if IE 8]><html class="ie ie8 ie-lte9 ie-lte8 no-js" lang="{{=T.accepted_language or 'en'}}"> <![endif]-->
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||||
<!--[if IE 9]><html class="ie9 ie-lte9 no-js" lang="{{=T.accepted_language or 'en'}}"> <![endif]-->
|
<link href="{{=URL('static','css/stupid.css')}}" rel="stylesheet" type="text/css"/>
|
||||||
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="{{=T.accepted_language or 'en'}}"> <!--<![endif]-->
|
<link href="{{=URL('static','css/calendar.css')}}" rel="stylesheet" type="text/css"/>
|
||||||
<head>
|
<link href="{{=URL('static','css/web2py.css')}}" rel="stylesheet" type="text/css"/>
|
||||||
<title>{{=response.title or request.application}}</title>
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||||
<!--[if !HTML5]>
|
<style>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge{{=not request.is_local and ',chrome=1' or ''}}">
|
th {color: black}
|
||||||
<![endif]-->
|
tbody tr:hover {background-color:transparent}
|
||||||
<!-- www.phpied.com/conditional-comments-block-downloads/ -->
|
tbody tr {border-bottom: none}
|
||||||
<!-- Always force latest IE rendering engine
|
p {text-align: left}
|
||||||
(even in intranet) & Chrome Frame
|
pre {background-color: black!important;border-radius:5px; color:white; padding:10px}
|
||||||
Remove this if you use the .htaccess -->
|
.btn.btn-180 {min-width:180px!important}
|
||||||
|
</style>
|
||||||
<meta charset="utf-8" />
|
{{
|
||||||
|
left_sidebar_enabled = globals().get('left_sidebar_enabled', False)
|
||||||
<!-- http://dev.w3.org/html5/markup/meta.name.html -->
|
right_sidebar_enabled = globals().get('right_sidebar_enabled', False)
|
||||||
<meta name="application-name" content="{{=request.application}}" />
|
middle_column = {0: 'fill', 1: 'threequarters', 2: 'half'}[
|
||||||
|
|
||||||
<!-- Speaking of Google, don't forget to set your site up:
|
|
||||||
http://google.com/webmasters -->
|
|
||||||
<meta name="google-site-verification" content="" />
|
|
||||||
|
|
||||||
<!-- Mobile Viewport Fix
|
|
||||||
j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag
|
|
||||||
device-width: Occupy full width of the screen in its current orientation
|
|
||||||
initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height
|
|
||||||
user-scalable = yes allows the user to zoom in -->
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
||||||
|
|
||||||
<link rel="shortcut icon" href="{{=URL('static','images/favicon.ico')}}" type="image/x-icon">
|
|
||||||
<link rel="apple-touch-icon" href="{{=URL('static','images/favicon.png')}}">
|
|
||||||
|
|
||||||
<!-- All JavaScript at the bottom, except for Modernizr which enables
|
|
||||||
HTML5 elements & feature detects -->
|
|
||||||
<script src="{{=URL('static','js/modernizr.custom.js')}}"></script>
|
|
||||||
|
|
||||||
<!-- include stylesheets -->
|
|
||||||
{{
|
|
||||||
response.files.append(URL('static','css/web2py.css'))
|
|
||||||
response.files.append(URL('static','css/bootstrap.min.css'))
|
|
||||||
response.files.append(URL('static','css/bootstrap-responsive.min.css'))
|
|
||||||
response.files.append(URL('static','css/web2py_bootstrap.css'))
|
|
||||||
response.files.append(URL('static','css/examples.css'))
|
|
||||||
}}
|
|
||||||
|
|
||||||
{{include 'web2py_ajax.html'}}
|
|
||||||
|
|
||||||
{{
|
|
||||||
# using sidebars need to know what sidebar you want to use
|
|
||||||
left_sidebar_enabled = globals().get('left_sidebar_enabled',False)
|
|
||||||
right_sidebar_enabled = globals().get('right_sidebar_enabled',False)
|
|
||||||
middle_columns = {0:'span12',1:'span9',2:'span6'}[
|
|
||||||
(left_sidebar_enabled and 1 or 0)+(right_sidebar_enabled and 1 or 0)]
|
(left_sidebar_enabled and 1 or 0)+(right_sidebar_enabled and 1 or 0)]
|
||||||
}}
|
}}
|
||||||
|
{{include "web2py_ajax.html"}}
|
||||||
<!-- uncomment here to load jquery-ui
|
</head>
|
||||||
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css" type="text/css" media="all" />
|
<body class="black">
|
||||||
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script>
|
<header class="black padded">
|
||||||
uncomment to load jquery-ui //-->
|
<div class="container middle max900">
|
||||||
<noscript><link href="{{=URL('static', 'css/web2py_bootstrap_nojs.css')}}" rel="stylesheet" type="text/css" /></noscript>
|
<div class="fill middle">
|
||||||
{{block head}}{{end}}
|
<label class="ham padded fa fa-bars" for="menu"></label>
|
||||||
</head>
|
<div class="burger accordion">
|
||||||
|
<input type="checkbox" id="menu"/>
|
||||||
<body>
|
{{=MENU(response.menu,_class='menu')}}
|
||||||
<!-- Navbar ================================================== -->
|
</div>
|
||||||
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
||||||
<div class="flash">{{=response.flash or ''}}</div>
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<!-- the next tag is necessary for bootstrap menus, do not remove -->
|
|
||||||
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
<span class="icon-bar"></span>
|
|
||||||
</button>
|
|
||||||
{{=response.logo or ''}}
|
|
||||||
<ul id="navbar" class="nav pull-right">{{='auth' in globals() and auth.navbar(mode="dropdown") or ''}}</ul>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
{{is_mobile=request.user_agent().is_mobile}}
|
|
||||||
{{if response.menu:}}
|
|
||||||
{{=MENU(response.menu, _class='mobile-menu nav' if is_mobile else 'nav',mobile=is_mobile,li_class='dropdown',ul_class='dropdown-menu')}}
|
|
||||||
{{pass}}
|
|
||||||
</div><!--/.nav-collapse -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div><!--/top navbar -->
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
<!-- Masthead ================================================== -->
|
|
||||||
<header class="mastheader" id="header">
|
|
||||||
<div class="span4">
|
|
||||||
<div class="page-header">
|
|
||||||
<img src="{{=URL('static','images/web2py_logo.png')}}" class="logo" alt="web2py logo" />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
{{if response.flash:}}
|
||||||
<div class="container">
|
<div class="w2p_flash">
|
||||||
|
{{=response.flash}}
|
||||||
<section id="main" class="main row">
|
|
||||||
{{if left_sidebar_enabled:}}
|
|
||||||
<div class="span3 left-sidebar">
|
|
||||||
{{block left_sidebar}}
|
|
||||||
<h3>Left Sidebar</h3>
|
|
||||||
<p></p>
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
{{pass}}
|
|
||||||
|
|
||||||
<div class="{{=middle_columns}}">
|
|
||||||
{{block center}}
|
|
||||||
{{include}}
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{if right_sidebar_enabled:}}
|
|
||||||
<div class="span3">
|
|
||||||
{{block right_sidebar}}
|
|
||||||
<h3>Right Sidebar</h3>
|
|
||||||
<p></p>
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
{{pass}}
|
|
||||||
</section><!--/main-->
|
|
||||||
|
|
||||||
<!-- Footer ================================================== -->
|
|
||||||
<div class="row">
|
|
||||||
<footer class="footer span12" id="footer">
|
|
||||||
<div class="footer-content">
|
|
||||||
{{block footer}} <!-- this is default footer -->
|
|
||||||
<div id="poweredBy" class="pull-right">
|
|
||||||
{{=T('Copyright')}} © {{=request.now.year}} -
|
|
||||||
{{=T('Powered by')}}
|
|
||||||
<a href="http://www.web2py.com/">web2py</a> -
|
|
||||||
{{=T('Hosted by')}}
|
|
||||||
<a href="http://pythonanywhere.com">PythonAnywhere</a>
|
|
||||||
</div>
|
|
||||||
{{end}}
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
</div>
|
</div>
|
||||||
|
{{pass}}
|
||||||
</div> <!-- /container -->
|
<main class="white">
|
||||||
|
<div class="container max900">
|
||||||
<!-- The javascript =============================================
|
{{if left_sidebar_enabled:}}
|
||||||
(Placed at the end of the document so the pages load faster) -->
|
<div class="quarter padded">{{block left_sidebar}}{{end}}</div>
|
||||||
<script src="{{=URL('static','js/bootstrap.min.js')}}"></script>
|
{{pass}}
|
||||||
<script src="{{=URL('static','js/web2py_bootstrap.js')}}"></script>
|
<div class="{{=middle_column}} padded">{{include}}</div>
|
||||||
<!--[if lt IE 7 ]>
|
{{if right_sidebar_enabled:}}
|
||||||
<script src="{{=URL('static','js/dd_belatedpng.js')}}"></script>
|
<div class="quarter padded">{{block right_sidebar}}{{end}}</div>
|
||||||
<script> DD_belatedPNG.fix('img, .png_bg'); //fix any <img> or .png_bg background-images </script>
|
{{pass}}
|
||||||
<![endif]-->
|
</div>
|
||||||
|
</main>
|
||||||
{{if response.google_analytics_id:}}
|
<footer class="black">
|
||||||
<script src="{{=URL('static','js/analytics.min.js')}}"></script>
|
<div class="container padded max900">
|
||||||
<script type="text/javascript">
|
<div class="fill">
|
||||||
analytics.initialize({
|
Copyright @ 2016 - Web2py theme based on <a href="http://mdipierro.github.io/stupid.css/index.html">stupid.css</a>
|
||||||
'Google Analytics':{trackingId:'{{=response.google_analytics_id}}'}
|
</div>
|
||||||
});</script>
|
</div>
|
||||||
{{pass}}
|
</footer>
|
||||||
<script src="{{=URL('static','js/share.js',vars=dict(static=URL('static','images')))}}"></script>
|
</body>
|
||||||
<a style="position:fixed;bottom:0;left:0;z-index:1000" href="https://groups.google.com/forum/?fromgroups#!forum/web2py" target="_blank">
|
<script>
|
||||||
<img src="{{=URL('static','images/questions.png')}}" />
|
// prevent android horizontal scrolling
|
||||||
</a>
|
window.addEventListener("scroll", function(){window.scroll(0, window.pageYOffset);}, false);
|
||||||
|
</script>
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
Reference in new issue
Block a user