2021-05-17 07:50:19 -04:00
|
|
|
.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,\
|
2022-07-01 07:02:55 -04:00
|
|
|
'rp-loading-threads': loadingThreads,\
|
2021-05-17 07:50:19 -04:00
|
|
|
}"
|
|
|
|
)
|
|
|
|
|
2022-03-21 10:47:26 -04:00
|
|
|
.multi-selection-ongoing(
|
|
|
|
ng-show="editor.multiSelectedCount > 0"
|
|
|
|
)
|
|
|
|
.multi-selection-message
|
|
|
|
h4 {{ editor.multiSelectedCount }} #{translate('files_selected')}
|
|
|
|
|
2022-03-15 09:55:17 -04:00
|
|
|
include ./file-view
|
|
|
|
|
2021-05-17 07:50:19 -04:00
|
|
|
.editor-container.full-size(
|
2023-06-30 05:46:46 -04:00
|
|
|
class={"has-source-toolbar" : showSourceToolbar},
|
2022-03-21 10:47:26 -04:00
|
|
|
ng-show="ui.view == 'editor' && editor.multiSelectedCount === 0"
|
2022-08-18 08:27:13 -04:00
|
|
|
vertical-resizable-panes="south-pane-resizer"
|
|
|
|
vertical-resizable-panes-hidden-externally-on="south-pane-toggled"
|
2021-05-17 07:50:19 -04:00
|
|
|
vertical-resizable-panes-hidden-initially="true"
|
2021-11-10 05:50:01 -05:00
|
|
|
vertical-resizable-panes-default-size="250"
|
|
|
|
vertical-resizable-panes-min-size="250"
|
2021-05-17 07:50:19 -04:00
|
|
|
vertical-resizable-panes-max-size="336"
|
2022-08-18 08:27:13 -04:00
|
|
|
vertical-resizable-panes-resize-on="layout:flat-screen:toggle,south-pane-toggled"
|
2021-05-17 07:50:19 -04:00
|
|
|
)
|
|
|
|
.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")}
|
|
|
|
|
2023-08-15 05:53:00 -04:00
|
|
|
div(ng-controller="EditorLoaderController")
|
|
|
|
if (!showSourceToolbar)
|
|
|
|
include ./toolbar
|
2021-05-17 07:50:19 -04:00
|
|
|
|
2023-04-13 04:21:25 -04:00
|
|
|
div(ng-if="editor.newSourceEditor")
|
|
|
|
include ../../source-editor/source-editor
|
|
|
|
div(ng-if="!editor.newSourceEditor")
|
2021-11-09 07:58:27 -05:00
|
|
|
include ./source-editor
|
2023-06-06 09:00:54 -04:00
|
|
|
div(ng-if="!editor.newSourceEditor || !reviewPanel.isReact")
|
|
|
|
if !isRestrictedTokenMember
|
|
|
|
include ./review-panel
|
2021-05-17 07:50:19 -04:00
|
|
|
|
2022-08-18 08:27:13 -04:00
|
|
|
if moduleIncludesAvailable('editor:symbol-palette') || moduleIncludesAvailable('editor:galileo')
|
2021-11-10 05:50:01 -05:00
|
|
|
.div(vertical-resizable-bottom)
|
2022-08-18 08:27:13 -04:00
|
|
|
if moduleIncludesAvailable('editor:symbol-palette')
|
|
|
|
!= moduleIncludes('editor:symbol-palette', locals)
|
|
|
|
if moduleIncludesAvailable('editor:galileo')
|
|
|
|
!= moduleIncludes('editor:galileo', locals)
|