Commit 3461bca1 authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

finalize search panel

parent c4afac2b
......@@ -143,3 +143,15 @@ __version__='8872357cc9d6a5db8e94ab9cf31fb58aef45caed'
__version__='8872357cc9d6a5db8e94ab9cf31fb58aef45caed'
__version__='8872357cc9d6a5db8e94ab9cf31fb58aef45caed'
__version__='c4afac2b272966d0a4db7361de4e0bd283620754'
__version__='c4afac2b272966d0a4db7361de4e0bd283620754'
__version__='c4afac2b272966d0a4db7361de4e0bd283620754'
__version__='c4afac2b272966d0a4db7361de4e0bd283620754'
__version__='c4afac2b272966d0a4db7361de4e0bd283620754'
__version__='c4afac2b272966d0a4db7361de4e0bd283620754'
......@@ -129,7 +129,8 @@ class PBView(TreeView):
html += '<table width="100%">'
## Object chkbox
html += '<tr valign="top" id="tr_seg_id" class="filter"> <td style="width:150px;"><input id="cb_seg" type="checkbox"/><label></label></td>'
html += '<tr valign="top" id="tr_seg_id" class="filter"> <td style="width:150px;"><li><span class="smallcap">segment</span></li></td>'
##<input id="cb_seg" type="checkbox"/><label></label></td>'
## Object select
html += '<td style="width:50px;"><select id="se_seg_id" onchange=javascript:updateid();>'
......@@ -145,7 +146,8 @@ class PBView(TreeView):
dd = dict({"mjd":(self.lst_mjd,"mjd"), "patch":(self.lst_patch,"patchname"), "folder":(self.lst_obs, "folder")})
for k,v in dd.iteritems():
html += '<tr valign="top" id="tr_id" class="filter"> <td style="width:150px;"><input id="cb_%s" type="checkbox"/><label>%s</label></td>'%(k,v[1])
html += '<tr valign="top" id="tr_id" class="filter"> <td style="width:150px;"><li><span class="smallcap">%s</span></li></td>'%(v[1])
##<input id="cb_%s" type="checkbox"/><label>%s</label></td>'%(k,v[1])
if k=='mjd':
html += '<td style="width:50px;"><select id="se_%s_id" onchange=javascript:updatemjd();>'%k
else:
......
......@@ -141,4 +141,10 @@ h1{
/* tag display style */
.pipetag{
text-shadow:2px 2px #FF0000;
}
.smallcap{
font-weight: bold;
font-family:Helvetica,Arial,sans-serif;
font-variant: small-caps
}
\ No newline at end of file
......@@ -15,16 +15,16 @@
// filter pipelines
function ssearch(){
var cb1 = document.getElementById('cb_mjd') ;
var is1 = cb1.checked;
//var cb1 = document.getElementById('cb_mjd') ;
//var is1 = cb1.checked;
var mjd = "None";
//if (is1)
//{
var seltag = document.getElementById('se_mjd_id') ;
mjd = seltag.options[seltag.selectedIndex].text;
//}
var cb2 = document.getElementById('cb_folder') ;
var is2 = cb2.checked;
//var cb2 = document.getElementById('cb_folder') ;
//var is2 = cb2.checked;
var folder = "None";
//if (is2)
//{
......
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