3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Cataloging › Editor</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% Asset.css("css/cateditor.css") | $raw %]
7 [% Asset.css("lib/codemirror/codemirror.min.css") | $raw %]
8 [% Asset.css("css/humanmsg.css") | $raw %]
9 [% Asset.js("js/cataloging.js") | $raw %]
10 [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
12 <body id="cat_addbiblio" class="cat">
15 <div>Loading, please wait...</div>
18 [% INCLUDE 'header.inc' %]
19 [% PROCESS 'keyboard_shortcuts.inc' %]
21 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> › Editor</div>
23 <div class="main container-fluid">
25 <div class="col-sm-10 col-sm-push-2">
28 <h1 id="title">Cataloging editor</h1>
31 <input id="import-records-input" type="file" style="display: none">
32 <div id="toolbar" class="btn-toolbar">
33 <button class="btn btn-default" id="new-record" title="Open fresh record"><i class="fa fa-plus"></i> <span>New record</span></button>
34 <div class="btn-group">
35 <button class="btn btn-default" id="save-record" title="Save current record (Ctrl-S)"><i class="fa fa-hdd-o"></i> <span>Save</span></button>
36 <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
37 <span class="caret"></span>
39 <ul class="dropdown-menu" id="save-dropdown">
42 <button class="btn btn-default" id="import-records" title="Import an MARC (ISO 2709) or MARCXML record"><i class="fa fa-download"></i> <span>Import record...</span></button>
43 <button class="btn btn-default" id="open-macros" title="Run and edit macros"><i class="fa fa-play"></i> <span>Macros...</span></button>
44 <div class="btn-group">
45 <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
46 <ul id="prefs-menu" class="dropdown-menu">
47 <li><a id="switch-editor" href="#">Switch to basic editor</a></li>
48 <li><a id="set-field-widgets" href="#"></a></li>
49 <li class="dropdown-header">Change framework</li>
51 <a class="change-framework" data-frameworkcode="">
52 <i class="fa fa-fw unselected"> </i>
53 <i class="fa fa-fw fa-check selected"> </i>
57 [% FOREACH framework IN frameworks %]
59 <a class="change-framework" data-frameworkcode="[% framework.frameworkcode | html %]">
60 <i class="fa fa-fw fa-check selected"></i>
61 <i class="fa fa-fw unselected"> </i>
62 [% framework.frameworktext | html %]
66 <li class="divider"></li>
67 <li><a class="set-fontSize" style="font-size: .92em" href="#">Small text</a></li>
68 <li><a class="set-fontSize" style="font-size: 1em" href="#">Normal text</a></li>
69 <li><a class="set-fontSize" style="font-size: 1.08em" href="#">Large text</a></li>
70 <li><a class="set-fontSize" style="font-size: 1.18em" href="#">Huge text</a></li>
71 <li class="divider"></li>
72 <li><a class="set-font" style="font-family: monospace" href="#">Default font</a></li>
73 <li><a class="set-font" style="font-family: Consolas" href="#">Consolas</a></li>
74 <li><a class="set-font" style="font-family: 'Courier New'" href="#">Courier New</a></li>
75 <li><a class="set-font" style="font-family: 'DejaVu Sans Mono'" href="#">DejaVu Sans Mono</a></li>
76 <li><a class="set-font" style="font-family: 'Lucida Console'" href="#">Lucida Console</a></li>
77 <li><a class="set-font" style="font-family: Monaco" href="#">Monaco</a></li>
80 <button class="btn btn-default" id="show-alerts" title="Previous alerts"><i class="fa fa-bell"></i> Alerts <span class="caret"></span></button>
81 <button class="btn btn-default" id="show-shortcuts" title="Supported keyboard shortcuts"><i class="fa fa-keyboard-o"></i> Keyboard shortcuts <span class="caret"></span></button>
82 <button class="btn btn-default hide" id="set-keyboard-layout" data-target="#keyboard-layout" data-toggle="modal" title="Set virtual keyboard layout"><i class="fa fa-keyboard-o"></i> Keyboard layout </button>
84 [%# CodeMirror instance will be inserted here %]
86 <div id="status-tag-info">
88 <div id="status-subfield-info">
93 </div> <!-- /.col-sm-10.col-sm-push-2 -->
95 <div class="col-sm-2 col-sm-pull-10">
98 <form id="quicksearch">
99 <fieldset class="brief">
101 <li><label for="search-by-keywords">Keywords:</label></li>
102 <li><input class="search-box" data-qualifier="term" id="search-by-keywords" placeholder="(Ctrl-Alt-K)" /></li>
103 <li><label for="search-by-author">Author:</label></li>
104 <li><input class="search-box" data-qualifier="author" id="search-by-author" placeholder="(Ctrl-Alt-A)" /></li>
105 <li><label for="search-by-isbn">ISBN:</label></li>
106 <li><input class="search-box" data-qualifier="isbn" id="search-by-isbn" placeholder="(Ctrl-Alt-I)" /></li>
107 <li><label for="search-by-title">Title:</label></li>
108 <li><input class="search-box" data-qualifier="title" id="search-by-title" placeholder="(Ctrl-Alt-T)" /></li>
109 <li><a href="#" id="show-advanced-search" title="Show advanced search (Ctrl-Alt-S)">Advanced »</a></li>
113 <fieldset class="brief">
114 <select id="clipboard" name="clipboard" size=10>
118 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
119 </div> <!-- /.row -->
123 <div id="advanced-search-ui" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="advanced-search-title" aria-hidden="true">
124 <div class="modal-dialog modal-lg">
125 <div class="modal-content">
127 <div class="modal-header">
128 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
129 <h3 id="advanced-search-title">Advanced search</h3>
131 <div class="modal-body">
132 <form id="advanced-search">
134 <div class="col-md-3">
135 <div id="search-facets">
137 <li>Servers:<ul id="advanced-search-servers"></ul></li>
141 <div class="col-md-9">
142 <div id="toolbar" class="btn-toolbar">
143 <button class="btn btn-default" type="submit"><i class="fa fa-search"></i> <span>Search</span></button>
144 <button class="btn btn-default" type="reset"><i class="fa fa-trash"></i> <span>Clear</span></button>
146 <ul id="advanced-search-fields">
148 <label for="advanced-search-by-isbn">ISBN:</label>
149 <input class="search-box" data-qualifier="isbn" id="advanced-search-by-isbn" />
152 <label for="advanced-search-by-issn">ISSN:</label>
153 <input class="search-box" data-qualifier="issn" id="advanced-search-by-issn" />
156 <label for="advanced-search-by-title">Title:</label>
157 <input class="search-box" data-qualifier="title" id="advanced-search-by-title" />
160 <label for="advanced-search-by-author">Author:</label>
161 <input class="search-box" data-qualifier="author" id="advanced-search-by-author" />
164 <label for="advanced-search-by-subject">Subject:</label>
165 <input class="search-box" data-qualifier="subject" id="advanced-search-by-subject" />
168 <label for="advanced-search-by-lc-number">LC call number:</label>
169 <input class="search-box" data-qualifier="cn_lc" id="advanced-search-by-lc-number" />
172 <label for="advanced-search-by-lccn">LCCN:</label>
173 <input class="search-box" data-qualifier="lccn" id="advanced-search-by-lccn" />
176 <label for="advanced-search-by-control-number">Control number:</label>
177 <input class="search-box" data-qualifier="local_number" id="advanced-search-by-control-number" />
180 <label for="advanced-search-by-dewey">Dewey number:</label>
181 <input class="search-box" data-qualifier="cn_dewey" id="advanced-search-by-dewey" />
184 <label for="advanced-search-by-standard-number">Standard number:</label>
185 <input class="search-box" data-qualifier="standard_identifier" id="advanced-search-by-standard-number" />
188 <label for="advanced-search-by-publisher-number">Publisher number:</label>
189 <input class="search-box" data-qualifier="music_identifier" id="advanced-search-by-publisher-number" />
192 <label for="advanced-search-by-publication-date">Publication date:</label>
193 <input class="search-box" data-qualifier="date" id="advanced-search-by-publication-date" />
204 <div id="search-results-ui" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="search-results-title" aria-hidden="true">
205 <div class="modal-dialog modal-lg">
206 <div class="modal-content">
208 <div class="modal-header">
209 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
210 <h3 id="search-results-title">Results</h3>
213 <div class="modal-body">
215 <div class="col-md-3">
216 <div id="search-facets">
218 <li>Servers:<ul id="search-serversinfo"></ul></li>
222 <div class="col-md-9">
223 <!-- tabindex attribute allows JS-controlled focus -->
224 <div id="searchresults" tabindex="-1">
225 <div id="search-top-pages">
226 <nav aria-label="Search results navigation">
230 <table class="dataTable"> <!-- This is not a real dataTable but we want to inherit the CSS rules -->
237 <div id="search-bottom-pages">
238 <nav aria-label="Search results navigation">
244 <div id="search-overlay"><span>Loading...</span><div class="progress"><div class="progress-bar progress-bar-striped active" style="width: 100%"></div></div></div>
251 <div id="macro-ui" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="macro-title" aria-hidden="true">
252 <div class="modal-dialog modal-lg">
253 <div class="modal-content">
255 <div class="modal-header">
256 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
257 <h3 id="macro-title">Macros</h3>
260 <div class="modal-body">
262 <div class="col-md-3"><ul id="macro-list"></ul></div>
263 <div class="col-md-9" id="macro-editor">
264 <div id="macro-toolbar" class="btn-toolbar">
265 <button class="btn btn-default" id="run-macro" title="Run and edit macros"><i class="fa fa-play"></i> Run macro</button>
266 <button class="btn btn-default" id="delete-macro" title="Delete macro"><i class="fa fa-trash"></i> Delete macro</button>
267 <label class="macro_shared" for="public" style="display:none;">Public macro:</label>
268 [% IF CAN_user_editcatalogue_create_shared_macros %]
269 <input class="macro_shared" type="checkbox" name="public" style="display:none;"/>
271 <input class="macro_shared" type="checkbox" name="public" style="display:none;" disabled/>
273 <div id="macro-save-message"></div>
282 <div id="keyboard-layout" class="modal fade" role="dialog">
283 <div class="modal-dialog">
284 <div class="modal-content">
285 <div class="modal-header">
286 <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
287 <h4 class="modal-title">Set virtual keyboard layout</h4>
289 <div class="modal-body">
290 <div class="form-group">
291 <label for="exampleInputEmail1">Filter layouts</label>
292 <input type="search" class="form-control filter"/>
295 <div class="layouts"></div>
301 <div id="shortcuts-contents" style="display: none">
302 [% IF ( CAN_user_parameters_manage_keyboard_shortcuts ) %]
303 <a id="redefine_shortcuts" href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Redefine shortcuts</a>
305 <table class="table table-condensed">
313 [% FOREACH shortcut IN shortcuts %]
315 <td>[% shortcut.shortcut_keys | html %]</td>
316 <td>[% PROCESS keyboard_shortcut_descriptions shortcut_name=shortcut.shortcut_name %]</td>
321 <td>Save record (cannot be remapped)</td>
327 [% PROCESS 'cateditor-ui.inc' %]
329 [% INCLUDE 'intranet-bottom.inc' %]