Mercurial > libervia-web
comparison src/browser/sat_browser/menu.py @ 683:801eb94aa869
browser side: versions management + version is shown in about dialog
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 19 Mar 2015 20:41:46 +0100 |
parents | 849ffb24d5bf |
children | 9877607c719a |
comparison
equal
deleted
inserted
replaced
682:e6bb64bd6b4d | 683:801eb94aa869 |
---|---|
99 _dialog = dialog.GenericDialog("Contrat Social", _frame) | 99 _dialog = dialog.GenericDialog("Contrat Social", _frame) |
100 _dialog.setSize('80%', '80%') | 100 _dialog.setSize('80%', '80%') |
101 _dialog.show() | 101 _dialog.show() |
102 | 102 |
103 def onAbout(self): | 103 def onAbout(self): |
104 _about = HTML("""<b>Libervia</b>, a Salut à Toi project<br /> | 104 def gotVersions(): |
105 <br /> | 105 _about = HTML("""<b>Libervia</b>, a Salut à Toi project<br /> |
106 You can contact the authors at <a href="mailto:contact@salut-a-toi.org">contact@salut-a-toi.org</a><br /> | 106 <br /> |
107 Blog available (mainly in french) at <a href="http://www.goffi.org" target="_blank">http://www.goffi.org</a><br /> | 107 Libervia is a web frontend for Salut à Toi<br /> |
108 Project page: <a href="http://salut-a-toi.org"target="_blank">http://salut-a-toi.org</a><br /> | 108 <span style='font-style: italic;'>SàT version:</span> {sat_version}<br/> |
109 <br /> | 109 <span style='font-style: italic;'>Libervia version:</span> {libervia_version}<br/> |
110 Any help welcome :) | 110 <br /> |
111 <p style='font-size:small;text-align:center'>This project is dedicated to Roger Poisson</p> | 111 You can contact the authors at <a href="mailto:contact@salut-a-toi.org">contact@salut-a-toi.org</a><br /> |
112 """) | 112 Blog available (mainly in french) at <a href="http://www.goffi.org" target="_blank">http://www.goffi.org</a><br /> |
113 _dialog = dialog.GenericDialog("About", _about) | 113 Project page: <a href="http://salut-a-toi.org"target="_blank">http://salut-a-toi.org</a><br /> |
114 _dialog.show() | 114 <br /> |
115 Any help welcome :) | |
116 <p style='font-size:small;text-align:center'>This project is dedicated to Roger Poisson</p> | |
117 """.format(sat_version=self.host.sat_version, libervia_version=self.host.libervia_version)) | |
118 _dialog = dialog.GenericDialog("About", _about) | |
119 _dialog.show() | |
120 self.host.getVersions(gotVersions) | |
115 | 121 |
116 #Settings menu | 122 #Settings menu |
117 | 123 |
118 def onAccount(self): | 124 def onAccount(self): |
119 def gotUI(xml_ui): | 125 def gotUI(xml_ui): |