beautified About dialog
authorom
Wed, 11 Dec 2013 10:39:14 +0000
changeset 3977509ad4f2e9
parent 38 560882d3d3c0
child 40 b44a603b0b95
beautified About dialog
OpenSecurity/bin/about.py
     1.1 --- a/OpenSecurity/bin/about.py	Tue Dec 10 17:45:07 2013 +0100
     1.2 +++ b/OpenSecurity/bin/about.py	Wed Dec 11 10:39:14 2013 +0000
     1.3 @@ -40,32 +40,58 @@
     1.4  # local
     1.5  from environment import Environment
     1.6  
     1.7 +
     1.8  # ------------------------------------------------------------
     1.9  # vars
    1.10  
    1.11  
    1.12  ABOUT_TEXT = """
    1.13  <html>
    1.14 +
    1.15 +<style type="text/css">
    1.16 +    .header { margin-bottom: 24px; }
    1.17 +    .about_text { margin-bottom: 100px; margin-left: 64px; margin-right: 64px; }
    1.18 +    .logo { vertical-align: top; margin-bottom: 24px; }
    1.19 +    .footer { margin-top: 100px; }
    1.20 +</style>
    1.21 +
    1.22  <body bgcolor="#FFFFFF">
    1.23 +<div align="center">
    1.24  
    1.25 -<div align="center">
    1.26 -<p/>
    1.27 -<img src="image:ait_logo_no_claim.png"/>
    1.28 -<p/>
    1.29 -<h1>OpenSecurity</h1>
    1.30 -<p/>
    1.31 -</div>
    1.32 -<p/>
    1.33 -Blah ...<br/>
    1.34 +<h1 class="header">
    1.35 +    <a href="http://www.opensecurity.at"><img src="image:opensecurity_logo.jpg"/></a><br/><br/>
    1.36 +    OpenSecurity Demo V0.1
    1.37 +</h1>
    1.38  
    1.39 -<p>
    1.40 -Copyright (C) 2013, AIT Austrian Institute of Technology<br/>
    1.41 -AIT Austrian Institute of Technology GmbH<br/>
    1.42 -Donau-City-Strasse 1 | 1220 Vienna | Austria<br/>
    1.43 -<a href="http://www.ait.ac.at">http://www.ait.ac.at</a>
    1.44 -</p>
    1.45 +<div class="about_text" align="justify">
    1.46 +    Blah ...<br/>
    1.47  </div>
    1.48  
    1.49 +<div class="logo">
    1.50 +    <a href="http://www.ait.ac.at"><img src="image:ait_logo_no_claim.png"/></a>
    1.51 +    <a href="http://www.x-net.at"><img src="image:x-net_logo.jpg"/></a>
    1.52 +    <a href="http://www.ikarussecurity.com"><img src="image:ikarus_logo.jpg"/></a>
    1.53 +</div>
    1.54 +
    1.55 +<div class="logo">
    1.56 +    <a href="http://www.liqua.net"><img src="image:liqua_logo.jpg"/></a>
    1.57 +    <a href="http://www.linz.at"><img src="image:linz_logo.jpg"/></a>
    1.58 +    <a href="http://www.bmvit.gv.at"><img src="image:bmvit_logo.jpg"/></a>
    1.59 +</div>
    1.60 +
    1.61 +<div class="logo">
    1.62 +    <a href="http://www.ffg.at"><img src="image:ffg_logo.jpg"/></a>
    1.63 +    <a href="http://www.kiras.at"><img src="image:kiras_logo.jpg"/></a>
    1.64 +</div>
    1.65 +
    1.66 +<div class="footer" align="left">
    1.67 +    Copyright (C) 2013, AIT Austrian Institute of Technology<br/>
    1.68 +    AIT Austrian Institute of Technology GmbH<br/>
    1.69 +    Donau-City-Strasse 1 | 1220 Vienna | Austria<br/>
    1.70 +    <a href="http://www.ait.ac.at">http://www.ait.ac.at</a>
    1.71 +</div>
    1.72 +
    1.73 +</div>
    1.74  </body>
    1.75  </html>
    1.76  """;
    1.77 @@ -121,6 +147,6 @@
    1.78          btnOk.clicked.connect(self.accept)
    1.79          
    1.80          # reduce to the max
    1.81 -        self.setMinimumSize(400, 200)
    1.82 +        self.setMinimumSize(600, 400)
    1.83          self.resize(lyMain.minimumSize())
    1.84