mirror of https://github.com/portainer/portainer
refactor(app): minor refactor (#2773)
parent
ac4af41317
commit
1618388e39
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img title="portainer" src='https://github.com/portainer/portainer/blob/develop/assets/images/logo_alt.png?raw=true' />
|
<img title="portainer" src='https://github.com/portainer/portainer/blob/develop/assets/images/logo_alt.png?raw=true' />
|
||||||
</p>
|
</p>
|
||||||
|
@ -11,10 +10,8 @@
|
||||||
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHXZJQNJQ36H6)
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHXZJQNJQ36H6)
|
||||||
|
|
||||||
**_Portainer_** is a lightweight management UI which allows you to **easily** manage your different Docker environments (Docker hosts or Swarm clusters).
|
**_Portainer_** is a lightweight management UI which allows you to **easily** manage your different Docker environments (Docker hosts or Swarm clusters).
|
||||||
|
**_Portainer_** is meant to be as **simple** to deploy as it is to use. It consists of a single container that can run on any Docker engine (can be deployed as Linux container or a Windows native container, supports other platforms too).
|
||||||
**_Portainer_** is meant to be as **simple** to deploy as it is to use. It consists of a single container that can run on any Docker engine (can be deployed as Linux container or a Windows native container).
|
**_Portainer_** allows you to manage your all your Docker resources (containers, images, volumes, networks and more) ! It is compatible with the *standalone Docker* engine and with *Docker Swarm mode*.
|
||||||
|
|
||||||
**_Portainer_** allows you to manage your Docker containers, images, volumes, networks and more ! It is compatible with the *standalone Docker* engine and with *Docker Swarm mode*.
|
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
|
|
||||||
|
|
|
@ -177,7 +177,6 @@
|
||||||
</rd-widget>
|
</rd-widget>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12 col-md-12 col-xs-12">
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
||||||
<rd-widget>
|
<rd-widget>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<rd-header>
|
<rd-header>
|
||||||
<rd-header-title title-text="Image details"></rd-header-title>
|
<rd-header-title title-text="Image details"></rd-header-title>
|
||||||
<rd-header-content>
|
<rd-header-content>
|
||||||
<a ui-sref="docker.images">Images</a> > <a ui-sref="docker.images.image({id: image.Id})">{{ image.Id }}</a>
|
<a ui-sref="docker.images">Images</a> > <a ui-sref="docker.images.image({id: image.Id})">{{ image.Id }}</a>
|
||||||
|
@ -180,8 +180,8 @@
|
||||||
</rd-widget-body>
|
</rd-widget-body>
|
||||||
</rd-widget>
|
</rd-widget>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="row" ng-if="history.length > 0">
|
<div class="row" ng-if="history.length > 0">
|
||||||
<div class="col-lg-12 col-md-12 col-xs-12">
|
<div class="col-lg-12 col-md-12 col-xs-12">
|
||||||
<rd-widget>
|
<rd-widget>
|
||||||
|
|
|
@ -11,31 +11,10 @@ html, body, #page-wrapper, #content-wrapper, .page-content, #view {
|
||||||
white-space: normal !important;
|
white-space: normal !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.messages {
|
.logo { display: inline; max-width: 155px; max-height: 55px; }
|
||||||
max-height: 50px;
|
.legend .title { padding: 0 0.3em; margin: 0.5em; border-style: solid; border-width: 0 0 0 1em; }
|
||||||
overflow-x: hidden;
|
.messages { max-height: 50px; overflow-x: hidden; overflow-y: scroll; }
|
||||||
overflow-y: scroll;
|
.containerNameInput { width: 85%; border:none; background:none; border-bottom: 1px solid black; }
|
||||||
}
|
|
||||||
|
|
||||||
.legend .title {
|
|
||||||
padding: 0 0.3em;
|
|
||||||
margin: 0.5em;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 0 0 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.logo {
|
|
||||||
display: inline;
|
|
||||||
max-width: 155px;
|
|
||||||
max-height: 55px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.containerNameInput {
|
|
||||||
width: 85%;
|
|
||||||
border:none;
|
|
||||||
background:none;
|
|
||||||
border-bottom: 1px solid black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.containerNameInput:active, .containerNameInput:focus {
|
.containerNameInput:active, .containerNameInput:focus {
|
||||||
outline:none;
|
outline:none;
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
FROM portainer/base
|
FROM portainer/base
|
||||||
|
|
||||||
COPY dist /
|
COPY dist /
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
ENTRYPOINT ["/portainer"]
|
ENTRYPOINT ["/portainer"]
|
||||||
|
|
11
index.html
11
index.html
|
@ -1,22 +1,17 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html><html lang="en" ng-app="<%= pkg.name %>">
|
||||||
<html lang="en" ng-app="<%= pkg.name %>">
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Portainer</title>
|
<title>Portainer</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="<%= pkg.author %>">
|
<meta name="author" content="<%= pkg.author %>">
|
||||||
|
|
||||||
<!-- build:css css/app.css -->
|
<!-- build:css css/app.css -->
|
||||||
<link href="css/vendor.css" rel="stylesheet">
|
<link href="css/vendor.css" rel="stylesheet">
|
||||||
<link href="css/portainer.css" rel="stylesheet">
|
<link href="css/portainer.css" rel="stylesheet">
|
||||||
<!-- endbuild -->
|
<!-- endbuild -->
|
||||||
|
|
||||||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<!-- build:js js/app.js -->
|
<!-- build:js js/app.js -->
|
||||||
<script src="js/vendor.js"></script>
|
<script src="js/vendor.js"></script>
|
||||||
<script src="js/angular.js"></script>
|
<script src="js/angular.js"></script>
|
||||||
|
@ -72,5 +67,5 @@
|
||||||
</div><!-- End Page Content -->
|
</div><!-- End Page Content -->
|
||||||
</div><!-- End Content Wrapper -->
|
</div><!-- End Content Wrapper -->
|
||||||
</div><!-- End Page Wrapper -->
|
</div><!-- End Page Wrapper -->
|
||||||
</body>
|
|
||||||
</html>
|
</body></html>
|
||||||
|
|
Loading…
Reference in New Issue