2011-04-16 21:29:54 +00:00
|
|
|
<!DOCTYPE html>
|
2016-06-16 06:28:43 +00:00
|
|
|
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" >
|
2016-02-09 12:06:48 +00:00
|
|
|
<head data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
|
2015-03-17 22:36:05 +00:00
|
|
|
<meta charset="utf-8">
|
2013-06-12 12:33:24 +00:00
|
|
|
<title>
|
2013-10-17 08:40:06 +00:00
|
|
|
<?php
|
|
|
|
p(!empty($_['application'])?$_['application'].' - ':'');
|
|
|
|
p($theme->getTitle());
|
|
|
|
?>
|
2013-06-12 12:33:24 +00:00
|
|
|
</title>
|
2015-03-18 01:11:47 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2015-09-09 16:07:43 +00:00
|
|
|
<meta name="referrer" content="never">
|
2014-03-25 22:35:55 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
2014-08-28 08:12:59 +00:00
|
|
|
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
|
2014-07-08 11:14:54 +00:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
2016-10-07 07:44:42 +00:00
|
|
|
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:$theme->getTitle()); ?>">
|
2014-07-08 11:14:54 +00:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2017-03-27 23:37:47 +00:00
|
|
|
<meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
|
2016-03-08 20:09:34 +00:00
|
|
|
<link rel="icon" href="<?php print_unescaped(image_path($_['appid'], 'favicon.ico')); /* IE11+ supports png */ ?>">
|
2015-03-17 22:57:23 +00:00
|
|
|
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>">
|
2017-03-27 23:37:47 +00:00
|
|
|
<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path($_['appid'], 'favicon-mask.svg')); ?>" color="<?php p($theme->getColorPrimary()); ?>">
|
2016-09-20 15:24:29 +00:00
|
|
|
<link rel="manifest" href="<?php print_unescaped(image_path($_['appid'], 'manifest.json')); ?>">
|
2011-04-16 17:49:18 +00:00
|
|
|
<?php foreach($_['cssfiles'] as $cssfile): ?>
|
2015-06-10 10:16:45 +00:00
|
|
|
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>">
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php foreach($_['printcssfiles'] as $cssfile): ?>
|
|
|
|
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
|
2011-03-09 20:57:00 +00:00
|
|
|
<?php endforeach; ?>
|
2017-03-08 08:43:51 +00:00
|
|
|
<?php emit_script_loading_tags($_); ?>
|
2014-10-28 10:15:58 +00:00
|
|
|
<?php print_unescaped($_['headers']); ?>
|
2011-03-02 10:56:48 +00:00
|
|
|
</head>
|
2013-02-27 21:55:39 +00:00
|
|
|
<body id="<?php p($_['bodyid']);?>">
|
2015-02-09 15:01:52 +00:00
|
|
|
<?php include('layout.noscript.warning.php'); ?>
|
2013-01-11 10:52:07 +00:00
|
|
|
<div id="notification-container">
|
2013-01-11 14:19:53 +00:00
|
|
|
<div id="notification"></div>
|
2013-01-11 10:52:07 +00:00
|
|
|
</div>
|
2015-03-18 18:29:15 +00:00
|
|
|
<header role="banner"><div id="header">
|
2017-01-16 13:29:41 +00:00
|
|
|
<div id="header-left">
|
2017-01-03 15:06:53 +00:00
|
|
|
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
|
|
|
|
id="nextcloud" tabindex="1">
|
|
|
|
<div class="logo-icon">
|
|
|
|
<h1 class="hidden-visually">
|
|
|
|
<?php p($theme->getName()); ?>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</a>
|
2014-12-17 15:05:01 +00:00
|
|
|
|
2017-01-03 15:06:53 +00:00
|
|
|
<a href="#" class="header-appname-container menutoggle" tabindex="2">
|
|
|
|
<h1 class="header-appname">
|
|
|
|
<?php p(!empty($_['application'])?$_['application']: $l->t('Apps')); ?>
|
|
|
|
</h1>
|
|
|
|
<div class="icon-caret"></div>
|
|
|
|
</a>
|
2016-12-18 14:05:39 +00:00
|
|
|
|
2017-03-28 13:04:56 +00:00
|
|
|
<ul id="appmenu">
|
|
|
|
<?php foreach ($_['navigation'] as $entry): ?>
|
|
|
|
<li data-id="<?php p($entry['id']); ?>" class="hidden">
|
|
|
|
<a href="<?php print_unescaped($entry['href']); ?>"
|
|
|
|
tabindex="3"
|
|
|
|
<?php if ($entry['active']): ?> class="active"<?php endif; ?>>
|
|
|
|
<img src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"
|
|
|
|
class="app-icon"/>
|
|
|
|
<div class="icon-loading-small-dark"
|
|
|
|
style="display:none;"></div>
|
|
|
|
<span>
|
2016-12-18 14:05:39 +00:00
|
|
|
<?php p($entry['name']); ?>
|
|
|
|
</span>
|
2017-03-28 13:04:56 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
<li id="more-apps" class="menutoggle">
|
|
|
|
<a href="#">
|
|
|
|
<div class="icon-more-white"></div>
|
|
|
|
<span><?php p($l->t('More apps')); ?></span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-12-18 14:05:39 +00:00
|
|
|
|
2017-03-28 13:04:56 +00:00
|
|
|
<nav role="navigation">
|
2017-04-29 11:34:44 +00:00
|
|
|
<div id="navigation" style="display: none;">
|
2017-03-01 22:21:38 +00:00
|
|
|
<div id="apps">
|
|
|
|
<ul>
|
|
|
|
<?php foreach($_['navigation'] as $entry): ?>
|
2017-03-28 13:04:56 +00:00
|
|
|
<li data-id="<?php p($entry['id']); ?>">
|
2017-03-01 22:21:38 +00:00
|
|
|
<a href="<?php print_unescaped($entry['href']); ?>" tabindex="3"
|
|
|
|
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
|
2017-03-28 13:04:56 +00:00
|
|
|
<svg width="16" height="16" viewBox="0 0 16 16">
|
2017-03-20 07:23:04 +00:00
|
|
|
<defs><filter id="invert-<?php p($entry['id']); ?>"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
|
2017-03-28 13:04:56 +00:00
|
|
|
<image x="0" y="0" width="16" height="16" preserveAspectRatio="xMinYMin meet" filter="url(#invert-<?php p($entry['id']); ?>)" xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>" class="app-icon"></image>
|
2017-03-01 22:21:38 +00:00
|
|
|
</svg>
|
2017-03-28 13:04:56 +00:00
|
|
|
<div class="icon-loading-small-dark" style="display:none;"></div>
|
|
|
|
<span><?php p($entry['name']); ?></span>
|
2017-03-01 22:21:38 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-03-28 13:04:56 +00:00
|
|
|
</div>
|
|
|
|
</nav>
|
2017-03-01 22:21:38 +00:00
|
|
|
|
2017-01-03 15:06:53 +00:00
|
|
|
</div>
|
2014-12-17 15:05:01 +00:00
|
|
|
|
2017-01-03 15:06:53 +00:00
|
|
|
<div id="header-right">
|
|
|
|
<form class="searchbox" action="#" method="post" role="search" novalidate>
|
|
|
|
<label for="searchbox" class="hidden-visually">
|
|
|
|
<?php p($l->t('Search'));?>
|
|
|
|
</label>
|
|
|
|
<input id="searchbox" type="search" name="query"
|
|
|
|
value="" required
|
|
|
|
autocomplete="off" tabindex="5">
|
2017-01-25 08:15:37 +00:00
|
|
|
<button class="icon-close-white" type="reset"></button>
|
2017-01-03 15:06:53 +00:00
|
|
|
</form>
|
2017-01-24 06:47:14 +00:00
|
|
|
<div id="contactsmenu">
|
|
|
|
<div class="icon-contacts menutoggle"></div>
|
|
|
|
<div class="menu"></div>
|
|
|
|
</div>
|
2017-01-03 15:06:53 +00:00
|
|
|
<div id="settings">
|
|
|
|
<div id="expand" tabindex="6" role="link" class="menutoggle">
|
|
|
|
<div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown'); } else { print_unescaped('" style="display: none'); } ?>">
|
|
|
|
<?php if ($_['userAvatarSet']): ?>
|
|
|
|
<img alt="" width="32" height="32"
|
|
|
|
src="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.avatar.getAvatar', ['userId' => $_['user_uid'], 'size' => 32, 'v' => $_['userAvatarVersion']]));?>"
|
|
|
|
srcset="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.avatar.getAvatar', ['userId' => $_['user_uid'], 'size' => 64, 'v' => $_['userAvatarVersion']]));?> 2x, <?php p(\OC::$server->getURLGenerator()->linkToRoute('core.avatar.getAvatar', ['userId' => $_['user_uid'], 'size' => 128, 'v' => $_['userAvatarVersion']]));?> 4x"
|
|
|
|
>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
2017-03-26 15:57:05 +00:00
|
|
|
<div id="expandDisplayName" class="icon-settings-white"></div>
|
2017-01-03 15:06:53 +00:00
|
|
|
</div>
|
2017-04-29 11:34:44 +00:00
|
|
|
<div id="expanddiv" style="display:none;">
|
2017-01-03 15:06:53 +00:00
|
|
|
<ul>
|
|
|
|
<?php foreach($_['settingsnavigation'] as $entry):?>
|
|
|
|
<li>
|
|
|
|
<a href="<?php print_unescaped($entry['href']); ?>"
|
|
|
|
<?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
|
|
|
|
<img alt="" src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>">
|
|
|
|
<?php p($entry['name']) ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
2016-12-18 14:05:39 +00:00
|
|
|
|
2014-03-15 14:27:48 +00:00
|
|
|
</div>
|
2012-10-27 16:58:16 +00:00
|
|
|
</div>
|
2013-12-10 00:45:15 +00:00
|
|
|
</div>
|
2011-08-09 08:30:37 +00:00
|
|
|
</div></header>
|
2011-03-02 10:56:48 +00:00
|
|
|
|
2016-09-19 13:33:30 +00:00
|
|
|
<div id="sudo-login-background" class="hidden"></div>
|
2016-12-19 11:43:31 +00:00
|
|
|
<form id="sudo-login-form" class="hidden">
|
2016-11-11 08:59:20 +00:00
|
|
|
<?php p($l->t('This action requires you to confirm your password:')); ?><br>
|
2016-12-19 11:43:31 +00:00
|
|
|
<input type="password" class="question" autocomplete="new-password" name="question" value=" <?php /* Hack against browsers ignoring autocomplete="off" */ ?>"
|
2016-09-19 13:33:30 +00:00
|
|
|
placeholder="<?php p($l->t('Confirm your password')); ?>" />
|
|
|
|
<input class="confirm icon-confirm" title="<?php p($l->t('Confirm')); ?>" value="" type="submit">
|
2016-12-19 11:43:31 +00:00
|
|
|
</form>
|
2016-09-19 13:33:30 +00:00
|
|
|
|
2013-01-16 18:38:19 +00:00
|
|
|
<div id="content-wrapper">
|
2015-03-18 18:29:15 +00:00
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
|
2013-02-27 21:55:39 +00:00
|
|
|
<?php print_unescaped($_['content']); ?>
|
2013-01-16 18:38:19 +00:00
|
|
|
</div>
|
2011-03-02 10:56:48 +00:00
|
|
|
</div>
|
2017-01-24 06:47:14 +00:00
|
|
|
|
2011-03-02 10:56:48 +00:00
|
|
|
</body>
|
|
|
|
</html>
|