Skip to content

Commit f55bb4c

Browse files
authored
Merge pull request #34 from iFargle/css-fixes
Css fixes
2 parents 72e94ca + 23b1b19 commit f55bb4c

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pipeline {
55
label 'linux-x64'
66
}
77
environment {
8-
APP_VERSION = 'v0.5.1'
8+
APP_VERSION = 'v0.5.2'
99
HS_VERSION = "v0.20.0" // Version of Headscale this is compatible with
1010
BUILD_DATE = ''
1111
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "headscale-webui"
3-
version = "v0.5.1"
3+
version = "v0.5.2"
44
description = "A simple web UI for small-scale Headscale deployments."
55
authors = ["Albert Copeland <albert@sysctl.io>"]
66
license = "AGPL"

static/css/overrides.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
.dropdown-oidc {
1010
top: 64px !important;
11-
width: 200px !important;
11+
width: max-content !important;
1212
left: unset !important;
1313
right: 10px !important;
1414
cursor: unset !important;
@@ -34,4 +34,8 @@ li.dropdown-oidc-collection{
3434

3535
.overview-page {
3636
color: unset !important;
37+
}
38+
39+
.datepicker-modal {
40+
width: max-content !important;
3741
}

static/js/custom.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,13 @@ function get_color(id) {
4141
return colors[index]
4242
}
4343

44-
function get_base_path() {
45-
46-
}
47-
4844
// Generic modal used for alerts / problems
4945
function load_modal_generic(type, title, message) {
5046
console.log("Loading the generic modal")
5147
element = document.getElementById('generic_modal')
5248
content_element = document.getElementById('generic_modal_content')
5349
title_element = document.getElementById('generic_modal_title')
5450

55-
5651
content_element.innerHTML = loading()
5752
title_element.innerHTML = "Loading..."
5853
html = ""
@@ -311,7 +306,6 @@ function load_modal_add_preauth_key(user_name) {
311306
<span>Ephemeral</span>
312307
</label>
313308
</p>
314-
315309
`
316310

317311
modal_body.innerHTML = body_html
@@ -617,7 +611,7 @@ function add_chip(machine_id, chipsData) {
617611
}
618612

619613
function add_machine() {
620-
var key = document.getElementById('add_machine_key_field').value
614+
var key = document.getElementById('add_machine_key_field').value
621615
var user = document.getElementById('add_machine_user_select').value
622616
var data = {"key": key, "user": user}
623617

0 commit comments

Comments
 (0)