summaryrefslogtreecommitdiff
path: root/views/mods/mod_scaleprice/scaleList.phtml
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2017-09-11 14:23:58 +0000
committerthomas <noreply@maennchen1.de>2017-09-11 14:23:58 +0000
commitea831ce5a638f1761ea49220170404517a958a65 (patch)
tree226f831730f04770b8140627266131c68423ed0d /views/mods/mod_scaleprice/scaleList.phtml
parentfe729d467d24bd2025f845efc83bfdec4de131ae (diff)
- Anpassung Backend
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6492 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_scaleprice/scaleList.phtml')
-rw-r--r--views/mods/mod_scaleprice/scaleList.phtml89
1 files changed, 49 insertions, 40 deletions
diff --git a/views/mods/mod_scaleprice/scaleList.phtml b/views/mods/mod_scaleprice/scaleList.phtml
index f83067c..6f52188 100644
--- a/views/mods/mod_scaleprice/scaleList.phtml
+++ b/views/mods/mod_scaleprice/scaleList.phtml
@@ -5,29 +5,33 @@
*/
?>
-<?php foreach ((array)$this->view['wpsg_mod_scaleprice']['arScale'] as $k => $scale) { ?>
-<div class="wpsg_form_field wpsg_mod_scaleprice_row" id="wpsg_mod_scaleprice_row_<?php echo $scale['id']; ?>">
- <div class="wpsg_form_left">
- <div class="wpsg_mod_scaleprice_label_scale"><?php echo __('ab', 'wpsg'); ?></div>
- <div class="wpsg_editable" id="wpsg_mod_scaleprice_<?php echo $scale['id']; ?>_scale"><?php echo wpsg_ff($scale['scale']); ?></div>
- <div class="wpsg_mod_scaleprice_label_value">
- <?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
- <?php echo $this->get_option('wpsg_mod_weight_unit'); ?>
- <?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
- <?php echo __('Stück', 'wpsg'); ?>
- <?php } ?>
- </div>
- </div>
- <div class="wpsg_form_right">
- <div class="wpsg_editable" id="wpsg_mod_scaleprice_<?php echo $scale['id']; ?>_value"><?php echo wpsg_ff($scale['value']); ?></div>
- <p class="waehrung"><?php echo $this->get_option('wpsg_currency'); ?></p>
- <a class="wpsg_glyphicon_right glyphicon glyphicon-minus-sign" href="" onclick="return wpsg_mod_scaleprice_remove(<?php echo $scale['id']; ?>);" title=""></a>
+<div class="col-sm-6 control-label" style="font-size:12px; font-weight:bold;">
+<?php echo __('Preisgrenzen', 'wpsg'); ?>
+</div>
+<div class="col-sm-6">
+ <?php foreach ((array)$this->view['wpsg_mod_scaleprice']['arScale'] as $k => $scale) { ?>
+ <div class="wpsg_form_field wpsg_mod_scaleprice_row" id="wpsg_mod_scaleprice_row_<?php echo $scale['id']; ?>">
+ <div class="wpsg_form_left">
+ <div class="wpsg_mod_scaleprice_label_scale" style="width:30px; float:left; font-size:12px;"><?php echo __('ab', 'wpsg'); ?></div>
+ <div class="wpsg_editable" style="width:90px; float:left; text-align:right; padding-top:4px" id="wpsg_mod_scaleprice_<?php echo $scale['id']; ?>_scale"><?php echo wpsg_ff($scale['scale']); ?></div>
+ <div class="wpsg_mod_scaleprice_label_value" style="float:left; margin:0 0 0 10px; font-size:12px;">
+ <?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
+ <?php echo $this->get_option('wpsg_mod_weight_unit'); ?>
+ <?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
+ <?php echo __('Stück', 'wpsg'); ?>
+ <?php } ?>
+ </div>
+ </div>
+ <div class="wpsg_form_right">
+ <div style="width:90px; float:left; padding-top:4px; text-align:right;" class="wpsg_editable" id="wpsg_mod_scaleprice_<?php echo $scale['id']; ?>_value"><?php echo wpsg_ff($scale['value']); ?></div>
+ <p style="float:left; margin:0 0 0 10px; font-size:12px;" class="waehrung"><?php echo $this->get_option('wpsg_currency'); ?></p>
+ <a style="float:right; margin-top:4px;" class="wpsg_glyphicon_right glyphicon glyphicon-minus-sign" href="" onclick="return wpsg_mod_scaleprice_remove(<?php echo $scale['id']; ?>);" title=""></a>
+ </div>
+ <div class="wpsg_clear"></div>
</div>
- <div class="wpsg_clear"></div>
</div>
-
<script type="text/javascript">
-/* <![CDATA[ */
+/* <![CDATA[ */
jQuery(document).ready(function() {
@@ -57,28 +61,33 @@
jQuery('#wpsg_mod_scaleprice_value').bind('blur', wpsg_mod_scaleprice_change);
} );
-
+
/* ]]> */
</script>
<?php } ?>
-<div class="wpsg_form_field">
- <div class="wpsg_form_left">
- <div class="wpsg_mod_scaleprice_label_scale"><?php echo __('ab', 'wpsg'); ?></div>
- <input type="text" class="wpsg_mod_scaleprice_scale" name="wpsg_mod_scaleprice_scale" value="" id="wpsg_mod_scaleprice_scale" />
- <div class="wpsg_mod_scaleprice_label_value">
- <?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
- <?php echo $this->get_option('wpsg_mod_weight_unit'); ?>
- <?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
- <?php echo __('Stück', 'wpsg'); ?>
- <?php } ?>
- </div>
- </div>
- <div class="wpsg_form_right">
- <input type="text" class="wpsg_mod_scaleprice_value" name="wpsg_mod_scaleprice_value" value="" id="wpsg_mod_scaleprice_value">
- <p class="waehrung"><?php echo $this->get_option('wpsg_currency'); ?></p>
- <a class="wpsg_glyphicon_right glyphicon glyphicon-plus-sign" href="" onclick="return wpsg_mod_scaleprice_add();" title=""></a>
- </div>
- <div class="wpsg_clear"></div>
-</div> \ No newline at end of file
+<div class="col-sm-6 control-label" style="font-size:12px; font-weight:bold;">
+<?php echo __('Neue Preisgrenze', 'wpsg'); ?>
+</div>
+<div class="col-sm-6">
+ <div class="wpsg_form_field">
+ <div class="wpsg_form_left">
+ <div class="wpsg_mod_scaleprice_label_scale" style="width:30px; float:left; font-size:12px;"><?php echo __('ab', 'wpsg'); ?></div>
+ <input type="text" class="wpsg_mod_scaleprice_scale" style="width:90px; float:left;" name="wpsg_mod_scaleprice_scale" value="" id="wpsg_mod_scaleprice_scale" />
+ <div class="wpsg_mod_scaleprice_label_value" style="float:left; margin:0 0 0 10px; font-size:12px;">
+ <?php if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?>
+ <?php echo $this->get_option('wpsg_mod_weight_unit'); ?>
+ <?php } else if ($this->view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?>
+ <?php echo __('Stück', 'wpsg'); ?>
+ <?php } ?>
+ </div>
+ </div>
+ <div class="wpsg_form_right">
+ <input type="text" class="wpsg_mod_scaleprice_value" style="width:90px; float:left;" name="wpsg_mod_scaleprice_value" value="" id="wpsg_mod_scaleprice_value">
+ <p class="waehrung" style="float:left; margin:0 0 0 10px; font-size:12px;"><?php echo $this->get_option('wpsg_currency'); ?></p>
+ <a style="float:right; margin-top:4px;" class="wpsg_glyphicon_right glyphicon glyphicon-plus-sign" href="" onclick="return wpsg_mod_scaleprice_add();" title=""></a>
+ </div>
+ <div class="wpsg_clear"></div>
+ </div>
+</div> \ No newline at end of file