page 'Ranking_p.html'
pull/1/head
sof 13 years ago
parent b09988c9f8
commit a94ced7cb2

@ -3,6 +3,26 @@
<head> <head>
<title>YaCy '#[clientname]#': Ranking Configuration</title> <title>YaCy '#[clientname]#': Ranking Configuration</title>
#%env/templates/metas.template%# #%env/templates/metas.template%#
<script>
$(function() {
$("select").each(function(){
var name = $(this).attr("name");
$("<div name='"+name+"' id='slider_"+name+"'></div>").insertAfter($(this)).slider({
min: 0,
max: 15,
range: "min",
value: $(this).val(),
slide: function(event, ui) {
select = $(ui.handle).parents("dd").children("select");
select.val(ui.value);
}
});
$(this).change(function(event) {
$(event.target).next().slider("value", this.selectedIndex);
});
});
});
</script>
</head> </head>
<body id="Ranking_p"> <body id="Ranking_p">
#%env/templates/header.template%# #%env/templates/header.template%#
@ -18,9 +38,10 @@
<legend>Pre-Ranking</legend> <legend>Pre-Ranking</legend>
<dl>#{attrPre}# <dl>#{attrPre}#
<dt style="width:260px"><label for="#[nameorg]#">#[name]#</label>&nbsp;<span class="info" style="float:right"><img src="/env/grafics/i16.gif" width="16" height="16" alt="info"/><span>#[info]#</span></span></dt> <dt style="width:260px"><label for="#[nameorg]#">#[name]#</label>&nbsp;<span class="info" style="float:right"><img src="/env/grafics/i16.gif" width="16" height="16" alt="info"/><span>#[info]#</span></span></dt>
<dd style="width:360px" id="#[nameorg]#">#{select}# <dd style="width:360px" id="#[nameorg]#">
<input type="radio" name="#[nameorg]#" value="#[value]#"#(checked)#:: checked="checked"#(/checked)# />#{/select}# <select name="#[nameorg]#">#{select}#
#[value]# <option value="#[value]#" #(checked)#:: selected="selected"#(/checked)#>#[value]#</option>#{/select}#
</select>
</dd>#{/attrPre}# </dd>#{/attrPre}#
</dl> </dl>
</fieldset> </fieldset>
@ -31,9 +52,10 @@
<legend>Post-Ranking</legend> <legend>Post-Ranking</legend>
<dl>#{attrPost}# <dl>#{attrPost}#
<dt style="width:260px"><label for="#[nameorg]#">#[name]#</label>&nbsp;<span class="info" style="float:right"><img src="/env/grafics/i16.gif" width="16" height="16" alt="info"/><span>#[info]#</span></span></dt> <dt style="width:260px"><label for="#[nameorg]#">#[name]#</label>&nbsp;<span class="info" style="float:right"><img src="/env/grafics/i16.gif" width="16" height="16" alt="info"/><span>#[info]#</span></span></dt>
<dd style="width:360px" id="#[nameorg]#">#{select}# <dd style="width:360px" id="#[nameorg]#">
<input type="radio" name="#[nameorg]#" value="#[value]#"#(checked)#:: checked="checked"#(/checked)# />#{/select}# <select name="#[nameorg]#">#{select}#
#[value]# <option value="#[value]#" #(checked)#:: selected="selected"#(/checked)#>#[value]#</option>#{/select}#
</select>
</dd>#{/attrPost}# </dd>#{/attrPost}#
</dl> </dl>
</fieldset> </fieldset>

Loading…
Cancel
Save