upgrading jquery

git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1661 2a923420-c742-0410-a762-8d5b09965624
This commit is contained in:
hummypkg 2013-09-08 19:48:26 +00:00
parent f7de940e51
commit 61a8b537e6
4 changed files with 30 additions and 4 deletions

View File

@ -122,6 +122,7 @@ puts {
<script type="text/javascript" src="/js/jquery.form.js"></script> <script type="text/javascript" src="/js/jquery.form.js"></script>
<script type="text/javascript" src="/js/iphone-style-checkboxes.js"></script> <script type="text/javascript" src="/js/iphone-style-checkboxes.js"></script>
<link href=/css/iphone-style-checkboxes.css rel=stylesheet type=text/css /> <link href=/css/iphone-style-checkboxes.css rel=stylesheet type=text/css />
<div id=accordian>
} }
proc setting_toggle {name attr checked {invert 0} {val 0}} { proc setting_toggle {name attr checked {invert 0} {val 0}} {
@ -141,6 +142,7 @@ proc setting_toggle {name attr checked {invert 0} {val 0}} {
} }
puts " puts "
<h4>General Settings</h4>
<fieldset style=\"display: inline\"> <fieldset style=\"display: inline\">
<legend> <legend>
General Settings General Settings
@ -199,7 +201,8 @@ puts "
puts " puts "
</table></fieldset> </table></fieldset>
<br><br>
<h4>EPG Settings</h4>
<fieldset style=\"display: inline\"> <fieldset style=\"display: inline\">
<legend> <legend>
EPG Settings EPG Settings
@ -293,7 +296,6 @@ setting_toggle "De-duplicate genre search results?" genrededup $genrededup
puts " puts "
</table> </table>
</fieldset> </fieldset>
<br><br>
" "
#puts " #puts "
@ -325,6 +327,7 @@ puts "
#" #"
puts " puts "
<h4>Web Interface User Access Control</h4>
<fieldset style=\"display: inline\"> <fieldset style=\"display: inline\">
<legend> Web Interface User Access Control </legend> <legend> Web Interface User Access Control </legend>
<table> <table>
@ -415,7 +418,7 @@ $('button.pwchange').click(function(el) {
} }
puts -nonewline " puts -nonewline "
<br><br> <h4>Advanced Settings</h4>
<fieldset style=\"display: inline\"> <fieldset style=\"display: inline\">
<legend> Advanced Settings </legend> <legend> Advanced Settings </legend>
<table> <table>
@ -432,7 +435,16 @@ puts "
</fieldset> </fieldset>
" "
eval_plugins settings set hook settings
foreach plugin [glob -nocomplain /mod/webif/plugin/*] {
if {[file isfile "$plugin/$hook.hook"]} {
puts "<h4>Settings for [file tail $plugin] package</h4><div>"
catch {source "$plugin/$hook.hook"}
puts "</div>"
}
}
puts "</div>"
footer footer

View File

@ -72,5 +72,13 @@ $(document).ready(function () {
.delay(2000).fadeOut('slow'); .delay(2000).fadeOut('slow');
}); });
}); });
$('#accordian').accordian({
header: 'h4',
collapsible: true,
active: 1,
animate: 'bounceslide',
heightStyle: 'content'
});
}); });

File diff suppressed because one or more lines are too long