2011-04-16 21:29:54 +00:00
|
|
|
<!DOCTYPE html>
|
2017-07-17 08:08:51 +00:00
|
|
|
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" >
|
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">
|
2018-04-18 13:51:52 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
2019-08-23 14:17:09 +00:00
|
|
|
<?php if ($theme->getiTunesAppId() !== '') { ?>
|
2014-08-28 08:12:59 +00:00
|
|
|
<meta name="apple-itunes-app" content="app-id=<?php p($theme->getiTunesAppId()); ?>">
|
2019-08-23 14:17:09 +00:00
|
|
|
<?php } ?>
|
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')); ?>">
|
2017-05-20 10:16:44 +00:00
|
|
|
<?php emit_css_loading_tags($_); ?>
|
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']);?>">
|
2018-01-26 22:46:40 +00:00
|
|
|
<?php include 'layout.noscript.warning.php'; ?>
|
2018-06-26 10:37:33 +00:00
|
|
|
|
2019-01-17 11:30:47 +00:00
|
|
|
<?php foreach ($_['initialStates'] as $app => $initialState) { ?>
|
|
|
|
<input type="hidden" id="initial-state-<?php p($app); ?>" value="<?php p(base64_encode($initialState)); ?>">
|
|
|
|
<?php }?>
|
|
|
|
|
2018-06-25 07:26:43 +00:00
|
|
|
<a href="#app-content" class="button primary skip-navigation skip-content"><?php p($l->t('Skip to main content')); ?></a>
|
|
|
|
<a href="#app-navigation" class="button primary skip-navigation"><?php p($l->t('Skip to navigation of app')); ?></a>
|
2018-06-26 10:37:33 +00:00
|
|
|
|
2018-06-25 07:26:43 +00:00
|
|
|
<div id="notification-container">
|
|
|
|
<div id="notification"></div>
|
|
|
|
</div>
|
|
|
|
<header role="banner" id="header">
|
2017-07-28 12:44:29 +00:00
|
|
|
<div class="header-left">
|
2017-01-03 15:06:53 +00:00
|
|
|
<a href="<?php print_unescaped(link_to('', 'index.php')); ?>"
|
2017-09-29 18:01:15 +00:00
|
|
|
id="nextcloud">
|
2017-06-07 14:06:19 +00:00
|
|
|
<div class="logo logo-icon">
|
2017-01-03 15:06:53 +00:00
|
|
|
<h1 class="hidden-visually">
|
2017-09-29 17:30:59 +00:00
|
|
|
<?php p($theme->getName()); ?> <?php p(!empty($_['application'])?$_['application']: $l->t('Apps')); ?>
|
2017-01-03 15:06:53 +00:00
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
</a>
|
2014-12-17 15:05:01 +00:00
|
|
|
|
2018-01-10 08:11:17 +00:00
|
|
|
<ul id="appmenu" <?php if ($_['themingInvertMenu']) { ?>class="inverted"<?php } ?>>
|
2017-03-28 13:04:56 +00:00
|
|
|
<?php foreach ($_['navigation'] as $entry): ?>
|
2018-10-30 22:20:09 +00:00
|
|
|
<li data-id="<?php p($entry['id']); ?>" class="hidden" tabindex="-1">
|
2017-03-28 13:04:56 +00:00
|
|
|
<a href="<?php print_unescaped($entry['href']); ?>"
|
2018-04-18 11:33:08 +00:00
|
|
|
<?php if ($entry['active']): ?> class="active"<?php endif; ?>
|
|
|
|
aria-label="<?php p($entry['name']); ?>">
|
|
|
|
<svg width="20" height="20" viewBox="0 0 20 20" alt="">
|
2018-01-10 08:11:17 +00:00
|
|
|
<?php if ($_['themingInvertMenu']) { ?>
|
|
|
|
<defs><filter id="invertMenuMain-<?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" /></filter></defs>
|
|
|
|
<?php } ?>
|
2019-02-27 15:37:52 +00:00
|
|
|
<image x="0" y="0" width="20" height="20" preserveAspectRatio="xMinYMin meet"<?php if ($_['themingInvertMenu']) { ?> filter="url(#invertMenuMain-<?php p($entry['id']); ?>)"<?php } ?> xlink:href="<?php print_unescaped($entry['icon'] . '?v=' . $_['versionHash']); ?>" class="app-icon"></image>
|
2018-01-10 08:11:17 +00:00
|
|
|
</svg>
|
2019-01-13 23:48:09 +00:00
|
|
|
<span>
|
|
|
|
<?php p($entry['name']); ?>
|
|
|
|
</span>
|
2017-06-23 10:18:20 +00:00
|
|
|
</a>
|
2017-03-28 13:04:56 +00:00
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
2018-04-18 11:33:08 +00:00
|
|
|
<li id="more-apps" class="menutoggle"
|
|
|
|
aria-haspopup="true" aria-controls="navigation" aria-expanded="false">
|
2018-04-18 13:40:47 +00:00
|
|
|
<a href="#" aria-label="<?php p($l->t('More apps')); ?>">
|
2017-03-28 13:04:56 +00:00
|
|
|
<div class="icon-more-white"></div>
|
2018-10-30 22:20:09 +00:00
|
|
|
<span><?php p($l->t('More')); ?></span>
|
2017-03-28 13:04:56 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-12-18 14:05:39 +00:00
|
|
|
|
2017-03-28 13:04:56 +00:00
|
|
|
<nav role="navigation">
|
2018-04-18 13:40:47 +00:00
|
|
|
<div id="navigation" style="display: none;" aria-label="<?php p($l->t('More apps menu')); ?>">
|
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-09-29 18:01:15 +00:00
|
|
|
<a href="<?php print_unescaped($entry['href']); ?>"
|
2018-04-18 11:33:08 +00:00
|
|
|
<?php if( $entry['active'] ): ?> class="active"<?php endif; ?>
|
|
|
|
aria-label="<?php p($entry['name']); ?>">
|
|
|
|
<svg width="16" height="16" viewBox="0 0 16 16" alt="">
|
2018-01-03 13:41:55 +00:00
|
|
|
<defs><filter id="invertMenuMore-<?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>
|
|
|
|
<image x="0" y="0" width="16" height="16" preserveAspectRatio="xMinYMin meet" filter="url(#invertMenuMore-<?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
|
|
|
<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-07-28 12:44:29 +00:00
|
|
|
<div class="header-right">
|
2017-01-03 15:06:53 +00: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"
|
2019-05-23 16:44:07 +00:00
|
|
|
value="" required class="hidden icon-search-white icon-search-force-white"
|
2017-09-29 18:01:15 +00:00
|
|
|
autocomplete="off">
|
2017-09-29 17:25:32 +00:00
|
|
|
<button class="icon-close-white" type="reset"><span class="hidden-visually"><?php p($l->t('Reset search'));?></span></button>
|
2017-01-03 15:06:53 +00:00
|
|
|
</form>
|
2017-01-24 06:47:14 +00:00
|
|
|
<div id="contactsmenu">
|
2018-04-18 11:33:08 +00:00
|
|
|
<div class="icon-contacts menutoggle" tabindex="0" role="button"
|
|
|
|
aria-haspopup="true" aria-controls="contactsmenu-menu" aria-expanded="false">
|
2018-10-26 19:22:44 +00:00
|
|
|
<span class="hidden-visually"><?php p($l->t('Contacts'));?></span>
|
2018-04-18 11:33:08 +00:00
|
|
|
</div>
|
|
|
|
<div id="contactsmenu-menu" class="menu"
|
|
|
|
aria-label="<?php p($l->t('Contacts menu'));?>"></div>
|
2017-01-24 06:47:14 +00:00
|
|
|
</div>
|
2017-01-03 15:06:53 +00:00
|
|
|
<div id="settings">
|
2018-04-18 11:33:08 +00:00
|
|
|
<div id="expand" tabindex="0" role="button" class="menutoggle"
|
|
|
|
aria-label="<?php p($l->t('Settings'));?>"
|
|
|
|
aria-haspopup="true" aria-controls="expanddiv" aria-expanded="false">
|
2017-01-03 15:06:53 +00: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 15:57:05 +00:00
|
|
|
<div id="expandDisplayName" class="icon-settings-white"></div>
|
2017-01-03 15:06:53 +00:00
|
|
|
</div>
|
2019-03-18 15:17:22 +00:00
|
|
|
<nav class="settings-menu" id="expanddiv" style="display:none;"
|
2018-04-18 11:33:08 +00:00
|
|
|
aria-label="<?php p($l->t('Settings menu'));?>">
|
2017-01-03 15:06:53 +00:00
|
|
|
<ul>
|
|
|
|
<?php foreach($_['settingsnavigation'] as $entry):?>
|
2018-05-08 11:14:02 +00:00
|
|
|
<li data-id="<?php p($entry['id']); ?>">
|
2017-01-03 15:06:53 +00:00
|
|
|
<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>
|
2018-04-18 11:33:08 +00:00
|
|
|
</nav>
|
2012-10-27 16:58:16 +00:00
|
|
|
</div>
|
2013-12-10 00:45:15 +00:00
|
|
|
</div>
|
2019-02-27 15:37:52 +00:00
|
|
|
</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">
|
2017-09-29 17:25:32 +00: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 13:33:30 +00:00
|
|
|
placeholder="<?php p($l->t('Confirm your password')); ?>" />
|
2017-09-29 17:25:32 +00:00
|
|
|
</label>
|
|
|
|
<input class="confirm" value="<?php p($l->t('Confirm')); ?>" type="submit">
|
2016-12-19 11:43:31 +00:00
|
|
|
</form>
|
2016-09-19 13:33:30 +00:00
|
|
|
|
2018-07-27 07:42:34 +00:00
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
|
|
|
|
<?php print_unescaped($_['content']); ?>
|
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>
|