Some minibar/phrasebook button and style changes

* Add help button at top of page.
* Change style of word buttons to look like fridge magnets again.
* New options to specify locations of other pages: feedback_url, help_url. If
  they are left undefined, no Help/Feedback buttons will be created.
* Shorter test in Google Translate button.
This commit is contained in:
hallgren
2010-06-02 13:40:41 +00:00
parent 365e8e2310
commit 86da023392
3 changed files with 25 additions and 19 deletions

View File

@@ -10,7 +10,9 @@ var phrasebook_options={
// server: "http://tournesol.cs.chalmers.se:41296",
server: "http://www.grammaticalframework.org:41296",
grammar_list: ["Phrasebook.pgf"],
delete_button_text: "Del"
delete_button_text: "Del",
help_url: "http://www.grammaticalframework.org/examples/phrasebook/help-phrasebook.html",
feedback_url: "feedback.html"
}
</script>
<meta name = "viewport" content = "width = device-width">
@@ -18,20 +20,17 @@ var phrasebook_options={
<body onload="start_minibar(phrasebook_options)">
<div id=minibar>
</div>
<div id=minibar></div>
<hr>
<small>
Based on
<a href="http://www.cs.chalmers.se/~hallgren/minibar/minibar.html">minibar</a>,
powered by
<a href="http://www.grammaticalframework.org">GF</a>,
see
<a href="../phrasebook.html">doc</a>.
Powered by <a href="http://www.grammaticalframework.org">GF</a>,
see <a href="http://www.grammaticalframework.org/examples/phrasebook/doc-phrasebook.html">doc</a>.
</small>
</body>
</html>