Skip to content

Commit

Permalink
Modify behavior of UI for Library Browser 3
Browse files Browse the repository at this point in the history
Modify the behavior of the side panel -- remove automatics expansion -- in the middle of providing a manual slider to adjust the width (copying from library browser 2)

Also changed the positions of buttons for the directory tree and for the library search
  • Loading branch information
mgage committed Feb 25, 2012
1 parent d68ab81 commit 50d1d35
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions htdocs/css/library_browser.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ body {
}

#app_box .drophover{
background:#FF0000;
background:#00FF00;
}
#app_box .ww_selected{
background: gray;
Expand Down Expand Up @@ -137,6 +137,6 @@ body {

}

#app_box #problem_sets_container:hover{
width:250px;
}
//#app_box #problem_sets_container:hover{
// width:250px;
//}
1 change: 1 addition & 0 deletions htdocs/css/setmaker2.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ select#myset_sets{
div#size_slider{
float:left;
width:1%;
text-valign:center;
text-align:center;
height:90%;
-webkit-user-select:none;
Expand Down
2 changes: 2 additions & 0 deletions htdocs/css/setmaker3.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ select#myset_sets{

#size_slider{
float:left;
text-align:center;
width:10px;
height:100%;
background:green;
Expand Down Expand Up @@ -195,6 +196,7 @@ select#myset_sets{
div#size_slider{
float:left;
width:1%;
text-valign:center;
text-align:center;
height:90%;
-webkit-user-select:none;
Expand Down
5 changes: 3 additions & 2 deletions lib/WeBWorK/ContentGenerator/Instructor/SetMaker3.pm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ sub head {
print '<script src="/webwork2_files/js/jquery-ui-1.8.16.custom.min.js"></script>';
print '<script src="/webwork2_files/js/ui.tabs.closable.min.js"></script>';

#print '<script src="/webwork2_files/js/dnd.js"></script>';
print '<script src="/webwork2_files/js/dnd.js"></script>';
#print '<script src="/webwork2_files/js/problem_grid.js"></script>';
#print '<script src="/webwork2_files/js/form_builder.js"></script>';
print '<script src="/webwork2_files/js/library_browser.js"></script>';
Expand Down Expand Up @@ -175,11 +175,12 @@ sub body {
'<button type="button" id="create_set">Create Set</button>',
'</div>';
print '<div id="problem_sets_container">';
print '<h1>Target Sets</h1>';
print '<b>Target Sets</b>';
print '<ul id="my_sets_list">';
print '<li id="new_problem_set">New Problem Set</li>';
print '</ul>';
print '</div>';
print '<div id="size_slider"><p>||</p></div>';
print '<div id="problems_container">';
#List of tabs
print '<ul>',
Expand Down

0 comments on commit 50d1d35

Please sign in to comment.