Create view for jTip content
This commit is contained in:
@@ -148,7 +148,7 @@ class Ajax extends MY_Controller {
|
|||||||
$this->load->helper('typography');
|
$this->load->helper('typography');
|
||||||
|
|
||||||
$parameter = $this->parameter->getById($parameterId);
|
$parameter = $this->parameter->getById($parameterId);
|
||||||
$this->output->set_output(auto_typography($parameter['description']));
|
$this->output->set_output($this->load->view('global/parameter_help', $parameter, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
4
application/views/global/parameter_help.php
Normal file
4
application/views/global/parameter_help.php
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<strong><?=_('Description');?></strong>
|
||||||
|
<?=auto_typography($description);?>
|
||||||
|
<strong><?=_('Type');?></strong>
|
||||||
|
<?=auto_typography($type);?>
|
||||||
@@ -896,7 +896,7 @@ div.progress_bar strong {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#jt_copy {
|
#jt_copy {
|
||||||
padding: 10px;
|
padding: 4px;
|
||||||
color: #666;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -904,11 +904,15 @@ div.progress_bar strong {
|
|||||||
background: url(../images/ajax-loader.gif) center center no-repeat;
|
background: url(../images/ajax-loader.gif) center center no-repeat;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
|
margin: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#jt_copy p {
|
#jt_copy p {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 12px;
|
}
|
||||||
|
|
||||||
|
#jt_copy strong {
|
||||||
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#jt_copy img {
|
#jt_copy img {
|
||||||
|
|||||||
Reference in New Issue
Block a user