<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Garadhy</id>
	<title>Expertiza_Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.expertiza.ncsu.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Garadhy"/>
	<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=Special:Contributions/Garadhy"/>
	<updated>2026-06-07T12:28:00Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100370</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100370"/>
		<updated>2015-12-05T05:08:51Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
The content of the page is wrapped under new div with class &amp;quot;container&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;container&amp;quot; style=&amp;quot;position: relative; margin-top: -30px; left: 43px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu instead of div. Also that class &amp;quot;navbar-fixed-top&amp;quot; is changed to &amp;quot;navbar-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
[http://www.w3schools.com/bootstrap/bootstrap_navbar.asp W3Schools Tutorial on Bootstrap] &amp;lt;br/&amp;gt;&lt;br /&gt;
[http://www.w3schools.com/css/ W3Schools CSS Tutorial]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100369</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100369"/>
		<updated>2015-12-05T05:08:32Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
The content of the page is wrapped under new div with class &amp;quot;container&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;container&amp;quot; style=&amp;quot;position: relative; margin-top: -30px; left: 43px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu instead of div. Also that class &amp;quot;navbar-fixed-top&amp;quot; is changed to &amp;quot;navbar-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
[http://www.w3schools.com/bootstrap/bootstrap_navbar.asp W3Schools Tutorial on Bootstrap] &amp;lt;br/&amp;gt;&lt;br /&gt;
[http://www.w3schools.com/css/ W3Schools CSS Tutorial]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100368</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100368"/>
		<updated>2015-12-05T05:08:19Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Test Results */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
The content of the page is wrapped under new div with class &amp;quot;container&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;container&amp;quot; style=&amp;quot;position: relative; margin-top: -30px; left: 43px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu instead of div. Also that class &amp;quot;navbar-fixed-top&amp;quot; is changed to &amp;quot;navbar-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
[http://www.w3schools.com/bootstrap/bootstrap_navbar.asp W3Schools Tutorial on Bootstrap]&lt;br /&gt;
[http://www.w3schools.com/css/ W3Schools CSS Tutorial]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100365</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100365"/>
		<updated>2015-12-05T05:04:19Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
The content of the page is wrapped under new div with class &amp;quot;container&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;container&amp;quot; style=&amp;quot;position: relative; margin-top: -30px; left: 43px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu instead of div. Also that class &amp;quot;navbar-fixed-top&amp;quot; is changed to &amp;quot;navbar-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100359</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100359"/>
		<updated>2015-12-05T05:02:18Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Pushing content down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
The content of the page is wrapped under new div with class &amp;quot;container&amp;quot;.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;container&amp;quot; style=&amp;quot;position: relative; margin-top: -30px; left: 43px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu instead of div. Also that class &amp;quot;navbar-fixed-top&amp;quot; is changed to &amp;quot;navbar-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100356</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100356"/>
		<updated>2015-12-05T05:00:22Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Pushing content down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu instead of div. Also that class &amp;quot;navbar-fixed-top&amp;quot; is changed to &amp;quot;navbar-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100354</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100354"/>
		<updated>2015-12-05T04:59:51Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Pushing content down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu. Also that class &amp;quot;nabber-fixed-top&amp;quot; is changed to &amp;quot;nabber-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100352</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100352"/>
		<updated>2015-12-05T04:59:19Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Pushing content down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, the bootstrap tutorial shows that &amp;lt;nav&amp;gt; tag should be used for the navigation menu. Also that class &amp;quot;nabber-fixed-top&amp;quot; is changed to &amp;quot;nabber-static-top&amp;quot; as per standard bootstrap rules.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nav role=&amp;quot;navigation&amp;quot; class=&amp;quot;navbar navbar-default navbar-static-top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/nav&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100345</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100345"/>
		<updated>2015-12-05T04:56:13Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Pushing content down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100343</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100343"/>
		<updated>2015-12-05T04:55:54Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Pushing content down */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/script&amp;gt; &lt;br /&gt;
  $(function() {&lt;br /&gt;
    $('button.navbar-toggle').click(function() {&lt;br /&gt;
        if ($('.container').css('margin-top') === '-30px') {&lt;br /&gt;
                $('.container').css('margin-top', '+=600');&lt;br /&gt;
            } else {&lt;br /&gt;
                    $('.container').css('margin-top', '-30px');&lt;br /&gt;
                }&lt;br /&gt;
      });&lt;br /&gt;
  });&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100340</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100340"/>
		<updated>2015-12-05T04:55:05Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Shifting menu icon to the left on re-sizing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100337</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100337"/>
		<updated>2015-12-05T04:54:44Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Shifting menu icon to the left on re-sizing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Pushing content down ===&lt;br /&gt;
&lt;br /&gt;
When the menu button is clicked, earlier the content in the page would stay behind the menu and user could not see or access the content. This issues has been fixed. The content starts below the menu so that it is accessible even when the menu is in expanded mode.&lt;br /&gt;
&lt;br /&gt;
For this, JQuery script is written which introduces an event listener for menu button. When the menu button is clicked,  this script changes the position of the &amp;quot;container&amp;quot; by 600 pixels, so that it moves below the menu. When menu button is clicked again, then the original position of the content is restored again.&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100317</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100317"/>
		<updated>2015-12-05T04:44:33Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Plan of Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100316</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100316"/>
		<updated>2015-12-05T04:44:10Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
As shown in screenshot below, you can see the changes working on a smaller screen size.&lt;br /&gt;
&lt;br /&gt;
[[File:Screenshot_with_changes.png‎]]&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th November, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Screenshot_with_changes.png&amp;diff=100310</id>
		<title>File:Screenshot with changes.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Screenshot_with_changes.png&amp;diff=100310"/>
		<updated>2015-12-05T04:40:48Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Gaurav.png&amp;diff=100308</id>
		<title>File:Gaurav.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Gaurav.png&amp;diff=100308"/>
		<updated>2015-12-05T04:39:29Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100306</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100306"/>
		<updated>2015-12-05T04:38:21Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Test Results ===&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th November, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100305</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100305"/>
		<updated>2015-12-05T04:37:22Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Plan of Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th November, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100304</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100304"/>
		<updated>2015-12-05T04:37:09Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, the sub-menu has been shifted to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Spaced out Menu-items Problem ===&lt;br /&gt;
&lt;br /&gt;
In toggle mode, when the screen width is below 1170px, on clicking the sub-menu button, the menu items on the drop down are too spaced out. As a result, the whole screen view is blocked and the interface looks too spread out. In order to resolve this issue, the space between the menu-items is reduced and the size of the drop down box is also reduced as a result.&lt;br /&gt;
&lt;br /&gt;
* Declared a new class for aligning the logout button&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
    .logout-box{&lt;br /&gt;
      margin-top: 7px;&lt;br /&gt;
      left: -2px;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Applied the above declared class to the &amp;quot;logout-box&amp;quot;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
app/views/shared/_navigation.html.erb&lt;br /&gt;
     &amp;lt;li class=&amp;quot;right-most logout-box&amp;quot;&amp;gt;&lt;br /&gt;
              &amp;lt;%= link_to &amp;quot;Logout&amp;quot;, {controller: &amp;quot;auth&amp;quot;, action: &amp;quot;logout&amp;quot;}, method: :post %&amp;gt;&lt;br /&gt;
     &amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduced the padding space between menu-items&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
li.first-level &amp;gt; a {&lt;br /&gt;
  line-height: 10px;&lt;br /&gt;
  padding: 0px 10px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Shifting menu icon to the left on re-sizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th November, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100302</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100302"/>
		<updated>2015-12-05T04:34:57Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Testing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using inbuilt Mozilla browser functionality to check web page in different screen sizes.&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, we have shifted the sub-menu to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Shifting menu icon to the left on resizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th November, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100301</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=100301"/>
		<updated>2015-12-05T04:32:17Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Planned Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
The navbar-collapse less style needs to be modified here to enable seamless use and to handle overflows in case there is too much content for the user's view port on mobile devices.&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss&lt;br /&gt;
The height difference between different menu options needs to be changed by modifying the number of pixels in the height attribute of the style in the following code&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ul.nav li.first-level {&lt;br /&gt;
  font-size: 100%;&lt;br /&gt;
  height: 66px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
The toggle menu selection on resizing the window was earlier to the right and now to bring it to the left, we need to do a &amp;quot;pull-left&amp;quot; in the button for  navbar-toggle.&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&lt;br /&gt;
This file will contain the changes where we intend to make the position of the content relative to the header. This will ensure that even upon re-sizing the window the content will start below the header and would not be covered underneath the header.&lt;br /&gt;
&lt;br /&gt;
=== Sub-Menu Overlapping Main-Menu Problem ===&lt;br /&gt;
&lt;br /&gt;
On hovering over the menu items on the navigation bar shows the sub-menu. But, the sub-menu position on the screen hides the Main menu. In order to resolve the problem, we have shifted the sub-menu to the right from its actual position such that the main-menu is visible.&lt;br /&gt;
&lt;br /&gt;
app/assets/stylesheets/navbar.scss&lt;br /&gt;
  .dropdown-menu.pull-left{&lt;br /&gt;
     top: 25%;&lt;br /&gt;
     left: 15%;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
=== Shifting menu icon to the left on resizing ===&lt;br /&gt;
&lt;br /&gt;
Upon resizing the window beyond a width below 1170px, the menu changes as an icon bar which on clicking has a drop-down of options to select from with the corresponding sub-menu. This is a toggle button which is by default set on the right. While it does not make much of a difference while using it on a Desktop, it turns to be a problem in tablets and mobile devices wherein it would be more convenient and accessible to have the menu icon bar to the top left section of the header. The code below is a snippet to describe the change corresponding to it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;pull-left navbar-toggle&amp;quot; data-toggle=&amp;quot;collapse&amp;quot; data-target=&amp;quot;.navbar-collapse&amp;quot; &amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th November, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99376</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99376"/>
		<updated>2015-11-10T14:34:37Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Plan of Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd November, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th November, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2015-11-09_at_9.01.31_PM.png&amp;diff=99289</id>
		<title>File:Screen Shot 2015-11-09 at 9.01.31 PM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2015-11-09_at_9.01.31_PM.png&amp;diff=99289"/>
		<updated>2015-11-10T02:03:34Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: uploaded a new version of &amp;amp;quot;File:Screen Shot 2015-11-09 at 9.01.31 PM.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edit assignment&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2015-11-09_at_9.01.31_PM.png&amp;diff=99288</id>
		<title>File:Screen Shot 2015-11-09 at 9.01.31 PM.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=File:Screen_Shot_2015-11-09_at_9.01.31_PM.png&amp;diff=99288"/>
		<updated>2015-11-10T02:02:39Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: Edit assignment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edit assignment&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99277</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99277"/>
		<updated>2015-11-10T01:21:13Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Creating New Methods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Change current directory to cloned repository &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser and check line coverage for following methods&lt;br /&gt;
 &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99276</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99276"/>
		<updated>2015-11-10T01:21:03Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Creating New Methods */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Change current directory to cloned repository &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser and check line coverage for following methods&lt;br /&gt;
 &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99275</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99275"/>
		<updated>2015-11-10T01:20:52Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Change current directory to cloned repository &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser and check line coverage for following methods&lt;br /&gt;
 &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99272</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99272"/>
		<updated>2015-11-10T01:20:38Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Change current directory to cloned repository &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser and check line coverage for following methods&lt;br /&gt;
 &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99271</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99271"/>
		<updated>2015-11-10T01:20:22Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Change current directory to cloned repository &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser and check line coverage for following methods&lt;br /&gt;
 &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99270</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99270"/>
		<updated>2015-11-10T01:19:35Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Change current directory to cloned repository &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
Check line coverage for &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99269</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99269"/>
		<updated>2015-11-10T01:19:22Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Change current directory to cloned repository &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
Check line coverage for &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99268</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99268"/>
		<updated>2015-11-10T01:18:56Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Go to cloned repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
Check line coverage for &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99267</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99267"/>
		<updated>2015-11-10T01:18:47Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Go to cloned repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
Check line coverage for &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99266</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99266"/>
		<updated>2015-11-10T01:18:33Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Go to cloned repo &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
Check line coverage for &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99265</id>
		<title>CSC/ECE 517 Fall 2015/oss E1557 GXM</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015/oss_E1557_GXM&amp;diff=99265"/>
		<updated>2015-11-10T01:18:19Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* How to Run Tests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= E1557. Refactoring SignUpSheetController.rb and SignUpSheet.rb =&lt;br /&gt;
In this project, we have unit tested various methods in SignUpSheetController.rb and SignUpSheet.rb as well as refactoring these methods.  We first wrote unit tests to ensure we had adequate coverage for our methods.  Then, we refactored our methods with confidence found from our unit tests.&lt;br /&gt;
&lt;br /&gt;
== Unit Testing ==&lt;br /&gt;
For our unit testing, we used the RSpec framework.  We choose this framework since legacy tests of our methods were implemented with RSpec.  We also utilized the RSpec-Mocks to test functions related to the database without having to use fixtures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We wrote multiple controller and model tests for corresponding functions so as to tests various scenarios and get 100 % test coverage.&lt;br /&gt;
&lt;br /&gt;
E.g. If you run the test in spec/controllers/sign_up_sheet_spec.rb by command &amp;quot;rspec spec/controllers/sign_up_sheet_spec.rb&amp;quot;, then you can see the 100% line coverage for controller method save_topic_deadlines() in sign_up_sheet_controller.rb. For checking the coverage, open the index.html page coverage folder and go to respective controller. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similar, run the tests in Model and Controllers folder to see 100% test coverage for following functions.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Create()in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
2. self.add_signup_topic() in  SignUpSheet Model&amp;lt;br/&amp;gt;&lt;br /&gt;
3. save_topic_deadlines() in SignUpSheetController&amp;lt;br/&amp;gt;&lt;br /&gt;
4. self.confirmTopic() in  SignUpSheet&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Refactoring ==&lt;br /&gt;
We performed various refactorings on our code to increase the codes readability and remove redundancy.&lt;br /&gt;
&lt;br /&gt;
=== Extracting Variables ===&lt;br /&gt;
We extracted variable from complicated statements to increase the readability of the code.  In the code base we were working with, there were a variety of lines of code that were more than 80 characters long.  These lines of code were hard to read.  So, we split them up into multiple lines of code by extracting statements found in function calls into their own variable.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: DeadlineType.find_by_name('submission').id, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Became:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;deadline_type_subm = DeadlineType.find_by_name('submission').id&lt;br /&gt;
duedate_subm = TopicDeadline.where(topic_id: topic.id, deadline_type_id: deadline_type_subm, round: j).first&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Enforce Good Ruby Conventions ===&lt;br /&gt;
We attempted to enforce good Ruby conventions while refactoring the code.  This entails doing things like correcting the formatting of the code to make it more readable.  In addition to this, we converted a variety of iterators to follow good ruby conventions.&lt;br /&gt;
&lt;br /&gt;
For example, sign_up_sheet.rb had the function self.add_sign_up_topic(assignment_id) which contained an iteration through a set of topics while manually maintaining an index variable.  Manually maintaining the index variable can be problematic for future maintenance.&lt;br /&gt;
&amp;lt;pre&amp;gt;i=0&lt;br /&gt;
@topics.each { |topic|&lt;br /&gt;
  # Code not relevant to example omitted.&lt;br /&gt;
  i = i + 1&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We replaced these with the Ruby &amp;lt;code&amp;gt;each_with_index&amp;lt;/code&amp;gt; iterator.  This allows us to pass the responsibility of maintaining the count of the index to the iterator.&lt;br /&gt;
&amp;lt;pre&amp;gt;@topics.each_with_index do |topic, i|&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We replaced &amp;quot;=&amp;gt;&amp;quot; while passing parameter by colon (:)&lt;br /&gt;
So that &amp;lt;pre&amp;gt;&lt;br /&gt;
'due_at' =&amp;gt; due_dates[session[:duedates][j]['id'].to_s &amp;lt;/pre&amp;gt;&lt;br /&gt;
became &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
due_at: due_dates[session[:duedates][j]['id'].to_s &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== Creating New Methods ===&lt;br /&gt;
We have refactored the methods which were doing a lot of things into two or more methods so as to segregate the functionality and following the basic principal that one method should do only one thing. Also, this helped in making the methods more readable and easy to understand.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
E.g. In sign_up_sheet.rb Model, &amp;quot;def sign_up_wailisted()&amp;quot; is the new method extracted from original method self.confirmTopic(). There are many more such examples which are done as part of refactoring.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How to Run Tests ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Clone the repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/MaxSchweizer/expertiza&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Go to cloned repo &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Run Command: &amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;rspec spec/controllers/sign_up_sheet_spec.rb&lt;br /&gt;
&lt;br /&gt;
rspec spec/models/sign_up_sheet_spec.rb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Check coverage: &amp;lt;br/&amp;gt;&lt;br /&gt;
Open overage/index.html in browser.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
Check line coverage for &amp;lt;br/&amp;gt;&lt;br /&gt;
a. Create()in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
b. self.add_signup_topic() in sign_up_sheet.rb Models&amp;lt;br/&amp;gt;&lt;br /&gt;
c. save_topic_deadlines() in sign_up_sheet_controller.rb in Controllers&amp;lt;br/&amp;gt;&lt;br /&gt;
d. self.confirmTopic() in sign_up_sheet.rb in Models&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fixing Issue 580 ==&lt;br /&gt;
We were not able to recreate the problem found in issue 580.  After multiple attempts of trying to recreate the bug we began to examine the source code.  We believe that someone else has already fixed the bug before we started working on the project.&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99214</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99214"/>
		<updated>2015-11-09T23:45:28Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Plan of Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
* Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99213</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99213"/>
		<updated>2015-11-09T23:45:10Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
* /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99212</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99212"/>
		<updated>2015-11-09T23:44:51Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Planned Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
* Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
* Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99211</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99211"/>
		<updated>2015-11-09T23:44:24Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Purpose */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
* The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
* User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99053</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99053"/>
		<updated>2015-11-09T04:21:57Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99052</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99052"/>
		<updated>2015-11-09T04:21:40Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Plan of Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Following milestones have been identified to ensure the delivery of the project 1 week prior to the final deadline.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99051</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99051"/>
		<updated>2015-11-09T04:20:29Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Plan of Work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the set deadlines.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99050</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99050"/>
		<updated>2015-11-09T04:20:03Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99049</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99049"/>
		<updated>2015-11-09T04:19:29Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. expertiza/config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. expertiza/app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. expertiza/app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. expertiza/app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99048</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99048"/>
		<updated>2015-11-09T04:18:48Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /home/expertiza_developer/expertiza/config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /home/expertiza_developer/expertiza/app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /home/expertiza_developer/expertiza/app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /home/expertiza_developer/expertiza/app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99047</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99047"/>
		<updated>2015-11-09T04:18:37Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Implementation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The files listed below need to be changed to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /home/expertiza_developer/expertiza/config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /home/expertiza_developer/expertiza/app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /home/expertiza_developer/expertiza/app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /home/expertiza_developer/expertiza/app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99046</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99046"/>
		<updated>2015-11-09T04:17:42Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Planned Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As seen in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will need to change the files listed below to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /home/expertiza_developer/expertiza/config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /home/expertiza_developer/expertiza/app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /home/expertiza_developer/expertiza/app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /home/expertiza_developer/expertiza/app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99045</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99045"/>
		<updated>2015-11-09T04:16:38Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Planned Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when Menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS changes which will be reflected as below. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As you can see in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will need to change the files listed below to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /home/expertiza_developer/expertiza/config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /home/expertiza_developer/expertiza/app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /home/expertiza_developer/expertiza/app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /home/expertiza_developer/expertiza/app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99043</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99043"/>
		<updated>2015-11-09T04:15:34Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Planned Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu selection button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS layout with above listed changes included. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As you can see in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will need to change the files listed below to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /home/expertiza_developer/expertiza/config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /home/expertiza_developer/expertiza/app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /home/expertiza_developer/expertiza/app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /home/expertiza_developer/expertiza/app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
	<entry>
		<id>https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99042</id>
		<title>CSC/ECE 517 Fall 2015 E1583 Fix the CSS used for Menu Item</title>
		<link rel="alternate" type="text/html" href="https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2015_E1583_Fix_the_CSS_used_for_Menu_Item&amp;diff=99042"/>
		<updated>2015-11-09T04:13:44Z</updated>

		<summary type="html">&lt;p&gt;Garadhy: /* Planned Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Purpose ==&lt;br /&gt;
&lt;br /&gt;
This project aims to fix the problem of the Expertiza Menu layout for smaller devices such as mobiles and tablets. There are many problems currently existing for devices with smaller screen size such as,&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. The Menu layout takes almost whole screen space, which is not suitable from user experience point of view. &amp;lt;br/&amp;gt;&lt;br /&gt;
2. The submenu items cannot be selected smoothly. &amp;lt;br/&amp;gt;&lt;br /&gt;
3. User can neither see the content nor scroll it down properly when the menu is open, as it stays behind the menu.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above mentioned issues can be seen in the screenshot below.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.33.15_PM.png‎]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Planned Changes ==&lt;br /&gt;
&lt;br /&gt;
The aforementioned issues will be addressed as explained below: &amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. Reduce the height of the Menu items. As seen in the screenshot above, there is a lot of space between two menu items. Reducing the space in between will reduce the total screen space consumed by the Menu.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Show submenu items on the right side of respective menu item, so that they don't overlap with other menu items (Right now, they are shown below the main menu item).&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Show the Menu open/close button on the left side instead of right side.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Start the content below the Menu when menu is in expanded mode.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the screenshot of the proposed CSS layout with above listed changes included. &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:WikiImage.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: This is for reduced screen sizes, and not for normal desktop size. Normal desktop layout will remain the same.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
As you can see in the screenshot, &amp;lt;br/&amp;gt;&lt;br /&gt;
1. Menu item height is reduced and now it is not taking all the screen space.&amp;lt;br/&amp;gt;&lt;br /&gt;
2. Submenu items are displayed on the right side of the main menu item.&amp;lt;br/&amp;gt;&lt;br /&gt;
3. Content is displayed below the Menu, and it is not behind the Menu. It can be easily scrolled down/viewed even with Menu open.&amp;lt;br/&amp;gt;&lt;br /&gt;
4. Menu button is on the left side instead of right.&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
We are using the browser extension &amp;quot;Responsive Web Design Tester&amp;quot;. This extension allows to test a web page for variety of devices with different screen sizes, such as (but not limited to), iPad, iPadMini, iPhone, Nexus, HTC-One etc. &amp;lt;br/&amp;gt;&lt;br /&gt;
With the help of this tool, we will be easily able to test that our changes are working fine for different screen sizes.&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Responsive Web Design Tool - Settings&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Screen_Shot_2015-11-08_at_10.21.31_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Responsive Web Design Tool - Devices list&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File: Screen_Shot_2015-11-08_at_10.22.05_PM.png]]&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Implementation ==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We will need to change the files listed below to make proposed changes.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. /home/expertiza_developer/expertiza/config/vendor/assets/components/bootstrap/less/navbar.less&amp;lt;br/&amp;gt;&lt;br /&gt;
2. /home/expertiza_developer/expertiza/app/assets/stylesheets/navbar.scss &amp;lt;br/&amp;gt;&lt;br /&gt;
3. /home/expertiza_developer/expertiza/app/views/shared/_navigation.html.erb &amp;lt;br/&amp;gt;&lt;br /&gt;
4. /home/expertiza_developer/expertiza/app/assets/stylesheets/layout.scss&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Plan of Work ==&lt;br /&gt;
&lt;br /&gt;
Below are the deadlines we have set for ourselves.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Reducing Height of Menu items and pushing submenu to right side of main Menu item. - 15th December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
2. Pushing the content below the menu - 22nd December, 2015 &amp;lt;br/&amp;gt;&lt;br /&gt;
3. Changing position of menu button to left side, and changing transition from left to right. - 29th December, 2015 &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Garadhy</name></author>
	</entry>
</feed>