diff options
| author | bob <bcz@cs.brown.edu> | 2019-06-21 10:44:15 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-06-21 10:44:15 -0400 |
| commit | 5483c3353b99e7993f358e3d212b1717bf21fec6 (patch) | |
| tree | f10321cab363f5d13154885780587907f5b5571e /src/client/views/Templates.tsx | |
| parent | cccc43c64a749e34a993e32f8616ac7e0532c7d9 (diff) | |
more template improvements for treeview
Diffstat (limited to 'src/client/views/Templates.tsx')
| -rw-r--r-- | src/client/views/Templates.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/Templates.tsx b/src/client/views/Templates.tsx index 0904b03b0..5bb8d454a 100644 --- a/src/client/views/Templates.tsx +++ b/src/client/views/Templates.tsx @@ -84,10 +84,10 @@ export namespace Templates { </div > `); } - export function TitleBar(titlestr: string) { + export function TitleBar(datastring: string) { return (`<div> <div style="height:25px; width:100%; background-color: rgba(0, 0, 0, .4); color: white; z-index: 100"> - <span style="text-align:center;width:100%;font-size:20px;position:absolute;overflow:hidden;white-space:nowrap;text-overflow:ellipsis">${titlestr}</span> + <span style="text-align:center;width:100%;font-size:20px;position:absolute;overflow:hidden;white-space:nowrap;text-overflow:ellipsis">${datastring}</span> </div> <div style="height:calc(100% - 25px);"> <div style="width:100%;overflow:auto">{layout}</div> |
