extras-buildsys/www/template foot.psp, NONE, 1.1 head.psp, NONE, 1.1 main.psp, NONE, 1.1

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Thu Jul 21 04:07:57 UTC 2005


Author: dcbw

Update of /cvs/fedora/extras-buildsys/www/template
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31121/www/template

Added Files:
	foot.psp head.psp main.psp 
Log Message:
2005-07-21  Dan Williams <dcbw at redhat.com>

    * www/*
        - Add the web front-end




--- NEW FILE foot.psp ---

      </td>
    </tr>
  </table>
</td></tr></table>


--- NEW FILE head.psp ---
<%@ include file="config.psp"%>
<%
import time

email_string = ''
email_url = ''
if len(user_email):
    email_string = "&lt;" + user_email + "&gt;"
    email_url = '?email=' + user_email
# endif

active_color = 'bgcolor="#0000cc"'

main_color = '#cc0000'
if curpage == 'main':
    main_color = active_color
builders_color = '#cc0000'
if curpage == 'builders':
    builders_color = active_color
indiv_color = '#cc0000'
if curpage == 'individual':
    indiv_color = active_color
#endif
%>

<html>
	<head>
		<title>Fedora Extras Build System</title>
        <link rel="stylesheet" type="text/css" href="css/style.css" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	</head>
	<body>

<table class="page" cellspacing="0">
  <tr>
    <td width="100%">
      <table class="top" cellpadding="0" cellspacing="0">
        <tr>
          <td align="left" class="top"><font class="header-text"><%=config_opts['system_name']%>&nbsp;&nbsp;<%=str(email_string)%></font></td>
          <td align="right" class="top"><font class="header-date">Today is: <%=str(time.strftime("%A %B %d, %Y"))%></font></td>
        </tr>
        <tr>
            <td colspan="2" class="navtable-parent">
                <table class="navtable" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="navtable-button-left" <%=main_color%>><a href="index.psp<%=email_url%>" class="navtable-button">Main</a></td>
                        <td class="navtable-button" <%=builders_color%>><a href="builders.psp<%=email_url%>" class="navtable-button">Builders</a></td>
                        <td class="navtable-button" <%=indiv_color%>><a href="indiv.psp<%=email_url%>" class="navtable-button">Individual View</a></td>
                    </tr>
                </table>
            </td>
        </tr>
      </table>

      <!-- Main table -->
      <table class="main" cellspacing="0" cellpadding="0">
        <tr>
          <td width="20%" valign="top">
            <br>


--- NEW FILE main.psp ---
<%
import time
import os
from plague import XMLRPCServerProxy
from OpenSSL import SSL

certs = {}
certs['key_and_cert'] = "/var/www/certs/fedora.cert"
certs['ca_cert'] = "/var/www/certs/fedora-upload-ca.cert"
certs['peer_ca_cert'] = "/var/www/certs/fedora-server-ca.cert"

server = XMLRPCServerProxy.PlgXMLRPCServerProxy("https://flare.boston.redhat.com:8887", certs)

action = 'status'
user_email = ''
if form.has_key('action'):
    action = str(form['action'])
if form.has_key('email'):
    user_email = str(form['email'])

# endif
%>




More information about the scm-commits mailing list