summaryrefslogtreecommitdiff
path: root/templates/install.tpl
blob: 3002cfe37a28b8f8e790faee26c9e63a6b9fe9d8 (plain)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{if ($gBrowserInfo.browser neq 'ie') or ($gBrowserInfo.browser eq 'ie' and $gBrowserInfo.maj_ver gt 7) }
<?xml version="1.0" encoding="utf-8"?>
{/if}
{strip}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<style type="text/css">
		{* hidden from 4.x browsers: *}
		@import "{$smarty.const.CONFIG_PKG_URL}themes/bootstrap/bootstrap.css";
		@import "{$smarty.const.INSTALL_PKG_URL}css/install.css";
	</style>
	<title>Install Bitweaver - {$browserTitle}</title>
	<link rel="shortcut icon" href="{$smarty.const.INSTALL_PKG_URL}favicon.ico" type="image/x-icon" />
	<link rel="icon" href="{$smarty.const.INSTALL_PKG_URL}favicon.ico" type="image/x-icon" />

	<script type="text/javascript">/* <![CDATA[ */
		var bitCookiePath = "{$smarty.const.BIT_ROOT_URL}";
		var bitCookieDomain = "";
		var bitIconDir = "{$smarty.const.LIBERTY_PKG_URL}icons/";
		var bitRootUrl = "{$smarty.const.BIT_ROOT_URL}";
	/* ]]> */</script>
	<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="{$smarty.const.CONFIG_PKG_URL}themes/bootstrap/js/bootstrap.js"></script>
	<script type="text/javascript" src="{$smarty.const.BIT_ROOT_URL}util/javascript/bitweaver.js"></script>
	{* if $gBrowserInfo.browser eq 'ie'}
		<!--[if lt IE 7]>
			<script type="text/javascript" src="{$smarty.const.BIT_ROOT_URL}util/javascript/fixes/ie7/IE8.js"></script>
		<![endif]-->
	{/if *}
</head>
<body id="step{$smarty.request.step}">
	<header class="container">
		<div class="navbar">
			<div  style="margin:10px;overflow:visible;">
				<div class="brand">Install Bitweaver {$gBitSystem->getBitVersion()} </div>
				<nav class="pull-right width60p" style="padding:10px 20px 0 0;">
					<div class="pull-right">
						<a href="http://www.bitweaver.org/wiki/index.php?page={$section|default:"Install"}bitweaverDoc"><i class="icon-question-sign"></i> Help</a>
					</div>

					<div class="pull-right width50p" style="padding:0 10px;">
						<div class="progress">
						  <div class="bar bar-success" style="width: {$progress|default:0}%;"></div>
						</div>
					</div>
					<div class="pull-right">
						<em>{$section|default:"Install"} Progress</em>
					</div>
				</nav>
			</div>
			<div class="navbar-inner">
				<ul class="nav">
					{foreach from=$menu_steps item=step key=key}
						<li class="{if $smarty.request.step == $key}active{/if}">
							<a href="{$menu_path|default:$smarty.const.INSTALL_PKG_URL}{$menu_file|default:"install.php"}?step={$key}" {if $step.state eq 'uncompleted'}onclick="return false;"{/if}>
							{if $step.icon}<i class="{$step.icon}"></i> {/if} {$step.name}
							</a>
						</li>
					{/foreach}
				</ul>
			</div>
		</div>
	</header>

	<div class="container">
		<section class="row maincontent">
			<div class="span12">
			{include file=$install_file}
			</div>
		<section>
	</div>

	<footer class="container content-center">
		{include file="bitpackage:kernel/bot_bar.tpl"}
	</footer>
</body>
</html>
{/strip}