2023-09-04 15:20:36 +00:00
|
|
|
<!doctype html>
|
2022-06-23 07:25:56 +00:00
|
|
|
<html lang="en" ng-app="<%= name %>" ng-strict-di data-edition="<%= process.env.PORTAINER_EDITION %>">
|
2020-04-10 21:54:53 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<title>Portainer</title>
|
|
|
|
<meta name="description" content="" />
|
|
|
|
<meta name="author" content="<%= author %>" />
|
2022-08-05 03:38:45 +00:00
|
|
|
<meta http-equiv="cache-control" content="no-cache" />
|
|
|
|
<meta http-equiv="expires" content="0" />
|
|
|
|
<meta http-equiv="pragma" content="no-cache" />
|
2023-09-03 19:45:44 +00:00
|
|
|
<meta name="robots" content="noindex" />
|
2021-12-03 01:34:45 +00:00
|
|
|
<base id="base" />
|
|
|
|
<script>
|
2022-04-19 01:10:42 +00:00
|
|
|
if (window.origin == 'file://') {
|
|
|
|
// we are loading the app from a local file as in docker extension
|
2022-09-12 23:03:37 +00:00
|
|
|
document.getElementById('base').href = 'http://localhost:49000/';
|
2022-04-19 01:10:42 +00:00
|
|
|
|
|
|
|
window.ddExtension = true;
|
|
|
|
} else {
|
|
|
|
var path = window.location.pathname.replace(/^\/+|\/+$/g, '');
|
|
|
|
var basePath = path ? '/' + path + '/' : '/';
|
|
|
|
document.getElementById('base').href = basePath;
|
|
|
|
}
|
2021-12-03 01:34:45 +00:00
|
|
|
</script>
|
2019-03-21 05:46:49 +00:00
|
|
|
|
2020-04-10 21:54:53 +00:00
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
|
|
<![endif]-->
|
2019-03-21 05:46:49 +00:00
|
|
|
|
2020-04-10 21:54:53 +00:00
|
|
|
<!-- Fav and touch icons -->
|
2021-12-16 18:52:54 +00:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="<%=require('./assets/ico/apple-touch-icon.png')%>" />
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="<%=require('./assets/ico/favicon-32x32.png')%>" />
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="<%=require('./assets/ico/favicon-16x16.png')%>" />
|
|
|
|
<link rel="mask-icon" href="<%=require('./assets/ico/safari-pinned-tab.svg')%>" color="#5bbad5" />
|
|
|
|
<link rel="shortcut icon" href="<%=require('./assets/ico/favicon.ico')%>" />
|
|
|
|
<meta name="msapplication-config" content="<%=require('./assets/ico/browserconfig.xml')%>" />
|
2020-04-10 21:54:53 +00:00
|
|
|
<meta name="theme-color" content="#ffffff" />
|
|
|
|
</head>
|
2019-03-21 05:46:49 +00:00
|
|
|
|
2020-04-10 21:54:53 +00:00
|
|
|
<body ng-controller="MainController">
|
2022-06-23 06:32:18 +00:00
|
|
|
<react-query-dev-tools></react-query-dev-tools>
|
2020-04-10 21:54:53 +00:00
|
|
|
<div
|
|
|
|
id="page-wrapper"
|
|
|
|
ng-class="{
|
2023-02-07 03:33:57 +00:00
|
|
|
open: isSidebarOpen() && ['portainer.auth', 'portainer.init.admin'].indexOf($state.current.name) === -1,
|
|
|
|
nopadding: ['portainer.auth', 'portainer.init.admin', 'portainer.logout'].indexOf($state.current.name) > -1 || applicationState.loading
|
2020-04-10 21:54:53 +00:00
|
|
|
}"
|
|
|
|
ng-cloak
|
|
|
|
>
|
|
|
|
<div id="sideview" ui-view="sidebar" ng-if="!applicationState.loading"></div>
|
2015-03-31 21:37:03 +00:00
|
|
|
|
2020-04-10 21:54:53 +00:00
|
|
|
<div id="content-wrapper">
|
|
|
|
<div class="page-content">
|
|
|
|
<div class="page-wrapper" ng-if="applicationState.loading">
|
|
|
|
<!-- loading box -->
|
2023-02-12 21:04:24 +00:00
|
|
|
<div class="simple-box container">
|
2020-04-10 21:54:53 +00:00
|
|
|
<div class="col-md-6 col-md-offset-3 col-sm-6 col-sm-offset-3">
|
|
|
|
<!-- loading box logo -->
|
|
|
|
<div class="row">
|
|
|
|
<img ng-if="logo" ng-src="{{ logo }}" class="simple-box-logo" />
|
2021-12-16 18:52:54 +00:00
|
|
|
<img ng-if="!logo" src="<%=require('./assets/images/logo_alt.svg')%>" class="simple-box-logo" alt="Portainer" />
|
2020-04-10 21:54:53 +00:00
|
|
|
</div>
|
|
|
|
<!-- !loading box logo -->
|
|
|
|
<!-- panel -->
|
2022-11-28 02:00:28 +00:00
|
|
|
<div class="ml-0 mr-0 flex items-center justify-center text-center">
|
2020-04-10 21:54:53 +00:00
|
|
|
Loading Portainer...
|
2022-11-28 02:00:28 +00:00
|
|
|
<!-- adding the svg inline means that the settings icon loads in time (vs pr-icon) and with the correct color (vs img) -->
|
|
|
|
<svg
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
width="14"
|
|
|
|
height="14"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
fill="none"
|
|
|
|
stroke="currentColor"
|
|
|
|
stroke-width="2"
|
|
|
|
stroke-linecap="round"
|
|
|
|
stroke-linejoin="round"
|
2023-02-12 21:04:24 +00:00
|
|
|
class="!ml-1 inline animate-spin-slow"
|
2022-11-28 02:00:28 +00:00
|
|
|
>
|
|
|
|
<circle cx="12" cy="12" r="3"></circle>
|
|
|
|
<path
|
|
|
|
d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"
|
|
|
|
></path>
|
|
|
|
</svg>
|
2020-04-10 21:54:53 +00:00
|
|
|
</div>
|
|
|
|
<!-- !panel -->
|
2017-01-22 23:14:34 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-10 21:54:53 +00:00
|
|
|
<!-- !loading box -->
|
2017-01-22 23:14:34 +00:00
|
|
|
</div>
|
2019-03-12 22:09:53 +00:00
|
|
|
|
2020-04-10 21:54:53 +00:00
|
|
|
<!-- Main Content -->
|
2022-04-19 01:10:42 +00:00
|
|
|
<div id="view" ui-view="content" ng-if="!applicationState.loading"></div>
|
|
|
|
</div>
|
|
|
|
<!-- End Page Content -->
|
|
|
|
</div>
|
|
|
|
<!-- End Content Wrapper -->
|
|
|
|
</div>
|
|
|
|
<!-- End Page Wrapper -->
|
|
|
|
</body>
|
|
|
|
</html>
|