Skip to content

Commit

Permalink
cleanup templates
Browse files Browse the repository at this point in the history
Cleanup old code in templates, fix bootstrap and jquery files and remove jquery version 1.5.2
  • Loading branch information
xJuvi committed Nov 4, 2022
1 parent d84d723 commit 3bbcaaa
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 2,694 deletions.
2 changes: 0 additions & 2 deletions classes/class.ilObjBigBlueButtonGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,6 @@ public function startClass()

$my_tpl = new ilTemplate("./Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/templates/tpl.BigBlueButtonModeratorMeetingCreated.html", true, true);

//$tpl->addJavaScript("./Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/js/jquery-1.5.2.min.js");

$bbbURL=$BBBHelper->joinURLModerator($this->object);

$my_tpl->setVariable("newClassCreated", $this->txt("new_class_created"));
Expand Down
1,292 changes: 7 additions & 1,285 deletions css/bootstrap_v4.5.2.css

Large diffs are not rendered by default.

1,351 changes: 7 additions & 1,344 deletions js/bootstrap.bundle.min.js

Large diffs are not rendered by default.

16 changes: 0 additions & 16 deletions js/jquery-1.5.2.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion templates/tpl.BigBlueButtonClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<button id="openClassLink" class="btn btn-default" type="button" onclick="window.open('{bbbURL}')">{clickToOpenClass}</button>

<div id="classNotStarted">
{classNotStartedText}
{classNotStartedText}
</div>
<div id="isMeetingRecorded">{meetingRecordedMessage}</div>

Expand Down
32 changes: 7 additions & 25 deletions templates/tpl.BigBlueButtonModeratorClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

function deleteRecord (link){

$('#recordID').val(link);
$('#deleteRecordingInput').click();
$('#recordID').val(link);
$('#deleteRecordingInput').click();

}

Expand Down Expand Up @@ -81,11 +81,11 @@
<button id="openClassLink" class="btn btn-primary" type="button" onclick="window.open('{bbbURL}')">{clickToOpenClass}</button>

<div id="startClassDiv">
{noClassRunning}<br/><br/>
<a id="startClassLink" href="#" class="btn btn-primary">{startClass}</a><br/>
{noClassRunning}<br/><br/>
<a id="startClassLink" href="#" class="btn btn-primary">{startClass}</a><br/>
</div>
<p class="choose_recording" style='visibility: {CHOOSE_RECORDING_VISIBLE};'>
<input type="checkbox" id="recordmeeting_visible" /><span id="recordmeeting_label">{checkbox_record_meeting}</span>
<input type="checkbox" id="recordmeeting_visible" /><span id="recordmeeting_label">{checkbox_record_meeting}</span>
<p>
<div id="endClassDiv">
{classRunning}
Expand Down Expand Up @@ -121,25 +121,7 @@ <h3 class="ilHeader">{GUEST_INVITE_INFO}&nbsp;</h3>
</span>
</div>
</div>

</div>
<!-- <div class="form-group{guestLinkPwHidden}">
<div class="il_InfoScreenProperty control-label col-xs-3">{guestLinkPwInfo}</div>
<div class="il_InfoScreenPropertyValue col-xs-9">
<div class="ilPermalinkContainer input-group">
<input class="form-control" readonly="readonly" id="guestLinkPw" type="text" value="{guestLinkPw}" onclick="return false;">
<span class="input-group-btn">
<div class="btn-group">
<button type="button" class="btn btn-default" id="copyGuestLinkPw">
<span></span>
<span class="sr-only">Copy to clipboard</span>
<span class="glyphicon glyphicon-copy"></span>
</button>
</div>
</span>
</div>
</div>
</div> -->
</div>
<form id="deleteRecording" action="{FORMACTION3}" method="post">
<input id="deleteRecordingInput" class="submit" type="submit" name="{CMD_DELETE_RECORDING}" value="{DELETE_RECORDING}" >
Expand All @@ -148,8 +130,8 @@ <h3 class="ilHeader">{GUEST_INVITE_INFO}&nbsp;</h3>
<br/>
<div id="isMeetingRecorded">{meetingRecordedMessage}</div>
<div id="recordings">
<h1><span>{Headline_Recordings}</span></h1>
<div>{recordings}</div>
<h1><span>{Headline_Recordings}</span></h1>
<div>{recordings}</div>
</div>


Expand Down
13 changes: 1 addition & 12 deletions templates/tpl.BigBlueButtonModeratorMeetingCreated.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
{VAL_1}






{newClassCreated}
<p>
<!--
<b>
{newClassCreatedWarning}
</b>
-->
</p>

<button id="openClassLink" class="btn btn-default" type="button" onclick="window.open('{bbbURL}')">{newClassCreatedJoinManual}</button>
<script type="text/JavaScript">
window.open("{bbbURL}");
Expand Down
9 changes: 0 additions & 9 deletions templates/tpl.BigBlueButtonModeratorMeetingEnded.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
{VAL_1}


<script type="text/JavaScript">
il.Util.addOnLoad(
function()
{

});
</script>

<p>
{classEnded}
</p>
Expand Down

0 comments on commit 3bbcaaa

Please sign in to comment.