Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

notebook: config section UI #1098

Closed
wants to merge 1 commit into from

2 participants

@Carreau
Owner

Polish config section appearence in left pannel, elements alignement, time units...

@Carreau Carreau notebook: config section UI
	Polish config section appearence in left pannel, elements alignement, time units...
c62ae71
@minrk minrk referenced this pull request from a commit
@minrk minrk Merge PR #1098: notebook config-panel style
Fixes some style consistency issues in config section of side panel.

closes #1098
26f7432
@minrk minrk closed this pull request from a commit
@minrk minrk Merge PR #1098: notebook config-panel style
Fixes some style consistency issues in config section of side panel.

closes #1098
26f7432
@minrk minrk closed this in 26f7432
@ellisonbg ellisonbg referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this pull request from a commit in mattvonrocketstein/ipython
@minrk minrk Merge PR #1098: notebook config-panel style
Fixes some style consistency issues in config section of side panel.

closes #1098
dc4bf12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2011
  1. @Carreau

    notebook: config section UI

    Carreau authored
    	Polish config section appearence in left pannel, elements alignement, time units...
This page is out of date. Refresh to see the latest.
View
5 IPython/frontend/html/notebook/static/css/notebook.css
@@ -115,6 +115,11 @@ span.section_row_buttons a {
float: right;
}
+#timebeforetooltip{
+ margin-top:-3px;
+ text-align:right;
+}
+
#timebeforetooltip_span {
float: right;
}
View
1  IPython/frontend/html/notebook/static/js/panelsection.js
@@ -137,6 +137,7 @@ var IPython = (function (IPython) {
this.content.find('#tooltipontab').attr('title', 'Show tooltip if you press <Tab> after "(" or a white space');
this.content.find('#tooltipontab_label').attr('title', 'Show Tooltip when pressing Tab');
+ this.content.find('#timebeforetooltip').addClass("ui-widget ui-widget-content");
this.content.find('#timebeforetooltip').attr('title', 'Time before a tooltip auto-appear when "(" is pressed (negative value supress tooltip)');
this.content.find('#timebeforetooltip_label').attr('title', 'Time before a tooltip auto-appear when "(" is pressed (negative value supress tooltip)');
View
7 IPython/frontend/html/notebook/templates/notebook.html
@@ -253,7 +253,7 @@
<div id="config_section">
<div class="section_header">
- <h3>Config</h3>
+ <h3>Configuration</h3>
</div>
<div class="section_content">
<div class="section_row">
@@ -269,10 +269,11 @@
<span class="checkbox_label" id="smartcompleter_label">Smart completer:</span>
</div>
<div class="section_row">
+ <span class="numeric_input_label" id="timebeforetooltip_label">Time before tooltip : </span>
<span id="timebeforetooltip_span">
- <input type="text" id="timebeforetooltip" value="1200"></input>
+ <input type="text" id="timebeforetooltip" value="1200" size='6'></input>
+ <span class="numeric_input_label" id="timebeforetooltip_unit">milliseconds</span>
</span>
- <span class="numeric_input_label" id="timebeforetooltip_label">Time before tooltip : </span>
</div>
</div>
</div>
Something went wrong with that request. Please try again.