Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FloodSimulation-Browser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Richard Torenvliet
FloodSimulation-Browser
Commits
04b400d7
Commit
04b400d7
authored
May 12, 2012
by
Richard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
worked on simualtion browser ui
parent
fb8c1d76
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
48 deletions
+31
-48
www/app/controller/Main.js
www/app/controller/Main.js
+7
-0
www/app/view/List.js
www/app/view/List.js
+1
-0
www/app/view/Simulation.js
www/app/view/Simulation.js
+9
-1
www/app/view/StepsOverlay.js
www/app/view/StepsOverlay.js
+8
-6
www/resources/css/app.css
www/resources/css/app.css
+1
-1
www/resources/sass/app.scss
www/resources/sass/app.scss
+5
-40
No files found.
www/app/controller/Main.js
View file @
04b400d7
...
@@ -48,6 +48,10 @@ Ext.define('app.controller.Main', {
...
@@ -48,6 +48,10 @@ Ext.define('app.controller.Main', {
'
#overlay
'
:
{
'
#overlay
'
:
{
hide
:
'
callRemoveImages
'
,
hide
:
'
callRemoveImages
'
,
},
'
#opensimulations
'
:
{
tap
:
'
openSimulations
'
}
}
}
}
...
@@ -230,7 +234,10 @@ Ext.define('app.controller.Main', {
...
@@ -230,7 +234,10 @@ Ext.define('app.controller.Main', {
console
.
log
(
'
failed to create images
'
);
console
.
log
(
'
failed to create images
'
);
}
}
});
});
},
openSimulations
:
function
(){
console
.
log
(
'
opensimulations
'
);
}
}
});
});
...
...
www/app/view/List.js
View file @
04b400d7
...
@@ -13,6 +13,7 @@ Ext.define("app.view.List",
...
@@ -13,6 +13,7 @@ Ext.define("app.view.List",
title
:
'
Simulations
'
,
title
:
'
Simulations
'
,
config
:
{
config
:
{
ui
:
'
lighter_blue
'
,
items
:
[
items
:
[
{
{
id
:
'
cities
'
,
id
:
'
cities
'
,
...
...
www/app/view/Simulation.js
View file @
04b400d7
...
@@ -8,13 +8,21 @@ Ext.define('app.view.Simulation', {
...
@@ -8,13 +8,21 @@ Ext.define('app.view.Simulation', {
{
{
docked
:
'
top
'
,
docked
:
'
top
'
,
xtype
:
'
toolbar
'
,
xtype
:
'
toolbar
'
,
ui
:
'
darker_blue
'
,
title
:
'
Flood Simulation Browser
'
,
title
:
'
Flood Simulation Browser
'
,
items
:
[{
id
:
'
simulationOptions
'
,
xtype
:
'
button
'
,
text
:
'
simulations
'
,
right
:
0
,
top
:
7
,
ui
:
[
'
square
'
,
'
blue
'
],
}]
},
},
{
{
xtype
:
'
SimulationMap
'
,
xtype
:
'
SimulationMap
'
,
flex
:
2
,
flex
:
2
,
}],
}],
}
}
});
});
...
...
www/app/view/StepsOverlay.js
View file @
04b400d7
...
@@ -19,8 +19,8 @@ Ext.define('app.view.StepsOverlay', {
...
@@ -19,8 +19,8 @@ Ext.define('app.view.StepsOverlay', {
//draggable: true,
//draggable: true,
autoDestroy
:
true
,
autoDestroy
:
true
,
hidden
:
true
,
hidden
:
true
,
width
:
8
0
,
width
:
12
0
,
height
:
1
5
0
,
height
:
1
0
0
,
scroll
:
false
,
scroll
:
false
,
items
:
[
items
:
[
{
{
...
@@ -29,6 +29,7 @@ Ext.define('app.view.StepsOverlay', {
...
@@ -29,6 +29,7 @@ Ext.define('app.view.StepsOverlay', {
iconCls
:
'
delete
'
,
iconCls
:
'
delete
'
,
iconMask
:
true
,
iconMask
:
true
,
height
:
10
,
height
:
10
,
ui
:
'
red
'
,
top
:
0
,
top
:
0
,
right
:
0
,
right
:
0
,
border
:
'
solid
'
,
border
:
'
solid
'
,
...
@@ -36,30 +37,31 @@ Ext.define('app.view.StepsOverlay', {
...
@@ -36,30 +37,31 @@ Ext.define('app.view.StepsOverlay', {
scope
:
this
,
scope
:
this
,
},
},
{
{
top
:
50
,
top
:
10
,
left
:
20
,
align
:
'
center
'
,
align
:
'
center
'
,
items
:
[
items
:
[
{
{
xtype
:
"
button
"
,
xtype
:
"
button
"
,
id
:
'
forward
'
,
id
:
'
forward
'
,
ui
:
'
blue
'
,
cls
:
'
overlay-button
'
,
cls
:
'
overlay-button
'
,
width
:
45
,
width
:
45
,
iconCls
:
'
arrow_up
'
,
iconCls
:
'
arrow_up
'
,
floating
:
'
right
'
,
floating
:
'
right
'
,
iconMask
:
true
,
iconMask
:
true
,
align
:
'
center
'
,
align
:
'
center
'
,
left
:
20
,
},
},
{
{
top
:
50
,
top
:
50
,
xtype
:
"
button
"
,
xtype
:
"
button
"
,
id
:
'
backwards
'
,
id
:
'
backwards
'
,
ui
:
'
blue
'
,
cls
:
'
overlay-button
'
,
cls
:
'
overlay-button
'
,
width
:
45
,
width
:
45
,
floating
:
'
left
'
,
floating
:
'
left
'
,
iconCls
:
'
arrow_down
'
,
iconCls
:
'
arrow_down
'
,
left
:
20
,
align
:
'
center
'
,
align
:
'
center
'
,
iconMask
:
true
,
iconMask
:
true
,
}]
}]
...
...
www/resources/css/app.css
View file @
04b400d7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
www/resources/sass/app.scss
View file @
04b400d7
@import
'sencha-touch/default/all'
;
@import
'sencha-touch/default/all'
;
@include
pictos-iconmask
(
'close_overlay'
);
@include
sencha-toolbar-ui
(
'darker_blue'
,
#003F69
,
'glossy'
);
@include
sencha-toolbar-ui
(
'lighter_blue'
,
#386EBA
,
'glossy'
);
@include
sencha-button-ui
(
'blue'
,
#003F69
,
'glossy'
);
@include
sencha-button-ui
(
'red'
,
#C40000
,
'glossy'
);
// You may remove any of the following modules that you
// You may remove any of the following modules that you
// do not use in order to create a smaller css file.
// do not use in order to create a smaller css file.
...
@@ -17,44 +22,4 @@
...
@@ -17,44 +22,4 @@
//@include sencha-msgbox;
//@include sencha-msgbox;
// Your custom code goes here...
#overlay
{
//@include border-radius(10px);
// needs latest Compass, add '@import "compass"' to your scss
background-color
:
rgb
(
255
,
255
,
255
);
// Old browsers
@include
filter-gradient
(
#ffffff
,
#b2b2b2
,
vertical
);
// IE6-9
@include
background-image
(
linear-gradient
(
top
,
rgba
(
255
,
255
,
255
,
1
)
0%
,
rgba
(
241
,
241
,
241
,
1
)
65%
,
rgba
(
225
,
225
,
225
,
1
)
82%
,
rgba
(
178
,
178
,
178
,
1
)
100%
));
}
#forward
{
// needs latest Compass, add '@import "compass"' to your scss
background-color
:
rgb
(
255
,
48
,
25
);
// Old browsers
@include
filter-gradient
(
#ff3019
,
#cf0404
,
vertical
);
// IE6-9
@include
background-image
(
linear-gradient
(
top
,
rgba
(
255
,
48
,
25
,
1
)
0%
,
rgba
(
207
,
4
,
4
,
1
)
100%
));
}
#backwards
{
// needs latest Compass, add '@import "compass"' to your scss
background-color
:
rgb
(
255
,
48
,
25
);
// Old browsers
@include
filter-gradient
(
#ff3019
,
#cf0404
,
vertical
);
// IE6-9
@include
background-image
(
linear-gradient
(
top
,
rgba
(
255
,
48
,
25
,
1
)
0%
,
rgba
(
207
,
4
,
4
,
1
)
100%
));
}
.x-button-pressed.overlay-button
{
// needs latest Compass, add '@import "compass"' to your scss
background-color
:
rgb
(
207
,
4
,
4
);
// Old browsers
@include
filter-gradient
(
#cf0404
,
#ff3019
,
vertical
);
// IE6-9
@include
background-image
(
linear-gradient
(
top
,
rgba
(
207
,
4
,
4
,
1
)
0%
,
rgba
(
255
,
48
,
25
,
1
)
100%
));
}
.x-button-pressed.overlay-button
{
// needs latest Compass, add '@import "compass"' to your scss
background-color
:
rgb
(
207
,
4
,
4
);
// Old browsers
@include
filter-gradient
(
#cf0404
,
#ff3019
,
vertical
);
// IE6-9
@include
background-image
(
linear-gradient
(
top
,
rgba
(
207
,
4
,
4
,
1
)
0%
,
rgba
(
255
,
48
,
25
,
1
)
100%
));
}
#closebutton
{
background
:
none
;
}
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