cubicweb/misc/cwdesklets/rql_query.display
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 15 Mar 2019 12:12:23 +0100
changeset 12523 4d68d20427de
parent 11057 0b59724cb3f2
permissions -rw-r--r--
Skip tests for ldapsource with python >= 3.7 Until someone works on fixing these, this should make our CI green again. I tried to use setupModule() to check for python version, but pre_setup_database() is apparently called even when a SkipTest exception is raised there. So handle this in that method.

<?xml version="1.0" encoding="UTF-8"?>

<display window-flags="sticky, below" width="185" height="200">

	<sensor id="r" module="rqlsensor"/>
        <sensor id="FS" module="FontSelector,1,Sans 10  black"/>
	
	<!-- left border -->
	<group x="0" width="5" height="200" bg-uri="gfx/border-left.png"/>
	
	<image x="10" y="0" uri="gfx/logo_erudi.png"/>

        <array id="results" x="10" y="30"
               watch="layout=r:layout, length=r:length">
	  <label id="lbls1" color="black"
		 on-enter="r:enter-line"
		 on-leave="r:leave-line"  
		 on-click="r:click-line"
  		 watch="value=r:result, font=FS:font0, color=r:resultbg"/>
        </array>

</display>