filter
This commit is contained in:
parent
eaf03daba3
commit
02f762b4f1
@ -62,6 +62,16 @@ function addPaper(title, status, comment, locked) {
|
||||
});
|
||||
}
|
||||
|
||||
function filterPaper(authorId, year) {
|
||||
var paperData = JSON.stringify({
|
||||
"authors": title,
|
||||
"": status
|
||||
});
|
||||
postToRest(urlPapers, paperData, function (data) {
|
||||
alert(data);
|
||||
});
|
||||
}
|
||||
|
||||
function getPaperStatusClass(status) {
|
||||
switch (status) {
|
||||
case 'DRAFT':
|
||||
|
@ -22,8 +22,26 @@
|
||||
<a href="./paper" class="btn btn-light toolbar-button"><i class="fa fa-plus-circle" aria-hidden="true"></i>
|
||||
Добавить статью</a>
|
||||
</div>
|
||||
<div class = "filter">
|
||||
<h4>Фильтровать по:</h4>
|
||||
<select id = "author">
|
||||
<option>Алёна</option>
|
||||
<option>Маша</option>
|
||||
<option>Петя</option>
|
||||
</select>
|
||||
<select id = "index score">
|
||||
<option>РИНЦ</option>
|
||||
<option>Scopus</option>
|
||||
<option>Web of science</option>
|
||||
</select>
|
||||
<select id = "year">
|
||||
<option>2018</option>
|
||||
<option>2017</option>
|
||||
<option>2016</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>1
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user