mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 22:03:19 +00:00
d40de2018c
GitOrigin-RevId: de782d4b47d987f6434a34bea487568b269e8d85
52 lines
1.9 KiB
Text
52 lines
1.9 KiB
Text
.ui-layout-center(
|
|
ng-controller="ReviewPanelController",
|
|
ng-class="{\
|
|
'rp-state-current-file': (reviewPanel.subView === SubViews.CUR_FILE),\
|
|
'rp-state-current-file-expanded': (reviewPanel.subView === SubViews.CUR_FILE && ui.reviewPanelOpen),\
|
|
'rp-state-current-file-mini': (reviewPanel.subView === SubViews.CUR_FILE && !ui.reviewPanelOpen),\
|
|
'rp-state-overview': (reviewPanel.subView === SubViews.OVERVIEW),\
|
|
'rp-size-mini': ui.miniReviewPanelVisible,\
|
|
'rp-size-expanded': ui.reviewPanelOpen,\
|
|
'rp-layout-left': reviewPanel.layoutToLeft,\
|
|
'rp-loading-threads': loadingThreads,\
|
|
}"
|
|
)
|
|
|
|
.multi-selection-ongoing(
|
|
ng-show="editor.multiSelectedCount > 0"
|
|
)
|
|
.multi-selection-message
|
|
h4 {{ editor.multiSelectedCount }} #{translate('files_selected')}
|
|
|
|
include ./file-view
|
|
|
|
.editor-container.full-size(
|
|
ng-show="ui.view == 'editor' && editor.multiSelectedCount === 0"
|
|
vertical-resizable-panes="south-pane-resizer"
|
|
vertical-resizable-panes-hidden-externally-on="south-pane-toggled"
|
|
vertical-resizable-panes-hidden-initially="true"
|
|
vertical-resizable-panes-default-size="250"
|
|
vertical-resizable-panes-min-size="250"
|
|
vertical-resizable-panes-max-size="336"
|
|
vertical-resizable-panes-resize-on="layout:flat-screen:toggle,south-pane-toggled"
|
|
)
|
|
.div(vertical-resizable-top)
|
|
|
|
.loading-panel(
|
|
ng-show="(!editor.sharejs_doc || editor.opening) && !editor.error_state",
|
|
)
|
|
span(ng-show="editor.open_doc_id")
|
|
i.fa.fa-spin.fa-refresh
|
|
| #{translate("loading")}…
|
|
span(ng-show="!editor.open_doc_id")
|
|
i.fa.fa-arrow-left
|
|
| #{translate("open_a_file_on_the_left")}
|
|
|
|
div(ng-controller="EditorLoaderController")
|
|
|
|
include ../../source-editor/source-editor
|
|
|
|
if moduleIncludesAvailable('editor:symbol-palette')
|
|
.div(vertical-resizable-bottom)
|
|
if moduleIncludesAvailable('editor:symbol-palette')
|
|
!= moduleIncludes('editor:symbol-palette', locals)
|