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

@ -3,6 +3,26 @@
<head>
<title>YaCy '#[clientname]#': Ranking Configuration</title>
#%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>
<body id="Ranking_p">
#%env/templates/header.template%#
@ -18,9 +38,10 @@
<legend>Pre-Ranking</legend>
<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>
<dd style="width:360px" id="#[nameorg]#">#{select}#
<input type="radio" name="#[nameorg]#" value="#[value]#"#(checked)#:: checked="checked"#(/checked)# />#{/select}#
#[value]#
<dd style="width:360px" id="#[nameorg]#">
<select name="#[nameorg]#">#{select}#
<option value="#[value]#" #(checked)#:: selected="selected"#(/checked)#>#[value]#</option>#{/select}#
</select>
</dd>#{/attrPre}#
</dl>
</fieldset>
@ -31,9 +52,10 @@
<legend>Post-Ranking</legend>
<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>
<dd style="width:360px" id="#[nameorg]#">#{select}#
<input type="radio" name="#[nameorg]#" value="#[value]#"#(checked)#:: checked="checked"#(/checked)# />#{/select}#
#[value]#
<dd style="width:360px" id="#[nameorg]#">
<select name="#[nameorg]#">#{select}#
<option value="#[value]#" #(checked)#:: selected="selected"#(/checked)#>#[value]#</option>#{/select}#
</select>
</dd>#{/attrPost}#
</dl>
</fieldset>

Loading…
Cancel
Save