예제 #1
0
def main():

    style = """
    <style> table.header {
       background: #D1F9D1;
       color:  #990033;
    } </style>

    <style> td {
       text-align: center;
    } </style>

    <style> td.cellbold {
      font-weight : bold;
      background-color: #FFB875;
    } </style>

    <style> body {
       color:  #990033;
       link: navy;
       vlink: maroon;
       alink: tomato;
       background: #D1F9D1;
    } </style>
        """

    fmtr = Formatter.SimpleHTMLFormatter(
        title="Test Logs from CMSSW Integration Build", style=style)

    lv = LogViewer(fmtr)
    lv.showLogs()

    return
예제 #2
0
def main():

    style = """
    <link rel="stylesheet" type="text/css" href="/SDT/html/intbld.css">\n
    
    <style type="text/css">  
    .info { display: none; }
    .mainTable { table-layout:fixed; }
    .showOld { font-size: 18; text-decoration: underline; padding: 20px}
    td.left {
      text-align: left;
    }
    </style>  

    <script type="text/javascript" src="/SDT/html/jsExt/jquery.js"></script>
    <script>
    function showHide(obj){
        var myname = obj.name;
        $(".detail[name='"+myname+"']").toggle();
        $(".info[name='"+myname+"']").toggle();
    }
    </script>
    """

    fmtr = Formatter.SimpleHTMLFormatter(title="Test Logs from CMSSW Integration Build", style=style)

    lv = LogViewer(fmtr)
    lv.showLogs()

    return
예제 #3
0
def main():

    style = """
    <link rel="stylesheet" type="text/css" href="http://cern.ch/cms-sdt/intbld.css">\n
    """

    fmtr = Formatter.SimpleHTMLFormatter(
        title="CMSSW Integration Build Scram Info", style=style)

    sana = ScramAnalyzer(fmtr)
    sana.showLog()
예제 #4
0
def main():

    style = """
    <link rel="stylesheet" type="text/css" href="%s/intbld.css">\n
    """ % (config.siteInfo['HtmlPath'])

    fmtr = Formatter.SimpleHTMLFormatter(
        title="CMSSW Integration Build Scram Info", style=style)

    qad = QADisplay(fmtr)
    qad.showInfo()