fixed flags page icons
This commit is contained in:
@@ -31,17 +31,19 @@ const butdelay = 75;
|
|||||||
$(function () {
|
$(function () {
|
||||||
loadDataBase();
|
loadDataBase();
|
||||||
//make heading and modal
|
//make heading and modal
|
||||||
$("table thead th:last-child").after('<th scope=col>Plus</th>');
|
if(!$("#kw_results_table").length){
|
||||||
var modhtml = '<div class=modal id=myModal><div class=modal-content><span class=close>×</span><div class=card><div class=cardcontainer><h2 class=title id="title">Computer Fluency (C S 302)</h2><h2 class=profname id="profname">with Bruce Porter</h2><div id="topbuttons" class=topbuttons><button class=matbut id="rateMyProf" style="background: #4CAF50;"> RMP </button><button class=matbut id="eCIS" style="background: #CDDC39;"> eCIS </button><button class=matbut id="textbook" style="background: #FFC107;"> Textbook </button><button class=matbut id="Syllabi"> Past Syllabi </button><button class=matbut id="saveCourse" style="background: #F44336;"> Save Course +</button></div></div></div><div class=card><div class=cardcontainer style=""><ul class=description id="description" style="list-style-type:disc"></ul></div></div><div class=card ><div id="chartcontainer" class=cardcontainer><div id=chart></div></div></div>';
|
$("table thead th:last-child").after('<th scope=col>Plus</th>');
|
||||||
$("#container").prepend(modhtml);
|
var modhtml = '<div class=modal id=myModal><div class=modal-content><span class=close>×</span><div class=card><div class=cardcontainer><h2 class=title id="title">Computer Fluency (C S 302)</h2><h2 class=profname id="profname">with Bruce Porter</h2><div id="topbuttons" class=topbuttons><button class=matbut id="rateMyProf" style="background: #4CAF50;"> RMP </button><button class=matbut id="eCIS" style="background: #CDDC39;"> eCIS </button><button class=matbut id="textbook" style="background: #FFC107;"> Textbook </button><button class=matbut id="Syllabi"> Past Syllabi </button><button class=matbut id="saveCourse" style="background: #F44336;"> Save Course +</button></div></div></div><div class=card><div class=cardcontainer style=""><ul class=description id="description" style="list-style-type:disc"></ul></div></div><div class=card ><div id="chartcontainer" class=cardcontainer><div id=chart></div></div></div>';
|
||||||
$("#myModal").prepend("<div id='snackbar'>defaultmessage..</div>");
|
$("#container").prepend(modhtml);
|
||||||
//go through all the rows in the list
|
$("#myModal").prepend("<div id='snackbar'>defaultmessage..</div>");
|
||||||
$('table').find('tr').each(function () {
|
//go through all the rows in the list
|
||||||
if (!($(this).find('td').hasClass("course_header")) && $(this).has('th').length == 0) {
|
$('table').find('tr').each(function () {
|
||||||
//if a course row, then add the extension button
|
if (!($(this).find('td').hasClass("course_header")) && $(this).has('th').length == 0) {
|
||||||
$(this).append(`<td data-th="Plus"><input type="image" class="distButton" id="distButton" style="vertical-align: bottom; display:block;" width="20" height="20" src='${chrome.extension.getURL('images/disticon.png')}'/></td>`);
|
//if a course row, then add the extension button
|
||||||
}
|
$(this).append(`<td data-th="Plus"><input type="image" class="distButton" id="distButton" style="vertical-align: bottom; display:block;" width="20" height="20" src='${chrome.extension.getURL('images/disticon.png')}'/></td>`);
|
||||||
});
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
//update the conflicts
|
//update the conflicts
|
||||||
update();
|
update();
|
||||||
/*Handle the button clicks*/
|
/*Handle the button clicks*/
|
||||||
|
|||||||
13
popup.html
13
popup.html
@@ -17,7 +17,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<ul id="courseList" style="list-style-type: none;padding: 5px;"></ul>
|
<ul id="courseList" style="list-style-type: none;padding: 5px;"></ul>
|
||||||
<h2 id="empty" style="font-weight: normal;font-size: large;margin: 60px 30px 40px 30px ;">Doesn't Look Like
|
<h2 id="empty" style="font-weight: normal;font-size: large;margin: 60px 30px 40px 30px ;text-align: center">Doesn't Look Like
|
||||||
Anything
|
Anything
|
||||||
To Me.
|
To Me.
|
||||||
<br>
|
<br>
|
||||||
@@ -27,16 +27,7 @@
|
|||||||
<input type="file" id="importOrig" accept=".json" style="display:none"/>
|
<input type="file" id="importOrig" accept=".json" style="display:none"/>
|
||||||
|
|
||||||
<div class="settings">
|
<div class="settings">
|
||||||
<!-- <button title='Import' style="background-color:white;" class="settingsbut" id='import'>
|
<button title='Import/Export' style="background-color:white;" class="settingsbut" id='impexp'>
|
||||||
<i style='color:#FF9800' class="material-icons">
|
|
||||||
arrow_upward
|
|
||||||
</i></button>
|
|
||||||
<button title='Export' style="background-color:white;" class="settingsbut" id='export'>
|
|
||||||
<i style='color:#FF9800' class="material-icons">
|
|
||||||
arrow_downward
|
|
||||||
</i>
|
|
||||||
</button> -->
|
|
||||||
<button title='Import/Export' style="background-color:white;" class="settingsbut" id='impexp'>
|
|
||||||
<i style='color:#FF9800' class="material-icons">
|
<i style='color:#FF9800' class="material-icons">
|
||||||
import_export
|
import_export
|
||||||
</i>
|
</i>
|
||||||
|
|||||||
10
todo
10
todo
@@ -1,16 +1,12 @@
|
|||||||
TODO as of 12/9/18
|
TODO as of 12/9/18
|
||||||
|
|
||||||
FEATURES:
|
FEATURES:
|
||||||
|
|
||||||
- Export calendar format
|
|
||||||
- import into and export from UT registration plus
|
|
||||||
- load all courses on first pages
|
- load all courses on first pages
|
||||||
- work on UT Planner
|
- work on UT Planner
|
||||||
- work on multiple schedules
|
- work on multiple schedules
|
||||||
- import courses from class schedule screen
|
- Easter egg, no course messages
|
||||||
|
|
||||||
BUGS TO FIX:
|
BUGS TO FIX:
|
||||||
- Showing the icon on the flags pages
|
|
||||||
- Fix the update/install bug
|
- Fix the update/install bug
|
||||||
|
|
||||||
DONE/FIXED:
|
DONE/FIXED:
|
||||||
@@ -20,3 +16,7 @@ DONE/FIXED:
|
|||||||
- Calendar popup
|
- Calendar popup
|
||||||
- online classes no times in popup link
|
- online classes no times in popup link
|
||||||
- Location in popup extra info
|
- Location in popup extra info
|
||||||
|
- Export calendar format
|
||||||
|
- import courses from class schedule screen
|
||||||
|
- import into and export from UT registration plus
|
||||||
|
- Showing the icon on the flags pages
|
||||||
|
|||||||
Reference in New Issue
Block a user