Debian Codegraph @

src/web/www/js/about_dlg.js

raw symbols SCIP
1 function about_dlg_show() {
2 var sym = ed_get_cur_word();
3
4 var Y = document['dlg_about_y'];
5 var qpanel = document['dlg_about_p'];
6
7 qpanel.show();
8 }
9
10 YUI().use("panel", function (Y) {
11
12 var body = '<table>' +
13 '<tr>' +
14 '<td align="center">' +
15 '<object height="100" width="100" data="images/seascope.svg" type="image/svg+xml"></object>' +
16 '</td>' +
17 '<td>' +
18 '<strong> Seascope 1.0 </strong>' +
19 '<p> A graphical user interface for idutils, cscope and gtags. </p>' +
20 '<p> Copyright 2010-2026 Anil Kumar </p>' +
21 '<p><a href="https://github.com/anilFree/seascope" target="_blank">https://github.com/anilFree/seascope</a></p>' +
22 '</td>' +
23 '</tr>' +
24 '</table>';
25
26 var qpanel = new Y.Panel({
27 bodyContent: body,
28 zIndex : 6,
29 centered : true,
30 modal : true,
31 render : '#aboutPanel',
32 buttons: [
33 {
34 value : 'Ok',
35 section: Y.WidgetStdMod.FOOTER,
36 isDefault: true,
37 action : function (e) {
38 qpanel.hide();
39 }
40 },
41 ]
42 });
43
44 qpanel.hide();
45
46 document['dlg_about_y'] = Y;
47 document['dlg_about_p'] = qpanel;
48 });