Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stwkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stw
stwkit
Commits
e3407ee0
Commit
e3407ee0
authored
Jan 09, 2018
by
Tomas Pettersson
🏸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added domain
parent
abc5daf8
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
23 deletions
+30
-23
demo/index.html
demo/index.html
+3
-0
src/components/cards.js
src/components/cards.js
+13
-11
src/components/cards.js.map
src/components/cards.js.map
+1
-1
src/components/cards.ts
src/components/cards.ts
+13
-11
No files found.
demo/index.html
View file @
e3407ee0
...
...
@@ -176,6 +176,7 @@
locationoptions
[
'
polygon
'
][
'
show
'
]
=
true
;
// locationoptions['polygon']['name'] = 'Area';
locationoptions
[
'
circle
'
]
=
false
;
locationoptions
[
'
domain
'
]
=
domainname
;
locationoptions
[
'
type
'
]
=
type
;
locationoptions
[
'
subtype
'
]
=
subtype
;
// locationoptions['outlettype'] = false;
...
...
@@ -184,6 +185,7 @@
this
.
cardMap
[
locationid
]
=
new
STWkit
.
LocationCard
(
locationid
,
'
Specify location
'
,
this
.
accordionDiv
,
this
.
lang
,
this
.
langData
,
map
,
this
.
forcing
,
locationoptions
);
this
.
cardMap
[
locationid
].
show
();
var
periodoptions
=
{};
periodoptions
[
'
domain
'
]
=
domainname
;
periodoptions
[
'
type
'
]
=
type
;
periodoptions
[
'
subtype
'
]
=
subtype
;
periodoptions
[
'
initials
'
]
=
initials
;
...
...
@@ -191,6 +193,7 @@
var
periodid
=
'
periodCard
'
;
this
.
cardMap
[
periodid
]
=
new
STWkit
.
PeriodCard
(
periodid
,
'
Simulation period
'
,
this
.
accordionDiv
,
this
.
lang
,
map
,
this
.
domain
,
this
.
forcingmodel
,
periodoptions
);
var
oiltypeoptions
=
{};
oiltypeoptions
[
'
domain
'
]
=
domainname
;
oiltypeoptions
[
'
type
'
]
=
type
;
oiltypeoptions
[
'
subtype
'
]
=
subtype
;
oiltypeoptions
[
'
initials
'
]
=
initials
;
...
...
src/components/cards.js
View file @
e3407ee0
This diff is collapsed.
Click to expand it.
src/components/cards.js.map
View file @
e3407ee0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/components/cards.ts
View file @
e3407ee0
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment