Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98722766
bibholdingpen_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
Wed, Jan 15, 22:55
Size
2 KB
Mime Type
text/html
Expires
Fri, Jan 17, 22:55 (2 d)
Engine
blob
Format
Raw Data
Handle
23633968
Attached To
R3600 invenio-infoscience
bibholdingpen_approval_widget.html
View Options
{% extends "bibholdingpen_layout.html" %}
{%- js 'js/bibholdingpen_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="setHpid({{hpcontainer.id}})">Initial</button>
{% if hpcontainer.error%}
<button class="btn btn-mini" name="error" onclick="setHpid({{hpcontainer.error.id}})">Error</button>
{% else %}
<button class="btn btn-mini disabled" name="error">Error</button>
{% endif %}
{% if hpcontainer.final%}
<button class="btn btn-mini" name="final" onclick="setHpid({{hpcontainer.final.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('bibholdingpen.resolve_approval', hpcontainerid=hpcontainer.id) }}" method="get">
{% set widget = widget() %}
{% for field in widget %}
{{ field }}
{% endfor %}
</form>
</div>
</div>
{% endblock %}
Event Timeline
Log In to Comment