Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gem
capsuledb
Commits
446045b0
Commit
446045b0
authored
Feb 28, 2012
by
Bertrand NÉRON
Browse files
the list of systems is not displayed anymore in 3 columns
and a unordered list is used intead of an ordered one
parent
e7aaa427
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/couchapp/secreton/_attachments/style/tooltip.css
View file @
446045b0
...
@@ -13,8 +13,8 @@ div .left{
...
@@ -13,8 +13,8 @@ div .left{
float
:
left
;
float
:
left
;
}
}
#results
o
l
>
li
{
#results
div
>
u
l
>
li
{
padding-top
:
5
px
;
padding-top
:
4
px
;
margin-top
:
5px
;
margin-top
:
5px
;
}
}
...
...
src/couchapp/secreton/lists/index.js
View file @
446045b0
...
@@ -11,9 +11,7 @@ function(head, req) {
...
@@ -11,9 +11,7 @@ function(head, req) {
var
first_docid
,
last_docid
;
var
first_docid
,
last_docid
;
var
row
,
system
;
var
row
,
system
;
send
(
Mustache
.
to_html
(
templates
.
replicon
.
head
,
{}));
send
(
Mustache
.
to_html
(
templates
.
replicon
.
head
,
{}));
var
item_in_col
=
0
;
var
item
=
0
var
item
=
0
var
col_height
=
15
;
var
more_results
=
false
;
var
more_results
=
false
;
var
next_key
=
null
;
var
next_key
=
null
;
var
next_docid
=
null
;
var
next_docid
=
null
;
...
@@ -28,7 +26,6 @@ function(head, req) {
...
@@ -28,7 +26,6 @@ function(head, req) {
next_docid
=
row
.
id
;
next_docid
=
row
.
id
;
break
;
break
;
}
}
item_in_col
++
;
last_key
=
row
.
key
;
last_key
=
row
.
key
;
last_docid
=
row
.
id
;
last_docid
=
row
.
id
;
system
=
row
.
value
;
system
=
row
.
value
;
...
@@ -42,10 +39,6 @@ function(head, req) {
...
@@ -42,10 +39,6 @@ function(head, req) {
"
taxonomy
"
:
system
.
taxonomy
,
"
taxonomy
"
:
system
.
taxonomy
,
"
type
"
:
system
.
type
"
type
"
:
system
.
type
}));
}));
if
(
item_in_col
>=
col_height
){
send
(
'
</ol></div><div class="left"><ol>
'
);
item_in_col
=
0
;
}
}
}
if
(
!
first_key
){
if
(
!
first_key
){
send
(
'
No results found
'
);
send
(
'
No results found
'
);
...
...
src/couchapp/secreton/templates/replicon/body.html
View file @
446045b0
<li
class=
"tooltip"
>
<li
class=
"tooltip"
>
<a
href=
"{{url}}"
>
{{name
}}
</a>
<a
href=
"{{url}}"
>
<span
class=
"replicon_property"
>
Strain
</span>
: {{strain}} ;
<span
class=
"replicon_property"
>
T3SS family
</span>
: {{T3SS_family
}}
</a>
<ul>
<ul>
<li><span
class=
"replicon_property"
>
taxonomy id
</span>
: {{taxid}}
</li>
<li><span
class=
"replicon_property"
>
full taxonomy
</span>
: {{taxonomy}}
</li>
<li><span
class=
"replicon_property"
>
replicon type
</span>
: {{type}}
</li>
<li><span
class=
"replicon_property"
>
code
</span>
: {{code}}
</li>
<li><span
class=
"replicon_property"
>
code
</span>
: {{code}}
</li>
<li><span
class=
"replicon_property"
>
T3SS_family
</span>
: {{T3SS_family}}
</li>
<li><span
class=
"replicon_property"
>
taxid
</span>
: {{taxid}}
</li>
<li><span
class=
"replicon_property"
>
strain
</span>
: {{strain}}
</li>
<li><span
class=
"replicon_property"
>
taxonomy
</span>
: {{taxonomy}}
</li>
<li><span
class=
"replicon_property"
>
type
</span>
: {{type}}
</li>
</ul>
</ul>
</li>
</li>
src/couchapp/secreton/templates/replicon/head.html
View file @
446045b0
<div
class=
"left"
>
<div
class=
"left"
>
<
o
l>
<
u
l>
src/couchapp/secreton/templates/replicon/tail.html
View file @
446045b0
</
o
l>
</
u
l>
</div>
</div>
<div
id=
"paginate"
>
<div
id=
"paginate"
>
{{#prev}}
<span
class=
"nav_page"
data-href=
"{{prev}}"
>
<
previous
</span>
{{/prev}}{{#next}}|
<span
class=
"nav_page"
data-href=
"{{next}}"
>
next
>
</span>
{{/next}}
{{#prev}}
<span
class=
"nav_page"
data-href=
"{{prev}}"
>
<
previous
</span>
{{/prev}}{{#next}}|
<span
class=
"nav_page"
data-href=
"{{next}}"
>
next
>
</span>
{{/next}}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment