-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In log details view I added the print log button. By clicking on it n…
…ew window opens and in it there are all log's details including attachments
- Loading branch information
Showing
13 changed files
with
614 additions
and
468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Olog</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" type="text/css" href="static/css/bootstrap.css"> | ||
<link rel="stylesheet" type="text/css" href="static/css/bootstrap-responsive.css"> | ||
<link rel="stylesheet" type="text/css" href="static/css/print_style.css"> | ||
<link rel="stylesheet" type="text/css" href="static/css/bootstrap-tagmanager.css"> | ||
<link rel="stylesheet" type="text/css" href="static/css/jquery-ui-1.10.3.custom.min.css"> | ||
|
||
<!-- HTML5 shim, for IE6-8 support of HTML5 elements --> | ||
<!--[if lt IE 9]> | ||
<script src="../assets/js/html5shiv.js"></script> | ||
<![endif]--> | ||
|
||
<link rel="shortcut icon" href="static/img/favicon.png"> | ||
</head> | ||
<body> | ||
|
||
<div class="container"> | ||
<div> | ||
<h4>Log id: <span id="log_id"></span>, Log version: <span id="log_version"></span></h4> | ||
</div> | ||
<div> | ||
<p><span class="bold">Owner:</span> <span id="log_owner"></span></p> | ||
</div> | ||
<div> | ||
<p><span class="bold">Log created:</span> <span id="log_date"></span></p> | ||
</div> | ||
<div> | ||
<p><span class="bold">Level:</span> <span id="log_level"></span></p> | ||
</div> | ||
<div> | ||
<p><span class="bold">Logbooks:</span> <span id="load_log_logbooks"></span></p> | ||
</div> | ||
<div> | ||
<p><span class="bold">Tags:</span> <span id="load_log_tags"></span></p> | ||
</div> | ||
<div> | ||
<p> | ||
<span class="bold">Description:</span> | ||
<br/> | ||
<span id="log_description"></span> | ||
</p> | ||
</div> | ||
<div> | ||
<span class="bold">Attachments:</span> | ||
<br/> | ||
<span id="load_log_attachments"></span> | ||
</div> | ||
<div> | ||
<br/> | ||
<p><span class="bold">Date printed:</span> <span id="date_printed"></span></p> | ||
</div> | ||
</div> | ||
|
||
<!-- Templates | ||
==================================================== --> | ||
<div id="template_container"></div> | ||
|
||
<!-- Import javascript files | ||
================================================== --> | ||
<!-- Placed at the end of the document so the pages load faster --> | ||
<script src="static/js/jquery-2.0.2.js"></script> | ||
<script src="static/js/jquery-ui-1.10.3.custom.min.js"></script> | ||
<script src="static/js/jquery-ui-timepicker-addon.js"></script> | ||
<script src="static/js/jquery.cookie.js"></script> | ||
<script src="static/js/purl.js"></script> | ||
<script src="static/js/bootstrap.js"></script> | ||
<script src="static/js/moment.min.js"></script> | ||
<script src="static/js/mustache.js"></script> | ||
<script src="static/js/configuration.js"></script> | ||
<script src="static/js/helper.js"></script> | ||
<script src="static/js/multilist.js"></script> | ||
<script src="static/js/rest.js"></script> | ||
<script src="static/js/print_log.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Common styles used in all files | ||
* | ||
* @author: Dejan Dežman <[email protected]> | ||
* @created: 2014-11-21 | ||
*/ | ||
|
||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
.container { | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.bold { | ||
font-weight: bold; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/* | ||
* Common styles used in all files | ||
* | ||
* @author: Dejan Dežman <[email protected]> | ||
* @author: Dejan Dežman <[email protected]> | ||
*/ | ||
|
||
html, body { | ||
|
Oops, something went wrong.