refs #2938. Added ogAgent download link
testing/ogGui-multibranch/pipeline/head There was a failure building this commit Details

pull/67/head
Manuel Aranda Rosales 2026-04-07 17:55:15 +02:00
parent aa477a1aca
commit af8f793dec
5 changed files with 33 additions and 1 deletions

View File

@ -77,6 +77,26 @@ mat-toolbar button[mat-icon-button]:hover {
cursor: pointer;
}
.download-agent-button {
display: inline-flex;
align-items: center;
gap: 4px;
text-decoration: none;
color: inherit;
padding: 4px 10px !important;
font-size: 13px !important;
line-height: 1;
font-family: Roboto, "Helvetica Neue", sans-serif;
font-weight: 400;
}
.download-icon {
font-size: 14px !important;
width: 14px !important;
height: 14px !important;
line-height: 14px !important;
}
.logout-button {
background-color: #f00e0e;
color: white;

View File

@ -14,6 +14,12 @@
</button>
<div class="navbar-buttons-row">
<a class="ordinary-button download-agent-button" href="https://ognproject.evlt.uma.es/ogagent/" target="_blank" rel="noopener noreferrer"
matTooltip="Descargar el agente OGAgent" matTooltipShowDelay="1000">
<mat-icon class="download-icon">download</mat-icon>
{{ 'downloadAgent' | translate }}
</a>
<button class="ordinary-button" (click)="showGlobalStatus()">
{{ 'GlobalStatus' | translate }}
</button>
@ -44,6 +50,10 @@
<mat-icon>menu</mat-icon>
</button>
<mat-menu #smallScreenMenu="matMenu">
<a mat-menu-item href="https://ognproject.evlt.uma.es/ogagent/" target="_blank" rel="noopener noreferrer">
<mat-icon>download</mat-icon>
{{ 'downloadAgent' | translate }}
</a>
<button mat-menu-item (click)="showGlobalStatus()">
{{ 'GlobalStatus' | translate }}
</button>

View File

@ -1,5 +1,5 @@
{
"apiUrl": "https://192.168.68.62:8443",
"apiUrl": "https://127.0.0.1:8443",
"mercureUrl": "http://localhost:3000/.well-known/mercure",
"logUrl": "https://localhost:3030"
}

View File

@ -1,4 +1,5 @@
{
"downloadAgent": "Download agent",
"Administration": "Administration",
"changePassword": "Change password",
"logout": "Logout",

View File

@ -1,4 +1,5 @@
{
"downloadAgent": "Descargar OgAgent",
"Administration": "Administración",
"changePassword": "Cambiar contraseña",
"logout": "Cerrar sesión",