Changeset 632:4a75a760def2 in documentViewer
- Timestamp:
- Jul 2, 2015, 8:29:50 AM (10 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
MpiwgXmlTextServer.py
r613 r632 304 304 textParams['outputFormat'] = 'html' 305 305 306 307 306 308 try: 307 309 # fetch the page 310 311 312 313 308 314 pagexml = self.getServerData("query/GetPage",urllib.urlencode(textParams)) 309 315 dom = ET.fromstring(pagexml) … … 372 378 # delete non-matching children of a-tag and suppress remaining tag name 373 379 atag = wtag.find("*[@class='dictionary']") 380 381 if atag is None: #nicht gefunden weil noch andere Eintraege im class tag 382 for w in wtag.findall("a"): 383 val = w.attrib.get("class","") 384 if val.startswith("dictionary"): 385 atag=w 386 break 387 388 389 390 391 374 392 if normMode == 'orig': 375 393 atag.remove(atag.find("span[@class='reg']")) … … 387 405 else: 388 406 # delete a-tag 389 wtag.remove(wtag.find("*[@class='dictionary']")) 407 408 409 wt = wtag.find("*[@class='dictionary']") 410 411 if wt is None: #nicht gefunden weil noch andere Eintraege im class tag vorhanden sind 412 for w in wtag.findall("a"): 413 val = w.attrib.get("class","") 414 if val.startswith("dictionary"): 415 wt=w 416 break 417 418 419 420 421 wtag.remove(wt) 390 422 # delete non-matching children and suppress remaining tag name 391 423 if normMode == 'orig': -
css/docuviewer.css
r629 r632 4 4 * Robert Casties 2012. 5 5 */ 6 7 8 .iliese { 9 background-color: lime; 10 } 11 12 13 6 14 body { 7 15 background-color: #ebebeb;
Note: See TracChangeset
for help on using the changeset viewer.