Commit eec2df15 authored by Eirik Alvær's avatar Eirik Alvær

Made the variable search box fixed and better styled. Upgraded dojo to 1.9.0rc2.

parent a96e4aff
......@@ -7,8 +7,8 @@
"components"
],
"dependencies": {
"dojo": "1.9.0b2",
"dojox": "1.9.0b2",
"dijit": "1.9.0b2"
"dojo": "1.9.0rc2",
"dojox": "1.9.0rc2",
"dijit": "1.9.0rc2"
}
}
......@@ -15,6 +15,17 @@
padding: .6em .6em .6em 1em;
}
.search-box {
font-size: 1.2em;
width: 100%;
}
.search-box-pane {
position: relative;
padding: 0.6em;
display: block;
}
/*
#table .dimension {
background-color: #ddd;
......
......@@ -75,6 +75,7 @@
'dojox/mobile/TextBox',
'dojox/mobile/SearchBox',
'nesstartouch/StudyList',
'dojox/mobile/ContentPane',
'nesstartouch/VariableList',
'nesstartouch/SettingsView',
'nesstartouch/AnalysisTypeList',
......@@ -194,10 +195,13 @@
<span data-dojo-type="dojox.mobile.ToolBarButton" data-dojo-props="transition: 'slide', transitionDir: '-1', arrow: 'left', moveTo: '#settings'">Cancel</span>
Add Variable
</h1>
<input data-dojo-type="dojox.mobile.SearchBox" type="search" placeHolder="Search" data-dojo-id="variableSearchBox"
data-dojo-props='moreignoreCase:true, queryExpr:"*${0}*", searchAttr:"label", onSearch:onSearch'>
<div data-dojo-type="dojox.mobile.ContentPane" data-dojo-props="fixed:'top'" class="search-box-pane mblBackground">
<input data-dojo-type="dojox.mobile.SearchBox" class="search-box" type="search" placeHolder="Search" data-dojo-id="variableSearchBox"
data-dojo-props='moreignoreCase:true, queryExpr:"*${0}*", searchAttr:"label", onSearch:onSearch'>
</div>
<div style="display: block; float: none">
<div style="display: block; float: none; margin-top: 2.5em">
<ul data-dojo-type="dojox/mobile/RoundRectList" data-dojo-id="addVariableList"></ul>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment