Skip to content

Commit

Permalink
Merge pull request #2 from dhanasingh/dev
Browse files Browse the repository at this point in the history
v0.2.1
  • Loading branch information
Arun-TAK authored Apr 11, 2022
2 parents 2eb2f88 + 2931f2d commit 1472d6c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
Sidebar theme for Redmine

## Install
Download the theme and unzip it to your Redmine's `public/themes` folder. Then go to "Administration / Settings / Display"
and select Sidebar theme.
Download the theme and unzip it to your Redmine's `public/themes` folder. Then go to "Administration / Settings / Display"
and select Sidebar theme.

### Release Notes for v0.2.1

- Redmine 5.0 compatibility
12 changes: 6 additions & 6 deletions javascripts/theme.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use strict';
$(function() {
$("#main").before($("#main-menu"));
$("#wrapper2").prepend($("#top-menu"));
$("#wrapper2").prepend($("#header"));
$("#wrapper").prepend($("#top-menu"));
$("#wrapper").prepend($("#header"));
addLogo();

//For search and jump project elements
var srch = '<label class = expandSearch ></label>'
$( '#quick-search #q' ).before(srch).prependTo('.expandSearch');
Expand All @@ -16,7 +16,7 @@ $(function() {
var X = $(this).attr('id');
if(X == 1) {
$("#profilemenu").hide();
$(this).attr('id', '0');
$(this).attr('id', '0');
}
else {
$("#profilemenu").show();
Expand Down Expand Up @@ -63,8 +63,8 @@ function addLogo () {
topMenus.forEach(function(menu){
$("#top-menu ."+menu).html("<svg class='menu-icon' id='"+menu+"-icon'></svg>");
});
// For adding title to all icons

// For adding title to all icons
$("#project-jump .drdn-trigger").attr("title", "Jump to project");
$("#userprofile").attr("title", "User profile");

Expand Down
4 changes: 2 additions & 2 deletions stylesheets/application.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ h1:first-letter{
input:focus {
outline-width: 0;
}
#wrapper3 {
#wrapper {
margin-top: 36px;
margin-left: 50px;
}
Expand All @@ -52,7 +52,7 @@ input:focus {
left: 0;
transition: none;
background-color: #354051;
box-shadow: 0 0 1px#000;
box-shadow: 0 0 1px #000;
}
#top-menu a {
color: #a0abbe;
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/menu_icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ div#userprofile {
}
div.profileicon {
width: 29px;
height: 29px;
height: 32px;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
Expand Down

0 comments on commit 1472d6c

Please sign in to comment.