How to make Finish Attempt into button?

How to make Finish Attempt into button?

Phuong Hoang發表於
Number of replies: 4

Hi everyone, I'm new to moodle. I search everywhere and I wonder if someone has posted something like that before. I'd would like to know how to make "Finish Attempt..." into a button. Have a look at the picture below;

+ If possible, can I move it to [NEXT] button at the bottom of a quiz???

* P/S:

- I'm using moodle 2.3.2

- Thanks in advance !

button

評比平均分數: -
In reply to Phuong Hoang

Re: How to make Finish Attempt into button?

Mary Evans發表於

Add this to your theme's CSS file:

a.endtestlink {
width: 100px;
backgroundurl([[pix:theme|bar1]]) repeat-x scroll left bottom #EEEEEE;
border1px solid #CCCCCC;
border-radius3px 3px 3px 3px;
box-shadow0 1px 2px rgba(0, 0, 0, 0.2), 1px 1px 1px #FFFFFF inset;
color#333333;
cursorpointer;
font-size0.95em;
font-weight500;
padding0.5em 0.8em;
text-shadow0 1px 1px #FFFFFF;

}

But remember to enable Theme Designer Mode

Cheers

Mary

評比平均分數:Useful (1)
In reply to Mary Evans

Re: How to make Finish Attempt into button?

Phuong Hoang發表於

Thank Mary. It works well. However, I'm afraid of 2 things!

1. Turning Theme design mode on will slow down my site?

2. I must add this to my theme whenever I change theme?

* One more question: How can I move it to the bottom of the page, near NEXT botton? If so, it looks great !

In reply to Phuong Hoang

Re: How to make Finish Attempt into button?

Mary Evans發表於

Theme Designer Mode should be disabled until you need it. and then for only a short time, as it will slow down the site.

As for adding the Finish attemp to the end of the page, you can't do that. It would need to be coded into the Quiz page. You would need request this in Moodle Tracker as an Improvement to Quiz page.

HTH

Mary

評比平均分數:Useful (1)
In reply to Mary Evans

Re: How to make Finish Attempt into button?

Phuong Hoang發表於

Thank you very much. I appreciate your emthusiasm. I'll open a ticket in Moodle Tracker.