Rename user-panel to controlbox
To bring it inline with naming used in the code
This commit is contained in:
parent
02c907128c
commit
f01419d05f
@ -207,7 +207,7 @@
|
||||
<script type="text/javascript" src="../../src/utils/core.js"></script>
|
||||
<script type="text/javascript" src="utils.js"></script>
|
||||
<script type="text/javascript" src="sidebar.js"></script>
|
||||
<script type="text/javascript" src="user-panel.js"></script>
|
||||
<script type="text/javascript" src="controlbox.js"></script>
|
||||
<script type="text/javascript" src="modals.js"></script>
|
||||
<script type="text/javascript" src="../../node_modules/bootstrap.native/dist/bootstrap-native-v4.js"></script>
|
||||
|
||||
|
@ -534,7 +534,7 @@
|
||||
<script type="text/javascript" src="../../src/utils/core.js"></script>
|
||||
<script type="text/javascript" src="utils.js"></script>
|
||||
<script type="text/javascript" src="sidebar.js"></script>
|
||||
<script type="text/javascript" src="user-panel.js"></script>
|
||||
<script type="text/javascript" src="controlbox.js"></script>
|
||||
<script type="text/javascript" src="modals.js"></script>
|
||||
<script type="text/javascript" src="../../node_modules/bootstrap.native/dist/bootstrap-native-v4.js"></script>
|
||||
|
||||
|
@ -8,7 +8,7 @@ const UserPanel = Backbone.NativeView.extend({
|
||||
|
||||
render () {
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', 'user-panel.html', true);
|
||||
xhr.open('GET', 'controlbox.html', true);
|
||||
xhr.onload = () => {
|
||||
this.el.innerHTML = xhr.responseText;
|
||||
this.modals = _.map(this.el.querySelectorAll('[data-toggle="modal"]'), (modal_el) =>
|
@ -60,7 +60,7 @@
|
||||
<script type="text/javascript" src="../../node_modules/backbone.nativeview/backbone.nativeview.js"></script>
|
||||
|
||||
<script type="text/javascript" src="sidebar.js"></script>
|
||||
<script type="text/javascript" src="user-panel.js"></script>
|
||||
<script type="text/javascript" src="controlbox.js"></script>
|
||||
<script type="text/javascript" src="modals.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../node_modules/bootstrap.native/dist/bootstrap-native-v4.js"></script>
|
||||
|
@ -80,7 +80,7 @@
|
||||
<script type="text/javascript" src="../../src/utils/core.js"></script>
|
||||
<script type="text/javascript" src="utils.js"></script>
|
||||
<script type="text/javascript" src="sidebar.js"></script>
|
||||
<script type="text/javascript" src="user-panel.js"></script>
|
||||
<script type="text/javascript" src="controlbox.js"></script>
|
||||
<script type="text/javascript" src="modals.js"></script>
|
||||
<script type="text/javascript" src="chatroom.js"></script>
|
||||
<script type="text/javascript" src="chatbox.js"></script>
|
||||
|
Loading…
Reference in New Issue
Block a user