mirror of
https://github.com/portainer/portainer.git
synced 2025-07-18 21:09:40 +02:00
* Initial extension build * Add auto login fix auto auth add some message Add extension version Double attempt to login Add auto login from jwt check Add autologin on logout revert sidebar Catch error 401 to relogin cleanup login Add password generator Hide User block and collapse sidebar by default hide user box and toggle sidebar remove defailt dd Integrate extension to portainer Move extension to build remove files from ignore Move extension folder fix alpine try to copy folder try add Change base image move folder extension ignore folder build Fix relative path Move ext to root fix image name versioned index Update extension on same image Update mod * fix kubeshell baseurl * Fix kube shell * move build and remove https * Tidy mod * Remove space * Fix hash test * Password manager * change to building locally * Restore version variable and add local install command * fix local dev image + hide users & auth * Password manageListen on locahost onlyr * FIxes base path * Hide only username * Move default to constants * Update app/portainer/components/PageHeader/HeaderContent.html Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com> * fix 2 failing FE tests [EE-2938] * remove password autogeneration from v1 * fix webhooks * fix docker container console and attach * fix default for portainer IP * update meta, dockerfile and makefile for new ver * fix basepath in kube and docker console * revert makefile changes * add icon back * Add remote short cut command * make local methods the default * default to 0.0.0 for version for local development * simplify make commands * small build fixes * resolve conflicts * Update api/filesystem/write.go Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com> * use a more secure default pass Co-authored-by: itsconquest <william.conquest@portainer.io> Co-authored-by: Chaim Lev-Ari <chiptus@users.noreply.github.com>
80 lines
3.3 KiB
HTML
80 lines
3.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" ng-app="<%= name %>" ng-strict-di>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Portainer</title>
|
|
<meta name="description" content="" />
|
|
<meta name="author" content="<%= author %>" />
|
|
<base id="base" />
|
|
<script>
|
|
if (window.origin == 'file://') {
|
|
// we are loading the app from a local file as in docker extension
|
|
document.getElementById('base').href = 'http://localhost:9000/';
|
|
|
|
window.ddExtension = true;
|
|
} else {
|
|
var path = window.location.pathname.replace(/^\/+|\/+$/g, '');
|
|
var basePath = path ? '/' + path + '/' : '/';
|
|
document.getElementById('base').href = basePath;
|
|
}
|
|
</script>
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
<![endif]-->
|
|
|
|
<!-- Fav and touch icons -->
|
|
<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')%>" />
|
|
<meta name="theme-color" content="#ffffff" />
|
|
</head>
|
|
|
|
<body ng-controller="MainController">
|
|
<div
|
|
id="page-wrapper"
|
|
ng-class="{
|
|
open: toggle && ['portainer.auth', 'portainer.init.admin', 'portainer.init.endpoint'].indexOf($state.current.name) === -1,
|
|
nopadding: ['portainer.auth', 'portainer.init.admin', 'portainer.init.endpoint', 'portainer.logout'].indexOf($state.current.name) > -1 || applicationState.loading
|
|
}"
|
|
ng-cloak
|
|
>
|
|
<div id="sideview" ui-view="sidebar" ng-if="!applicationState.loading"></div>
|
|
|
|
<div id="content-wrapper">
|
|
<div class="page-content">
|
|
<div class="page-wrapper" ng-if="applicationState.loading">
|
|
<!-- loading box -->
|
|
<div class="container simple-box">
|
|
<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" />
|
|
<img ng-if="!logo" src="<%=require('./assets/images/logo_alt.svg')%>" class="simple-box-logo" alt="Portainer" />
|
|
</div>
|
|
<!-- !loading box logo -->
|
|
<!-- panel -->
|
|
<div class="row" style="text-align: center">
|
|
Loading Portainer...
|
|
<i class="fa fa-cog fa-spin" style="margin-left: 5px"></i>
|
|
</div>
|
|
<!-- !panel -->
|
|
</div>
|
|
</div>
|
|
<!-- !loading box -->
|
|
</div>
|
|
|
|
<!-- Main Content -->
|
|
<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>
|