Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77581397
websearch_admin_index.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 15, 07:33
Size
3 KB
Mime Type
text/html
Expires
Sat, Aug 17, 07:33 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
19888604
Attached To
R3600 invenio-infoscience
websearch_admin_index.html
View Options
{#
## This file is part of Invenio.
## Copyright (C) 2012 CERN.
##
## Invenio is free software; you can redistribute it and/or
## modify it under the terms of the GNU General Public License as
## published by the Free Software Foundation; either version 2 of the
## License, or (at your option) any later version.
##
## Invenio is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with Invenio; if not, write to the Free Software Foundation, Inc.,
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#}
{% from "_formhelpers.html" import th with context %}
{% from "_formhelpers.html" import render_filter_form with context %}
{% from "websearch_admin_helpers.html" import collection_tree with context %}
{% extends "page.html" %}
{% set title = _("WebSearch Admin") %}
{% set personalize_selected = True %}
{% block header %}
{{ super() }}
{% js "js/jquery/jquery-1.7.2.min.js" %}
{% js "js/jquery/jquery-ui-1.8.21.custom.min.js" %}
{% endblock header %}
{% block body %}
{% if collection.collection_children_r %}
<style>
.subnav
{
width
:
100
%
;
height
:
36px
;
background-color
:
rgb
(
238
,
238
,
238
);
background-repeat
:
repeat-x
;
background-image
:
-
moz
-
linear
-
gradient
(
center
top
,
rgb
(
245
,
245
,
245
)
0
%,
rgb
(
238
,
238
,
238
)
100
%
);
border
:
1px
solid
rgb
(
229
,
229
,
229
);
border
-
radius
:
4px
4px
4px
4px
;
margin-bottom
:
1em
;
}
</style>
<div
class=
"subnav"
>
<ul
class=
"nav nav-pills"
>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
href=
"#"
>
Collections
<b
class=
"caret"
></b>
</a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Create New
</a></li>
<li><a
href=
"#"
>
Add to Tree
</a></li>
</ul>
</li>
<li>
<a
href=
"#"
>
Manage Collection Tree
</a></li>
</ul>
</div>
<div
class=
"span4 collection"
>
<h4>
{{ _("Narrow by collections") }}
</h4>
{{ collection_tree(collection, 'collection_children_r', class="nav nav-list sortable
connectedSortable" ) }}
</div>
{% else %}
<div
class=
"span{{ '8' if collection.collection_children_v else '10' }}"
>
{% for recid in collection.reclist %}
<div
class=
"row-fluid"
>
<div
class=
"span1"
>
<small
style=
"font-size:70%;"
>
{{ get_creation_date(recid, fmt="%Y-%m-%d
<br
/>
%H:%i")|safe }}
</small>
</div>
<div
class=
"span11"
>
{{ format_record(recid, 'hb', ln=g.ln)|safe }}
<p>
<a
href=
"{{ url_for('.search', recid=recid, ln=g.ln) }}"
>
{{ _("Detailed record") }}
</a>
-
<a
href=
"{{ url_for('.search', p="
recid:
%
d
"
%
recid
,
rm=
'wrd'
,
ln=
ln)
}}"
>
{{ _("Similar records") }}
</a>
</p>
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% if collection.collection_children_v %}
<div
class=
"span6 collection"
>
<h4>
{{ _("Focus on") }}
</h4>
{{ collection_tree(collection, 'collection_children_v', class="nav nav-list sortable
connectedSortable") }}
</div>
{% else %}
<div
class=
"span2"
>
{{ search_also(collection.externalcollections_2) }}
</div>
{% endif %}
<div
style=
"clear:both;"
></div>
{% if orphans %}
<div
data-len=
"{{ orphans.len() }}"
>
{% for orphan in orphans %}
<span>
{{ orphan.name }}
</span>
{% endfor %}
</div>
{% endif %}
{% endblock %}
Event Timeline
Log In to Comment