##// END OF EJS Templates
Catch errors after our then()s, instead of in parallel with them (this missing exceptions)...
Catch errors after our then()s, instead of in parallel with them (this missing exceptions) When an error is thrown in a then() success handler, it doesn't call the same then()'s error handler. I also made all of the utils.reject handlers verbose to aid in debugging.

File last commit:

r18929:3ced6938
r19080:cbc9dc59
Show More
tree.less
156 lines | 2.7 KiB | text/x-less | LessCssLexer
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488
/**
* Primary styles
*
* Author: IPython Development Team
*/
Brian E. Granger
Tighten spacing of dashboard.
r15077 @dashboard_tb_pad: 4px;
@dashboard_lr_pad: 7px;
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 // These are the total heights of the Bootstrap small and mini buttons. These values
// are not less variables so we have to track them statically.
Jonathan Frederic
Make maintoolbar select dropdowns look nice
r16948 @btn_small_height: 24px;
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 @btn_mini_height: 22px;
Jonathan Frederic
Review comments
r16957 @dark_dashboard_color: @breadcrumb-color;
Brian E. Granger
Tighten spacing of dashboard.
r15077
ul#tabs {
margin-bottom: @dashboard_tb_pad;
Brian Granger
Fixing tab design.
r6196 }
Brian E. Granger
Tighten spacing of dashboard.
r15077 ul#tabs a {
Jonathan Frederic
Review comments
r16957 padding-top: @dashboard_tb_pad + 2px;
Brian E. Granger
Tighten spacing of dashboard.
r15077 padding-bottom: @dashboard_tb_pad;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian E. Granger
Breadcrumb home icon.
r15101 ul.breadcrumb {
a:focus, a:hover {
text-decoration: none;
}
i.icon-home {
font-size: 16px;
margin-right: 4px;
}
span {
color: @dark_dashboard_color;
}
}
Brian E. Granger
Tighten spacing of dashboard.
r15077 .list_toolbar {
padding: @dashboard_tb_pad 0 @dashboard_tb_pad 0;
Jonathan Frederic
Lots of small alignment tweaks to get Bootstrap3 looking better
r16937 vertical-align: middle;
.tree-buttons {
padding-top: 2px;
}
Brian E. Granger
File upload/import working from notebook browser.
r4491 }
Brian E. Granger
Tighten spacing of dashboard.
r15077 .list_toolbar [class*="span"] {
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 min-height: @btn_small_height;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
MinRK
use row-fluid for cluster list
r10920 .list_header {
font-weight: bold;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
MinRK
use row-fluid for cluster list
r10920 .list_container {
Brian E. Granger
Tighten spacing of dashboard.
r15077 margin-top: @dashboard_tb_pad;
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 margin-bottom: 5*@dashboard_tb_pad;
MinRK
use IPython border color for tree view
r10954 border: 1px solid @border_color;
MinRK
use row-fluid for tree_list
r10919 border-radius: 4px;
}
MinRK
use row-fluid for cluster list
r10920 .list_container > div {
MinRK
use IPython border color for tree view
r10954 border-bottom: 1px solid @border_color;
MinRK
use row-fluid for tree_list
r10919 &:hover .list-item{
background-color: red;
};
}
MinRK
use row-fluid for cluster list
r10920 .list_container > div:last-child {
MinRK
use row-fluid for tree_list
r10919 border: none;
}
.list_item {
&:hover .list_item {
background-color: #ddd;
};
Brian E. Granger
Update styling of dashboard.
r15072 a {text-decoration: none;}
Brian E. Granger
Tighten spacing of dashboard.
r15077 }
Jonathan Frederic
Lots of small alignment tweaks to get Bootstrap3 looking better
r16937 .action_col {
text-align: right;
}
Brian E. Granger
Tighten spacing of dashboard.
r15077 .list_header>div, .list_item>div {
padding-top: @dashboard_tb_pad;
padding-bottom: @dashboard_tb_pad;
padding-left: @dashboard_lr_pad;
padding-right: @dashboard_lr_pad;
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 line-height: @btn_mini_height;
MinRK
use row-fluid for tree_list
r10919 }
Brian E. Granger
Fixing line-height of list items in tree view.
r12802 .item_name {
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 line-height: @btn_mini_height;
height: @btn_small_height;
Brian E. Granger
Fixing line-height of list items in tree view.
r12802 }
Brian E. Granger
Update styling of dashboard.
r15072 .item_icon {
Brian E. Granger
Tighten spacing of dashboard.
r15077 font-size: 14px;
Brian E. Granger
Breadcrumb home icon.
r15101 color: @dark_dashboard_color;
Brian E. Granger
Tighten spacing of dashboard.
r15077 margin-right: @dashboard_lr_pad;
MinRK
use row-fluid for tree_list
r10919 }
Brian Granger
Cluster management is now working....
r6197
Brian E. Granger
Tighten spacing of dashboard.
r15077 .item_buttons {
line-height: 1em;
Min RK
set min-width on tree-list buttons...
r18929 .btn {
min-width: 13ex;
}
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian E. Granger
Tighten spacing of dashboard.
r15077 .toolbar_info {
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 height: @btn_small_height;
line-height: @btn_small_height;
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 }
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 input.nbname_input, input.engine_num_input {
// These settings give these inputs a height that matches @btn_mini_height = 22
Brian E. Granger
Tighten spacing of dashboard.
r15077 padding-top: 3px;
padding-bottom: 3px;
Jonathan Frederic
Fixes to make spinners in cluster list display correctly.
r16922 height: @btn_mini_height;
Brian E. Granger
Tighten spacing of dashboard.
r15077 line-height: 14px;
Brian E. Granger
Update styling of dashboard.
r15072 margin: 0px;
Brian E. Granger
File upload/import working from notebook browser.
r4491 }
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078 input.engine_num_input {
width: 60px;
}
Brian E. Granger
Implemented basic notebook browser and fixed numerous bugs.
r4488 .highlight_text {
color: blue;
}
Brian Granger
Initial try at adding tabs to project dashboard.
r6194
Bussonnier Matthias
Fix project path url in dashbord...
r9275 #project_name > .breadcrumb {
MinRK
use row-fluid for tree_list
r10919 padding: 0px;
margin-bottom: 0px;
background-color: transparent;
font-weight: bold;
Bussonnier Matthias
Fix project path url in dashbord...
r9275 }
Matthias BUSSONNIER
change to cluster list...
r9288
Jonathan Frederic
Removed margin from row element
r16920 .tab-content .row {
margin-left: 0px;
margin-right: 0px;
}
Paul Ivanov
more semantic icons
r16253 .folder_icon:before {
Matthias BUSSONNIER
fix some font-awesoem 4 icons
r17414 .icon(@fa-var-folder-o)
Paul Ivanov
more semantic icons
r16253 }
Brian E. Granger
Cleaning up the dashboard CSS and fixing small visual problems.
r15078
Paul Ivanov
more semantic icons
r16253 .notebook_icon:before {
Matthias BUSSONNIER
fix some font-awesoem 4 icons
r17414 .icon(@fa-var-book)
Paul Ivanov
more semantic icons
r16253 }
MinRK
teach tree view about non-notebook files
r17526
.file_icon:before {
.icon(@fa-var-file-o)
}