Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78256198
bibworkflow_hp_approval_widget.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
Mon, Aug 19, 11:00
Size
2 KB
Mime Type
text/html
Expires
Wed, Aug 21, 11:00 (2 d)
Engine
blob
Format
Raw Data
Handle
20016504
Attached To
R3600 invenio-infoscience
bibworkflow_hp_approval_widget.html
View Options
{% extends "bibworkflow_hp_layout.html" %}
{%- js 'js/bibworkflow_widgets/approval_widget.js' -%}
{% block body2 %}
<h1>
Approval Widget
</h1>
<link
href=
"../../js/google-code-prettify/src/prettify.css"
type=
"text/css"
rel=
"stylesheet"
/>
<script
src=
"https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?lang=css&skin=desert"
></script>
<div
class=
"container-fluid"
>
<div
class=
"row-fluid"
>
<div
class=
"span9"
>
<div
class=
"btn-group"
name=
"object_preview_btn"
data-toggle=
"buttons-radio"
>
<button
class=
"btn btn-mini btn-primary active"
name=
"hd"
onclick=
"setDataPreview('hd')"
>
HTML
</button>
<button
class=
"btn btn-mini btn-primary"
name=
"marcxml"
onclick=
"setDataPreview('marcxml')"
>
MARCXML
</button>
<button
class=
"btn btn-mini btn-primary"
name=
"xm"
onclick=
"setDataPreview('xm')"
>
MARC
</button>
</div>
<div
class=
"btn-group pull"
name=
"data_version"
data-toggle=
"buttons-radio"
>
<button
class=
"btn btn-mini active"
name=
"initial"
onclick=
"setbwoid({{bwparent.id}})"
>
Initial
</button>
{% if bwobject.version == 1 %}
<button
class=
"btn btn-mini"
name=
"error"
onclick=
"setbwoid({{bwobject.id}})"
>
Error
</button>
{% else %}
<button
class=
"btn btn-mini disabled"
name=
"error"
>
Error
</button>
{% endif %}
{% if bwobject.version == 2 %}
<button
class=
"btn btn-mini"
name=
"final"
onclick=
"setbwoid({{bwobject.id}})"
>
Final
</button>
{% else %}
<button
class=
"btn btn-mini disabled"
name=
"final"
>
Final
</button>
{% endif %}
</div>
<div
id=
"object_preview_container"
>
<pre
name=
"object_preview"
class=
"prettyprint"
>
{{ data_preview }}
</pre>
</div>
</div>
</div>
<div
id=
"decision-btns"
class=
"row-fluid"
>
<form
method=
"POST"
action=
"{{ url_for('holdingpen.resolve_approval', bwobject_id=bwobject.id) }}"
method=
"get"
>
{% set widget = widget() %}
{% for field in widget %}
{{ field }}
{% endfor %}
</form>
</div>
</div>
{% endblock %}
Event Timeline
Log In to Comment