96d1230461
* feat(oauth): add sso, hide internal auth and logout options. (#355) * feat(DB): Add new migration func for SSO settings EE-613 * feat(publicSettings): public settings response modification for OAuth SSO EE-608 (#357) * feat(oauth): updated logout logic with logoutUrl. (#365) * feat(oauth): update new token expiration for OAuth EE-612 * feat(oauth): add internal-auth view. (#358) * feat(oauth): add internal-auth view. * feat(oauth): removed unused method. * feat(oauth): updated oauth settings model * feat(oauth): updated #auth view with hide internal auth option (#369) * HideInternalAuth logic update * feat(oauth): HideInternalAuth logic update * feat(oauth): internal auth view updates * feat(oauth): internal auth login issue. * set SSO to ON by default * update migrator unit test * set SSO to true by default for new instance * prevent applying the SSO logout url to the initial admin user * set HideInternalAuth to true by default Co-authored-by: fhanportainer <79428273+fhanportainer@users.noreply.github.com> Co-authored-by: Felix Han <felix.han@portainer.io>
69 lines
2.9 KiB
HTML
69 lines
2.9 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 %>" />
|
|
|
|
<!-- 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.internal-auth', 'portainer.init.admin', 'portainer.init.endpoint', 'portainer.init.license'].indexOf($state.current.name) === -1,
|
|
nopadding:
|
|
['portainer.auth', 'portainer.internal-auth', 'portainer.init.admin', 'portainer.init.endpoint', 'portainer.init.license', '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.png')}" 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
|
|
>
|