From c83a8031853670682420bd4a9bd65030c5a9e398 Mon Sep 17 00:00:00 2001 From: Bryan Berry Date: Thu, 21 Jan 2010 03:36:18 +0000 Subject: mocked up header and footer in new layout --- diff --git a/css/epaath_images/bg_footer.png b/css/epaath_images/bg_footer.png new file mode 100755 index 0000000..4bd44fa --- /dev/null +++ b/css/epaath_images/bg_footer.png Binary files differ diff --git a/css/epaath_images/bg_header.png b/css/epaath_images/bg_header.png new file mode 100755 index 0000000..f421817 --- /dev/null +++ b/css/epaath_images/bg_header.png Binary files differ diff --git a/css/epaath_images/btn_back.png b/css/epaath_images/btn_back.png new file mode 100755 index 0000000..d9fbf14 --- /dev/null +++ b/css/epaath_images/btn_back.png Binary files differ diff --git a/css/epaath_images/btn_help.png b/css/epaath_images/btn_help.png new file mode 100755 index 0000000..6753e9c --- /dev/null +++ b/css/epaath_images/btn_help.png Binary files differ diff --git a/css/epaath_images/btn_help_hover.png b/css/epaath_images/btn_help_hover.png new file mode 100755 index 0000000..d3ccd92 --- /dev/null +++ b/css/epaath_images/btn_help_hover.png Binary files differ diff --git a/css/epaath_images/btn_ole.png b/css/epaath_images/btn_ole.png new file mode 100755 index 0000000..0e775e9 --- /dev/null +++ b/css/epaath_images/btn_ole.png Binary files differ diff --git a/css/epaath_images/btn_ole_hover.png b/css/epaath_images/btn_ole_hover.png new file mode 100755 index 0000000..c43c5f7 --- /dev/null +++ b/css/epaath_images/btn_ole_hover.png Binary files differ diff --git a/css/epaath_images/correct.png b/css/epaath_images/correct.png new file mode 100755 index 0000000..f2dbc5a --- /dev/null +++ b/css/epaath_images/correct.png Binary files differ diff --git a/css/epaath_images/title_block_lt.png b/css/epaath_images/title_block_lt.png new file mode 100755 index 0000000..b1c0e90 --- /dev/null +++ b/css/epaath_images/title_block_lt.png Binary files differ diff --git a/css/epaath_images/title_block_rt.png b/css/epaath_images/title_block_rt.png new file mode 100755 index 0000000..275daaf --- /dev/null +++ b/css/epaath_images/title_block_rt.png Binary files differ diff --git a/css/epaath_images/wrong.png b/css/epaath_images/wrong.png new file mode 100755 index 0000000..edfe9c5 --- /dev/null +++ b/css/epaath_images/wrong.png Binary files differ diff --git a/css/karma.css b/css/karma.css index 2ef9dc6..454f3f5 100755 --- a/css/karma.css +++ b/css/karma.css @@ -21,3 +21,172 @@ } } + +#kHeader{ + background-image: url('./epaath_images/bg_header.png'); + background-repeat: repeat-x; + height: 89px; + width: 100%; + position: absolute; + top: 0em; + +/* + width: 100%; + height: 5.4em; + position: absolute; + top: 0em; +*/ +} + + + + +#topbtn_left { + float: left; + height: 60px; + width: 60px; + padding-top: 13px; + padding-left: 5px; +} + + +#linkBack{ + width: 60px; + height: 59px; + background-image:url('./epaath_images/btn_back.png'); +} +#linkBack:hover{ + background:url('./epaath_images/btn_back_hover.png'); +} + +#lesson_title { + float: left; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 16pt; + font-weight: bold; + color: #FFFFFF; + margin-left: 10px; + background-image: url(./epaath_images/bg_title_block.png); +} +#topbtn_right { + float: right; + height: 60px; + width: 60px; + padding-top: 13px; + padding-right: 5px; +} +#linkHelp{ + width: 60px; height: 60px; + background:url(./epaath_images/btn_help.png); +} + #linkHelp:hover{ + background:url(./epaath_images/btn_help_hover.png); + } + #linkOle{ + width: 60px; height: 60px; + background:url(./epaath_images/btn_ole.png); + } + #linkOle:hover{ + background:url(./epaath_images/btn_ole_hover.png); + } + #linkNext{ + width: 60px; height: 60px; + background:url(./epaath_images/btn_next.png); + } + #linkNext:hover{ + background:url(./epaath_images/btn_next_hover.png); + } + + +#kFooter{ + background-image: url('./epaath_images/bg_header.png'); + width: 100%; + height: 5.4em; + position: absolute; + bottom: 0em; +} + +#kFooter>div{ + margin-top: 0.4em; + margin-bottom: 0.3em; + margin-right: 0.4em; + float:right; +} + + +/* + +#header { + background-image: url(../assets/image/bg_header.png); + background-repeat: repeat-x; + height: 89px; + width: 100%; + position: absolute; + left: 0px; + top: 0px; +} +#topbtn_left { + float: left; + height: 60px; + width: 60px; + padding-top: 13px; + padding-left: 5px; +} + + + #linkBack{ + width: 60px; height: 59px; + background:url(../assets/image/btn_back.png); + } + #linkBack:hover{ + background:url(../assets/image/btn_back_hover.png); + } + +#lesson_title { + float: left; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 16pt; + font-weight: bold; + color: #FFFFFF; + margin-left: 10px; + background-image: url(../assets/image/bg_title_block.png); +} +#topbtn_right { + float: right; + height: 60px; + width: 60px; + padding-top: 13px; + padding-right: 5px; +} + #linkHelp{ + width: 60px; height: 60px; + background:url(../assets/image/btn_help.png); + } + #linkHelp:hover{ + background:url(../assets/image/btn_help_hover.png); + } + #linkOle{ + width: 60px; height: 60px; + background:url(../assets/image/btn_ole.png); + } + #linkOle:hover{ + background:url(../assets/image/btn_ole_hover.png); + } + #linkNext{ + width: 60px; height: 60px; + background:url(../assets/image/btn_next.png); + } + #linkNext:hover{ + background:url(../assets/image/btn_next_hover.png); + } +#footer { + background-image: url(../assets/image/bg_footer.png); + background-repeat: repeat-x; + position: absolute; + height: 69px; + width: 100%; + left: 0px; + bottom: 0px; +} + +*/ \ No newline at end of file diff --git a/css/theme/images/epaath_bg_footer.png b/css/theme/images/epaath_bg_footer.png new file mode 100755 index 0000000..4bd44fa --- /dev/null +++ b/css/theme/images/epaath_bg_footer.png Binary files differ diff --git a/css/theme/images/epaath_bg_header.png b/css/theme/images/epaath_bg_header.png new file mode 100755 index 0000000..f421817 --- /dev/null +++ b/css/theme/images/epaath_bg_header.png Binary files differ diff --git a/examples/English_Animal_Identification/index.html b/examples/English_Animal_Identification/index.html index 739fce2..87e7600 100755 --- a/examples/English_Animal_Identification/index.html +++ b/examples/English_Animal_Identification/index.html @@ -17,11 +17,32 @@ -
+
+
+
+
+
+
+
+ + English Prepositions + +
+ + +
- -
What is this?
@@ -40,5 +61,9 @@ Game Over
+
+
+
+
\ No newline at end of file diff --git a/index.html b/index.html index ca8c036..132ae3e 100755 --- a/index.html +++ b/index.html @@ -86,7 +86,7 @@ diff --git a/js/ui.scoreboard.js b/js/ui.scoreboard.js index 0ffb835..9704c20 100755 --- a/js/ui.scoreboard.js +++ b/js/ui.scoreboard.js @@ -114,9 +114,15 @@ if (self._getData('locale') === "ne"){ switch(str){ case "Score": - return "foo"; + return "अङ्क"; case "Total": - return "bar"; + return "जम्मा"; + case "Restart": + return "फेरी खेलौ"; + case "Pause": + return "खेल रोकौ"; + case "Start": + return "सुरु गरौ"; default: return "string not translated"; } @@ -178,7 +184,7 @@ .find('span:first'); - $("
Total
") + $("
" + this._("Total") + "
") .addClass('ui-scoreboard-spacing-' + layoutId + ' ui-corner-all ' + 'ui-scoreboard-text') @@ -201,7 +207,7 @@ + 'ui-scoreboard-icon') ) .append( - $('Restart') + $('') .addClass('centered') ); @@ -211,7 +217,7 @@ .addClass('ui-icon-arrowrefresh-1-w') .end() .find('span:last') - .text('Restart') + .text(this._('Restart')) .end() .click(function(){ self.restart();}) .appendTo($parent); @@ -226,7 +232,7 @@ .addClass('ui-icon-pause') .end() .find('span:last') - .text('Pause') + .text(this._('Pause')) .end() .click(function(){ self.element.trigger('scoreboardPause'); @@ -241,7 +247,7 @@ .addClass('ui-icon-arrowreturnthick-1-s') .end() .find('span:last') - .text('Start') + .text(this._('Start')) .end() .click(function(){ self.element.trigger('scoreboardStart'); -- cgit v0.9.1