forked from Kitware/CDash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
importBackup.xsl
43 lines (39 loc) · 1.29 KB
/
importBackup.xsl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:include href="footer.xsl"/>
<xsl:include href="headerback.xsl"/>
<xsl:output method="xml" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="cdash/title"/></title>
<meta name="robots" content="noindex,nofollow" />
<link rel="StyleSheet" type="text/css">
<xsl:attribute name="href"><xsl:value-of select="cdash/cssfile"/></xsl:attribute>
</link>
</head>
<body bgcolor="#ffffff">
<xsl:call-template name="headerback"/>
<xsl:if test="string-length(cdash/alert)>0">
<b><xsl:value-of select="cdash/alert"/></b>
</xsl:if>
<br/>
<br/>
<form name="form1" method="post" action="">
This page allows you to import xml files in the backup directory for this installation of CDash.<br/>
<br/>
<p>
<input type="submit" name="Submit" value="Import Backups"/>
matching
<input type="text" name="filemask" size="100" value="*.xml"/>
</p>
</form>
<br/>
<!-- FOOTER -->
<br/>
<xsl:call-template name="footer"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>