add squebi via webjar
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/ca13be97 Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/ca13be97 Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/ca13be97 Branch: refs/heads/ldp Commit: ca13be970f41b219086c83c368b905b95c7b3210 Parents: 26de4fd Author: tkurz <[email protected]> Authored: Tue Mar 25 10:08:46 2014 +0100 Committer: tkurz <[email protected]> Committed: Tue Mar 25 10:08:46 2014 +0100 ---------------------------------------------------------------------- platform/marmotta-sparql/pom.xml | 5 +++++ .../src/main/resources/web/admin/squebi.html | 16 +++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/marmotta/blob/ca13be97/platform/marmotta-sparql/pom.xml ---------------------------------------------------------------------- diff --git a/platform/marmotta-sparql/pom.xml b/platform/marmotta-sparql/pom.xml index 4bd5aef..6119db8 100644 --- a/platform/marmotta-sparql/pom.xml +++ b/platform/marmotta-sparql/pom.xml @@ -197,6 +197,11 @@ <artifactId>jquery-ui</artifactId> </dependency> <dependency> + <groupId>com.github.tkurz.webjars</groupId> + <artifactId>squebi</artifactId> + <version>0.0.5-SNAPSHOT</version> + </dependency> + <dependency> <groupId>org.webjars</groupId> <artifactId>codemirror</artifactId> </dependency> http://git-wip-us.apache.org/repos/asf/marmotta/blob/ca13be97/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html ---------------------------------------------------------------------- diff --git a/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html b/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html index 48d79c9..488b31d 100644 --- a/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html +++ b/platform/marmotta-sparql/src/main/resources/web/admin/squebi.html @@ -25,17 +25,23 @@ SQUEBI = { selectService : "../select", updateService : "../update", - app : "bower_components/squebi", - bower : "..", + app : "../../webjars/squebi/0.0.5-SNAPSHOT", + bower : ".", hints : [], - container : '#squebi_container' + container : '#squebi_container', + browse : { + showFlags : false + } }; </script> - <script data-main="bower_components/squebi/main" src="bower_components/requirejs/require.js"></script> + <script data-main="../../webjars/squebi/0.0.5-SNAPSHOT/main" src="../../webjars/squebi/0.0.5-SNAPSHOT/requirejs/require.js"></script> <!--###END_HEAD###--> </head> <body> <!--###BEGIN_CONTENT###--> +<div id="appLoader" style="margin-top: 100px; text-align: center; margin-bottom: 100px"> + <img src="../../webjars/squebi/0.0.5-SNAPSHOT/squebi/img/ajax-loader-big.gif"> +</div> <div style="display: none" id="squebi_container" class="container"> <div ng-controller="SampleCtrl" class="header"> <div ng-show="showHint"> @@ -87,7 +93,7 @@ <div ng-show="showResults" ng-controller="ResultCtrl" class="row result"> <div ng-show="!loader" ng-include src="template"></div> <div class="loader" ng-show="loader"> - <img src="bower_components/squebi/squebi/img/ajax-loader.gif"> + <img src="../../webjars/squebi/0.0.5-SNAPSHOT/squebi/img/ajax-loader.gif"> </div> </div> <!--<div class="footer">
