2011-04-17 01:29:54 +04:00
|
|
|
<!DOCTYPE html>
|
2016-06-16 09:28:43 +03:00
|
|
|
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" >
|
2016-02-09 15:06:48 +03:00
|
|
|
<head data-user="<?php p($_['user_uid']); ?>" data-user-displayname="<?php p($_['user_displayname']); ?>" data-requesttoken="<?php p($_['requesttoken']); ?>">
|
2015-03-18 01:36:05 +03:00
|
|
|
<meta charset="utf-8">
|
2013-06-12 16:33:24 +04:00
|
|
|
<title>
|
2013-10-17 12:40:06 +04:00
|
|
|
<?php
|
|
|
|
p(!empty($_['application'])?$_['application'].' - ':'');
|
|
|
|
p($theme->getTitle());
|
|
|
|
?>
|
2013-06-12 16:33:24 +04:00
|
|
|
</title>
|
2015-03-18 04:11:47 +03:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2015-09-09 19:07:43 +03:00
|
|
|
<meta name="referrer" content="never">
|
2014-03-26 02:35:55 +04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
2014-08-28 12:12:59 +04:00
|
|
|
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
|
2014-07-08 15:14:54 +04:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
2016-10-07 10:44:42 +03:00
|
|
|
<meta name="apple-mobile-web-app-title" content="<?php p((!empty($_['application']) && $_['appid']!='files')? $_['application']:$theme->getTitle()); ?>">
|
2014-07-08 15:14:54 +04:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2017-03-28 02:37:47 +03:00
|
|
|
<meta name="theme-color" content="<?php p($theme->getColorPrimary()); ?>">
|
2016-03-08 23:09:34 +03:00
|
|
|
<link rel="icon" href="<?php print_unescaped(image_path($_['appid'], 'favicon.ico')); /* IE11+ supports png */ ?>">
|
2015-03-18 01:57:23 +03:00
|
|
|
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path($_['appid'], 'favicon-touch.png')); ?>">
|
2017-03-28 02:37:47 +03: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 18:24:29 +03:00
|
|
|
<link rel="manifest" href="<?php print_unescaped(image_path($_['appid'], 'manifest.json')); ?>">
|
2017-05-20 13:16:44 +03:00
|
|
|
<?php emit_css_loading_tags($_); ?>
|
2017-03-08 11:43:51 +03:00
|
|
|
<?php emit_script_loading_tags($_); ?>
|
2014-10-28 13:15:58 +03:00
|
|
|
<?php print_unescaped($_['headers']); ?>
|
2011-03-02 13:56:48 +03:00
|
|
|
</head>
|
2013-02-28 01:55:39 +04:00
|
|
|
<body id="<?php p($_['bodyid']);?>">
|
2015-02-09 18:01:52 +03:00
|
|
|
<?php include('layout.noscript.warning.php'); ?>
|
2013-01-11 14:52:07 +04:00
|
|
|
<div id="notification-container">
|
2013-01-11 18:19:53 +04:00
|
|
|
<div id="notification"></div>
|
2013-01-11 14:52:07 +04:00
|
|
|
</div>
|
2015-03-18 21:29:15 +03:00
|
|
|
<header role="banner"><div id="header">
|
2017-07-28 15:44:29 +03:00
|
|
|
<div class="header-left">
|
2017-01-03 18:06:53 +03:00
|
|
|
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
|
2017-09-29 21:01:15 +03:00
|
|
|
id="nextcloud">
|
2017-06-07 17:06:19 +03:00
|
|
|
<div class="logo logo-icon">
|
2017-01-03 18:06:53 +03:00
|
|
|
<h1 class="hidden-visually">
|
2017-09-29 20:30:59 +03:00
|
|
|
<?php p($theme->getName()); ?> <?php p(!empty($_['application'])?$_['application']: $l->t('Apps')); ?>
|
2017-01-03 18:06:53 +03:00
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</a>
|
2014-12-17 18:05:01 +03:00
|
|
|
|
2017-03-28 16:04:56 +03: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']); ?>"
|
|
|
|
<?php if ($entry['active']): ?> class="active"<?php endif; ?>>
|
|
|
|
<img src="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>"
|
2017-09-29 19:14:39 +03:00
|
|
|
class="app-icon" alt="<?php p($entry['name']); ?>" />
|
2017-03-28 16:04:56 +03:00
|
|
|
<div class="icon-loading-small-dark"
|
|
|
|
style="display:none;"></div>
|
2017-06-23 13:18:20 +03:00
|
|
|
</a>
|
|
|
|
<span>
|
2016-12-18 17:05:39 +03:00
|
|
|
<?php p($entry['name']); ?>
|
|
|
|
</span>
|
2017-03-28 16:04:56 +03:00
|
|
|
</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 17:05:39 +03:00
|
|
|
|
2017-03-28 16:04:56 +03:00
|
|
|
<nav role="navigation">
|
2017-04-29 14:34:44 +03:00
|
|
|
<div id="navigation" style="display: none;">
|
2017-03-02 01:21:38 +03:00
|
|
|
<div id="apps">
|
|
|
|
<ul>
|
|
|
|
<?php foreach($_['navigation'] as $entry): ?>
|
2017-03-28 16:04:56 +03:00
|
|
|
<li data-id="<?php p($entry['id']); ?>">
|
2017-09-29 21:01:15 +03:00
|
|
|
<a href="<?php print_unescaped($entry['href']); ?>"
|
2017-03-02 01:21:38 +03:00
|
|
|
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>>
|
2017-03-28 16:04:56 +03:00
|
|
|
<svg width="16" height="16" viewBox="0 0 16 16">
|
2017-03-20 10:23:04 +03: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 16:04:56 +03: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-02 01:21:38 +03:00
|
|
|
</svg>
|
2017-03-28 16:04:56 +03:00
|
|
|
<div class="icon-loading-small-dark" style="display:none;"></div>
|
|
|
|
<span><?php p($entry['name']); ?></span>
|
2017-03-02 01:21:38 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2017-03-28 16:04:56 +03:00
|
|
|
</div>
|
|
|
|
</nav>
|
2017-03-02 01:21:38 +03:00
|
|
|
|
2017-01-03 18:06:53 +03:00
|
|
|
</div>
|
2014-12-17 18:05:01 +03:00
|
|
|
|
2017-07-28 15:44:29 +03:00
|
|
|
<div class="header-right">
|
2017-01-03 18:06:53 +03:00
|
|
|
<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
|
2017-09-29 21:01:15 +03:00
|
|
|
autocomplete="off">
|
2017-09-29 20:25:32 +03:00
|
|
|
<button class="icon-close-white" type="reset"><span class="hidden-visually"><?php p($l->t('Reset search'));?></span></button>
|
2017-01-03 18:06:53 +03:00
|
|
|
</form>
|
2017-01-24 09:47:14 +03:00
|
|
|
<div id="contactsmenu">
|
2017-09-29 21:01:15 +03:00
|
|
|
<div class="icon-contacts menutoggle" tabindex="0" role="link"></div>
|
2017-01-24 09:47:14 +03:00
|
|
|
<div class="menu"></div>
|
|
|
|
</div>
|
2017-01-03 18:06:53 +03:00
|
|
|
<div id="settings">
|
2017-09-29 21:01:15 +03:00
|
|
|
<div id="expand" tabindex="0" role="link" class="menutoggle">
|
2017-01-03 18:06:53 +03:00
|
|
|
<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 18:57:05 +03:00
|
|
|
<div id="expandDisplayName" class="icon-settings-white"></div>
|
2017-01-03 18:06:53 +03:00
|
|
|
</div>
|
2017-04-29 14:34:44 +03:00
|
|
|
<div id="expanddiv" style="display:none;">
|
2017-01-03 18:06:53 +03: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 17:05:39 +03:00
|
|
|
|
2014-03-15 18:27:48 +04:00
|
|
|
</div>
|
2012-10-27 20:58:16 +04:00
|
|
|
</div>
|
2013-12-10 04:45:15 +04:00
|
|
|
</div>
|
2011-08-09 12:30:37 +04:00
|
|
|
</div></header>
|
2011-03-02 13:56:48 +03:00
|
|
|
|
2016-09-19 16:33:30 +03:00
|
|
|
<div id="sudo-login-background" class="hidden"></div>
|
2016-12-19 14:43:31 +03:00
|
|
|
<form id="sudo-login-form" class="hidden">
|
2017-09-29 20:25:32 +03:00
|
|
|
<label>
|
|
|
|
<?php p($l->t('This action requires you to confirm your password')); ?><br/>
|
|
|
|
<input type="password" class="question" autocomplete="new-password" name="question" value=" <?php /* Hack against browsers ignoring autocomplete="off" */ ?>"
|
2016-09-19 16:33:30 +03:00
|
|
|
placeholder="<?php p($l->t('Confirm your password')); ?>" />
|
2017-09-29 20:25:32 +03:00
|
|
|
</label>
|
|
|
|
<input class="confirm" value="<?php p($l->t('Confirm')); ?>" type="submit">
|
2016-12-19 14:43:31 +03:00
|
|
|
</form>
|
2016-09-19 16:33:30 +03:00
|
|
|
|
2013-01-16 22:38:19 +04:00
|
|
|
<div id="content-wrapper">
|
2015-03-18 21:29:15 +03:00
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
|
2013-02-28 01:55:39 +04:00
|
|
|
<?php print_unescaped($_['content']); ?>
|
2013-01-16 22:38:19 +04:00
|
|
|
</div>
|
2011-03-02 13:56:48 +03:00
|
|
|
</div>
|
2017-01-24 09:47:14 +03:00
|
|
|
|
2011-03-02 13:56:48 +03:00
|
|
|
</body>
|
|
|
|
</html>
|