mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 13:21:37 +02:00
Add a placeholder restore button, showing a tooltip.
This commit is contained in:
@@ -30,6 +30,13 @@
|
||||
i.fa.fa-exchange
|
||||
| #{translate("compare_to_another_version")}
|
||||
|
||||
button.history-toolbar-btn-danger.pull-right(
|
||||
tooltip-html="'<p>This feature is still in progress. Please use copy and paste to restore your files.</p><p>More restore options are coming soon.</p>'"
|
||||
tooltip-placement="bottom"
|
||||
)
|
||||
i.fa.fa-undo
|
||||
| #{translate("restore_to_before_these_changes")}
|
||||
|
||||
.history-toolbar-entries-list(
|
||||
ng-if="!history.error"
|
||||
)
|
||||
|
||||
@@ -27,15 +27,23 @@
|
||||
}
|
||||
.history-toolbar-actions {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.history-toolbar-btn {
|
||||
.history-toolbar-btn,
|
||||
.history-toolbar-btn-danger {
|
||||
.btn;
|
||||
.btn-info;
|
||||
.btn-xs;
|
||||
padding-left: @padding-small-horizontal;
|
||||
padding-right: @padding-small-horizontal;
|
||||
margin-right: (@line-height-computed / 2);
|
||||
}
|
||||
.history-toolbar-btn {
|
||||
.btn-info;
|
||||
}
|
||||
.history-toolbar-btn-danger {
|
||||
.btn-danger;
|
||||
opacity: 0.65;
|
||||
}
|
||||
.history-toolbar-entries-list {
|
||||
flex: 0 0 @changesListWidth;
|
||||
padding: 0 10px;
|
||||
|
||||
Reference in New Issue
Block a user