summaryrefslogtreecommitdiff
path: root/src/runtime/javascript/minibar/phrasebook.html
blob: 1bd45857de521f9ee926aa55158a6ef1a1ca0041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head> 
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta charset="UTF-8">
<title>Phrasebook</title> 
<link rel=stylesheet type="text/css" href="minibar.css"> 
<script type="text/JavaScript" src="support.js"></script> 
<script type="text/JavaScript" src="pgf_online.js"></script>
<script type="text/JavaScript" src="minibar.js"></script>
<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">

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>