Commit ae424287 authored by Tomas Pettersson's avatar Tomas Pettersson 🏸

adjustment for stwkit cards

parent 64dd1ed7
......@@ -65,7 +65,10 @@ module.exports = function(grunt) {
},
"leaflet-forcing-boundary" : {
"main" : ["dist/leaflet-forcing-boundary.js"]
}
},
"stwkit" : {
"main" : ["src/stwkit.js", "src/components/cards.js", "src/components/cards.css"]
}
}
}
}
......
......@@ -18,6 +18,7 @@
<link rel="stylesheet" href="../bower_components/uikit-stw/css/components/datepicker.almost-flat.min.css" />
<link rel="stylesheet" href="../bower_components/uikit-stw/css/components/autocomplete.almost-flat.min.css" />
<link rel="stylesheet" href="../bower_components/uikit-stw/css/components/accordion.almost-flat.min.css" />
<link rel="stylesheet" href="../bower_components/stwkit/src/components/cards.css" />
<link rel="stylesheet" href="../bower_components/ion.rangeSlider/css/ion.rangeSlider.css" />
<link rel="stylesheet" href="../bower_components/ion.rangeSlider/css/ion.rangeSlider.skinNice.css" />
<link rel="stylesheet" href="../bower_components/leaflet-container-control/dist/leaflet-container-control.css" />
......@@ -46,6 +47,7 @@
<script src="../bower_components/reqwest/reqwest.js"></script>
<script src="../bower_components/moment/moment.js"></script>
<script src="../bower_components/stwkit/src/stwkit.js"></script>
<script src="../bower_components/stwkit/src/components/cards.js"></script>
<script src="../bower_components/ion.rangeSlider/js/ion.rangeSlider.min.js"></script>
<script src="../bower_components/leaflet-container-control/dist/leaflet-container-control.js"></script>
<script src="../bower_components/jquery.inputmask/dist/jquery.inputmask.bundle.js"></script>
......
......@@ -91,18 +91,18 @@ app.get('/demo/guide/os',
intro: "This guide will take you through the steps needed to start an Continuous Oil spill simulation."
},
{
element: '#guideos1',
element: '#guideosdate',
intro: "This date represents date and time for when the oil spill was observed. We will use a todays date.",
position: 'left'
},
{
element: '#guideos2',
element: '#guideospos',
intro: "You can either enter position manually or draw by hand. We entered it manually",
position: 'left'
},
{
element: '#guideos3',
element: '#guideoslocation',
intro: 'Location has been specified. We are ready to move on.',
position: 'left'
},
......@@ -110,12 +110,12 @@ app.get('/demo/guide/os',
intro: 'Here we specify a simulation period.'
},
{
element: '#guideos4',
element: '#guideosduration',
intro: "Duration in hours. Default is 48 hours.",
position: 'left'
},
{
element: '#guideos5',
element: '#guideosperiod',
intro: 'Simulation period has been specified. We are ready to move on.',
position: 'left'
},
......@@ -123,12 +123,12 @@ app.get('/demo/guide/os',
intro: 'We specify a type of oil.'
},
{
element: '#guideos6',
element: '#guideosclass',
intro: 'We can specify a general oil class or a more specific oil class by clicking on tabs. We choose oil class Medium.',
position: 'left'
},
{
element: '#guideos7',
element: '#guideosoiltype',
intro: 'We are ready to move on.',
position: 'left'
},
......@@ -136,17 +136,17 @@ app.get('/demo/guide/os',
intro: 'We specify amount of oil.'
},
{
element: '#guideos8',
element: '#guideosamountrate',
intro: 'Total amount/rate is either the total amount or the deploy rate of oil.',
position: 'left'
},
{
element: '#guideos9',
element: '#guideosamountduration',
intro: 'Duration specifys the deploy time period for the total amount/rate.',
position: 'left'
},
{
element: '#guideos10',
element: '#guideosamount',
intro: 'We are ready to move on.',
position: 'left'
},
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment