aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/header.phtml
blob: 57beb5f550de77ba2c8f49e6bb25af5e22b2c55a (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
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="">
				<i class="icon"></i>
				<?=h($conference->getTitle())?>
			</a>
		</div>

		<div class="nav navbar-form navbar-right button-wrapper">
			<? if(startswith('//', @$GLOBALS['CONFIG']['BASEURL'])): ?>
				<a class="form-control btn btn-ssl btn-<?= ssl() ? 'success' : 'warning' ?>" href="<?=h(ssl() ? $httpurl : $httpsurl)?>">
					<span class="fa fa-<?= ssl() ? 'lock' : 'unlock-alt' ?>"></span>
					TLS
				</a>
			<? endif ?>

			<? if(!$conference->hasEnded() && isset($feedback) && $feedback->isEnabled()): ?>
				<a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>">
					<span class="fa fa-bullhorn"></span>
				</a>
			<? endif ?>
			<? if($conference->hasReleases()): ?>
				<a class="form-control btn btn-default" href="<?=h($conference->getReleasesUrl())?>">
					<span class="fa fa-video-camera"></span>
				</a>
			<? endif ?>
			<a class="form-control btn btn-default" href="about/">
				<span class="fa fa-info"></span>
			</a>
		</div>
	</div>
</nav>


<? if($conference->isPreviewEnabled()): ?>
<div class="preview-warning">
	PREVIEW MODE
</div>
<? endif ?>