Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
visualizer-embed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Owen Graham
visualizer-embed
Commits
f4f19863
Verified
Commit
f4f19863
authored
3 years ago
by
Owen Graham
Browse files
Options
Downloads
Patches
Plain Diff
Switch to AMRDC Theme-inspired header
parent
0724753d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
visualizer/static/style.css
+55
-3
55 additions, 3 deletions
visualizer/static/style.css
visualizer/templates/plotter.html
+11
-8
11 additions, 8 deletions
visualizer/templates/plotter.html
with
66 additions
and
11 deletions
visualizer/static/style.css
+
55
−
3
View file @
f4f19863
...
...
@@ -3,7 +3,11 @@
}
a
{
cursor
:
pointer
;
color
:
#007db1
;
}
a
:hover
,
a
:focus
{
color
:
#006c98
;
}
body
{
...
...
@@ -12,12 +16,56 @@ body {
text-align
:
center
;
}
header
::before
{
content
:
''
;
background
:
linear-gradient
(
45deg
,
#c5050c
,
#007db1
);
display
:
block
;
height
:
5px
;
}
header
>
div
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
padding
:
1rem
0
.5rem
;
}
#logo
{
display
:
block
;
margin-right
:
.8rem
;
}
#logo
img
{
height
:
3.878125rem
;
width
:
3.878125rem
;
}
#title
{
color
:
#494949
;
text-align
:
left
;
}
#title
h1
{
font-size
:
2rem
;
font-weight
:
800
;
line-height
:
1.1
;
margin-top
:
0
;
margin-bottom
:
0.1rem
;
}
#title
div
{
font-size
:
0.95rem
;
font-weight
:
700
;
line-height
:
1.2
;
margin
:
-0.1rem
0
0
0.2rem
;
}
#plotter
{
align-items
:
center
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
padding
:
8px
;
padding
-bottom
:
8px
;
width
:
100%
;
}
...
...
@@ -27,7 +75,7 @@ body.embedded #plotter {
bottom
:
0
;
left
:
0
;
right
:
0
;
padding
:
0
;
padding
-bottom
:
0
;
}
#plotter-nav
{
...
...
@@ -36,6 +84,10 @@ body.embedded #plotter {
border-width
:
1px
0
;
}
body
.embedded
#plotter-nav
{
border-top-width
:
0
;
}
#plotter-nav
ul
{
display
:
flex
;
flex-flow
:
row
wrap
;
...
...
This diff is collapsed.
Click to expand it.
visualizer/templates/plotter.html
+
11
−
8
View file @
f4f19863
...
...
@@ -31,16 +31,19 @@
{% if not g.embedded %}
<header>
<a
id=
"logo"
title=
"AMRDC database"
href=
"https://amrdcdata.ssec.wisc.edu"
>
<img
alt=
"AMRDC"
src=
"{{ url_for('static', filename='logo.svg') }}"
>
</a>
<h1
id=
"title"
>
Data Visualizer
</h1>
<div>
<a
id=
"logo"
title=
"AMRDC database"
href=
"https://amrdcdata.ssec.wisc.edu"
>
<img
alt=
"AMRDC"
src=
"{{ url_for('static', filename='logo.svg') }}"
>
</a>
<div
id=
"title"
>
<h1>
Data Visualizer
</h1>
<div>
<a
href=
"{{ url_for('plot_embed', name=g.plotter.name) }}"
>
Embed
</a>
</div>
</div>
</div>
</header>
<div>
<a
href=
"{{ url_for('plot_embed', name=g.plotter.name) }}"
>
Embed
</a>
</div>
{% endif %}
<div
id=
"plotter"
>
<nav
id=
"plotter-nav"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment