From f232899f3fdd5171ae9f380ab1b291ae3783989a Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Wed, 29 Nov 2017 16:14:31 +0000 Subject: [PATCH] Show warning symbol on second step --- services/web/app/views/project/list/modals.pug | 6 ++---- .../web/public/stylesheets/app/list/v1-import-modal.less | 7 +++++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/services/web/app/views/project/list/modals.pug b/services/web/app/views/project/list/modals.pug index 27bfcdd914..7324a1cc97 100644 --- a/services/web/app/views/project/list/modals.pug +++ b/services/web/app/views/project/list/modals.pug @@ -333,10 +333,8 @@ script(type="text/ng-template", id="v1ImportModalTemplate") li Yet more stuff .v1-import-step-2(ng-show="step === 2") - img.v1-import-img( - src="/img/v1-import/v2-editor.png" - alt="The new V2 Editor." - ) + div.v1-import-warning(aria-label="Warning symbol.") + i.fa.fa-exclamation-triangle h2.v1-import-title #[strong Warning:] Overleaf V2 is in beta p Once importing your project you will lose access to the some of the features of Overleaf V1. This includes the git bridge, journal integrations, WYSIWYG and linked files. We’re working on bringing these features to V2! p Once you have imported a project to V2 you #[strong cannot go back to V1]. diff --git a/services/web/public/stylesheets/app/list/v1-import-modal.less b/services/web/public/stylesheets/app/list/v1-import-modal.less index 780dca9972..64bb9fda37 100644 --- a/services/web/public/stylesheets/app/list/v1-import-modal.less +++ b/services/web/public/stylesheets/app/list/v1-import-modal.less @@ -6,6 +6,13 @@ width: 100%; } +.v1-import-warning { + text-align: center; + color: #fdce02; + font-size: 14em; + line-height: 1em; +} + .v1-import-footer { display: flex; justify-content: space-evenly;