This commit is contained in:
Michele Artini 2022-12-14 10:13:47 +01:00
parent 7907b61167
commit 6f578df920
5 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,8 @@
<b>Parameters: </b><a href="javascript:void(0)" data-toggle="modal" data-target="#showParametersModal" ng-click="loadContextParameters()">[show]</a>
</p>
<p>
<a class="btn btn-sm btn-primary" href="./resources?type=context">Return to contexts list</a>
<a class="btn btn-sm btn-info" href="./resources?type=context">Return to contexts list</a>
<a class="btn btn-sm btn-success" th:href="'/api/contexts/' + ${ctxId}" target="_blank">Download</a>
</p>
<ul>

View File

@ -31,7 +31,7 @@
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="javascript:void(0)" data-toggle="dropdown">Datasources</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="./searchDsApi">Overview</a>
<a class="dropdown-item" href="./searchDsApi">Search APIs</a>
</div>
</li>
<li class="nav-item dropdown">

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head th:replace="fragments/mainParts.html :: htmlHeader('Datasources')"></head>
<head th:replace="fragments/mainParts.html :: htmlHeader('Datasource APIs')"></head>
<script th:inline="javascript">
/*<![CDATA[*/
@ -12,7 +12,7 @@
<body ng-app="dsmResultsApp" ng-controller="dsmResultsController">
<nav th:replace="fragments/mainParts.html :: mainMenu('Datasources')"></nav>
<nav th:replace="fragments/mainParts.html :: mainMenu('Datasource APIs')"></nav>
<div class="container-fluid">
<div class="row mt-5">

View File

@ -1,11 +1,11 @@
<!DOCTYPE html>
<html>
<head th:replace="fragments/mainParts.html :: htmlHeader('Datasources')"></head>
<head th:replace="fragments/mainParts.html :: htmlHeader('Search APIs')"></head>
<body ng-app="dsmSearchApp" ng-controller="dsmSearchController">
<nav th:replace="fragments/mainParts.html :: mainMenu('Datasources')"></nav>
<nav th:replace="fragments/mainParts.html :: mainMenu('Search APIs')"></nav>
<div class="container-fluid">
<div class="row mt-5">

View File

@ -23,10 +23,9 @@
<b>Description: </b><span th:text="${vocDesc}"></span>
</p>
<p>
<a class="btn btn-sm btn-primary" href="./resources?type=vocabulary">Return to vocabulary list</a>
</p>
<p>
<a class="btn btn-sm btn-info" href="./resources?type=vocabulary">Return to vocabulary list</a>
<button class="btn btn-sm btn-primary" data-toggle="modal" data-target="#editVocabularyTermModal" ng-click="prepareNewTerm()">create a new term</button>
<a class="btn btn-sm btn-success" th:href="'/api/vocs/' + ${vocId} + '/terms'" target="_blank">Download</a>
</p>
<p ng-show="terms.length > 0">