Mercurial > treepkg
view contrib/sawmill/web/templates/header.inc @ 557:9824e409388b
Refactor git branching
If a checkout is already available and the branch is changed in
the config git command would always fail because it doesn't know
the branch to track. Therefore always check if the branch is
locally available and if not checkout the remote branch
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Fri, 02 Sep 2011 08:45:28 +0000 |
parents | 73a2e603a23b |
children |
line wrap: on
line source
<% from cgi import escape from xml.sax.saxutils import quoteattr %> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="icon" href="img/favicon.ico" type="image/x-icon"> <link rel="stylesheet" href="styles/style.css" type="text/css" media="screen"><% if 'syndicate' in locals(): # generate syndication link %> <link rel="alternate" type="application/rss+xml" title=<%= quoteattr(syndicate[0]) %> href=<%= quoteattr(syndicate[1])%>><% # no syndication %> <title>Sägewerk - <%= escape(page_title) %></title> </head> <body> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td> <a href=<%= quoteattr(back_link) %>><img src="img/logo.jpg" border="0" alt="" width="533" height="94"></a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="left" bgcolor="#E0E0E0" width="9"> <img src="img/topleft.png" height="9" width="9" alt=""> </td> <td bgcolor="#E0E0E0" width="30"> <img src="img/clear.png" width="30" height="1" alt=""> </td> <td bgcolor="#E0E0E0"> <img src="img/clear.png" width="1" height="1" alt=""> </td> <td bgcolor="#E0E0E0" width="30"> <img src="img/clear.png" width="30" height="1" alt=""> </td> <td align="right" bgcolor="#E0E0E0" width="9"> <img src="img/topright.png" height="9" width="9" alt=""> </td> </tr> <tr> <!-- Outer body row --> <td bgcolor="#E0E0E0"> <img src="img/clear.png" width="10" height="1" alt=""> </td> <td valign="top" width="99%" bgcolor="#E0E0E0" colspan="3"> <!-- Inner Tabs / Shell --> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="left" bgcolor="#ffffff" width="9"> <img src="img/topleft-inner.png" height="9" width="9" alt=""> </td> <td bgcolor="#ffffff"> <img src="img/clear.png" width="1" height="1" alt=""> </td> <td align="right" bgcolor="#ffffff" width="9"> <img src="img/topright-inner.png" height="9" width="9" alt=""> </td> </tr> <tr> <td bgcolor="#ffffff"> <img src="img/clear.png" width="10" height="1" alt=""> </td> <td valign="top" width="99%" bgcolor="white"> <!-- begin main body row -->