Skip to content

Commit

Permalink
Add deprecation message to Beholder dashboard page
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt committed Jul 16, 2020
1 parent d0522a6 commit a738263
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
<dom-module id="tf-beholder-dashboard">
<template>
<tf-plugin-dialog id="initialDialog"></tf-plugin-dialog>
<div class="deprecation-warning">
Beholder is deprecated and will be removed in a future TensorBoard
release. Please see
<a href="https://github.com/tensorflow/tensorboard/issues/3843">#3842</a>
for details.
</div>
<tf-dashboard-layout>
<div class="sidebar" slot="sidebar">
<template is="dom-if" if="[[_controls_disabled]]">
Expand Down Expand Up @@ -261,6 +267,21 @@ <h3>No Beholder data was found.</h3>
</tf-dashboard-layout>
<style include="dashboard-style"></style>
<style>
.deprecation-warning {
background-color: #c6cad1; /* $tf-slate 300 */
border-bottom: 1px solid var(--tb-ui-dark-accent);
box-sizing: border-box;
font-style: italic;
height: 60px;
padding: 20px;
text-align: center;
}

tf-dashboard-layout {
/* Leave space for .deprecation-warning top bar. */
height: calc(100% - 60px);
}

.center {
height: 100%;
display: flex;
Expand Down

0 comments on commit a738263

Please sign in to comment.