Skip to content

Commit

Permalink
Move personal auth token settings to Vue
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>

Always crate OC.Settings, even if not used

Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Feb 28, 2019
1 parent 7519a9a commit 7cf3718
Show file tree
Hide file tree
Showing 39 changed files with 7,115 additions and 4,570 deletions.
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"v-tooltip": "^2.0.0-rc.33",
"vue": "^2.6.7",
"vue-click-outside": "^1.0.7",
"vue-clipboard2": "^0.3.0",
"vue-infinite-loading": "^2.4.3",
"vue-localstorage": "^0.6.2",
"vue-multiselect": "^2.1.3",
Expand Down
102 changes: 0 additions & 102 deletions settings/css/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -427,84 +427,6 @@ table.nostyle {
}
}

/* Devices & sessions access & tokens */
#security {
table {
width: 100%;
min-height: 50px;
padding-top: 5px;
max-width: 580px;
th {
opacity: .5;
padding: 10px 10px 10px 0;
}
}
.token-list td {
border-top: 1px solid var(--color-border);
max-width: 200px;
white-space: normal;
vertical-align: middle;
position: relative;

&%icon {
overflow: visible;
position: relative;
width: 16px;
}

&.token-name {
padding: 10px 6px;
&.token-rename {
padding: 0;
}
input {
width: 100%;
margin: 0;
}
}

&.more {
@extend %icon;
}
&.client {
@extend %icon;

div {
opacity: 0.57;
width: 44px;
height: 44px;
}
}
}
tr > *:nth-child(2) {
padding-left: 6px;
}
tr > *:nth-child(3) {
text-align: right;
}
.token-list {
td > a.icon-more {
transition: opacity var(--animation-quick);
}
a.icon-more {
padding: 14px;
display: block;
width: 44px;
height: 44px;
opacity: .5;
}
tr {
&:hover td > a.icon,
td > a.icon:focus,
&.active td > a.icon {
opacity: 1;
}
}
}
}



/* Two-Factor Authentication (2FA) */

#two-factor-auth {
Expand All @@ -523,30 +445,6 @@ table.nostyle {
}
}


#new-app-login-name,
#new-app-password {
width: 245px;
font-family: monospace;
}

.app-password-row {
display: table-row;
.icon {
background-size: 16px 16px;
display: inline-block;
position: relative;
top: 3px;
margin-left: 5px;
margin-right: 8px;
}
}

.app-password-label {
display: table-cell;
padding-right: 1em;
}

.social-button {
padding-left: 0 !important;
margin-left: -10px;
Expand Down
33 changes: 0 additions & 33 deletions settings/js/authtoken.js

This file was deleted.

52 changes: 0 additions & 52 deletions settings/js/authtoken_collection.js

This file was deleted.

Loading

0 comments on commit 7cf3718

Please sign in to comment.