1
0
Fork 0
mirror of https://github.com/qurator-spk/neat.git synced 2025-06-11 04:39:54 +02:00

improve html layout; add reasonable default for --image-url option

This commit is contained in:
Kai Labusch 2019-10-31 16:01:05 +01:00
parent b9901436c6
commit 692e990fba
2 changed files with 5 additions and 5 deletions

View file

@ -49,7 +49,7 @@
<div class="col-2">
<div id="file-region"></div>
</div>
<div class="col-8">
<div class="col-9">
<div class="row">
<div class="col text-center">
<h3><a href="https://github.com/cneud/ner.edith" target="_blank">ner.edith</a>: named entity recognition editor in html</h3>
@ -57,7 +57,7 @@
</div>
</div>
</div>
<div class="col-2">
<div class="col-1">
</div>
</div>
<div class="row mt-3">
@ -77,9 +77,9 @@
<div class="row mt-3">
<div class="col-2">
</div>
<div class="col-8 text-center" id="btn-region">
<div class="col-9 text-center" id="btn-region">
</div>
<div class="col-2">
<div class="col-1">
</div>
</div>

View file

@ -103,7 +103,7 @@ def extract_doc_links(tsv_file):
@click.command()
@click.argument('page-xml-file', type=click.Path(exists=True), required=True, nargs=1)
@click.argument('tsv-out-file', type=click.Path(), required=True, nargs=1)
@click.option('--image-url', type=str, default='')
@click.option('--image-url', type=str, default='http://empty')
def page2tsv(page_xml_file, tsv_out_file, image_url):
tree = ET.parse(page_xml_file)