Skip to content
This repository has been archived by the owner on Aug 21, 2018. It is now read-only.

Commit

Permalink
[#840] unwanted files removed
Browse files Browse the repository at this point in the history
  • Loading branch information
razu9861 committed Oct 11, 2017
1 parent e396ec4 commit a6395f6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 76 deletions.
22 changes: 1 addition & 21 deletions app/MyApp/app/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ $(function() {
'listLearnersCredits/:cid': 'showLearnersListForCredits',
'passwordResetEmail': 'showPasswordResetEmail',
'password-reset': 'showPasswordReset',
//'courseCareerPath':'CourseCareerPath',
'courseCareerPath':'addCareerPath',
'courseCareerPath/manage/:careername/:careerId':'manageCourseCareer'
},
Expand Down Expand Up @@ -6737,25 +6736,7 @@ $(function() {
passwordResetView.render();
App.$el.children('.body').append(passwordResetView.el)
},
/**CourseCareerPath:function(){
var coursePath = new App.Views.CourseCareerPath();
coursePath.render()
App.$el.children('.body').html('<div id="CareerPath"></div>');
$('#CareerPath').append('<div><h2>'+App.languageDict.attributes.Course_Career_Path+'</h2></div>')
$('#CareerPath').append(coursePath.el);
var directionOfLang = App.languageDict.get('directionOfLang');
applyCorrectStylingSheet(directionOfLang);
$.ajax({
url: '/coursecareerpath/_design/bell/_view/getCourseCareerByName',
type: 'GET',
dataType: "jsonp",
async: false,
success: function(json) {
console.log(json)
$(careerList).insertBefore('#searchText');
}
});
},**/

addCareerPath:function(cId){
var courses = new App.Collections.Courses()
courses.memberId = $.cookie('Member._id');
Expand Down Expand Up @@ -6846,6 +6827,5 @@ $(function() {
var directionOfLang = App.languageDict.get('directionOfLang');
applyCorrectStylingSheet(directionOfLang)
}

}))
})
5 changes: 2 additions & 3 deletions app/MyApp/app/views/AddCourseCareer.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ $(function() {
},
},

initialize: function() {

},
initialize: function() {},

renderTable: function(searchText) {
App.startActivityIndicator()
var that = this
Expand Down
33 changes: 0 additions & 33 deletions app/MyApp/app/views/CareersPathTable.js

This file was deleted.

18 changes: 0 additions & 18 deletions app/MyApp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1443,25 +1443,7 @@ <h4 style="width:25em;word-wrap:break-word;">
</tr>
</table>
</script>

<script type="text/template" id="template-courseCareerPath">
<hr/>
<button style="margin-top: -186px; margin-left: 536px;" class='btn btn-primary' id="addNewCoursePath" onclick = "document.location.href='#courseCareerPath/add'" >Add New Career</button>
<button class="back_button btn btn-primary" style = "margin-left: -677px;"
onclick = "document.location.href='#courses'"><%= languageDict.attributes.Back_To_Course %></button>
<input id="searchText" type="Text" placeholder="Course Career Name" style="margin-top: -173px; margin-left: 1051px; height: 28px; width: 170px;">
<button style="margin-top: -242px; margin-left: 1395px;" class="Search btn btn-info" id="SearchCoursePath" >Search</button>
<div>
<table class="btable btable-striped">
<th style="width: 430px">Course Career Title </th>
<th><%= languageDict.attributes.Actions %><th>
</table>
</div>
</script>

<script type="text/template" id="template-addCourseCareer">
<!-- <input id="searchText" type="Text" placeholder="Course Career Name" style="margin-top: -137px; margin-left: 1056px; height: 28px; width: 170px;">
<button style="margin-top: -183px; margin-left: 1251px;" class="Search btn btn-info" id="SearchCoursePath" >Search</button> -->
<div class ="multipleCourse">
<form>
<label for="cpName"><b><%= languageDict.attributes.Career_Path_Name %>:</b></label>
Expand Down
2 changes: 1 addition & 1 deletion databases/multicoursecareerpath.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var couchapp = require('couchapp'),
path = require('path');
path = require('path');

ddoc = {
_id: '_design/bell'
Expand Down

0 comments on commit a6395f6

Please sign in to comment.