UX changes
This commit is contained in:
parent
02f15ab652
commit
3affb3d4cb
17
css/main.css
17
css/main.css
@ -1296,6 +1296,15 @@ input[type=date]:focus {
|
||||
transition: width 0.3s;
|
||||
}
|
||||
|
||||
#username {
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
#logout {
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 640px) {
|
||||
.hide-on-mobile,
|
||||
.hide-page-on-mobile {
|
||||
@ -1374,7 +1383,7 @@ input[type=date]:focus {
|
||||
}
|
||||
|
||||
#admin_page {
|
||||
padding: 1rem 0 1rem 1rem;
|
||||
padding: 1rem 0;
|
||||
gap: 1rem;
|
||||
grid-template-columns: 18rem minmax(0, 1fr);
|
||||
grid-template-rows: 1fr;
|
||||
@ -1384,6 +1393,10 @@ input[type=date]:focus {
|
||||
background-color: var(--foreground-color);
|
||||
}
|
||||
|
||||
#project_editing_panel {
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
#admin_page__left,
|
||||
#project_editing_panel {
|
||||
border-radius: 0.5rem;
|
||||
@ -1487,7 +1500,7 @@ input[type=date]:focus {
|
||||
#settings_page {
|
||||
height: 100%;
|
||||
align-items: flex-start;
|
||||
padding: 1rem 2rem;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.watchlist_project_card {
|
||||
|
||||
2
css/main.min.css
vendored
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1320,7 +1320,13 @@ input[type="date"]{
|
||||
transition: width 0.3s;
|
||||
}
|
||||
}
|
||||
|
||||
#username{
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
#logout{
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
@media only screen and (max-width: 640px) {
|
||||
.hide-on-mobile,
|
||||
.hide-page-on-mobile {
|
||||
@ -1401,7 +1407,7 @@ input[type="date"]{
|
||||
}
|
||||
|
||||
#admin_page {
|
||||
padding: 1rem 0 1rem 1rem;
|
||||
padding: 1rem 0;
|
||||
gap: 1rem;
|
||||
grid-template-columns: 18rem minmax(0, 1fr);
|
||||
grid-template-rows: 1fr;
|
||||
@ -1409,6 +1415,9 @@ input[type="date"]{
|
||||
#admin_page__left{
|
||||
background-color: var(--foreground-color);
|
||||
}
|
||||
#project_editing_panel{
|
||||
padding-right: 1rem;
|
||||
}
|
||||
#admin_page__left,
|
||||
#project_editing_panel{
|
||||
border-radius: 0.5rem;
|
||||
@ -1504,7 +1513,7 @@ input[type="date"]{
|
||||
#settings_page {
|
||||
height: 100%;
|
||||
align-items: flex-start;
|
||||
padding: 1rem 2rem;
|
||||
padding: 2rem;
|
||||
}
|
||||
.watchlist_project_card{
|
||||
padding: 1.5rem;
|
||||
|
||||
9
new.html
9
new.html
@ -670,7 +670,7 @@
|
||||
|
||||
//floDapps.addStartUpFunction('Sample', Promised Function)
|
||||
//floDapps.setAppObjectStores({sampleObs1:{}, sampleObs2:{options{autoIncrement:true, keyPath:'SampleKey'}, Indexes:{sampleIndex:{}}}})
|
||||
floDapps.setCustomPrivKeyInput(myInput)
|
||||
floDapps.setCustomPrivKeyInput(customSignIn)
|
||||
floDapps.launchStartUp().then(result => {
|
||||
loader('show')
|
||||
console.log(result)
|
||||
@ -2083,7 +2083,7 @@
|
||||
taskDetails['taskDescription'] = taskDescription
|
||||
}
|
||||
RIBC.manage.editTaskDetails(taskDetails, currentProject, currentBranch, currentTask.dataset.taskId)
|
||||
notify('Changes saved', 'success')
|
||||
notify('Changes saved locally, commit the changes to make them permanent', 'success')
|
||||
}
|
||||
})
|
||||
getRef('task_list').addEventListener('dblclick', (e) => {
|
||||
@ -2182,7 +2182,7 @@
|
||||
getConfirmation("Do you want to commit to changes?").then((result) => {
|
||||
if (result) {
|
||||
RIBC.manage.updateObjects().then(res => {
|
||||
notify('Changes saved.', 'success')
|
||||
notify('Changes commited.', 'success')
|
||||
renderAllElements()
|
||||
}).catch(err => {
|
||||
console.error(err)
|
||||
@ -2482,7 +2482,7 @@
|
||||
getRef('loading_page').classList.add('hide-completely')
|
||||
}
|
||||
}
|
||||
function myInput() {
|
||||
function customSignIn() {
|
||||
return new Promise((resolve, reject) => {
|
||||
loader('hide')
|
||||
getRef('sign_in_page').classList.remove('hide-completely');
|
||||
@ -2494,6 +2494,7 @@
|
||||
resolve(getRef('private_key_input').value.trim())
|
||||
getRef('private_key_input').value = ''
|
||||
loader('show')
|
||||
window.location.hash = '#dashboard_page'
|
||||
getRef('sign_in_page').classList.add('hide-completely');
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user