Revision: 7548
http://languagetool.svn.sourceforge.net/languagetool/?rev=7548&view=rev
Author: dnaber
Date: 2012-06-28 21:38:00 +0000 (Thu, 28 Jun 2012)
Log Message:
-----------
trying to improve the readability of Wikipedia matches
Modified Paths:
--------------
trunk/ltcommunity/grails-app/views/corpusMatch/list.gsp
trunk/ltcommunity/web-app/css/main.css
Modified: trunk/ltcommunity/grails-app/views/corpusMatch/list.gsp
===================================================================
--- trunk/ltcommunity/grails-app/views/corpusMatch/list.gsp 2012-06-28
20:58:57 UTC (rev 7547)
+++ trunk/ltcommunity/grails-app/views/corpusMatch/list.gsp 2012-06-28
21:38:00 UTC (rev 7548)
@@ -52,12 +52,16 @@
<td>
<g:set var="cleanText"
value="${StringTools.cleanError(match.errorContext)}"/>
-
${StringTools.formatError(match.message.encodeAsHTML())}<br />
-
${StringTools.formatError(match.errorContext.encodeAsHTML())}<br />
- <span class="additional">URI: <g:link
class="additional"
url="${match.sourceURI}">${match.sourceURI.encodeAsHTML()}</g:link></span>
- <span class="additional"> - check date:
${StringTools.formatDate(match.checkDate).encodeAsHTML()}
- - <g:link controller="rule" action="show"
id="${match.ruleID}"
-
params="${[lang: lang, subId: match.ruleSubID, textToCheck: cleanText]}"><span
class="additional"><g:message
code="ltc.check.visit.rule"/></span></g:link></span>
+ <div style="color: #666666; font-weight: bold;
width:60%">
+
${StringTools.formatError(match.message.encodeAsHTML())}
+ <g:link controller="rule" action="show"
id="${match.ruleID}"
+
params="${[lang: lang, subId: match.ruleSubID, textToCheck:
cleanText]}"><g:message code="ltc.check.visit.rule"/></g:link>
+ </div>
+ <div style="margin-bottom: 5px; margin-top:
5px; margin-left: 20px;">
+
${StringTools.formatError(match.errorContext.encodeAsHTML())}<br />
+ </div>
+ <span class="additional">Article: <g:link
class="additional"
url="${match.sourceURI}">${match.sourceURI.replaceFirst("http://..\\.wikipedia\\.org/wiki/",
"").encodeAsHTML()}</g:link></span>
+ <span class="additional">
(${StringTools.formatDate(match.checkDate).encodeAsHTML()})</span>
</td>
</tr>
Modified: trunk/ltcommunity/web-app/css/main.css
===================================================================
--- trunk/ltcommunity/web-app/css/main.css 2012-06-28 20:58:57 UTC (rev
7547)
+++ trunk/ltcommunity/web-app/css/main.css 2012-06-28 21:38:00 UTC (rev
7548)
@@ -212,9 +212,6 @@
.list th, .list td {
border-left: 1px solid #ddd;
}
-.list th:hover, .list tr:hover {
- background: #cfda6f;
-}
/* PAGINATION */
@@ -331,12 +328,12 @@
.error {
font-weight: bold;
- padding-left: 3px;
- padding-right: 3px;
+ padding-left: 2px;
+ padding-right: 2px;
padding-bottom:2px;
background-image:url("../images/squiggle.png");
background-repeat:repeat-x;
- background-position:left bottom;
+ background-position:left bottom;
vertical-align:text-top;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs