This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaudito-ataskaitos.htm
executable file
·75 lines (63 loc) · 2.83 KB
/
audito-ataskaitos.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
title = "Audito ataskaitos"
url = "/audito-ataskaitos"
layout = "default"
is_hidden = 0
==
<?php
function onStart()
{
$this->addJs('//cdnjs.cloudflare.com/ajax/libs/knockout/3.4.0/knockout-min.js');
$this->addJs('assets/javascript/knockout.simpleGrid.3.0.js');
$this->addJs('assets/javascript/protokolai.js');
$this->page['q']= $_GET['q'];
$this->page['qt']= $_GET['qt'];
}
?>
==
<div class="container">
<div class="row">
<div class="col-md-12">
<p>.</p>
<form method="get" class="" data-bind="submit: search">
<div class="form-group col-md-3">
<input id="searchTitle" class="form-control col-md-3" placeholder="paieška pavadinime" name="q" data-bind="value: queryTitle" value="{{ this.page.qt }}" />
</div>
<div class="form-group col-md-3">
<input id="search" class="form-control col-md-4" placeholder="paieška tekste (gali būti netiksli)" name="q" data-bind="value: query" value="{{ this.page.q }}" />
</div>
<div class="form-group col-md-3">
<input id="register" name="register" class="form-control" value="7" type="hidden">
<button class="btn btn-default" data-bind="click: search">Ieškoti</button>
</div>
</form>
<div class="progress hide">
<div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
<span class="sr-only">Kraunama</span>
</div>
</div>
<table class="table table-condensed">
<thead>
<tr>
<th>Pavadinimas</th>
<th style="width: 200px;">Sukūrimo data</th>
<td></td>
</tr>
</tbody>
<tbody data-bind="foreach: items">
<tr>
<td data-bind="text: title"></td>
<td data-bind="text: date"></td>
<td>
<a href="" data-bind="attr: { href: htmlLink }">Peržiūrėti</a>
</td>
</tr>
</tbody>
</table>
<nav>
<ul class="pagination" data-bind="foreach: pages">
<li data-bind="css: { active: $parent.currentPage() == page }"><a href="#" data-bind="text: page, click: $parent.changePage"></a></li>
</ul>
</nav>
</div>
</div>
</div>