2011-04-17 01:29:54 +04:00
|
|
|
<!DOCTYPE html>
|
2017-07-17 11:08:51 +03:00
|
|
|
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" data-locale="<?php p($_['locale']); ?>" >
|
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">
|
2018-04-18 16:51:52 +03:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-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']);?>">
|
2018-01-27 01:46:40 +03:00
|
|
|
<?php include 'layout.noscript.warning.php'; ?>
|
2018-06-26 13:37:33 +03:00
|
|
|
|
2019-01-17 14:30:47 +03: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 10:26:43 +03: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 13:37:33 +03:00
|
|
|
|
2018-06-25 10:26:43 +03:00
|
|
|
<div id="notification-container">
|
|
|
|
<div id="notification"></div>
|
|
|
|
</div>
|
|
|
|
<header role="banner" 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
|
|
|
|
2018-01-10 11:11:17 +03:00
|
|
|
<ul id="appmenu" <?php if ($_['themingInvertMenu']) { ?>class="inverted"<?php } ?>>
|
2017-03-28 16:04:56 +03:00
|
|
|
<?php foreach ($_['navigation'] as $entry): ?>
|
2018-10-31 01:20:09 +03:00
|
|
|
<li data-id="<?php p($entry['id']); ?>" class="hidden" tabindex="-1">
|
2017-03-28 16:04:56 +03:00
|
|
|
<a href="<?php print_unescaped($entry['href']); ?>"
|
2018-04-18 14:33:08 +03: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 11:11:17 +03: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 } ?>
|
|
|
|
<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" />
|
|
|
|
</svg>
|
2019-01-14 02:48:09 +03:00
|
|
|
<span>
|
|
|
|
<?php p($entry['name']); ?>
|
|
|
|
</span>
|
2017-06-23 13:18:20 +03:00
|
|
|
</a>
|
2017-03-28 16:04:56 +03:00
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
2018-04-18 14:33:08 +03:00
|
|
|
<li id="more-apps" class="menutoggle"
|
|
|
|
aria-haspopup="true" aria-controls="navigation" aria-expanded="false">
|
2018-04-18 16:40:47 +03:00
|
|
|
<a href="#" aria-label="<?php p($l->t('More apps')); ?>">
|
2017-03-28 16:04:56 +03:00
|
|
|
<div class="icon-more-white"></div>
|
2018-10-31 01:20:09 +03:00
|
|
|
<span><?php p($l->t('More')); ?></span>
|
2017-03-28 16:04:56 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-12-18 17:05:39 +03:00
|
|
|
|
2017-03-28 16:04:56 +03:00
|
|
|
<nav role="navigation">
|
2018-04-18 16:40:47 +03:00
|
|
|
<div id="navigation" style="display: none;" aria-label="<?php p($l->t('More apps menu')); ?>">
|
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']); ?>"
|
2018-04-18 14:33:08 +03: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 16:41:55 +03: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-02 01:21:38 +03:00
|
|
|
</svg>
|
2017-03-28 16:04:56 +03:00
|
|
|
<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"
|
2018-06-29 17:10:53 +03:00
|
|
|
value="" required class="hidden icon-search-white"
|
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">
|
2018-04-18 14:33:08 +03:00
|
|
|
<div class="icon-contacts menutoggle" tabindex="0" role="button"
|
|
|
|
aria-haspopup="true" aria-controls="contactsmenu-menu" aria-expanded="false">
|
2018-10-26 22:22:44 +03:00
|
|
|
<span class="hidden-visually"><?php p($l->t('Contacts'));?></span>
|
2018-04-18 14:33:08 +03:00
|
|
|
</div>
|
|
|
|
<div id="contactsmenu-menu" class="menu"
|
|
|
|
aria-label="<?php p($l->t('Contacts menu'));?>"></div>
|
2017-01-24 09:47:14 +03:00
|
|
|
</div>
|
2017-01-03 18:06:53 +03:00
|
|
|
<div id="settings">
|
2018-04-18 14:33:08 +03: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 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>
|
2018-04-18 14:33:08 +03:00
|
|
|
<nav id="expanddiv" style="display:none;"
|
|
|
|
aria-label="<?php p($l->t('Settings menu'));?>">
|
2017-01-03 18:06:53 +03:00
|
|
|
<ul>
|
|
|
|
<?php foreach($_['settingsnavigation'] as $entry):?>
|
2018-05-08 14:14:02 +03:00
|
|
|
<li data-id="<?php p($entry['id']); ?>">
|
2017-01-03 18:06:53 +03: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 14:33:08 +03:00
|
|
|
</nav>
|
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
|
|
|
|
2018-07-27 10:42:34 +03:00
|
|
|
<div id="content" class="app-<?php p($_['appid']) ?>" role="main">
|
|
|
|
<?php print_unescaped($_['content']); ?>
|
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>
|