mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-46496-master' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
c068b0814b
1 changed files with 19 additions and 1 deletions
|
@ -40,15 +40,33 @@ $PAGE->requires->jquery_plugin('migrate');
|
||||||
|
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
|
|
||||||
// Note: the example was copied from http://jqueryui.com/accordion/ page.
|
// Note: the examples were copied from http://jqueryui.com/accordion/, and
|
||||||
|
// http://jqueryui.com/progressbar/#label.
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
$( "#accordion" ).accordion();
|
$( "#accordion" ).accordion();
|
||||||
|
$( "#progressbar" ).progressbar({
|
||||||
|
value: false
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.ui-progressbar {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.progress-label {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 4px;
|
||||||
|
font-weight: bold;
|
||||||
|
text-shadow: 1px 1px 0 #fff;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<div id="progressbar"><div class="progress-label">Loading...</div></div>
|
||||||
|
|
||||||
<div id="accordion">
|
<div id="accordion">
|
||||||
<h3>Section 1</h3>
|
<h3>Section 1</h3>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue