From c8568eb244a84eedc529cab55ad904c73bf09024 Mon Sep 17 00:00:00 2001 From: fangjian Date: Wed, 31 Oct 2018 11:26:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=90=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=B5=84=E4=BA=A7=E5=88=97=E8=A1=A8=E7=82=B9=E5=87=BB=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=94=B6=E8=B5=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/templates/assets/user_asset_list.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/apps/assets/templates/assets/user_asset_list.html b/apps/assets/templates/assets/user_asset_list.html index dc799e734..2f03a361d 100644 --- a/apps/assets/templates/assets/user_asset_list.html +++ b/apps/assets/templates/assets/user_asset_list.html @@ -183,6 +183,21 @@ $(document).ready(function () { $('#asset_detail_tbody').html(trs) }); +function toggle() { + if ($("#split-left").is(':visible')) { + $("#split-left").hide(500, function () { + $("#split-right").attr("class", "col-lg-12"); + $("#toggle-icon").attr("class", "fa fa-angle-right fa-x"); + show = 1; + }); + } else { + $("#split-right").attr("class", "col-lg-9"); + $("#toggle-icon").attr("class", "fa fa-angle-left fa-x"); + $("#split-left").show(500); + show = 0; + } +} + {% endblock %} \ No newline at end of file