Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
meshviewer
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastruktur
meshviewer
Commits
1c896d08
Commit
1c896d08
authored
Apr 7, 2015
by
Nils Schneider
Browse files
Options
Downloads
Patches
Plain Diff
about box
parent
4c87f18d
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/about.js
+36
-0
36 additions, 0 deletions
lib/about.js
lib/gui.js
+6
-3
6 additions, 3 deletions
lib/gui.js
scss/main.scss
+4
-0
4 additions, 0 deletions
scss/main.scss
with
46 additions
and
3 deletions
lib/about.js
0 → 100644
+
36
−
0
View file @
1c896d08
define
(
function
()
{
return
function
()
{
this
.
render
=
function
(
d
)
{
var
el
=
document
.
createElement
(
"
div
"
)
d
.
appendChild
(
el
)
var
s
=
"
<h2>Über meshviewer</h2>
"
s
+=
"
<p>Mit Doppelklick und Shift+Doppelklick kann man in der Karte
"
s
+=
"
auch zoomen.</p>
"
s
+=
"
<h3>GPL 2</h3>
"
s
+=
"
<p>Copyright (C) Nils Schneider</p>
"
s
+=
"
<p>This program is free software: you can redistribute it and/or
"
s
+=
"
modify it under the terms of the GNU General Public License as
"
s
+=
"
published by the Free Software Foundation, either version 3 of
"
s
+=
"
the License, or (at your option) any later version.</p>
"
s
+=
"
<p>This program is distributed in the hope that it will be useful,
"
s
+=
"
but WITHOUT ANY WARRANTY; without even the implied warranty of
"
s
+=
"
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
"
s
+=
"
GNU General Public License for more details.</p>
"
s
+=
"
<p>You should have received a copy of the GNU Gneral Public License
"
s
+=
"
along with this program. If not, see
"
s
+=
"
<a href=
\"
https://www.gnu.org/licenses/
\"
>
"
s
+=
"
https://www.gnu.org/licenses/</a>.</p>
"
s
+=
"
<p>You may find the source code at
"
s
+=
"
<a href=
\"
https://github.com/tcatm/meshviewer
\"
>
"
s
+=
"
https://github.com/tcatm/meshviewer</a>.
"
el
.
innerHTML
=
s
}
}
})
This diff is collapsed.
Click to expand it.
lib/gui.js
+
6
−
3
View file @
1c896d08
define
([
"
chroma-js
"
,
"
map
"
,
"
sidebar
"
,
"
tabs
"
,
"
container
"
,
"
meshstats
"
,
"
linklist
"
,
"
nodelist
"
,
"
simplenodelist
"
,
"
infobox/main
"
,
"
proportions
"
,
"
forcegraph
"
,
"
title
"
],
"
proportions
"
,
"
forcegraph
"
,
"
title
"
,
"
about
"
],
function
(
chroma
,
Map
,
Sidebar
,
Tabs
,
Container
,
Meshstats
,
Linklist
,
Nodelist
,
SimpleNodelist
,
Infobox
,
Proportions
,
ForceGraph
,
Title
)
{
Nodelist
,
SimpleNodelist
,
Infobox
,
Proportions
,
ForceGraph
,
Title
,
About
)
{
return
function
(
config
,
router
)
{
var
self
=
this
var
dataTargets
=
[]
...
...
@@ -74,6 +75,7 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
var
nodelist
=
new
Nodelist
(
router
)
var
linklist
=
new
Linklist
(
linkScale
,
router
)
var
statistics
=
new
Proportions
()
var
about
=
new
About
()
dataTargets
.
push
(
meshstats
)
dataTargets
.
push
(
newnodeslist
)
...
...
@@ -88,9 +90,10 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
sidebar
.
add
(
tabs
)
tabs
.
add
(
"
Übersicht
"
,
overview
)
tabs
.
add
(
"
Alle
Knoten
"
,
nodelist
)
tabs
.
add
(
"
Knoten
"
,
nodelist
)
tabs
.
add
(
"
Verbindungen
"
,
linklist
)
tabs
.
add
(
"
Statistiken
"
,
statistics
)
tabs
.
add
(
"
Über
"
,
about
)
router
.
addTarget
(
title
)
router
.
addTarget
(
infobox
)
...
...
This diff is collapsed.
Click to expand it.
scss/main.scss
+
4
−
0
View file @
1c896d08
...
...
@@ -125,6 +125,10 @@ table.attributes td {
background
:
rgba
(
255
,
255
,
255
,
0
.9
);
border-radius
:
2px
;
}
p
{
line-height
:
1
.67em
;
}
}
.infobox
.clients
{
...
...
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