<#--
  Copyright (c) 2020-Now http://www.j2eefast.com All rights reserved.
  No deletion without permission
  CSS 样式封装
  @author J2eeFAST
  @date 2020-05-26
  @version v1.0.1
-->
<#macro css Libs=""
>
<link rel="stylesheet" href="${ctxStatic}/static/css/font-awesome.min.css"/>
<link rel="stylesheet" href="${ctxStatic}/static/css/Ionicons/css/ionicons.min.css"/>
<link rel="stylesheet" href="${ctxStatic}/static/css/bootstrap.min.css"/>
<link rel="stylesheet" href="${ctxStatic}/static/plugins/select2/select2.min.css"/>
<link rel="stylesheet" href="${ctxStatic}/static/css/animate.min.css"/>
<#compress>
<#if !(Libs?is_string) && Libs?? && (Libs?size > 0) >
    <#assign flag=0 />
    <#assign select2=0 />
    <#list Libs as x>
        <#-- 对应CSS样式-->
        <#if (x == "table" || x == "treeTable") && flag == 0>
            <#assign flag=1 />
            <#if select2 == 0>
            <#assign select2=1 />
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/select2/select2-bootstrap.css"/>
            </#if>
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/bootstrap-table/bootstrap-table.min.css"/>
        </#if>
        <#if x == "table">
            <link rel="stylesheet" href="${ctxStatic}/static/css/jquery.contextMenu.min.css" />
        </#if>
        <#if x == "zTree">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/ztree/3.5/css/metroStyle/metroStyle.css"/>
        </#if>
        <#if x == "jsonview">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/jsonview/jquery.jsonview.css"/>
        </#if>
        <#if x == "bootstrapSelect">
            <#if select2 == 0>
            <#assign select2=1 />
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/select2/select2-bootstrap.css"/>
            </#if>
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/bootstrap-select/bootstrap-select.css"/>
        </#if>
        <#if x == "cropbox">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/cropbox/cropbox.css"/>
        </#if>
        <#if x == "cropper">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/cropper/cropper.min.css"/>
        </#if>
        <#if x == "prism">
            <#include "/common/code.html"/>

        </#if>
        <#if x == "selectPage">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/selectpage/selectpage.css"/>
        </#if>
        <#if x == "summernote">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/summernote/summernote.css"/>
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/summernote/summernote-bs3.css"/>
        </#if>
        <#if x == "bmp">
            <link rel="stylesheet" href="${ctxStatic}/flowable/modeler/display/jquery.qtip.min.css"/>
            <link rel="stylesheet" href="${ctxStatic}/flowable/modeler/display/displaymodel.css"/>
        </#if>
        <#if x == "layout-latest">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/jquery-layout/jquery.layout-latest.min.css"/>
        </#if>
        <#if x == "fileupload">
          	<link rel="stylesheet" href="${ctxStatic}/static/plugins/webuploader/0.1.5/webuploader.ex.min.css?V=${config.getDvVersion()}"/>
<#--          	<link rel="stylesheet" href="${ctxStatic}/static/plugins/webuploader/0.1.5/webuploader.ex.css?V=${config.getDvVersion()}"/>-->
        </#if>
        <#if x == "tokenfield">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/tokenfield/css/tokenfield-typeahead.css"/>
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/tokenfield/css/bootstrap-tokenfield.css"/>
        </#if>
        <#if x == "colorpicker">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css"/>
        </#if>
        <#if x == "wizard">
            <link rel="stylesheet" href="${ctxStatic}/static/plugins/wizard/css/smart_wizard_all.css"/>
        </#if>
    </#list>
</#if>
<#--<link rel="stylesheet" href="${ctxStatic}/static/css/all-skins.css?V=${config.getDvVersion()}">-->
<link rel="stylesheet" href="${ctxStatic}/static/css/all-skins.min.css?V=${config.getDvVersion()}" />
<#-- iCheck -->
<link rel="stylesheet" href="${ctxStatic}/static/css/iCheck/all.css" />
<#--  layui-->
<link rel="stylesheet" href="${ctxStatic}/static/plugins/layui/css/layui.css"/>
<link rel="stylesheet" href="${ctxStatic}/static/css/style.min.css?V=${config.getDvVersion()}" />
<link rel="stylesheet" href="${ctxStatic}/static/js/fast-ui.min.css?V=${config.getDvVersion()}"/>
<#--<link rel="stylesheet" href="${ctxStatic}/static/js/fast-ui.css?V=${config.getDvVersion()}" />-->
</#compress>
</#macro>
