Commit 5ecd7ccc authored by Øyvind gjesdal's avatar Øyvind gjesdal
Browse files

exclude blackbox-search, to avoid deleting search client CI result on sync

parent 71cc6573
Pipeline #48089 failed with stage
in 6 minutes and 11 seconds
......@@ -14,7 +14,7 @@ admin_test:
- cd static/semantic
- npx gulp build
- cd ../..
- rsync -r -e "ssh -o StrictHostKeyChecking=no" --delete ./ $MARCUS_USER@["$MARCUS_TEST_SERVER"]:/var/www/html/marcus-admin/components
- rsync -r -e "ssh -o StrictHostKeyChecking=no" -exclude=./static/js/blackbox-search --delete ./ $MARCUS_USER@["$MARCUS_TEST_SERVER"]:/var/www/html/marcus-admin/components
tags:
- spes
artifacts:
......
<!DOCTYPE html>
<html>
<head>
<!-- Force latest IE rendering engine or ChromeFrame if installed -->
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->
<meta charset="utf-8">
<title>Billedsamlingen upload</title>
<meta name="description" content="">
<link rel="shortcut icon" type="image/x-icon" href="http://marcus.uib.no/img/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap styles -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- Generic page styles -->
<link rel="stylesheet" href="css/basic.css">
<!-- blueimp Gallery styles -->
<link rel="stylesheet" href="http://blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
<link rel="stylesheet" href="jQuery-File-Upload/css/jquery.fileupload.css">
<link rel="stylesheet" href="jQuery-File-Upload/css/jquery.fileupload-ui.css">
<!-- CSS adjustments for browsers with JavaScript disabled -->
<noscript><link rel="stylesheet" href="jQuery-File-Upload/css/jquery.fileupload-noscript.css"></noscript>
<noscript><link rel="stylesheet" href="jQuery-File-Upload/css/jquery.fileupload-ui-noscript.css"></noscript>
<link href='http://fonts.googleapis.com/css?family=IM+Fell+Great+Primer' rel='stylesheet' type='text/css'>
<!-- Font Awesome -->
<!-- <link rel="stylesheet" href="{{lodspk.home}}static/Font-Awesome/css/font-awesome.min.css"> -->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<!-- Page-Level Plugin CSS - Blank -->
<!-- SB Admin CSS - Include with every page -->
<link href="css/sb-admin.css" rel="stylesheet">
</head>
<body>
<div id="wrap">
<nav class="navbar navbar-default navbar-fixed-top navbar-inverse marcus-header" role="navigation" style="margin-bottom: 0">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="home">Marcus Admin</a>
</div>
<!-- /.navbar-header -->
<ul class="nav navbar-nav navbar-top-links navbar-inverse navbar-right">
<li>
<a href="http://marcus.uib.no">
<i class="fa fa-bullseye fa-fw"></i> Til Marcus
</a>
</li>
</ul>
<!-- /.navbar-top-links -->
<div class="navbar-default navbar-static-side" role="navigation">
<div class="sidebar-collapse">
<!--
<li class="sidebar-search">
<div class="input-group custom-search-form">
<input type="text" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</li>
-->
<ul class="nav" id="side-menu">
<li>
<a href="/home"><i class="fa fa-dashboard fa-fw"></i> Kontrollpanel</a>
</li>
<li>
<a href="upload.html"><i class="fa fa-upload fa-fw"></i> Last opp filer</a>
</li>
<li>
<a href="new-resource"><i class="fa fa-plus fa-fw"></i> Filer klare for registrering</a>
</li>
<li>
<a href="add-metadata"><i class="fa fa-edit fa-fw"></i> Objekt klare for publisering</a>
</li>
<li>
<a href="topicstest"><i class="fa fa-tags fa-fw"></i> Emneregister - oversikt</a>
</li>
<li>
<a href="statistics.html"><i class="fa fa-compass fa-fw"></i> Statistikk</a>
</li>
<li>
<a href="#"><i class="fa fa-book fa-fw"></i> <del>Veiledning/hjelp - kommer</del></a>
</li>
</ul>
<!-- /#side-menu -->
</div>
<!-- /.sidebar-collapse -->
</div>
<!-- /.navbar-static-side -->
</nav>
<div id="page-wrapper">
<div class="row">
<div class="col-lg-12">
<h1>Last opp filer</h1>
<p class="lead">Last opp tiff-filer til serveren. I løpet av natten vil de bli konvertert til jpg-filer i en rekke størrelser og DeepZoom-filer. I morgen er de tilgjengelig her: <a href="new-resource">Filer klare for registrering</a></p>
<br>
<br>
<!-- The file upload form used as target for the file upload widget -->
<form id="fileupload" action="//jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data">
<!-- Redirect browsers with JavaScript disabled to the origin page -->
<noscript><input type="hidden" name="redirect" value="http://blueimp.github.io/jQuery-File-Upload/"></noscript>
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
<div class="row fileupload-buttonbar">
<div class="col-lg-7">
<!-- The fileinput-button span is used to style the file input field as button -->
<span class="btn btn-success fileinput-button">
<i class="fa fa-plus"></i>
<span>Legg til filer...</span>
<input type="file" name="files[]" multiple>
</span>
<button type="submit" class="btn btn-primary start">
<i class="fa fa-upload"></i>
<span>Start opplasting</span>
</button>
<button type="reset" class="btn btn-warning cancel">
<i class="fa fa-ban"></i>
<span>Stop opplasting</span>
</button>
<!-- <button type="button" class="btn btn-danger delete">
<i class="fa fa-trash"></i>
<span>Delete</span>
</button>-->
<input type="checkbox" class="toggle">
<!-- The global file processing state -->
<span class="fileupload-process"></span>
</div>
<!-- The global progress state -->
<div class="col-lg-5 fileupload-progress fade">
<!-- The global progress bar -->
<div class="progress progress-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100">
<div class="progress-bar progress-bar-success" style="width:0%;"></div>
</div>
<!-- The extended global progress state -->
<div class="progress-extended">&nbsp;</div>
</div>
</div>
<!-- The table listing the files available for upload/download -->
<table role="presentation" class="table table-striped"><tbody class="files"></tbody></table>
</form>
<br>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Instruksjoner</h3>
</div>
<div class="panel-body">
<p>Vi har bare implementert opplasting og konvertering av tiff-filer. Dette for å kunne lage gode jpg og deepzoom filer. Tiff-filen blir kovertert til jpg i disse størrelsene.</p>
<ul>
<li><strong>th</strong>: 250 x 250px, beskjært for å lage kvadratiske bilder</li>
<li><strong>sm</strong>: 768px bredde</li>
<li><strong>md</strong>: 1024px bredde</li>
<li><strong>lg</strong>: 2048px bredde</li>
<li><strong>xl</strong>: original størrelse</li>
</ul>
<p>Filene må ha signaturen som navn, f.eks. ubb-kk-1318-001. "/" er ikke lovlig. Hele filnavnet og filendingene kan være med både store og små bokstaver.</p>
</div>
</div>
</div>
<!-- The blueimp Gallery widget -->
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls" data-filter=":even">
<div class="slides"></div>
<h3 class="title"></h3>
<a class="prev"></a>
<a class="next"></a>
<a class="close">×</a>
<a class="play-pause"></a>
<ol class="indicator"></ol>
</div>
<!-- The template to display files available for upload -->
<script id="template-upload" type="text/x-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
<tr class="template-upload fade">
<td>
<span class="preview"></span>
</td>
<td>
<p class="name">{%=file.name%}</p>
<strong class="error text-danger"></strong>
</td>
<td>
<p class="size">Processing...</p>
<div class="progress progress-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><div class="progress-bar progress-bar-success" style="width:0%;"></div></div>
</td>
<td>
{% if (!i && !o.options.autoUpload) { %}
<button class="btn btn-primary start" disabled>
<i class="fa fa-upload"></i>
<span>Start</span>
</button>
{% } %}
{% if (!i) { %}
<button class="btn btn-warning cancel">
<i class="fa fa-ban"></i>
<span>Cancel</span>
</button>
{% } %}
</td>
</tr>
{% } %}
</script>
<!-- The template to display files available for download -->
<script id="template-download" type="text/x-tmpl">
{% for (var i=0, file; file=o.files[i]; i++) { %}
<tr class="template-download fade">
<td>
<span class="preview">
{% if (file.thumbnailUrl) { %}
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" data-gallery><img src="{%=file.thumbnailUrl%}"></a>
{% } %}
</span>
</td>
<td>
<p class="name">
{% if (file.url) { %}
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
{% } else { %}
<span>{%=file.name%}</span>
{% } %}
</p>
{% if (file.error) { %}
<div><span class="label label-danger">Error</span> {%=file.error%}</div>
{% } %}
</td>
<td>
<span class="size">{%=o.formatFileSize(file.size)%}</span>
</td>
<!-- <td>
{% if (file.deleteUrl) { %}
<button class="btn btn-danger delete" data-type="{%=file.deleteType%}" data-url="{%=file.deleteUrl%}"{% if (file.deleteWithCredentials) { %} data-xhr-fields='{"withCredentials":true}'{% } %}>
<i class="fa fa-trash"></i>
<span>Delete</span>
</button>
<input type="checkbox" name="delete" value="1" class="toggle">
{% } else { %}
<button class="btn btn-warning cancel">
<i class="fa fa-ban-circle"></i>
<span>Cancel</span>
</button>
{% } %}
</td>-->
</tr>
{% } %}
</script>
<?php print "hei";
phpinfo(); ?>
</div>
<!-- /.col-lg-12 -->
</div>
<!-- /.row -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<footer class="footer">
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<p><strong><i class="fa fa-life-ring"></i> SuperHot&trade; Support Hotline</strong><br>
Ring 55 58 25 38 for umiddelbar assistanse!<br>
For klager på våre produkt, ring +28 354 323 542 66 23 etter 19.30 Beijing-tid og spør etter "Rikard".
</div>
</div>
</div>
</footer>
<!-- Core Scripts - Include with every page -->
<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<!-- Page-Level Plugin Scripts - Blank -->
<!-- SB Admin Scripts - Include with every page -->
<script src="js/sb-admin.js"></script>
<!-- Upload scripts -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
<script src="jQuery-File-Upload/js/vendor/jquery.ui.widget.js"></script>
<!-- The Templates plugin is included to render the upload/download listings -->
<script src="http://blueimp.github.io/JavaScript-Templates/js/tmpl.min.js"></script>
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
<script src="http://blueimp.github.io/JavaScript-Load-Image/js/load-image.min.js"></script>
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
<script src="http://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<!-- blueimp Gallery script -->
<script src="http://blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="jQuery-File-Upload/js/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="jQuery-File-Upload/js/jquery.fileupload.js"></script>
<!-- The File Upload processing plugin -->
<script src="jQuery-File-Upload/js/jquery.fileupload-process.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="jQuery-File-Upload/js/jquery.fileupload-image.js"></script>
<!-- The File Upload audio preview plugin -->
<script src="jQuery-File-Upload/js/jquery.fileupload-audio.js"></script>
<!-- The File Upload video preview plugin -->
<script src="jQuery-File-Upload/js/jquery.fileupload-video.js"></script>
<!-- The File Upload validation plugin -->
<script src="jQuery-File-Upload/js/jquery.fileupload-validate.js"></script>
<!-- The File Upload user interface plugin -->
<script src="jQuery-File-Upload/js/jquery.fileupload-ui.js"></script>
<!-- The main application script -->
<script src="jQuery-File-Upload/js/main.js"></script>
<!-- The XDomainRequest Transport is included for cross-domain file deletion for IE 8 and IE 9 -->
<!--[if (gte IE 8)&(lt IE 10)]>
<script src="jQuery-File-Upload/js/cors/jquery.xdr-transport.js"></script>
<![endif]-->
<script type="text/javascript">
$('.bs-sidebar').affix({
offset: {
//top: 0,
bottom: function () {
return (this.bottom = $('.footer').outerHeight(false)+55)
}
}
})
</script>
<!-- Page-Level Demo Scripts - Blank - Use for reference -->
<!-- Piwik
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://stats.uib.no/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "23"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
End Piwik Code -->
</body>
</html>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment