index : flyspray | |
Archlinux32 customized Flyspray installation | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | setup/templates/structure.tpl | 56 |
diff --git a/setup/templates/structure.tpl b/setup/templates/structure.tpl new file mode 100644 index 0000000..84a7491 --- /dev/null +++ b/setup/templates/structure.tpl @@ -0,0 +1,56 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><?php echo Filters::noXSS($title . ' ' . $product_name); ?></title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" href="styles/setup.css" type="text/css" media="screen" /> +<?php echo $headers; ?> +</head> +<body> +<div id="header"> + <div id="logo"> + <h1><a href="<?php echo Filters::noXSS($index); ?>" title="Flyspray - <?= eL('slogan') ?>"><?= eL('slogan') ?></a></h1> + </div><!-- End of logo --> +</div><!-- End of header --> +<div id="content"> + <div id="stepbar" title="<?= eL('progress') ?>"> + <!-- <div><?= eL('progress') ?></div> --> + <div class="done">3rd party libs</div> + <div<?php + if(!isset($_POST['action'])){ + echo ' class="step-on"'; + } elseif( $_POST['action'] == 'database' || $_POST['action'] == 'administration' || $_POST['action'] == 'complete' ){ + echo ' class="done"'; + } ?>><?= eL('preinstallcheck') ?></div> + <div<?php + if(isset($_POST['action'])){ + if( $_POST['action'] == 'database' ){ + echo ' class="step-on"'; + } elseif( $_POST['action'] == 'administration' || $_POST['action'] == 'complete' ){ + echo ' class="done"'; + } + } + ?>><?= eL('databasesetup') ?></div> + <div<?php + if(isset($_POST['action'])){ + if($_POST['action'] == 'administration'){ + echo ' class="step-on"'; + } elseif($_POST['action'] == 'complete'){ + echo ' class="done"'; + } + } ?>><?= eL('administration') ?></div> + <div<?php echo (isset($_POST['action']) && ($_POST['action'] == 'complete')) ? ' class="step-on"' : ''; ?>><?php echo Filters::noXSS(L('installflyspray')); ?></div> + </div> + <?php echo $body; ?> +</div><!-- End of content --> +<div id="footer"> + <ul id="docs"> + <li><a href="https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" title="<?= eL('lgpllicense') ?>" target="_blank"><?= eL('lgpllicense') ?></a></li> + <li><a href="https://www.flyspray.org/manual/" title="<?= eL('installationguide') ?>" target="_blank"><?= eL('installationguide') ?></a></li> + </ul> + <p>Flyspray <?php echo Filters::noXSS($version); ?><br /> + Copyright 2004-<?php echo Filters::noXSS(date('Y')); ?> © The Flyspray team. All rights reserved. + </p> +</div><!-- End of footer --> +</body> +</html> |