Browse Source

checkpoint

webui
Antonio SJ Musumeci 1 week ago
parent
commit
97509f437f
  1. 29
      index.html

29
index.html

@ -190,10 +190,15 @@
background-color: #424242; background-color: #424242;
color: white; color: white;
border: none; border: none;
padding: 5px 8px;
cursor: pointer; cursor: pointer;
margin-right: 3px; margin-right: 3px;
font-size: 12px;
width: 28px;
height: 28px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
font-weight: bold;
} }
.branch-move-btn:hover { .branch-move-btn:hover {
background-color: #616161; background-color: #616161;
@ -463,16 +468,16 @@
minfreespaceInput.className = 'branch-minfreespace'; minfreespaceInput.className = 'branch-minfreespace';
minfreespaceInput.placeholder = 'minfreespace'; minfreespaceInput.placeholder = 'minfreespace';
minfreespaceInput.value = minfreespace; minfreespaceInput.value = minfreespace;
const moveUpBtn = document.createElement('button');
moveUpBtn.className = 'branch-move-btn';
moveUpBtn.textContent = '^';
moveUpBtn.title = 'Move up';
moveUpBtn.onclick = () => moveEntryUp(entry);
const moveDownBtn = document.createElement('button');
moveDownBtn.className = 'branch-move-btn';
moveDownBtn.textContent = 'v';
moveDownBtn.title = 'Move down';
moveDownBtn.onclick = () => moveEntryDown(entry);
const moveUpBtn = document.createElement('button');
moveUpBtn.className = 'branch-move-btn branch-move-up';
moveUpBtn.innerHTML = '▲';
moveUpBtn.title = 'Move up';
moveUpBtn.onclick = () => moveEntryUp(entry);
const moveDownBtn = document.createElement('button');
moveDownBtn.className = 'branch-move-btn branch-move-down';
moveDownBtn.innerHTML = '▼';
moveDownBtn.title = 'Move down';
moveDownBtn.onclick = () => moveEntryDown(entry);
const removeBtn = document.createElement('button'); const removeBtn = document.createElement('button');
removeBtn.className = 'branch-remove'; removeBtn.className = 'branch-remove';
removeBtn.textContent = 'Remove'; removeBtn.textContent = 'Remove';

Loading…
Cancel
Save