diff --git a/CTF/CTF-Frontend/src/app/create-image/create-image.component.css b/CTF/CTF-Frontend/src/app/create-image/create-image.component.css index 790839a..3bc196a 100644 --- a/CTF/CTF-Frontend/src/app/create-image/create-image.component.css +++ b/CTF/CTF-Frontend/src/app/create-image/create-image.component.css @@ -96,4 +96,7 @@ button { width: 10%; height: 25%; margin: 10px; +} +h1 { + display: inline; } \ No newline at end of file diff --git a/CTF/CTF-Frontend/src/app/create-image/create-image.component.html b/CTF/CTF-Frontend/src/app/create-image/create-image.component.html index 1fef505..99fcec2 100644 --- a/CTF/CTF-Frontend/src/app/create-image/create-image.component.html +++ b/CTF/CTF-Frontend/src/app/create-image/create-image.component.html @@ -13,6 +13,16 @@

Create Image

+
+ ? + + This is where you can create Images +
+ These are used as the file system inside the containers +
+
+
+


@@ -21,6 +31,16 @@

Contents of File

+
+ ? + + This is where you can insert text to +
+ files you create using the File and Image section +
+
+
+
@@ -31,6 +51,24 @@

File and Image

+
+ ? + + This is where you add Folders and Files that you are not uploading +
+ Just insert the name of the file, select a Directory in File Tree +
+ and click the appropriate button to add to the Directory you just selected. +
+ you can also select multiple Directories at once to add to +
+ once you're done, simply click Create Image +
+ to create your new image +
+
+
+
@@ -52,6 +90,17 @@

Drop Box

+
+ ? + + This is where you can drop files into and add to the File Tree +
+ just drop the files in after selecting the Directories you want +
+ there is NO need to click on Add File +
+
+

Drag and Drop files here or:

@@ -61,6 +110,25 @@

File Tree

+
+ ? + + In this section, it shows the whole file tree as you are making it +
+ you can select Directories to Add +
+ to the Directory or you can select Directories AND +
+ Files and click on Delete to delete them +
+ when deleting a Directory, everything inside that Directoy will be deleted. +
+ you can also select Root +
+ in order to delete the whole tree itself, Directories are noted by (D)- +
+
+
diff --git a/CTF/CTF-Frontend/src/styles.css b/CTF/CTF-Frontend/src/styles.css index e0c4898..9076000 100644 --- a/CTF/CTF-Frontend/src/styles.css +++ b/CTF/CTF-Frontend/src/styles.css @@ -102,3 +102,21 @@ label { font-weight: bold; } +/* tooltips */ +.tooltip { +font-weight: bold; +color: white; +display: inline; +} +.tooltip:hover .tooltipText { +visibility: visible; +} +.tooltip .tooltipText { +visibility: hidden; +height: auto; +background-color: gray; +color: black; +text-align: center; +position: absolute; +padding: 5px; +}