Author: szabyg
Date: Fri Oct 7 09:36:54 2011
New Revision: 1179980
URL: http://svn.apache.org/viewvc?rev=1179980&view=rev
Log:
Webvie template with better usability.
Modified:
incubator/stanbol/trunk/commons/web/webvie/src/main/resources/org/apache/stanbol/enhancer/webvie/templates/org/apache/stanbol/enhancer/webvie/resource/EnhancerVieRootResource/index.ftl
Modified:
incubator/stanbol/trunk/commons/web/webvie/src/main/resources/org/apache/stanbol/enhancer/webvie/templates/org/apache/stanbol/enhancer/webvie/resource/EnhancerVieRootResource/index.ftl
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/web/webvie/src/main/resources/org/apache/stanbol/enhancer/webvie/templates/org/apache/stanbol/enhancer/webvie/resource/EnhancerVieRootResource/index.ftl?rev=1179980&r1=1179979&r2=1179980&view=diff
==============================================================================
---
incubator/stanbol/trunk/commons/web/webvie/src/main/resources/org/apache/stanbol/enhancer/webvie/templates/org/apache/stanbol/enhancer/webvie/resource/EnhancerVieRootResource/index.ftl
(original)
+++
incubator/stanbol/trunk/commons/web/webvie/src/main/resources/org/apache/stanbol/enhancer/webvie/templates/org/apache/stanbol/enhancer/webvie/resource/EnhancerVieRootResource/index.ftl
Fri Oct 7 09:36:54 2011
@@ -92,9 +92,12 @@ a[typeof][about].concept {background-col
.button()
.hide()
.click(function(){
- $('#content').annotate('acceptAll', function(report){
+ $('#content')
+ .annotate('acceptAll', function(report){
console.log('AcceptAll finished with the report:', report);
});
+ $('.acceptAllButton')
+ .button('disable');
});
$('.enhanceButton')
@@ -115,6 +118,7 @@ a[typeof][about].concept {background-col
$('.acceptAllButton')
.show()
+ .button('enable')
} else {
$('.enhanceButton')
.button('enable')