Browse Source

Show warning symbol on second step

Alasdair Smith 9 years ago
parent
commit
f232899f3f

+ 2 - 4
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].

+ 7 - 0
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;