-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from AAU-P5-Moodle/64-homework-teacherpretify-…
…editor-modal 64 homework teacherpretify editor modal
- Loading branch information
Showing
5 changed files
with
166 additions
and
50 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
server/moodle/mod/homework/templates/get_homework_chooser.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<div id="homework-chooser-modal"> | ||
<form> | ||
<div class="mb-20"> | ||
<label for="inputField">Input Field:</label> | ||
<textarea type="text" id="inputField" name="inputField"> | ||
</textarea> | ||
</div> | ||
<div id="linkDiv" class="linkDiv mb-20"> | ||
<label for="link" class="block">Link:</label> | ||
<input name="link" id="link" type="url" placeholder="Enter URL" class="block w-full"> | ||
</div> | ||
<div class="inline-flex mb-20"> | ||
<div id="page-range-input" class="page-range-input flex-grow"> | ||
<label for="startPage" class="block">Page Range:</label> | ||
<div class="inline-flex"> | ||
<input type="number" id="startPage" name="startPage" min="1" placeholder="Start Page" class="maxw-100"> | ||
<span>-</span> | ||
|
||
<input type="number" id="endPage" name="endPage" min="1" placeholder="End Page" class="maxw-100"> | ||
</div> | ||
</div> | ||
<div id="video-time-input" class="video-time-input flex-grow"> | ||
<label for="startTime" class="block">Time Range (seconds):</label> | ||
<div class="inline-flex"> | ||
|
||
<input type="number" id="startTime" name="startTime" min="1" placeholder="Start Time" class="maxw-100"> | ||
<span>-</span> | ||
|
||
<input type="number" id="endTime" name="endTime" min="1" placeholder="End Time" class="maxw-100"> | ||
</div> | ||
</div> | ||
</div> | ||
<hr> | ||
<div class="inline-flex mb-10"> | ||
<div class="bold">Attached file:</div> | ||
<div id="file-content" data-placeholder="No attached file"></div> | ||
</div> | ||
<div id="dropzone-container"> | ||
</div> | ||
</form> | ||
</div> |