|
@@ -43,17 +43,10 @@ $(document).ready(function() {
|
|
|
hide_bar();
|
|
|
}
|
|
|
|
|
|
- $("#hide_bar_template").toggle(
|
|
|
- function() {
|
|
|
- hide_bar();
|
|
|
- },
|
|
|
- function() {
|
|
|
- $("#template_col").show();
|
|
|
- $("#doc_form").removeClass("span11");
|
|
|
- $("#doc_form").addClass("span9");
|
|
|
- $(this).css("background-image", \'url("../img/hide0.png")\');
|
|
|
- }
|
|
|
- );
|
|
|
+ $("#hide_bar_template").click(function() {
|
|
|
+ $("#template_col").toggleClass("hide");
|
|
|
+ $("#hide_bar_template").toggleClass("hide_bar_template_not_hide");
|
|
|
+ });
|
|
|
|
|
|
CKEDITOR.on("instanceReady", function (e) {
|
|
|
showTemplates();
|
|
@@ -516,12 +509,14 @@ if ($owner_id == api_get_user_id() ||
|
|
|
Display::display_warning_message(get_lang('BrowserDontSupportsSVG'));
|
|
|
}
|
|
|
echo '<div class="row-fluid" style="overflow:hidden">
|
|
|
- <div id="template_col" class="span3" style="width:200px">
|
|
|
+ <div id="template_col" class="col-md-2">
|
|
|
<div id="frmModel"></div>
|
|
|
</div>
|
|
|
- <div id="hide_bar_template"></div>
|
|
|
- <div id="doc_form" class="span9">
|
|
|
- '.$form->return_form().'
|
|
|
+ <div class="col-md-1">
|
|
|
+ <div id="hide_bar_template"></div>
|
|
|
+ </div>
|
|
|
+ <div id="doc_form" class="col-md-9">
|
|
|
+ '.$form->return_form().'
|
|
|
</div>
|
|
|
</div>';
|
|
|
}
|