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

Commit

Permalink
[#840]-add multiselect feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupesh87 committed Jun 2, 2017
1 parent 1c0bfd5 commit eef5b09
Show file tree
Hide file tree
Showing 939 changed files with 2,201 additions and 137,736 deletions.
1 change: 1 addition & 0 deletions app/MyApp/app/Router.js
Original file line number Diff line number Diff line change
Expand Up @@ -6754,6 +6754,7 @@ $(function() {
App.$el.children('.body').html('<div id="ManageCourseCareer"></div>');
$('#ManageCourseCareer').append('<div><h2>'+App.languageDict.attributes.Add_Multiple_Courses+'</h2></div>')
$('#ManageCourseCareer').append(addCourseCareer.el);
$('#LCourse').multiselect({columns: 1,placeholder: 'Select Course'});
var directionOfLang = App.languageDict.get('directionOfLang');
applyCorrectStylingSheet(directionOfLang)

Expand Down
11 changes: 5 additions & 6 deletions app/MyApp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1461,23 +1461,22 @@ <h4 id="new-quiz"><%= languageDict.attributes.New_Career_Path %></h4>
<div class ="multipleCourse">
<form>
<label for="lName"><%= languageDict.attributes.Level_Name %></label>
<select id="LCourse" style="font-size: 15px;font-weight: 500;">
<select id="levelSelect" style="padding: 2px; margin-top: 8px;">
<option selected><%= languageDict.attributes.Select_An_option %></option>
<option value='Begineers'>Begineers</option>
<option value='Intermediate'>Intermediate</option>
<option value='Professional'>Professional</option>
</select>
<label for="cpName"><%= languageDict.attributes.Course_Career_Path_Name %></label>
<input type="text" id="careerPath" placeholder="Course Career Path Name" style = "padding-top: 12px; padding-bottom: 11px;">
<input type="text" id="careerPath" placeholder="Course Career Path Name" style="padding: 2px; margin-top: 8px;">
<label for="LCourse"><%= languageDict.attributes.List_of_Courses %></label>
<select id="LCourse" style="font-size: 15px;font-weight: 500;">
<option selected><%= languageDict.attributes.Select_An_option %></option>
<select id="LCourse" name = "LCourse[]" >
<%for(var i =0; i<Course_Length;i++){%>
<option value='<%=Courselist[i]%>'><%=Courselist[i]%></option>
<%}%>
</select>
<button id="AddCareerPath" class="course btn btn-success" style="margin-left: 23px; margin-top: -15px;"><%= languageDict.attributes.Create_Course_Career %></button>
<button id ="CancelCOursePath" class="btn resignBtn btn-danger" style="margin-left: 23px;margin-top: -15px;" ><%= languageDict.attributes.Cancel %></button>
<button id="AddCareerPath" class="course btn btn-success" style="margin-left: 23px; margin-top: -1px;"><%= languageDict.attributes.Create_Course_Career %></button>
<button id ="CancelCOursePath" class="btn resignBtn btn-danger" style="margin-left: 23px;margin-top: -1px;" ><%= languageDict.attributes.Cancel %></button>
</form>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion node_modules/.bin/couchapp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions node_modules/.bin/couchapp.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

107 changes: 85 additions & 22 deletions node_modules/commander/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions node_modules/couchapp/node_modules/.bin/cake

This file was deleted.

5 changes: 0 additions & 5 deletions node_modules/couchapp/node_modules/.bin/cake.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/couchapp/node_modules/.bin/coffee

This file was deleted.

5 changes: 0 additions & 5 deletions node_modules/couchapp/node_modules/.bin/coffee.cmd

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/couchapp/node_modules/.bin/node-http-proxy

This file was deleted.

5 changes: 0 additions & 5 deletions node_modules/couchapp/node_modules/.bin/node-http-proxy.cmd

This file was deleted.

11 changes: 0 additions & 11 deletions node_modules/couchapp/node_modules/coffee-script/.npmignore

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/couchapp/node_modules/coffee-script/CNAME

This file was deleted.

This file was deleted.

22 changes: 0 additions & 22 deletions node_modules/couchapp/node_modules/coffee-script/LICENSE

This file was deleted.

50 changes: 0 additions & 50 deletions node_modules/couchapp/node_modules/coffee-script/README

This file was deleted.

Loading

0 comments on commit eef5b09

Please sign in to comment.