saiku 展示優化


saiku版本:3.7.4

下面是修改步驟,如果覺得麻煩,可以直接下載源代碼:https://github.com/lihehuo/saiku

1、關閉自動執行

修改文件:saiku-ui/js/saiku/Settings.js,下面是git代碼對比

     ERROR_TOLERANCE: 3,
     QUERY_PROPERTIES: {
-        'saiku.olap.query.automatic_execution': true,
+        'saiku.olap.query.automatic_execution': false,
         'saiku.olap.query.nonempty': true,
         'saiku.olap.query.nonempty.rows': true,
         'saiku.olap.query.nonempty.columns': true,

2、去掉商業注釋

修改saiku-ui/index.html,刪除如下內容:

<script type="text/x-jquery-tmpl" id="template-upgrade">
            <div class="upgradeheader">
                You are using Saiku Community Edition, please consider <a target="_blank" href="http://saiku.meteorite.bi/support">purchasing support, or entering a sponsorship agreement with us</a> to support development. <a href="mailto:info@meteorite.bi?subject=Supporting Saiku">info@meteorite.bi</a><span class="close_tab sprite"></span>
            </div>
</script>

修改saiku-ui/js/saiku/views/Upgrade.js,注釋掉類似代碼即可

3、去掉歡迎頁面

歡迎頁面沒什么用,可以直接去掉。修改saiku-ui/js/saiku/views/SplashScreen.js,去掉這些html代碼即可

var template = $("");

 

參考:http://www.biaodianfu.com/saiku-interface.html

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM