Configuration & Layout architecture updates
Fixed production bug Fixed styles Updated Action Controller Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
dfa3dfb086
commit
66805034a6
815 changed files with 4020 additions and 1138 deletions
|
|
@ -0,0 +1,31 @@
|
|||
<div class="shipyard item-list countable" id="shipyard">
|
||||
<h1><?php echo $this->__('Shipyard')?></h1>
|
||||
<form action="<?php echo $this->getUrl('buildings.php', array('mode' => 'fleet'))?>" method="post" id="shipyard-form">
|
||||
<?php echo $this->getPartial('item-list.items')->render()?>
|
||||
<input type="submit" value="<?php echo $this->__('Build')?>">
|
||||
</form>
|
||||
<div class="clear"></div>
|
||||
<script type="text/javascript">
|
||||
/*<![CDATA[*/
|
||||
(function($){
|
||||
$(document).ready(function(){
|
||||
$('.shipyard .max a').click(function(){
|
||||
var rel = this.rel.replace(/\:/, '\\\\:');
|
||||
$('#' + rel).val($('#' + rel + '\\:max').val());
|
||||
var hidden = $('#' + rel + '\\:max');
|
||||
var input = $('#' + rel);
|
||||
$('#shipyard-form').submit();
|
||||
});
|
||||
});
|
||||
var items = jQuery('#shipyard .item');
|
||||
$('.image', items).hover(function(e){
|
||||
$('.details', $(this).parent()).show();
|
||||
}, function(e){
|
||||
$('.details', $(this).parent()).hide();
|
||||
});
|
||||
})(jQuery);
|
||||
jQuery(document).ready(function(){
|
||||
});
|
||||
/*]]>*/
|
||||
</script>
|
||||
</div>
|
||||
Loading…
Reference in a new issue