mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 00:39:32 -06:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user