##// END OF EJS Templates
fight with bootstrap a little less in tree view
MinRK -
Show More
@@ -1,542 +1,542 b''
1 1 .clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0;}
2 2 .clearfix:after{clear:both;}
3 3 .hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0;}
4 4 .input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
5 5 @-ms-viewport{width:device-width;}.hidden{display:none;visibility:hidden;}
6 6 .visible-phone{display:none !important;}
7 7 .visible-tablet{display:none !important;}
8 8 .hidden-desktop{display:none !important;}
9 9 .visible-desktop{display:inherit !important;}
10 10 @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;}
11 11 @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;content:"";line-height:0;} .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;content:"";line-height:0;} .row-fluid:after{clear:both;} .row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.564102564102564%;*margin-left:2.5109110747408616%;} .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.0987452264048%;} .row-fluid .offset3:first-child{margin-left:25.641025641025642%;*margin-left:25.53464266230224%;} .row-fluid .offset2{margin-left:19.65811965811966%;*margin-left:19.551736679396257%;} .row-fluid .offset2:first-child{margin-left:17.094017094017094%;*margin-left:16.98763411529369%;} .row-fluid .offset1{margin-left:11.11111111111111%;*margin-left:11.004728132387708%;} .row-fluid .offset1:first-child{margin-left:8.547008547008547%;*margin-left:8.440625568285142%;} input,textarea,.uneditable-input{margin-left:0;} .controls-row [class*="span"]+[class*="span"]{margin-left:30px;} input.span12,textarea.span12,.uneditable-input.span12{width:1156px;} input.span11,textarea.span11,.uneditable-input.span11{width:1056px;} input.span10,textarea.span10,.uneditable-input.span10{width:956px;} input.span9,textarea.span9,.uneditable-input.span9{width:856px;} input.span8,textarea.span8,.uneditable-input.span8{width:756px;} input.span7,textarea.span7,.uneditable-input.span7{width:656px;} input.span6,textarea.span6,.uneditable-input.span6{width:556px;} input.span5,textarea.span5,.uneditable-input.span5{width:456px;} input.span4,textarea.span4,.uneditable-input.span4{width:356px;} input.span3,textarea.span3,.uneditable-input.span3{width:256px;} input.span2,textarea.span2,.uneditable-input.span2{width:156px;} input.span1,textarea.span1,.uneditable-input.span1{width:56px;} .thumbnails{margin-left:-30px;} .thumbnails>li{margin-left:30px;} .row-fluid .thumbnails{margin-left:0;}}@media (min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";line-height:0;} .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:724px;} .span12{width:724px;} .span11{width:662px;} .span10{width:600px;} .span9{width:538px;} .span8{width:476px;} .span7{width:414px;} .span6{width:352px;} .span5{width:290px;} .span4{width:228px;} .span3{width:166px;} .span2{width:104px;} .span1{width:42px;} .offset12{margin-left:764px;} .offset11{margin-left:702px;} .offset10{margin-left:640px;} .offset9{margin-left:578px;} .offset8{margin-left:516px;} .offset7{margin-left:454px;} .offset6{margin-left:392px;} .offset5{margin-left:330px;} .offset4{margin-left:268px;} .offset3{margin-left:206px;} .offset2{margin-left:144px;} .offset1{margin-left:82px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";line-height:0;} .row-fluid:after{clear:both;} .row-fluid [class*="span"]{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:2.7624309392265194%;*margin-left:2.709239449864817%;} .row-fluid [class*="span"]:first-child{margin-left:0;} .row-fluid .controls-row [class*="span"]+[class*="span"]{margin-left:2.7624309392265194%;} .row-fluid .span12{width:100%;*width:99.94680851063829%;} .row-fluid .span11{width:91.43646408839778%;*width:91.38327259903608%;} .row-fluid .span10{width:82.87292817679558%;*width:82.81973668743387%;} .row-fluid .span9{width:74.30939226519337%;*width:74.25620077583166%;} .row-fluid .span8{width:65.74585635359117%;*width:65.69266486422946%;} .row-fluid .span7{width:57.18232044198895%;*width:57.12912895262725%;} .row-fluid .span6{width:48.61878453038674%;*width:48.56559304102504%;} .row-fluid .span5{width:40.05524861878453%;*width:40.00205712942283%;} .row-fluid .span4{width:31.491712707182323%;*width:31.43852121782062%;} .row-fluid .span3{width:22.92817679558011%;*width:22.87498530621841%;} .row-fluid .span2{width:14.3646408839779%;*width:14.311449394616199%;} .row-fluid .span1{width:5.801104972375691%;*width:5.747913483013988%;} .row-fluid .offset12{margin-left:105.52486187845304%;*margin-left:105.41847889972962%;} .row-fluid .offset12:first-child{margin-left:102.76243093922652%;*margin-left:102.6560479605031%;} .row-fluid .offset11{margin-left:96.96132596685082%;*margin-left:96.8549429881274%;} .row-fluid .offset11:first-child{margin-left:94.1988950276243%;*margin-left:94.09251204890089%;} .row-fluid .offset10{margin-left:88.39779005524862%;*margin-left:88.2914070765252%;} .row-fluid .offset10:first-child{margin-left:85.6353591160221%;*margin-left:85.52897613729868%;} .row-fluid .offset9{margin-left:79.8342541436464%;*margin-left:79.72787116492299%;} .row-fluid .offset9:first-child{margin-left:77.07182320441989%;*margin-left:76.96544022569647%;} .row-fluid .offset8{margin-left:71.2707182320442%;*margin-left:71.16433525332079%;} .row-fluid .offset8:first-child{margin-left:68.50828729281768%;*margin-left:68.40190431409427%;} .row-fluid .offset7{margin-left:62.70718232044199%;*margin-left:62.600799341718584%;} .row-fluid .offset7:first-child{margin-left:59.94475138121547%;*margin-left:59.838368402492065%;} .row-fluid .offset6{margin-left:54.14364640883978%;*margin-left:54.037263430116376%;} .row-fluid .offset6:first-child{margin-left:51.38121546961326%;*margin-left:51.27483249088986%;} .row-fluid .offset5{margin-left:45.58011049723757%;*margin-left:45.47372751851417%;} .row-fluid .offset5:first-child{margin-left:42.81767955801105%;*margin-left:42.71129657928765%;} .row-fluid .offset4{margin-left:37.01657458563536%;*margin-left:36.91019160691196%;} .row-fluid .offset4:first-child{margin-left:34.25414364640884%;*margin-left:34.14776066768544%;} .row-fluid .offset3{margin-left:28.45303867403315%;*margin-left:28.346655695309746%;} .row-fluid .offset3:first-child{margin-left:25.69060773480663%;*margin-left:25.584224756083227%;} .row-fluid .offset2{margin-left:19.88950276243094%;*margin-left:19.783119783707537%;} .row-fluid .offset2:first-child{margin-left:17.12707182320442%;*margin-left:17.02068884448102%;} .row-fluid .offset1{margin-left:11.32596685082873%;*margin-left:11.219583872105325%;} .row-fluid .offset1:first-child{margin-left:8.56353591160221%;*margin-left:8.457152932878806%;} input,textarea,.uneditable-input{margin-left:0;} .controls-row [class*="span"]+[class*="span"]{margin-left:20px;} input.span12,textarea.span12,.uneditable-input.span12{width:710px;} input.span11,textarea.span11,.uneditable-input.span11{width:648px;} input.span10,textarea.span10,.uneditable-input.span10{width:586px;} input.span9,textarea.span9,.uneditable-input.span9{width:524px;} input.span8,textarea.span8,.uneditable-input.span8{width:462px;} input.span7,textarea.span7,.uneditable-input.span7{width:400px;} input.span6,textarea.span6,.uneditable-input.span6{width:338px;} input.span5,textarea.span5,.uneditable-input.span5{width:276px;} input.span4,textarea.span4,.uneditable-input.span4{width:214px;} input.span3,textarea.span3,.uneditable-input.span3{width:152px;} input.span2,textarea.span2,.uneditable-input.span2{width:90px;} input.span1,textarea.span1,.uneditable-input.span1{width:28px;}}@media (max-width:767px){body{padding-left:20px;padding-right:20px;} .navbar-fixed-top,.navbar-fixed-bottom,.navbar-static-top{margin-left:-20px;margin-right:-20px;} .container-fluid{padding:0;} .dl-horizontal dt{float:none;clear:none;width:auto;text-align:left;} .dl-horizontal dd{margin-left:0;} .container{width:auto;} .row-fluid{width:100%;} .row,.thumbnails{margin-left:0;} .thumbnails>li{float:none;margin-left:0;} [class*="span"],.uneditable-input[class*="span"],.row-fluid [class*="span"]{float:none;display:block;width:100%;margin-left:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .span12,.row-fluid .span12{width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .row-fluid [class*="offset"]:first-child{margin-left:0;} .input-large,.input-xlarge,.input-xxlarge,input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .input-prepend input,.input-append input,.input-prepend input[class*="span"],.input-append input[class*="span"]{display:inline-block;width:auto;} .controls-row [class*="span"]+[class*="span"]{margin-left:0;} .modal{position:fixed;top:20px;left:20px;right:20px;width:auto;margin:0;}.modal.fade{top:-100px;} .modal.fade.in{top:20px;}}@media (max-width:480px){.nav-collapse{-webkit-transform:translate3d(0, 0, 0);} .page-header h1 small{display:block;line-height:20px;} input[type="checkbox"],input[type="radio"]{border:1px solid #ccc;} .form-horizontal .control-label{float:none;width:auto;padding-top:0;text-align:left;} .form-horizontal .controls{margin-left:0;} .form-horizontal .control-list{padding-top:0;} .form-horizontal .form-actions{padding-left:10px;padding-right:10px;} .media .pull-left,.media .pull-right{float:none;display:block;margin-bottom:10px;} .media-object{margin-right:0;margin-left:0;} .modal{top:10px;left:10px;right:10px;} .modal-header .close{padding:10px;margin:-10px;} .carousel-caption{position:static;}}@media (max-width:979px){body{padding-top:0;} .navbar-fixed-top,.navbar-fixed-bottom{position:static;} .navbar-fixed-top{margin-bottom:20px;} .navbar-fixed-bottom{margin-top:20px;} .navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding:5px;} .navbar .container{width:auto;padding:0;} .navbar .brand{padding-left:10px;padding-right:10px;margin:0 0 0 -5px;} .nav-collapse{clear:both;} .nav-collapse .nav{float:none;margin:0 0 10px;} .nav-collapse .nav>li{float:none;} .nav-collapse .nav>li>a{margin-bottom:2px;} .nav-collapse .nav>.divider-vertical{display:none;} .nav-collapse .nav .nav-header{color:#777777;text-shadow:none;} .nav-collapse .nav>li>a,.nav-collapse .dropdown-menu a{padding:9px 15px;font-weight:bold;color:#777777;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} .nav-collapse .btn{padding:4px 10px 4px;font-weight:normal;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} .nav-collapse .dropdown-menu li+li a{margin-bottom:2px;} .nav-collapse .nav>li>a:hover,.nav-collapse .nav>li>a:focus,.nav-collapse .dropdown-menu a:hover,.nav-collapse .dropdown-menu a:focus{background-color:#f2f2f2;} .navbar-inverse .nav-collapse .nav>li>a,.navbar-inverse .nav-collapse .dropdown-menu a{color:#999999;} .navbar-inverse .nav-collapse .nav>li>a:hover,.navbar-inverse .nav-collapse .nav>li>a:focus,.navbar-inverse .nav-collapse .dropdown-menu a:hover,.navbar-inverse .nav-collapse .dropdown-menu a:focus{background-color:#111111;} .nav-collapse.in .btn-group{margin-top:5px;padding:0;} .nav-collapse .dropdown-menu{position:static;top:auto;left:auto;float:none;display:none;max-width:none;margin:0 15px;padding:0;background-color:transparent;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} .nav-collapse .open>.dropdown-menu{display:block;} .nav-collapse .dropdown-menu:before,.nav-collapse .dropdown-menu:after{display:none;} .nav-collapse .dropdown-menu .divider{display:none;} .nav-collapse .nav>li>.dropdown-menu:before,.nav-collapse .nav>li>.dropdown-menu:after{display:none;} .nav-collapse .navbar-form,.nav-collapse .navbar-search{float:none;padding:10px 15px;margin:10px 0;border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);-moz-box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);} .navbar-inverse .nav-collapse .navbar-form,.navbar-inverse .nav-collapse .navbar-search{border-top-color:#111111;border-bottom-color:#111111;} .navbar .nav-collapse .nav.pull-right{float:none;margin-left:0;} .nav-collapse,.nav-collapse.collapse{overflow:hidden;height:0;} .navbar .btn-navbar{display:block;} .navbar-static .navbar-inner{padding-left:10px;padding-right:10px;}}@media (min-width:980px){.nav-collapse.collapse{height:auto !important;overflow:visible !important;}}.border-box-sizing{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}
12 12 .corner-all{border-radius:4px;}
13 13 .hbox{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
14 14 .hbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;}
15 15 .vbox{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
16 16 .vbox>*{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;}
17 17 .reverse{-webkit-box-direction:reverse;-moz-box-direction:reverse;box-direction:reverse;}
18 18 .box-flex0{-webkit-box-flex:0;-moz-box-flex:0;box-flex:0;}
19 19 .box-flex1{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;}
20 20 .box-flex{-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;}
21 21 .box-flex2{-webkit-box-flex:2;-moz-box-flex:2;box-flex:2;}
22 22 .box-group1{-webkit-box-flex-group:1;-moz-box-flex-group:1;box-flex-group:1;}
23 23 .box-group2{-webkit-box-flex-group:2;-moz-box-flex-group:2;box-flex-group:2;}
24 24 .start{-webkit-box-pack:start;-moz-box-pack:start;box-pack:start;}
25 25 .end{-webkit-box-pack:end;-moz-box-pack:end;box-pack:end;}
26 26 .center{-webkit-box-pack:center;-moz-box-pack:center;box-pack:center;}
27 27 body{background-color:white;position:absolute;left:0px;right:0px;top:0px;bottom:0px;overflow:visible;}
28 28 div#header{display:none;}
29 29 #ipython_notebook{padding:8px 10px 0px 10px;}
30 30 #ipython_notebook img{font-family:Verdana,"Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;height:24px;text-decoration:none;color:black;}
31 31 #site{width:100%;display:none;}
32 32 .ui-button .ui-button-text{padding:0.2em 0.8em;font-size:77%;}
33 33 input.ui-button{padding:0.3em 0.9em;}
34 34 span#login_widget{float:right;margin-top:2px;}
35 35 .nav-header{text-transform:none;}
36 36 .navbar-nobg{background-color:transparent;background-image:none;}
37 37 #header>span{margin-top:10px;}
38 38 @font-face{font-family:'FontAwesome';src:url('../components/font-awesome/build/assets/font-awesome/font/fontawesome-webfont.eot?v=3.1.0');src:url('../components/font-awesome/build/assets/font-awesome/font/fontawesome-webfont.eot?#iefix&v=3.1.0') format('embedded-opentype'),url('../components/font-awesome/build/assets/font-awesome/font/fontawesome-webfont.woff?v=3.1.0') format('woff'),url('../components/font-awesome/build/assets/font-awesome/font/fontawesome-webfont.ttf?v=3.1.0') format('truetype'),url('../components/font-awesome/build/assets/font-awesome/font/fontawesome-webfont.svg#fontawesomeregular?v=3.1.0') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}
39 39 [class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;}
40 40 .icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;}
41 41 a [class^="icon-"],a [class*=" icon-"],a [class^="icon-"]:before,a [class*=" icon-"]:before{display:inline;}
42 42 [class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.2857142857142858em;text-align:center;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.5714285714285714em;}
43 43 ul.icons-ul{list-style-type:none;text-indent:-0.7142857142857143em;margin-left:2.142857142857143em;}ul.icons-ul>li .icon-li{width:0.7142857142857143em;display:inline-block;text-align:center;}
44 44 [class^="icon-"].hide,[class*=" icon-"].hide{display:none;}
45 45 .icon-muted{color:#eeeeee;}
46 46 .icon-light{color:#ffffff;}
47 47 .icon-dark{color:#333333;}
48 48 .icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
49 49 .icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
50 50 .icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
51 51 .icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
52 52 .icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;}
53 53 .pull-right{float:right;}
54 54 .pull-left{float:left;}
55 55 [class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;}
56 56 [class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;}
57 57 [class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;}
58 58 .icon-white,.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-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;}
59 59 .btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;}
60 60 .btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;}
61 61 .nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;}
62 62 .btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;}
63 63 .btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;}
64 64 .btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;}
65 65 .btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;}
66 66 .btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;}
67 67 .btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;}
68 68 .icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;}
69 69 .icon-stack .icon-stack-base{font-size:2em;*line-height:1em;}
70 70 .icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;}
71 71 @-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);}
72 72 .icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);}
73 73 .icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);}
74 74 .icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);}
75 75 .icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);}
76 76 .icon-glass:before{content:"\f000";}
77 77 .icon-music:before{content:"\f001";}
78 78 .icon-search:before{content:"\f002";}
79 79 .icon-envelope:before{content:"\f003";}
80 80 .icon-heart:before{content:"\f004";}
81 81 .icon-star:before{content:"\f005";}
82 82 .icon-star-empty:before{content:"\f006";}
83 83 .icon-user:before{content:"\f007";}
84 84 .icon-film:before{content:"\f008";}
85 85 .icon-th-large:before{content:"\f009";}
86 86 .icon-th:before{content:"\f00a";}
87 87 .icon-th-list:before{content:"\f00b";}
88 88 .icon-ok:before{content:"\f00c";}
89 89 .icon-remove:before{content:"\f00d";}
90 90 .icon-zoom-in:before{content:"\f00e";}
91 91 .icon-zoom-out:before{content:"\f010";}
92 92 .icon-off:before{content:"\f011";}
93 93 .icon-signal:before{content:"\f012";}
94 94 .icon-cog:before{content:"\f013";}
95 95 .icon-trash:before{content:"\f014";}
96 96 .icon-home:before{content:"\f015";}
97 97 .icon-file:before{content:"\f016";}
98 98 .icon-time:before{content:"\f017";}
99 99 .icon-road:before{content:"\f018";}
100 100 .icon-download-alt:before{content:"\f019";}
101 101 .icon-download:before{content:"\f01a";}
102 102 .icon-upload:before{content:"\f01b";}
103 103 .icon-inbox:before{content:"\f01c";}
104 104 .icon-play-circle:before{content:"\f01d";}
105 105 .icon-repeat:before,.icon-rotate-right:before{content:"\f01e";}
106 106 .icon-refresh:before{content:"\f021";}
107 107 .icon-list-alt:before{content:"\f022";}
108 108 .icon-lock:before{content:"\f023";}
109 109 .icon-flag:before{content:"\f024";}
110 110 .icon-headphones:before{content:"\f025";}
111 111 .icon-volume-off:before{content:"\f026";}
112 112 .icon-volume-down:before{content:"\f027";}
113 113 .icon-volume-up:before{content:"\f028";}
114 114 .icon-qrcode:before{content:"\f029";}
115 115 .icon-barcode:before{content:"\f02a";}
116 116 .icon-tag:before{content:"\f02b";}
117 117 .icon-tags:before{content:"\f02c";}
118 118 .icon-book:before{content:"\f02d";}
119 119 .icon-bookmark:before{content:"\f02e";}
120 120 .icon-print:before{content:"\f02f";}
121 121 .icon-camera:before{content:"\f030";}
122 122 .icon-font:before{content:"\f031";}
123 123 .icon-bold:before{content:"\f032";}
124 124 .icon-italic:before{content:"\f033";}
125 125 .icon-text-height:before{content:"\f034";}
126 126 .icon-text-width:before{content:"\f035";}
127 127 .icon-align-left:before{content:"\f036";}
128 128 .icon-align-center:before{content:"\f037";}
129 129 .icon-align-right:before{content:"\f038";}
130 130 .icon-align-justify:before{content:"\f039";}
131 131 .icon-list:before{content:"\f03a";}
132 132 .icon-indent-left:before{content:"\f03b";}
133 133 .icon-indent-right:before{content:"\f03c";}
134 134 .icon-facetime-video:before{content:"\f03d";}
135 135 .icon-picture:before{content:"\f03e";}
136 136 .icon-pencil:before{content:"\f040";}
137 137 .icon-map-marker:before{content:"\f041";}
138 138 .icon-adjust:before{content:"\f042";}
139 139 .icon-tint:before{content:"\f043";}
140 140 .icon-edit:before{content:"\f044";}
141 141 .icon-share:before{content:"\f045";}
142 142 .icon-check:before{content:"\f046";}
143 143 .icon-move:before{content:"\f047";}
144 144 .icon-step-backward:before{content:"\f048";}
145 145 .icon-fast-backward:before{content:"\f049";}
146 146 .icon-backward:before{content:"\f04a";}
147 147 .icon-play:before{content:"\f04b";}
148 148 .icon-pause:before{content:"\f04c";}
149 149 .icon-stop:before{content:"\f04d";}
150 150 .icon-forward:before{content:"\f04e";}
151 151 .icon-fast-forward:before{content:"\f050";}
152 152 .icon-step-forward:before{content:"\f051";}
153 153 .icon-eject:before{content:"\f052";}
154 154 .icon-chevron-left:before{content:"\f053";}
155 155 .icon-chevron-right:before{content:"\f054";}
156 156 .icon-plus-sign:before{content:"\f055";}
157 157 .icon-minus-sign:before{content:"\f056";}
158 158 .icon-remove-sign:before{content:"\f057";}
159 159 .icon-ok-sign:before{content:"\f058";}
160 160 .icon-question-sign:before{content:"\f059";}
161 161 .icon-info-sign:before{content:"\f05a";}
162 162 .icon-screenshot:before{content:"\f05b";}
163 163 .icon-remove-circle:before{content:"\f05c";}
164 164 .icon-ok-circle:before{content:"\f05d";}
165 165 .icon-ban-circle:before{content:"\f05e";}
166 166 .icon-arrow-left:before{content:"\f060";}
167 167 .icon-arrow-right:before{content:"\f061";}
168 168 .icon-arrow-up:before{content:"\f062";}
169 169 .icon-arrow-down:before{content:"\f063";}
170 170 .icon-share-alt:before,.icon-mail-forward:before{content:"\f064";}
171 171 .icon-resize-full:before{content:"\f065";}
172 172 .icon-resize-small:before{content:"\f066";}
173 173 .icon-plus:before{content:"\f067";}
174 174 .icon-minus:before{content:"\f068";}
175 175 .icon-asterisk:before{content:"\f069";}
176 176 .icon-exclamation-sign:before{content:"\f06a";}
177 177 .icon-gift:before{content:"\f06b";}
178 178 .icon-leaf:before{content:"\f06c";}
179 179 .icon-fire:before{content:"\f06d";}
180 180 .icon-eye-open:before{content:"\f06e";}
181 181 .icon-eye-close:before{content:"\f070";}
182 182 .icon-warning-sign:before{content:"\f071";}
183 183 .icon-plane:before{content:"\f072";}
184 184 .icon-calendar:before{content:"\f073";}
185 185 .icon-random:before{content:"\f074";}
186 186 .icon-comment:before{content:"\f075";}
187 187 .icon-magnet:before{content:"\f076";}
188 188 .icon-chevron-up:before{content:"\f077";}
189 189 .icon-chevron-down:before{content:"\f078";}
190 190 .icon-retweet:before{content:"\f079";}
191 191 .icon-shopping-cart:before{content:"\f07a";}
192 192 .icon-folder-close:before{content:"\f07b";}
193 193 .icon-folder-open:before{content:"\f07c";}
194 194 .icon-resize-vertical:before{content:"\f07d";}
195 195 .icon-resize-horizontal:before{content:"\f07e";}
196 196 .icon-bar-chart:before{content:"\f080";}
197 197 .icon-twitter-sign:before{content:"\f081";}
198 198 .icon-facebook-sign:before{content:"\f082";}
199 199 .icon-camera-retro:before{content:"\f083";}
200 200 .icon-key:before{content:"\f084";}
201 201 .icon-cogs:before{content:"\f085";}
202 202 .icon-comments:before{content:"\f086";}
203 203 .icon-thumbs-up:before{content:"\f087";}
204 204 .icon-thumbs-down:before{content:"\f088";}
205 205 .icon-star-half:before{content:"\f089";}
206 206 .icon-heart-empty:before{content:"\f08a";}
207 207 .icon-signout:before{content:"\f08b";}
208 208 .icon-linkedin-sign:before{content:"\f08c";}
209 209 .icon-pushpin:before{content:"\f08d";}
210 210 .icon-external-link:before{content:"\f08e";}
211 211 .icon-signin:before{content:"\f090";}
212 212 .icon-trophy:before{content:"\f091";}
213 213 .icon-github-sign:before{content:"\f092";}
214 214 .icon-upload-alt:before{content:"\f093";}
215 215 .icon-lemon:before{content:"\f094";}
216 216 .icon-phone:before{content:"\f095";}
217 217 .icon-check-empty:before{content:"\f096";}
218 218 .icon-bookmark-empty:before{content:"\f097";}
219 219 .icon-phone-sign:before{content:"\f098";}
220 220 .icon-twitter:before{content:"\f099";}
221 221 .icon-facebook:before{content:"\f09a";}
222 222 .icon-github:before{content:"\f09b";}
223 223 .icon-unlock:before{content:"\f09c";}
224 224 .icon-credit-card:before{content:"\f09d";}
225 225 .icon-rss:before{content:"\f09e";}
226 226 .icon-hdd:before{content:"\f0a0";}
227 227 .icon-bullhorn:before{content:"\f0a1";}
228 228 .icon-bell:before{content:"\f0a2";}
229 229 .icon-certificate:before{content:"\f0a3";}
230 230 .icon-hand-right:before{content:"\f0a4";}
231 231 .icon-hand-left:before{content:"\f0a5";}
232 232 .icon-hand-up:before{content:"\f0a6";}
233 233 .icon-hand-down:before{content:"\f0a7";}
234 234 .icon-circle-arrow-left:before{content:"\f0a8";}
235 235 .icon-circle-arrow-right:before{content:"\f0a9";}
236 236 .icon-circle-arrow-up:before{content:"\f0aa";}
237 237 .icon-circle-arrow-down:before{content:"\f0ab";}
238 238 .icon-globe:before{content:"\f0ac";}
239 239 .icon-wrench:before{content:"\f0ad";}
240 240 .icon-tasks:before{content:"\f0ae";}
241 241 .icon-filter:before{content:"\f0b0";}
242 242 .icon-briefcase:before{content:"\f0b1";}
243 243 .icon-fullscreen:before{content:"\f0b2";}
244 244 .icon-group:before{content:"\f0c0";}
245 245 .icon-link:before{content:"\f0c1";}
246 246 .icon-cloud:before{content:"\f0c2";}
247 247 .icon-beaker:before{content:"\f0c3";}
248 248 .icon-cut:before{content:"\f0c4";}
249 249 .icon-copy:before{content:"\f0c5";}
250 250 .icon-paper-clip:before{content:"\f0c6";}
251 251 .icon-save:before{content:"\f0c7";}
252 252 .icon-sign-blank:before{content:"\f0c8";}
253 253 .icon-reorder:before{content:"\f0c9";}
254 254 .icon-list-ul:before{content:"\f0ca";}
255 255 .icon-list-ol:before{content:"\f0cb";}
256 256 .icon-strikethrough:before{content:"\f0cc";}
257 257 .icon-underline:before{content:"\f0cd";}
258 258 .icon-table:before{content:"\f0ce";}
259 259 .icon-magic:before{content:"\f0d0";}
260 260 .icon-truck:before{content:"\f0d1";}
261 261 .icon-pinterest:before{content:"\f0d2";}
262 262 .icon-pinterest-sign:before{content:"\f0d3";}
263 263 .icon-google-plus-sign:before{content:"\f0d4";}
264 264 .icon-google-plus:before{content:"\f0d5";}
265 265 .icon-money:before{content:"\f0d6";}
266 266 .icon-caret-down:before{content:"\f0d7";}
267 267 .icon-caret-up:before{content:"\f0d8";}
268 268 .icon-caret-left:before{content:"\f0d9";}
269 269 .icon-caret-right:before{content:"\f0da";}
270 270 .icon-columns:before{content:"\f0db";}
271 271 .icon-sort:before{content:"\f0dc";}
272 272 .icon-sort-down:before{content:"\f0dd";}
273 273 .icon-sort-up:before{content:"\f0de";}
274 274 .icon-envelope-alt:before{content:"\f0e0";}
275 275 .icon-linkedin:before{content:"\f0e1";}
276 276 .icon-undo:before,.icon-rotate-left:before{content:"\f0e2";}
277 277 .icon-legal:before{content:"\f0e3";}
278 278 .icon-dashboard:before{content:"\f0e4";}
279 279 .icon-comment-alt:before{content:"\f0e5";}
280 280 .icon-comments-alt:before{content:"\f0e6";}
281 281 .icon-bolt:before{content:"\f0e7";}
282 282 .icon-sitemap:before{content:"\f0e8";}
283 283 .icon-umbrella:before{content:"\f0e9";}
284 284 .icon-paste:before{content:"\f0ea";}
285 285 .icon-lightbulb:before{content:"\f0eb";}
286 286 .icon-exchange:before{content:"\f0ec";}
287 287 .icon-cloud-download:before{content:"\f0ed";}
288 288 .icon-cloud-upload:before{content:"\f0ee";}
289 289 .icon-user-md:before{content:"\f0f0";}
290 290 .icon-stethoscope:before{content:"\f0f1";}
291 291 .icon-suitcase:before{content:"\f0f2";}
292 292 .icon-bell-alt:before{content:"\f0f3";}
293 293 .icon-coffee:before{content:"\f0f4";}
294 294 .icon-food:before{content:"\f0f5";}
295 295 .icon-file-alt:before{content:"\f0f6";}
296 296 .icon-building:before{content:"\f0f7";}
297 297 .icon-hospital:before{content:"\f0f8";}
298 298 .icon-ambulance:before{content:"\f0f9";}
299 299 .icon-medkit:before{content:"\f0fa";}
300 300 .icon-fighter-jet:before{content:"\f0fb";}
301 301 .icon-beer:before{content:"\f0fc";}
302 302 .icon-h-sign:before{content:"\f0fd";}
303 303 .icon-plus-sign-alt:before{content:"\f0fe";}
304 304 .icon-double-angle-left:before{content:"\f100";}
305 305 .icon-double-angle-right:before{content:"\f101";}
306 306 .icon-double-angle-up:before{content:"\f102";}
307 307 .icon-double-angle-down:before{content:"\f103";}
308 308 .icon-angle-left:before{content:"\f104";}
309 309 .icon-angle-right:before{content:"\f105";}
310 310 .icon-angle-up:before{content:"\f106";}
311 311 .icon-angle-down:before{content:"\f107";}
312 312 .icon-desktop:before{content:"\f108";}
313 313 .icon-laptop:before{content:"\f109";}
314 314 .icon-tablet:before{content:"\f10a";}
315 315 .icon-mobile-phone:before{content:"\f10b";}
316 316 .icon-circle-blank:before{content:"\f10c";}
317 317 .icon-quote-left:before{content:"\f10d";}
318 318 .icon-quote-right:before{content:"\f10e";}
319 319 .icon-spinner:before{content:"\f110";}
320 320 .icon-circle:before{content:"\f111";}
321 321 .icon-reply:before,.icon-mail-reply:before{content:"\f112";}
322 322 .icon-folder-close-alt:before{content:"\f114";}
323 323 .icon-folder-open-alt:before{content:"\f115";}
324 324 .icon-expand-alt:before{content:"\f116";}
325 325 .icon-collapse-alt:before{content:"\f117";}
326 326 .icon-smile:before{content:"\f118";}
327 327 .icon-frown:before{content:"\f119";}
328 328 .icon-meh:before{content:"\f11a";}
329 329 .icon-gamepad:before{content:"\f11b";}
330 330 .icon-keyboard:before{content:"\f11c";}
331 331 .icon-flag-alt:before{content:"\f11d";}
332 332 .icon-flag-checkered:before{content:"\f11e";}
333 333 .icon-terminal:before{content:"\f120";}
334 334 .icon-code:before{content:"\f121";}
335 335 .icon-reply-all:before{content:"\f122";}
336 336 .icon-mail-reply-all:before{content:"\f122";}
337 337 .icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";}
338 338 .icon-location-arrow:before{content:"\f124";}
339 339 .icon-crop:before{content:"\f125";}
340 340 .icon-code-fork:before{content:"\f126";}
341 341 .icon-unlink:before{content:"\f127";}
342 342 .icon-question:before{content:"\f128";}
343 343 .icon-info:before{content:"\f129";}
344 344 .icon-exclamation:before{content:"\f12a";}
345 345 .icon-superscript:before{content:"\f12b";}
346 346 .icon-subscript:before{content:"\f12c";}
347 347 .icon-eraser:before{content:"\f12d";}
348 348 .icon-puzzle-piece:before{content:"\f12e";}
349 349 .icon-microphone:before{content:"\f130";}
350 350 .icon-microphone-off:before{content:"\f131";}
351 351 .icon-shield:before{content:"\f132";}
352 352 .icon-calendar-empty:before{content:"\f133";}
353 353 .icon-fire-extinguisher:before{content:"\f134";}
354 354 .icon-rocket:before{content:"\f135";}
355 355 .icon-maxcdn:before{content:"\f136";}
356 356 .icon-chevron-sign-left:before{content:"\f137";}
357 357 .icon-chevron-sign-right:before{content:"\f138";}
358 358 .icon-chevron-sign-up:before{content:"\f139";}
359 359 .icon-chevron-sign-down:before{content:"\f13a";}
360 360 .icon-html5:before{content:"\f13b";}
361 361 .icon-css3:before{content:"\f13c";}
362 362 .icon-anchor:before{content:"\f13d";}
363 363 .icon-unlock-alt:before{content:"\f13e";}
364 364 .icon-bullseye:before{content:"\f140";}
365 365 .icon-ellipsis-horizontal:before{content:"\f141";}
366 366 .icon-ellipsis-vertical:before{content:"\f142";}
367 367 .icon-rss-sign:before{content:"\f143";}
368 368 .icon-play-sign:before{content:"\f144";}
369 369 .icon-ticket:before{content:"\f145";}
370 370 .icon-minus-sign-alt:before{content:"\f146";}
371 371 .icon-check-minus:before{content:"\f147";}
372 372 .icon-level-up:before{content:"\f148";}
373 373 .icon-level-down:before{content:"\f149";}
374 374 .icon-check-sign:before{content:"\f14a";}
375 375 .icon-edit-sign:before{content:"\f14b";}
376 376 .icon-external-link-sign:before{content:"\f14c";}
377 377 .icon-share-sign:before{content:"\f14d";}
378 378 .center-nav{display:inline-block;margin-bottom:-4px;}
379 379 .alternate_upload{background-color:none;display:inline;}
380 380 .alternate_upload.form{padding:0;margin:0;}
381 381 .alternate_upload input.fileinput{background-color:red;position:relative;opacity:0;z-index:2;width:295px;margin-left:163px;cursor:pointer;}
382 382 #tabs{border-style:none;}
383 383 .list_toolbar{padding:5px;height:25px;line-height:25px;}
384 384 .toolbar_info{float:left;}
385 385 .toolbar_buttons{float:right;}
386 .list_header{height:25px;line-height:25px;padding:3px 5px;border:1px solid #ccc;border-radius:4px 4px 0px 0px;}
387 .list_item{height:25px;line-height:25px;padding:3px 5px;border:1px solid #ccc;border-top:0px;}
386 .list_header>a{font-size:100%;}
387 .cluster_list_item>a{color:#000000 !important;}
388 388 .notebook_item a{text-decoration:none;}
389 389 .status_col{float:right;width:325px;}
390 390 .engines_col{float:right;width:325px;}
391 391 .action_col{float:right;width:64px;text-align:right;}
392 .item_buttons{float:right;margin-top:1px;}
392 .item_buttons{float:right;}
393 393 input.nbname_input{height:15px;}
394 394 .highlight_text{color:blue;}
395 #project_name>.breadcrumb{padding:0;background-color:transparent;}
395 #project_name>.breadcrumb{padding:0px;margin:0px;background-color:transparent;font-size:120%;}
396 396 input.engine_num_input{height:20px;margin-bottom:2px;padding-top:0;padding-bottom:0;width:90px;}
397 397 .ansiblack{color:black;}
398 398 .ansired{color:darkred;}
399 399 .ansigreen{color:darkgreen;}
400 400 .ansiyellow{color:brown;}
401 401 .ansiblue{color:darkblue;}
402 402 .ansipurple{color:darkviolet;}
403 403 .ansicyan{color:steelblue;}
404 404 .ansigrey{color:grey;}
405 405 .ansibold{font-weight:bold;}
406 406 .cell{border:1px solid transparent;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}.cell.selected{border-radius:4px;border:thin #ababab solid;}
407 407 div.cell{width:100%;padding:5px 5px 5px 0px;margin:2px 0px 2px 0px;outline:none;}
408 408 div.prompt{width:11ex;padding:0.4em;margin:0px;font-family:monospace;text-align:right;line-height:1.231em;}
409 409 .celltoolbar{border:thin solid #CFCFCF;border-bottom:none;background:#EEE;border-top-right-radius:3px;border-top-left-radius:3px;width:100%;-webkit-box-pack:end;height:20px;}
410 410 .no_input_radius{border-top-right-radius:0px;border-top-left-radius:0px;}
411 411 .text_cell .ctb_prompt{display:none;}
412 412 .code_cell .ctb_prompt{display:block;}
413 413 .ctb_hideshow{display:none;vertical-align:bottom;padding-right:2px;}
414 414 .celltoolbar>div{padding-top:0px;}
415 415 .ctb_area{margin:0;padding:0;width:100%;}
416 416 .ctb_show.ctb_hideshow,.ctb_show .ctb_hideshow{display:block;}
417 417 .ctb_show .input_area,.ctb_show .ctb_hideshow+div.text_cell_input{border-top-right-radius:0px;border-top-left-radius:0px;}
418 418 .ctb_show>.celltoolbar{border-bottom-right-radius:0px;border-bottom-left-radius:0px;}
419 419 .button_container{margin-top:0;margin-bottom:0;}
420 420 .ui-button{min-width:30px;}
421 421 .celltoolbar .button_container select{margin:10px;margin-top:1px;margin-bottom:0px;padding:0;font-size:87%;width:auto;display:inline-block;height:18px;line-height:18px;vertical-align:top;}
422 422 .celltoolbar label{display:inline-block;height:15px;line-height:15px;vertical-align:top;}
423 423 .celltoolbar label span{font-size:85%;}
424 424 .celltoolbar input[type=checkbox]{margin:0px;margin-left:4px;margin-right:4px;}
425 425 .celltoolbar .ui-button{border:none;vertical-align:top;height:20px;}
426 426 div.input{page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
427 427 div.input_area{border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
428 428 div.input_prompt{color:navy;border-top:1px solid transparent;}
429 429 div.output_wrapper{margin-top:5px;position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
430 430 div.output_scroll{height:24em;width:100%;overflow:auto;border-radius:4px;-webkit-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);-moz-box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);box-shadow:inset 0 2px 8px rgba(0, 0, 0, 0.8);}
431 431 div.output_collapsed{margin:0px;padding:0px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:vertical;-moz-box-align:stretch;display:box;box-orient:vertical;box-align:stretch;width:100%;}
432 432 div.out_prompt_overlay{height:100%;padding:0px 0.4em;position:absolute;border-radius:4px;}
433 433 div.out_prompt_overlay:hover{-webkit-box-shadow:inset 0 0 1px #000000;-moz-box-shadow:inset 0 0 1px #000000;box-shadow:inset 0 0 1px #000000;background:rgba(240, 240, 240, 0.5);}
434 434 div.output_prompt{color:darkred;}
435 435 .CodeMirror{line-height:1.231em;height:auto;background:none;}
436 436 .CodeMirror-scroll{overflow-y:hidden;overflow-x:auto;}
437 437 .CodeMirror-lines{padding:0.4em;}
438 438 .CodeMirror-linenumber{padding:0 8px 0 4px;}
439 439 .CodeMirror-gutters{border-bottom-left-radius:4px;border-top-left-radius:4px;}
440 440 .CodeMirror pre{padding:0;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
441 441 .completions{position:absolute;z-index:10;overflow:hidden;border:1px solid #ababab;border-radius:4px;-webkit-box-shadow:0px 6px 10px -1px #adadad;-moz-box-shadow:0px 6px 10px -1px #adadad;box-shadow:0px 6px 10px -1px #adadad;}
442 442 .completions select{background:white;outline:none;border:none;padding:0px;margin:0px;overflow:auto;font-family:monospace;font-size:110%;color:#000000;}
443 443 .completions select option.context{color:#0064cd;}
444 444 pre code{display:block;padding:0.5em;}
445 445 .highlight-base,pre code,pre .subst,pre .tag .title,pre .lisp .title,pre .clojure .built_in,pre .nginx .title{color:black;}
446 446 .highlight-string,pre .string,pre .constant,pre .parent,pre .tag .value,pre .rules .value,pre .rules .value .number,pre .preprocessor,pre .ruby .symbol,pre .ruby .symbol .string,pre .aggregate,pre .template_tag,pre .django .variable,pre .smalltalk .class,pre .addition,pre .flow,pre .stream,pre .bash .variable,pre .apache .tag,pre .apache .cbracket,pre .tex .command,pre .tex .special,pre .erlang_repl .function_or_atom,pre .markdown .header{color:#BA2121;}
447 447 .highlight-comment,pre .comment,pre .annotation,pre .template_comment,pre .diff .header,pre .chunk,pre .markdown .blockquote{color:#408080;font-style:italic;}
448 448 .highlight-number,pre .number,pre .date,pre .regexp,pre .literal,pre .smalltalk .symbol,pre .smalltalk .char,pre .go .constant,pre .change,pre .markdown .bullet,pre .markdown .link_url{color:#080;}
449 449 pre .label,pre .javadoc,pre .ruby .string,pre .decorator,pre .filter .argument,pre .localvars,pre .array,pre .attr_selector,pre .important,pre .pseudo,pre .pi,pre .doctype,pre .deletion,pre .envvar,pre .shebang,pre .apache .sqbracket,pre .nginx .built_in,pre .tex .formula,pre .erlang_repl .reserved,pre .prompt,pre .markdown .link_label,pre .vhdl .attribute,pre .clojure .attribute,pre .coffeescript .property{color:#8888ff;}
450 450 .highlight-keyword,pre .keyword,pre .id,pre .phpdoc,pre .aggregate,pre .css .tag,pre .javadoctag,pre .phpdoc,pre .yardoctag,pre .smalltalk .class,pre .winutils,pre .bash .variable,pre .apache .tag,pre .go .typename,pre .tex .command,pre .markdown .strong,pre .request,pre .status{color:#008000;font-weight:bold;}
451 451 .highlight-builtin,pre .built_in{color:#008000;}
452 452 pre .markdown .emphasis{font-style:italic;}
453 453 pre .nginx .built_in{font-weight:normal;}
454 454 pre .coffeescript .javascript,pre .javascript .xml,pre .tex .formula,pre .xml .javascript,pre .xml .vbscript,pre .xml .css,pre .xml .cdata{opacity:0.5;}
455 455 .cm-s-ipython span.cm-variable{color:black;}
456 456 .cm-s-ipython span.cm-keyword{color:#008000;font-weight:bold;}
457 457 .cm-s-ipython span.cm-number{color:#080;}
458 458 .cm-s-ipython span.cm-comment{color:#408080;font-style:italic;}
459 459 .cm-s-ipython span.cm-string{color:#BA2121;}
460 460 .cm-s-ipython span.cm-builtin{color:#008000;}
461 461 .cm-s-ipython span.cm-error{color:#f00;}
462 462 .cm-s-ipython span.cm-operator{color:#AA22FF;font-weight:bold;}
463 463 .cm-s-ipython span.cm-meta{color:#AA22FF;}
464 464 #menubar{margin-bottom:0px;}
465 465 #menubar .navbar-inner{min-height:28px;}
466 466 .nav-wrapper{border-bottom:1px solid #d4d4d4;}
467 467 body{background-color:#ffffff;}
468 468 body.notebook_app{overflow:hidden;}
469 469 span#notebook_name{height:1em;line-height:1em;padding:3px;border:none;font-size:146.5%;}
470 470 div#notebook_panel{margin:0px 0px 0px 0px;padding:0px;}
471 471 div#notebook{overflow-y:scroll;overflow-x:auto;width:100%;padding:5px 5px 15px 5px;margin:0px;}
472 472 div.ui-widget-content{border:1px solid #ababab;outline:none;}
473 473 pre.dialog{background-color:#f7f7f7;border:1px solid #ddd;border-radius:4px;padding:0.4em;padding-left:2em;}
474 474 p.dialog{padding:0.2em;}
475 475 pre,code,kbd,samp{white-space:pre-wrap;}
476 476 #fonttest{font-family:monospace;}
477 477 p{margin-bottom:0;}
478 478 #notification_area{position:absolute;right:0px;top:0px;height:25px;padding:3px 0px;padding-right:3px;z-index:10;}
479 479 .notification_widget{float:right;right:0px;top:1px;height:25px;padding:3px 6px;z-index:10;}
480 480 div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
481 481 div.output_area pre{font-family:monospace;margin:0;padding:0;border:0;font-size:100%;vertical-align:baseline;color:black;background-color:transparent;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;line-height:inherit;}
482 482 div.output_subarea{padding:0.44em 0.4em 0.4em 1px;margin-left:6px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;}
483 483 div.output_text{text-align:left;color:#000000;font-family:monospace;line-height:1.231em;}
484 484 div.output_stream{padding-top:0.0em;padding-bottom:0.0em;}
485 485 div.output_stderr{background:#fdd;}
486 486 div.output_latex{text-align:left;}
487 487 .js-error{color:darkred;}
488 488 div.raw_input{padding-top:0px;padding-bottom:0px;height:1em;line-height:1em;font-family:monospace;}
489 489 span.input_prompt{font-family:inherit;}
490 490 input.raw_input{font-family:inherit;font-size:inherit;color:inherit;width:auto;margin:-2px 0px 0px 1px;padding-left:1px;padding-top:2px;height:1em;}
491 491 p.p-space{margin-bottom:10px;}
492 492 div#pager_splitter{height:8px;}
493 493 #pager_container{position:relative;}
494 494 div#pager{padding:15px;overflow:auto;display:none;}div#pager pre{font-size:13px;line-height:1.231em;color:#000000;background-color:#f7f7f7;padding:0.4em;}
495 495 .shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
496 496 .rendered_html{color:black;}.rendered_html em{font-style:italic;}
497 497 .rendered_html strong{font-weight:bold;}
498 498 .rendered_html u{text-decoration:underline;}
499 499 .rendered_html :link{text-decoration:underline;}
500 500 .rendered_html :visited{text-decoration:underline;}
501 501 .rendered_html h1{font-size:197%;margin:.65em 0;font-weight:bold;}
502 502 .rendered_html h2{font-size:153.9%;margin:.75em 0;font-weight:bold;}
503 503 .rendered_html h3{font-size:123.1%;margin:.85em 0;font-weight:bold;}
504 504 .rendered_html h4{font-size:100%;margin:0.95em 0;font-weight:bold;}
505 505 .rendered_html h5{font-size:85%;margin:1.5em 0;font-weight:bold;}
506 506 .rendered_html h6{font-size:77%;margin:1.65em 0;font-weight:bold;}
507 507 .rendered_html ul{list-style:disc;margin:1em 2em;}
508 508 .rendered_html ul ul{list-style:square;margin:0em 2em;}
509 509 .rendered_html ul ul ul{list-style:circle;margin:0em 2em;}
510 510 .rendered_html ol{list-style:decimal;margin:1em 2em;}
511 511 .rendered_html ol ol{list-style:upper-alpha;margin:0em 2em;}
512 512 .rendered_html ol ol ol{list-style:lower-alpha;margin:0em 2em;}
513 513 .rendered_html ol ol ol ol{list-style:lower-roman;margin:0em 2em;}
514 514 .rendered_html ol ol ol ol ol{list-style:decimal;margin:0em 2em;}
515 515 .rendered_html hr{color:black;background-color:black;}
516 516 .rendered_html pre{margin:1em 2em;}
517 517 .rendered_html pre,.rendered_html code{border:0;background-color:#ffffff;color:#000000;font-size:100%;padding:0px;}
518 518 .rendered_html blockquote{margin:1em 2em;}
519 519 .rendered_html table,.rendered_html tr,.rendered_html th,.rendered_html td{border:1px solid black;border-collapse:collapse;margin:1em 2em;}
520 520 .rendered_html td,.rendered_html th{text-align:left;vertical-align:middle;padding:4px;}
521 521 .rendered_html th{font-weight:bold;}
522 522 .rendered_html p{text-align:justify;}
523 523 .rendered_html p+p{margin-top:1em;}
524 524 span#save_widget{padding:0px 5px;margin-top:12px;}
525 525 span#checkpoint_status,span#autosave_status{font-size:small;}
526 526 @media (max-width:767px){span#save_widget{font-size:small;} span#checkpoint_status,span#autosave_status{font-size:x-small;}}@media (max-width:767px){span#checkpoint_status,span#autosave_status{display:none;}}@media (min-width:768px) and (max-width:979px){span#checkpoint_status{display:none;} span#autosave_status{font-size:x-small;}}div.text_cell{padding:5px 5px 5px 5px;}
527 527 div.text_cell_input{color:#000000;border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
528 528 div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:#000000;}
529 529 a.heading-anchor{text-decoration:none;color:inherit;}
530 530 a.anchor-link:link{text-decoration:none;padding:0px 20px;visibility:hidden;}
531 531 h1:hover .anchor-link,h2:hover .anchor-link,h3:hover .anchor-link,h4:hover .anchor-link,h5:hover .anchor-link,h6:hover .anchor-link{visibility:visible;}
532 532 .toolbar{padding:0px 10px;}.toolbar select,.toolbar label{width:auto;height:26px;vertical-align:middle;margin-right:2px;margin-bottom:0;display:inline;font-size:92%;margin-left:0.3em;margin-right:0.3em;padding:0px;}
533 533 .toolbar .btn{padding:2px 8px;}
534 534 .toolbar .btn-group{margin-top:0px;}
535 535 @-moz-keyframes fadeOut{from{opacity:1;} to{opacity:0;}}@-webkit-keyframes fadeOut{from{opacity:1;} to{opacity:0;}}@-moz-keyframes fadeIn{from{opacity:0;} to{opacity:1;}}@-webkit-keyframes fadeIn{from{opacity:0;} to{opacity:1;}}.bigtooltip{overflow:auto;height:200px;-webkit-transition-property:height;-webkit-transition-duration:500ms;-moz-transition-property:height;-moz-transition-duration:500ms;transition-property:height;transition-duration:500ms;}
536 536 .smalltooltip{-webkit-transition-property:height;-webkit-transition-duration:500ms;-moz-transition-property:height;-moz-transition-duration:500ms;transition-property:height;transition-duration:500ms;text-overflow:ellipsis;overflow:hidden;height:80px;}
537 537 .tooltipbuttons{position:absolute;padding-right:15px;top:0px;right:0px;}
538 538 .tooltiptext{padding-right:30px;}
539 539 .ipython_tooltip{max-width:700px;-webkit-animation:fadeOut 400ms;-moz-animation:fadeOut 400ms;animation:fadeOut 400ms;-webkit-animation:fadeIn 400ms;-moz-animation:fadeIn 400ms;animation:fadeIn 400ms;vertical-align:middle;background-color:#f7f7f7;overflow:visible;border:#ababab 1px solid;outline:none;padding:3px;margin:0px;padding-left:7px;font-family:monospace;min-height:50px;-moz-box-shadow:0px 6px 10px -1px #adadad;-webkit-box-shadow:0px 6px 10px -1px #adadad;box-shadow:0px 6px 10px -1px #adadad;border-radius:4px;position:absolute;z-index:2;}.ipython_tooltip a{float:right;}
540 540 .ipython_tooltip .tooltiptext pre{border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;font-size:100%;background-color:#f7f7f7;}
541 541 .pretooltiparrow{left:0px;margin:0px;top:-16px;width:40px;height:16px;overflow:hidden;position:absolute;}
542 542 .pretooltiparrow:before{background-color:#f7f7f7;border:1px #ababab solid;z-index:11;content:"";position:absolute;left:15px;top:10px;width:25px;height:25px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);}
@@ -1,198 +1,190 b''
1 1 //----------------------------------------------------------------------------
2 2 // Copyright (C) 2008-2011 The IPython Development Team
3 3 //
4 4 // Distributed under the terms of the BSD License. The full license is in
5 5 // the file COPYING, distributed as part of this software.
6 6 //----------------------------------------------------------------------------
7 7
8 8 //============================================================================
9 9 // NotebookList
10 10 //============================================================================
11 11
12 12 var IPython = (function (IPython) {
13 13
14 14 var ClusterList = function (selector) {
15 15 this.selector = selector;
16 16 if (this.selector !== undefined) {
17 17 this.element = $(selector);
18 18 this.style();
19 19 this.bind_events();
20 20 }
21 21 };
22 22
23 23 ClusterList.prototype.baseProjectUrl = function(){
24 24 return this._baseProjectUrl || $('body').data('baseProjectUrl');
25 25 };
26 26
27 27 ClusterList.prototype.style = function () {
28 28 $('#cluster_toolbar').addClass('list_toolbar');
29 29 $('#cluster_list_info').addClass('toolbar_info');
30 30 $('#cluster_buttons').addClass('toolbar_buttons');
31 var children = $('li#cluster_header').addClass('list_header').children();
32 children.eq(0).addClass('profile_col');
33 children.eq(1).addClass('action_col');
34 children.eq(2).addClass('engines_col');
35 children.eq(3).addClass('status_col');
36 // $('div#cluster_header').children().eq(2).addClass('engines_col');
37 // $('div#cluster_header').children().eq(3).addClass('status_col');
38 // $('#refresh_cluster_list').button({
39 // icons : {primary: 'ui-icon-arrowrefresh-1-s'},
40 // text : false
41 // });
42 31 };
43 32
44 33
45 34 ClusterList.prototype.bind_events = function () {
46 35 var that = this;
47 36 $('#refresh_cluster_list').click(function () {
48 37 that.load_list();
49 38 });
50 39 };
51 40
52 41
53 42 ClusterList.prototype.load_list = function () {
54 43 var settings = {
55 44 processData : false,
56 45 cache : false,
57 46 type : "GET",
58 47 dataType : "json",
59 48 success : $.proxy(this.load_list_success, this)
60 49 };
61 50 var url = this.baseProjectUrl() + 'clusters';
62 51 $.ajax(url, settings);
63 52 };
64 53
65 54
66 55 ClusterList.prototype.clear_list = function () {
67 this.element.children('.list_item').remove();
56 this.element.children('.cluster_list_item').remove();
68 57 }
69 58
70 59 ClusterList.prototype.load_list_success = function (data, status, xhr) {
71 60 this.clear_list();
72 61 var len = data.length;
73 62 for (var i=0; i<len; i++) {
74 var item_div = $('<div/>');
75 var item = new ClusterItem(item_div);
63 var element = $('<li/>');
64 var item = new ClusterItem(element);
76 65 item.update_state(data[i]);
77 item_div.data('item', item);
78 this.element.append(item_div);
66 element.data('item', item);
67 this.element.append(element);
79 68 };
80 69 };
81 70
82 71
83 72 var ClusterItem = function (element) {
84 73 this.element = $(element);
85 74 this.data = null;
86 75 this.style();
87 76 };
88 77
89 78 ClusterItem.prototype.baseProjectUrl = function(){
90 79 return this._baseProjectUrl || $('body').data('baseProjectUrl');
91 80 };
92 81
93 82
94 83
95 84 ClusterItem.prototype.style = function () {
96 this.element.addClass('list_item');
85 this.element.addClass('cluster_list_item').addClass("disabled");
86 this.element.append($("<a/>"));
97 87 }
98 88
99 89 ClusterItem.prototype.update_state = function (data) {
100 90 this.data = data;
101 91 if (data.status === 'running') {
102 92 this.state_running();
103 93 } else if (data.status === 'stopped') {
104 94 this.state_stopped();
105 95 };
106 96
107 97 }
108 98
109 99
110 100 ClusterItem.prototype.state_stopped = function () {
111 101 var that = this;
112 this.element.empty();
102 var a = this.element.find("a");
113 103 var profile_col = $('<span/>').addClass('profile_col').text(this.data.profile);
114 104 var status_col = $('<span/>').addClass('status_col').html('stopped');
115 105 var engines_col = $('<span/>').addClass('engines_col');
116 106 var input = $('<input/>').attr('type','number')
117 107 .attr('min',1)
118 108 .attr('size',3)
119 109 .addClass('engine_num_input');
120 110 engines_col.append(input);
121 111 var start_button = $('<button/>').addClass("btn btn-mini").text("Start");
122 112 var action_col = $('<span/>').addClass('action_col').append(
123 113 $("<span/>").addClass("item_buttons btn-group pull-right").append(
124 114 start_button
125 115 )
126 116 );
127 this.element.append(profile_col).
128 append(action_col).
129 append(engines_col).
130 append(status_col);
117 a.empty()
118 .append(profile_col)
119 .append(action_col)
120 .append(engines_col)
121 .append(status_col);
131 122 start_button.click(function (e) {
132 123 var n = that.element.find('.engine_num_input').val();
133 124 if (!/^\d+$/.test(n) && n.length>0) {
134 125 status_col.html('invalid engine #');
135 126 } else {
136 127 var settings = {
137 128 cache : false,
138 129 data : {n:n},
139 130 type : "POST",
140 131 dataType : "json",
141 132 success : function (data, status, xhr) {
142 133 that.update_state(data);
143 134 },
144 135 error : function (data, status, xhr) {
145 136 status_col.html("error starting cluster")
146 137 }
147 138 };
148 139 status_col.html('starting');
149 140 var url = that.baseProjectUrl() + 'clusters/' + that.data.profile + '/start';
150 141 $.ajax(url, settings);
151 142 };
152 143 });
153 144 };
154 145
155 146
156 147 ClusterItem.prototype.state_running = function () {
157 this.element.empty();
158 148 var that = this;
149 var a = this.element.find("a");
159 150 var profile_col = $('<span/>').addClass('profile_col').text(this.data.profile);
160 151 var status_col = $('<span/>').addClass('status_col').html('running');
161 152 var engines_col = $('<span/>').addClass('engines_col').html(this.data.n);
162 153 var stop_button = $('<button/>').addClass("btn btn-mini").text("Stop");
163 154 var action_col = $('<span/>').addClass('action_col').append(
164 155 $("<span/>").addClass("item_buttons btn-group pull-right").append(
165 156 stop_button
166 157 )
167 158 );
168 this.element.append(profile_col).
169 append(action_col).
170 append(engines_col).
171 append(status_col);
159 a.empty()
160 .append(profile_col)
161 .append(action_col)
162 .append(engines_col)
163 .append(status_col);
172 164 stop_button.click(function (e) {
173 165 var settings = {
174 166 cache : false,
175 167 type : "POST",
176 168 dataType : "json",
177 169 success : function (data, status, xhr) {
178 170 that.update_state(data);
179 171 },
180 172 error : function (data, status, xhr) {
181 173 console.log('error',data);
182 174 status_col.html("error stopping cluster")
183 175 }
184 176 };
185 177 status_col.html('stopping')
186 178 var url = that.baseProjectUrl() + 'clusters/' + that.data.profile + '/stop';
187 179 $.ajax(url, settings);
188 180 });
189 181 };
190 182
191 183
192 184 IPython.ClusterList = ClusterList;
193 185 IPython.ClusterItem = ClusterItem;
194 186
195 187 return IPython;
196 188
197 189 }(IPython));
198 190
@@ -1,95 +1,88 b''
1 1
2 2 /**
3 3 * Primary styles
4 4 *
5 5 * Author: IPython Development Team
6 6 */
7 7
8 8 #tabs {
9 9 border-style: none;
10 10 }
11 11
12 12 #tab1, #tab2 {
13 13 }
14 14
15 15 .list_toolbar {
16 16 padding: 5px;
17 17 height: 25px;
18 18 line-height: 25px;
19 19 }
20 20
21 21 .toolbar_info {
22 22 float: left;
23 23 }
24 24
25 25 .toolbar_buttons {
26 26 float: right;
27 27 }
28 28
29 .list_header {
30 height: 25px;
31 line-height: 25px;
32 padding: 3px 5px;
33 border: 1px solid #ccc;
34 border-radius: 4px 4px 0px 0px;
29 .list_header > a{
30 font-size: 100%;
35 31 }
36 32
37 33
38 34
39 .list_item {
40 height: 25px;
41 line-height: 25px;
42 padding: 3px 5px;
43 border: 1px solid #ccc;
44 border-top: 0px;
35 .cluster_list_item > a {
36 color: @textColor !important;
45 37 }
46 38
47 39 .notebook_item a {
48 40 text-decoration: none;
49 41 }
50 42
51 43 .profile_col {
52 44 }
53 45
54 46 .status_col {
55 47 float: right;
56 48 width: 325px;
57 49 }
58 50
59 51 .engines_col {
60 52 float: right;
61 53 width: 325px;
62 54 }
63 55
64 56 .action_col {
65 57 float: right;
66 58 width: 64px;
67 59 text-align: right;
68 60 }
69 61
70 62 .item_buttons {
71 63 float: right;
72 margin-top: 1px;
73 64 }
74 65
75 66 input.nbname_input {
76 67 height: 15px;
77 68 }
78 69
79 70 .highlight_text {
80 71 color: blue;
81 72 }
82 73
83 74
84 75 #project_name > .breadcrumb {
85 padding : 0;
76 padding: 0px;
77 margin: 0px;
86 78 background-color: transparent;
79 font-size: 120%;
87 80 }
88 81
89 82 input.engine_num_input {
90 83 height: 20px;
91 84 margin-bottom:2px;
92 85 padding-top:0;
93 86 padding-bottom:0;
94 87 width: 90px;
95 88 }
@@ -1,91 +1,96 b''
1 1 {% extends "page.html" %}
2 2
3 3 {% block title %}IPython Dashboard{% endblock %}
4 4
5 5
6 6 {% block stylesheet %}
7 7 {{super()}}
8 8 <link rel="stylesheet" href="{{ static_url("tree/css/override.css") }}" type="text/css" />
9 9 {% endblock %}
10 10
11 11 {% block params %}
12 12
13 13 data-project={{project}}
14 14 data-base-project-url={{base_project_url}}
15 15 data-base-kernel-url={{base_kernel_url}}
16 16 data-read-only={{read_only}}
17 17
18 18 {% endblock %}
19 19
20 20
21 21 {% block site %}
22 22
23 23 <div id="ipython-main-app" class="container">
24 24
25 25 <div id="tabs" class="tabbable">
26 26 <ul class="nav nav-tabs" id="tabs">
27 27 <li class="active"><a href="#tab1" data-toggle="tab">Notebooks</a></li>
28 28 <li><a href="#tab2" data-toggle="tab">Clusters</a></li>
29 29 </ul>
30 30
31 31 <div class="tab-content">
32 32 <div id="tab1" class="tab-pane active">
33 33 {% if logged_in or not read_only %}
34 34 <div id="notebook_toolbar">
35 35 <form id='alternate_upload' class='alternate_upload' >
36 36 <span id="drag_info" style="position:absolute" >
37 37 To import a notebook, drag the file onto the listing below or <strong>click here</strong>.
38 38 </span>
39 39 <input type="file" name="datafile" class="fileinput" multiple='multiple'>
40 40 </form>
41 41 <span id="notebook_buttons">
42 42 <button id="refresh_notebook_list" title="Refresh notebook list" class="btn btn-small">Refresh</button>
43 43 <button id="new_notebook" title="Create new notebook" class="btn btn-small">New Notebook</button>
44 44 </span>
45 45 </div>
46 46 {% endif %}
47 47
48 <ul id="notebook_list" class="nav nav-stacked">
49 <li id="notebook_list_header" class="nav-header">
50 <div id="project_name">
48 <ul id="notebook_list" class="nav nav-tabs nav-stacked">
49 <li id="notebook_list_header" class="disabled list_header">
50 <a>
51 <div id="project_name" class="nav-header">
51 52 <ul class="breadcrumb">
52 53 {% for component in project_component %}
53 54 <li>{{component}} <span>/</span></li>
54 55 {% endfor %}
55 56 </ul>
56 57 </div>
58 </a>
57 59 </li>
58 60 </ul>
59 61 </div>
60 62
61 63 <div id="tab2" class="tab-pane">
62 64
63 65 <div id="cluster_toolbar">
64 66 <span id="cluster_list_info">IPython parallel computing clusters</span>
65 67
66 68 <span id="cluster_buttons">
67 69 <button id="refresh_cluster_list" title="Refresh cluster list" class="btn btn-small">Refresh</button>
68 70 </span>
69 71 </div>
70 72
71 <ul id="cluster_list" class="nav nav-stacked">
72 <li id="cluster_header" class="nav-header">
73 <span>profile</span>
74 <span>action</span>
75 <span title="Enter the number of engines to start or empty for default"># of engines</span>
76 <span>status</span>
73 <ul id="cluster_list" class="nav nav-tabs nav-stacked">
74 <li id="cluster_header" class="disabled list_header">
75 <a class="nav-header">
76 <!-- <div class="nav-header"> -->
77 <span class="profile_col">profile</span>
78 <span class="action_col">action</span>
79 <span class="engines_col" title="Enter the number of engines to start or empty for default"># of engines</span>
80 <span class="status_col">status</span>
81 </a>
77 82 </li>
78 83 </ul>
79 84 </div>
80 85 </div>
81 86
82 87 </div>
83 88
84 89 {% endblock %}
85 90
86 91 {% block script %}
87 92 {{super()}}
88 93 <script src="{{static_url("tree/js/notebooklist.js") }}" type="text/javascript" charset="utf-8"></script>
89 94 <script src="{{static_url("tree/js/clusterlist.js") }}" type="text/javascript" charset="utf-8"></script>
90 95 <script src="{{static_url("tree/js/main.js") }}" type="text/javascript" charset="utf-8"></script>
91 96 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now