refactor(app): minor refactor (#2773)

pull/2780/head
Anthony Lapenna 2019-03-13 11:09:53 +13:00 committed by GitHub
parent ac4af41317
commit 1618388e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 45 deletions

View File

@ -1,4 +1,3 @@
<p align="center">
<img title="portainer" src='https://github.com/portainer/portainer/blob/develop/assets/images/logo_alt.png?raw=true' />
</p>
@ -11,10 +10,8 @@
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](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 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 Docker containers, images, volumes, networks and more ! It is compatible with the *standalone Docker* engine and with *Docker Swarm mode*.
**_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_** 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*.
## Demo

View File

@ -177,7 +177,6 @@
</rd-widget>
</div>
</div>
<div class="row">
<div class="col-lg-12 col-md-12 col-xs-12">
<rd-widget>

View File

@ -1,4 +1,4 @@
<rd-header>
<rd-header>
<rd-header-title title-text="Image details"></rd-header-title>
<rd-header-content>
<a ui-sref="docker.images">Images</a> &gt; <a ui-sref="docker.images.image({id: image.Id})">{{ image.Id }}</a>
@ -180,8 +180,8 @@
</rd-widget-body>
</rd-widget>
</div>
</div>
</div>
<div class="row" ng-if="history.length > 0">
<div class="col-lg-12 col-md-12 col-xs-12">
<rd-widget>

View File

@ -11,31 +11,10 @@ html, body, #page-wrapper, #content-wrapper, .page-content, #view {
white-space: normal !important;
}
.messages {
max-height: 50px;
overflow-x: hidden;
overflow-y: scroll;
}
.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;
}
.logo { display: inline; max-width: 155px; max-height: 55px; }
.legend .title { padding: 0 0.3em; margin: 0.5em; border-style: solid; border-width: 0 0 0 1em; }
.messages { max-height: 50px; overflow-x: hidden; overflow-y: scroll; }
.containerNameInput { width: 85%; border:none; background:none; border-bottom: 1px solid black; }
.containerNameInput:active, .containerNameInput:focus {
outline:none;

View File

@ -1,11 +1,7 @@
FROM portainer/base
COPY dist /
VOLUME /data
WORKDIR /
EXPOSE 9000
ENTRYPOINT ["/portainer"]

View File

@ -1,22 +1,17 @@
<!DOCTYPE html>
<html lang="en" ng-app="<%= pkg.name %>">
<!DOCTYPE html><html lang="en" ng-app="<%= pkg.name %>">
<head>
<meta charset="utf-8">
<title>Portainer</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="<%= pkg.author %>">
<!-- build:css css/app.css -->
<link href="css/vendor.css" rel="stylesheet">
<link href="css/portainer.css" rel="stylesheet">
<!-- endbuild -->
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- build:js js/app.js -->
<script src="js/vendor.js"></script>
<script src="js/angular.js"></script>
@ -72,5 +67,5 @@
</div><!-- End Page Content -->
</div><!-- End Content Wrapper -->
</div><!-- End Page Wrapper -->
</body>
</html>
</body></html>