feat(core/about): remove about view and add link to website (#4256)

pull/4262/head
Anthony Lapenna 2020-08-21 13:11:34 +12:00 committed by GitHub
parent a3b54e1981
commit 383e19077f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 168 deletions

View File

@ -85,16 +85,6 @@ angular.module('portainer.app', ['portainer.oauth']).config([
abstract: true,
};
var about = {
name: 'portainer.about',
url: '/about',
views: {
'content@': {
templateUrl: './views/about/about.html',
},
},
};
var account = {
name: 'portainer.account',
url: '/account',
@ -406,7 +396,6 @@ angular.module('portainer.app', ['portainer.oauth']).config([
$stateRegistryProvider.register(root);
$stateRegistryProvider.register(endpointRoot);
$stateRegistryProvider.register(portainer);
$stateRegistryProvider.register(about);
$stateRegistryProvider.register(account);
$stateRegistryProvider.register(authentication);
$stateRegistryProvider.register(logout);

View File

@ -1,142 +0,0 @@
<rd-header>
<rd-header-title title-text="About"> </rd-header-title>
<rd-header-content>
About Portainer
</rd-header-content>
</rd-header>
<div class="row">
<div class="col-sm-12">
<rd-widget>
<rd-widget-body>
<b>Portainer</b> is a <a href="https://github.com/portainer/portainer/blob/develop/LICENSE" target="_blank">free and open-source software</a> brought to you with
<span class="menu-icon fa fa-heart red-icon"></span> by <a href="https://portainer.io/" target="_blank">portainer.io</a> and
<a href="https://github.com/portainer/portainer/graphs/contributors" target="_blank">contributors.</a>
</rd-widget-body>
</rd-widget>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<rd-widget>
<rd-widget-header title-text="Analytics in Portainer" icon="fas fa-project-diagram"></rd-widget-header>
<rd-widget-body>
<div class="small" style="line-height: 1.65;">
<p>
We at Portainer provide our software free and open source. To understand where best to spend our very limited development budget, we use <b>rudimentary</b> analytics.
</p>
<div>
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i> <u>Opt-out</u>
<ul>
<li>You may opt-out by turning off the analytics in the settings page.</li>
</ul>
</div>
<div>
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i> <u>What we collect & GDPR</u>
<ul>
<li>
We don't know who uses Portainer, where its used, to what scale its used, all we know (from analytics) is how often Portainer is used and which pages within the app
are most frequently used.
</li>
<li>As we are only collecting a very small amount of totally anonymous data, it is deemed that opt-in is not required.</li>
</ul>
</div>
</div>
</rd-widget-body>
</rd-widget>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<rd-widget>
<rd-widget-header title-text="Help support portainer" icon="fa-heartbeat"></rd-widget-header>
<rd-widget-body>
<div class="small" style="line-height: 1.65;">
<p> It is a community effort to make <b>Portainer</b> as feature-rich as simple it is to deploy and use. We need all the help we can get! </p>
<div>
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i> <u>Contribute</u>
<ul>
<li
>Found a bug or got a feature idea? Let's talk about it on
<a href="https://github.com/portainer/portainer/issues" target="_blank"><i class="fab fa-github" aria-hidden="true"></i> Github</a></li
>
<li
>Follow our <a href="https://portainer.readthedocs.io/en/latest/contribute.html" target="_blank">contribution guidelines</a> to build it locally and make a
<a target="_blank" href="https://github.com/portainer/portainer/compare"><i class="fab fa-github" aria-hidden="true"></i> pull request</a></li
>
</ul>
</div>
<div>
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i> <u>Spread the word</u>
<ul>
<li>Talk to your friends and colleagues about how awesome Portainer is!</li>
<li
>Follow us on <a href="https://twitter.com/portainerio" target="_blank"><i class="fab fa-twitter" aria-hidden="true"></i> Twitter</a></li
>
</ul>
</div>
</div>
</rd-widget-body>
</rd-widget>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<rd-widget>
<rd-widget-header title-text="Support and services" icon="fa-building"></rd-widget-header>
<rd-widget-body>
<div class="small" style="line-height: 1.65;">
<div>
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i> <u>Documentation</u>
<ul>
<li
>Checkout our <a target="_blank" href="http://portainer.readthedocs.io"><i class="fa fa-book" aria-hidden="true"></i> online documentation</a></li
>
<li
>Be sure to have a look at our <a href="https://portainer.readthedocs.io/en/latest/faq.html" target="_blank">FAQ</a> and our list of
<a href="https://github.com/portainer/portainer/issues" target="_blank">open issues</a></li
>
</ul>
</div>
<div>
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i> <u>Community support</u>
<ul>
<li
>Join us on <a href="https://portainer.io/slack/" target="_blank"><i class="fab fa-slack" aria-hidden="true"></i> Slack</a></li
>
<li
>We're also on <a href="https://gitter.im/portainer/Lobby" target="_blank"><i class="fab fa-github-alt" aria-hidden="true"></i> Gitter</a></li
>
</ul>
</div>
<div>
<i class="fa fa-chevron-circle-right" aria-hidden="true"></i> <u>Services</u>
<ul>
<li>Find out more about our <a href="https://portainer.io/support.html" target="_blank">consulting and commercial support plans</a></li>
<li
>We also propose a fund-a-feature plan, reach out to us at
<a target="_blank" href="mailto:info@portainer.io"><i class="fa fa-envelope" aria-hidden="true"></i> portainer.io</a></li
>
</ul>
</div>
</div>
</rd-widget-body>
</rd-widget>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<rd-widget>
<rd-widget-header title-text="Limitations" icon="fa-plug"></rd-widget-header>
<rd-widget-body>
<div class="small">
Portainer has full support for Docker >=1.10 and partial support for Docker 1.9 (some features may not be available).
</div>
</rd-widget-body>
</rd-widget>
</div>
</div>

View File

@ -170,23 +170,11 @@
</li>
<li class="sidebar-list" ng-if="isAdmin">
<a ui-sref="portainer.settings" ui-sref-active="active">Settings <span class="menu-icon fa fa-cogs fa-fw"></span></a>
<div
class="sidebar-sublist"
ng-if="
toggle &&
($state.current.name === 'portainer.settings' || $state.current.name === 'portainer.settings.authentication' || $state.current.name === 'portainer.about') &&
isAdmin
"
>
<div class="sidebar-sublist" ng-if="toggle && ($state.current.name === 'portainer.settings' || $state.current.name === 'portainer.settings.authentication') && isAdmin">
<a ui-sref="portainer.settings.authentication" ui-sref-active="active">Authentication</a></div
>
<div
class="sidebar-sublist"
ng-if="
toggle && ($state.current.name === 'portainer.settings' || $state.current.name === 'portainer.settings.authentication' || $state.current.name === 'portainer.about')
"
>
<a ui-sref="portainer.about" ui-sref-active="active">About</a>
<div class="sidebar-sublist" ng-if="toggle && ($state.current.name === 'portainer.settings' || $state.current.name === 'portainer.settings.authentication')">
<a href="http://www.portainer.io/help_about" target="_blank">Help / About</a>
</div>
</li>
</ul>