You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2018/04/11 22:37:21 UTC

[09/22] mesos git commit: Restructured Web UI.

http://git-wip-us.apache.org/repos/asf/mesos/blob/c7685917/src/webui/master/static/css/bootstrap-table-1.11.1.min.css
----------------------------------------------------------------------
diff --git a/src/webui/master/static/css/bootstrap-table-1.11.1.min.css b/src/webui/master/static/css/bootstrap-table-1.11.1.min.css
deleted file mode 100644
index 0d47aae..0000000
--- a/src/webui/master/static/css/bootstrap-table-1.11.1.min.css
+++ /dev/null
@@ -1 +0,0 @@
-.fixed-table-container .bs-checkbox,.fixed-table-container .no-records-found{text-align:center}.fixed-table-body thead th .th-inner,.table td,.table th{box-sizing:border-box}.bootstrap-table .table{margin-bottom:0!important;border-bottom:1px solid #ddd;border-collapse:collapse!important;border-radius:1px}.bootstrap-table .table:not(.table-condensed),.bootstrap-table .table:not(.table-condensed)>tbody>tr>td,.bootstrap-table .table:not(.table-condensed)>tbody>tr>th,.bootstrap-table .table:not(.table-condensed)>tfoot>tr>td,.bootstrap-table .table:not(.table-condensed)>tfoot>tr>th,.bootstrap-table .table:not(.table-condensed)>thead>tr>td{padding:8px}.bootstrap-table .table.table-no-bordered>tbody>tr>td,.bootstrap-table .table.table-no-bordered>thead>tr>th{border-right:2px solid transparent}.bootstrap-table .table.table-no-bordered>tbody>tr>td:last-child{border-right:none}.fixed-table-container{position:relative;clear:both;border:1px solid #ddd;border-radius:4px;-webkit-border-radius:4px
 ;-moz-border-radius:4px}.fixed-table-container.table-no-bordered{border:1px solid transparent}.fixed-table-footer,.fixed-table-header{overflow:hidden}.fixed-table-footer{border-top:1px solid #ddd}.fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.fixed-table-container table{width:100%}.fixed-table-container thead th{height:0;padding:0;margin:0;border-left:1px solid #ddd}.fixed-table-container thead th:focus{outline:transparent solid 0}.fixed-table-container thead th:first-child{border-left:none;border-top-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px}.fixed-table-container tbody td .th-inner,.fixed-table-container thead th .th-inner{padding:8px;line-height:24px;vertical-align:top;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fixed-table-container thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px}.fixed-table-container thead th .both{background-image:url('data:image/p
 ng;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC')}.fixed-table-container thead th .asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)}.fixed-table-container thead th .desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)}.fixed-table-container th.detail{width:30px}.fixed-table-container tbody td{border-left:1px solid #ddd}.fixed-table-contai
 ner tbody tr:first-child td{border-top:none}.fixed-table-container tbody td:first-child{border-left:none}.fixed-table-container tbody .selected td{background-color:#f5f5f5}.fixed-table-container .bs-checkbox .th-inner{padding:8px 0}.fixed-table-container input[type=radio],.fixed-table-container input[type=checkbox]{margin:0 auto!important}.fixed-table-pagination .pagination-detail,.fixed-table-pagination div.pagination{margin-top:10px;margin-bottom:10px}.fixed-table-pagination div.pagination .pagination{margin:0}.fixed-table-pagination .pagination a{padding:6px 12px;line-height:1.428571429}.fixed-table-pagination .pagination-info{line-height:34px;margin-right:5px}.fixed-table-pagination .btn-group{position:relative;display:inline-block;vertical-align:middle}.fixed-table-pagination .dropup .dropdown-menu{margin-bottom:0}.fixed-table-pagination .page-list{display:inline-block}.fixed-table-toolbar .columns-left{margin-right:5px}.fixed-table-toolbar .columns-right{margin-left:5px}.fixed
 -table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429}.fixed-table-toolbar .bs-bars,.fixed-table-toolbar .columns,.fixed-table-toolbar .search{position:relative;margin-top:10px;margin-bottom:10px;line-height:34px}.fixed-table-pagination li.disabled a{pointer-events:none;cursor:default}.fixed-table-loading{display:none;position:absolute;top:42px;right:0;bottom:0;left:0;z-index:99;background-color:#fff;text-align:center}.fixed-table-body .card-view .title{font-weight:700;display:inline-block;min-width:30%;text-align:left!important}.table td,.table th{vertical-align:middle}.fixed-table-toolbar .dropdown-menu{text-align:left;max-height:300px;overflow:auto}.fixed-table-toolbar .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.fixed-table-toolbar .btn-group>.btn-group>.btn{border-radius:0}.fixed-table-toolbar .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.fixed-
 table-toolbar .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .table>thead>tr>th{vertical-align:bottom;border-bottom:1px solid #ddd}.bootstrap-table .table thead>tr>th{padding:0;margin:0}.bootstrap-table .fixed-table-footer tbody>tr>td{padding:0!important}.bootstrap-table .fixed-table-footer .table{border-bottom:none;border-radius:0;padding:0!important}.bootstrap-table .pull-right .dropdown-menu{right:0;left:auto}p.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}.fixed-table-pagination:after,.fixed-table-toolbar:after{content:"";display:block;clear:both}

http://git-wip-us.apache.org/repos/asf/mesos/blob/c7685917/src/webui/master/static/css/mesos.css
----------------------------------------------------------------------
diff --git a/src/webui/master/static/css/mesos.css b/src/webui/master/static/css/mesos.css
deleted file mode 100644
index 0ff47cd..0000000
--- a/src/webui/master/static/css/mesos.css
+++ /dev/null
@@ -1,232 +0,0 @@
-/*
- * BOOTSTRAP OVERRIDES
- */
-
-.navbar {
-  border: 0;
-}
-
-.navbar.navbar-inverse {
-  background-color: #2A6496;
-  color: #FFF;
-}
-
-.navbar .navbar-nav > li > a {
-  color: inherit;
-}
-
-.navbar .navbar-nav > .active > a,
-.navbar .navbar-nav > .active > a:focus,
-.navbar .navbar-nav > .active > a:hover {
-    color: inherit;
-    background-color: rgba(255,255,255,.1);
-}
-
-.navbar-brand {
-  padding: 0px 5px;
-}
-
-.navbar-brand > img {
-  height: 100%;
-}
-
-.table thead th {
-  vertical-align: top;
-}
-
-.table > thead > tr > th.group-column {
-  /* Reduces the bottom border. */
-  border: 1px solid #ddd;
-
-  /* Adds borders on the sides. */
-  border-left-width: 2px;
-  border-right-width: 2px;
-
-  text-align: center;
-}
-
-.table > thead > tr > th.group-column:last-child {
-  /* Resets the border width if it is the last column. */
-  border-right-width: 1px;
-}
-
-.table > thead > tr > th.vertically-center {
-  vertical-align: middle;
-}
-
-.table > thead > tr > th.begin-group-column,
-.table > tbody > tr > td.begin-group-column {
-  border-left-width: 2px;
-}
-
-.table > thead > tr > th.end-group-column,
-.table > tbody > tr > td.end-group-column {
-  border-right-width: 2px;
-}
-
-.table > thead > tr > th.end-group-column:last-child,
-.table > tbody > tr > td.end-group-column:last-child {
-  border-right-width: 1px;
-}
-
-.breadcrumb > li + li:before {
-  /* Default content includes a space after the slash, which spreads breadcrumbs
-   * out too much. Remove the trailing space here.
-   */
-  content: "/";
-}
-
-/*
- * /BOOTSTRAP OVERRIDES
- */
-
-
-body {
-  /* Add space for fixed position navbar. */
-  padding-top: 60px;
-}
-
-dl.inline dt, dl.inline dd {
-  float: left;
-}
-
-dl.inline dd {
-  margin-left: 5px;
-}
-
-dl.inline dd + dt, dl.inline dd + dd {
-  clear: left;
-}
-
-dl.inline dd + dd {
-  float: none;
-}
-
-dl.inline dt {
-  font-weight: bold
-}
-
-th.descending:after {
-  padding-left: 5px;
-  content: "▼";
-}
-
-th.ascending:after {
-  padding-left: 5px;
-  content: "▲";
-}
-
-th.unselected:after {
-  padding-left: 5px;
-  content: " ";
-}
-
-time {
-  border-bottom: 1px #999 dashed;
-}
-
-time:hover {
-  cursor: pointer;
-}
-
-.inline .btn-toggle,
-.table-condensed .btn-toggle {
-  margin-bottom: -2px;
-  margin-top: -5px;
-  visibility: hidden;
-}
-
-dd:hover .btn-toggle,
-td:hover .btn-toggle {
-  visibility: visible;
-}
-
-.clipboard-is-hover {
-  background-color: #e6e6e6;
-  background-position: 0 -15px;
-}
-
-.badge-type {
-  -moz-border-radius: 3px;
-  -webkit-border-radius: 3px;
-  border-radius: 3px;
-  font-weight: normal;
-  padding-left: 4px;
-  padding-right: 4px;
-  text-shadow: none;
-}
-
-a.badge-type:hover {
-  text-decoration: underline;
-}
-
-.table .text-right {
-  text-align: right;
-}
-
-.well .inline:first-child {
-  margin-top: 0;
-}
-
-.well .inline:last-child,
-.well .table:last-child {
-  margin-bottom: 0;
-}
-
-/* Force pointer cursor for anchors generated by Angular UI's pagination
- * directive. The links are generated without "href" attributes, which means
- * they don't match "a:link" and won't get the pointer cursor by default.
- */
-.pagination a {
-  cursor: pointer;
-}
-
-.input-group-header {
-  margin-top: 20px;
-}
-
-.input-group-addon {
-  -webkit-transition: background-color 0.25s, color 0.25s;
-  transition: background-color 0.25s, color 0.25s;
-}
-
-.input-group-addon-success {
-  background-color: #EFFFF0;
-  color: #3C763D;
-}
-
-.input-group-inner-right {
-  position: absolute;
-  right: 1px;
-  padding: 4px 10px;
-  top: 1px;
-}
-
-.btn-clear {
-  background: transparent;
-}
-
-.btn-clear:active {
-  -webkit-box-shadow: none;
-  box-shadow: none;
-}
-
-/*
- * The `hidden-text` class hides text by making the font size 0.
- * This can be used, for example, to insert text that will be
- * added when the user highlights and copies, while leaving
- * the text hidden from the user.
- */
-.hidden-text {
-  font-size: 0;
-}
-
-.task-healthy {
-  color: #27c97b;
-  text-transform: capitalize;
-}
-
-.task-unhealthy {
-  color: #f33745;
-  text-transform: capitalize;
-}

http://git-wip-us.apache.org/repos/asf/mesos/blob/c7685917/src/webui/master/static/directives/pagination.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/directives/pagination.html b/src/webui/master/static/directives/pagination.html
deleted file mode 100644
index ffa16b7..0000000
--- a/src/webui/master/static/directives/pagination.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<pagination
-  data-ng-show="filteredData.length > pageLength"
-  max-size="5"
-  items-per-page="pageLength"
-  page="pgNum"
-  total-items="filteredData.length"></pagination>

http://git-wip-us.apache.org/repos/asf/mesos/blob/c7685917/src/webui/master/static/directives/tableHeader.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/directives/tableHeader.html b/src/webui/master/static/directives/tableHeader.html
deleted file mode 100644
index 448f67e..0000000
--- a/src/webui/master/static/directives/tableHeader.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<div class="row">
-  <div class="col-md-8">
-    <h3 id="frameworks">{{headerTitle}}</h3>
-  </div>
-  <div class="col-md-4">
-    <div class="input-group input-group-sm input-group-header"
-      ng-hide="originalData.length === 0">
-      <span class="input-group-addon"
-          ng-class="{ 'input-group-addon-success': filterTerm.length > 0 }">
-        <i class="glyphicon glyphicon-filter"></i>
-      </span>
-      <input type="search" ng-model="filterTerm" placeholder="Find..."
-        class="form-control input-sm">
-      <button ng-click="filterTerm = ''" ng-show="filterTerm.length > 0"
-          class="btn btn-clear btn-xs input-group-inner-right" title="Clear">
-        &times;
-      </button>
-    </div>
-  </div>
-</div>

http://git-wip-us.apache.org/repos/asf/mesos/blob/c7685917/src/webui/master/static/directives/timestamp.html
----------------------------------------------------------------------
diff --git a/src/webui/master/static/directives/timestamp.html b/src/webui/master/static/directives/timestamp.html
deleted file mode 100644
index 5e422b9..0000000
--- a/src/webui/master/static/directives/timestamp.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<time datetime="{{value | isoDate}}" ng-click="toggle()" ng-show="longDate">
-  {{value | isoDate}}</time>
-<time datetime="{{value | isoDate}}" ng-click="toggle()" ng-hide="longDate">
-  {{value | relativeDate:pollTime}}</time>
-<span ng-transclude></span>

http://git-wip-us.apache.org/repos/asf/mesos/blob/c7685917/src/webui/master/static/fonts/glyphicons-halflings-regular.eot
----------------------------------------------------------------------
diff --git a/src/webui/master/static/fonts/glyphicons-halflings-regular.eot b/src/webui/master/static/fonts/glyphicons-halflings-regular.eot
deleted file mode 100644
index b93a495..0000000
Binary files a/src/webui/master/static/fonts/glyphicons-halflings-regular.eot and /dev/null differ