mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-07 18:22:50 -06:00
Created the folder js and moved minibar/support.js and minibar/pgf_online.js there, to emphasize their status as app independent support libraries. There are probably more files that should be moved here. The cloud apps have been updated, externally hosted apps that link directly to our server need to be updated too.
57 lines
1.4 KiB
HTML
57 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Phrasebook</title>
|
|
<link rel=stylesheet type="text/css" href="minibar.css">
|
|
<meta charset="UTF-8">
|
|
<meta name = "viewport" content = "width = device-width">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id=minibar></div>
|
|
|
|
<hr>
|
|
|
|
<small>
|
|
|
|
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>
|
|
|
|
<script type="text/JavaScript" src="../js/support.js"></script>
|
|
<script type="text/JavaScript" src="minibar.js"></script>
|
|
<script type="text/JavaScript" src="minibar_input.js"></script>
|
|
<script type="text/JavaScript" src="minibar_translations.js"></script>
|
|
<script type="text/JavaScript" src="minibar_support.js"></script>
|
|
<script type="text/JavaScript" src="../js/pgf_online.js"></script>
|
|
|
|
<script type="text/JavaScript">
|
|
|
|
var online_options={
|
|
// grammars_url: "http://www.grammaticalframework.org/grammars/",
|
|
//grammars_url: "http://tournesol.cs.chalmers.se:41296/grammars",
|
|
//grammars_url: "http://localhost:41296/grammars/",
|
|
grammar_list: ["Phrasebook.pgf"] // leave undefined to get list from server
|
|
}
|
|
|
|
var server=pgf_online(online_options);
|
|
|
|
var phrasebook_options={
|
|
delete_button_text: "Del",
|
|
help_url: "http://www.grammaticalframework.org/examples/phrasebook/help-phrasebook.html",
|
|
feedback_url: "feedback.html",
|
|
default_source_language: "Eng"
|
|
}
|
|
|
|
start_minibar(server,phrasebook_options)
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|