Ticket #727 (assigned enhancement)
Change background on block from orange to white
Reported by: | sam | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | Theme | Keywords: | theme, css |
Cc: | ed, benj | Estimated Number of Hours: | 0.0 |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 8.125 |
Description
Hi Ben
Rob wants a list of the themes presented in a block.
I did the block: https://www.transitionnetwork.org/admin/build/block/configure/block/97
But it appears with an orange background. The block is visible towards the bottom of the page (for logged in admins) here: https://www.transitionnetwork.org/blogs/rob-hopkins
If I put the block on other pages it appears with a white background.
I tried to hack it with some inline CSS but failed.
Could you take a look?
Thanks
Sam
Attachments
Change History
comment:2 Changed 2 years ago by sam
Hi Ed; yes I tried the cheatsheet first.
Ben could you take a look?
Thanks
Sam
comment:3 Changed 2 years ago by benj
- Add Hours to Ticket changed from 0.0 to 0.5
- Total Hours changed from 0.0 to 0.5
Hi sam, sorry I missed this request.
The code in the button was:
<div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/doingstuff">Doing Stuff</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/learning">Learning</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/not-doing-stuff" target="_self">Not doing stuff</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/austerity">Austerity</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/stuff">Stuff</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/scaling">Scaling up</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/resourcing">Resourcing</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/climate">Climate</a></div></div><div class="banner-container"><div class="banner-container"><a class="banner_green" href="/tags/impact">Impact</a></div></div>
changed it to:
<ul style="border-top: none; margin: 0;"><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/doingstuff">Doing Stuff</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/learning">Learning</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/not-doing-stuff" target="_self">Not doing stuff</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/austerity">Austerity</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/stuff">Stuff</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/scaling">Scaling up</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/resourcing">Resourcing</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/climate">Climate</a></li><li style="list-style-type:none;border-bottom:none; padding:0;"><a class="bigbutton green" href="/tags/impact">Impact</a></li></ul>
I changed it from a bunch of divs to a list, as it's a list of links it should really be a list accessibility wise.
To get rid of the orange I added the class button block in the block class settings on the block edit page.
To make the links display as green buttons I added the bigbutton and green classes to them.
I've added a bunch of css overrides to the list as this wasn't addressed in the round of changes last summer - I could address this in the theme if you think it's useful for other similar blocks which you might want... to do this I'd add a class that would need to be applied in the block class settings on the block edit page. Let me know if you think that's necessary.
comment:4 Changed 2 years ago by benj
- Status changed from new to closed
- Resolution set to needs testing
comment:5 Changed 2 years ago by benj
Just noticed that when you asked me to look at it you set it to ben (the other ben) not benj (me), hence my apparent tardiness :)
comment:7 Changed 2 years ago by sam
- Status changed from closed to reopened
- Resolution needs testing deleted
Hey Ben
Thanks for doing this. It looks great on Firefox. However looking on Chrome (Version 33 on Debian Linux) the borders are appearing in blue, with the exception of 'Resourcing' which appears correctly.
Screenshot attached.
Any ideas?
Thanks
Sam
comment:8 Changed 2 years ago by ben
- Add Hours to Ticket changed from 0.0 to 1.25
- Total Hours changed from 0.5 to 1.75
I've made some sass changes and uploaded to git. Was a bit tricky to track down as css for .bigbutton:link and .bigbutton:visited should have set the colour but it wasn't working when visited (slightly oddly... looking in firebug it suggested that the css for the links was getting picked up)
a.bigbutton:link, a.bigbutton:visited {
border: 2px solid #FFFFFF;
border-radius: 30px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
color: #FFFFFF;
display: block;
font: bold 1.1em Arial,Sans-serif;
margin: 5px 10px;
padding: 10px;
text-align: center;
transition: all 0.2s linear 0s;
background-color: $yellow;
background-image: -moz-linear-gradient(center top , $neutral, $neutral_tint_1);
}
To fix I have explicitly changed lines (such as this) in buttons.sass from:
a.bigbutton.green {
background-color: $green;
background-image: -moz-linear-gradient(center top , $green, $green_tint_1);
}
to
a.bigbutton.green:link, a.bigbutton.green:visited {
background-color: $green;
background-image: -moz-linear-gradient(center top , $green, $green_tint_1);
border: 2px solid #FFFFFF;
color: #FFFFFF;}
Now I'm having trouble pulling from git (see email) - git help needed.
comment:9 Changed 2 years ago by ed
Paul and a conversation about when to publish next is probably needed?
comment:10 Changed 2 years ago by sam
Hi Ben
Just looking at your comment again.
"I added the class button block in the block class settings on the block edit page."
I don't see a block class setting on the edit page, I remember seeing it on other Drupal projects, perhaps I don't have permissions to view/ change this?
Just to double check; We are talking about this page: https://www.transitionnetwork.org/admin/build/block/configure/block/97?destination=blogs%2Frob-hopkins ?
Thanks
Sam
comment:11 Changed 2 years ago by ben
- Owner changed from ben to paul
- Status changed from reopened to assigned
Paul, can you help...
comment:12 Changed 2 years ago by ben
Hi Sam
yep, that's the page... here's a screenshot showing the settings I was on about... /trac/attachment/ticket/727/Screen%20Shot%202014-06-10%20at%2018.09.42.png
if you don't see it maybe I have different roles to you??? I'm a developer/site administrator
comment:13 Changed 2 years ago by paul
.. taking a look ..
comment:14 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 1.75 to 1.875
The *administer block classes* permission is only available to users with the developer role ..
comment:15 Changed 2 years ago by sam
Hi Paul
Thanks for looking into the permissions.
I think I may have muddied the waters slightly, in that it was Ben's github issue I think Ed was asking you to look at. Ben could you add the details here of the problem you are having?
Thanks
Sam
comment:16 Changed 2 years ago by paul
Thanks Sam :)
comment:17 Changed 2 years ago by ed
handing to paul
comment:18 Changed 2 years ago by annesley
hi! i have used CSS Injector module before (carefully) to allow me to react quickly to client needs on live without promoting anything whilst simultaneously moving the changes in to the CSS in the theme files on the development system ready for the next update.
comment:19 follow-up: ↓ 24 Changed 2 years ago by ben
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 1.875 to 2.125
Paul:
Basically I've made some changes to some sass/css files and have uploaded them to git.
what I want to do is pull them from git to the staging server to verify that they are ok, and then pull them onto the live server, and finally clear the css cache so that they get through onto the site.
the processs:
logging into puffin (fine I can do that)
navigating to the correct folder (I'm unclear as to which is the correct folder, there are now quite a few, in the past there was one transition-network-d6-pXX and one transition-network-d6-sXX, but now there are lots, I'm guessing its the most recent, but when that didn't work I tried others to see if they worked, but no joy)
then finally to pull my changes which I'd uploaded to git locally I'd normally type "git pull" and my changes to the sass/css would come down from git (this didn't work last time I tried, receiving the message "fatal: Not a git repository (or any of the parent directories): .git" which I don't fully understand)
As I do these changes very infrequently what would be really handy is some documentation on this process that works I can follow.
Annesley:
Sounds good... I'll look into that module, sounds promising
comment:20 Changed 2 years ago by ben
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 2.125 to 2.375
Thanks Annesley, I looked at this tutorial https://www.youtube.com/watch?v=fQ_VS0GbgpY, and think it'd be a very useful addition to the site for quick fixes such as this one... If it's ok with you annesley I'd like it if this module was added to the d6 site.
comment:21 follow-ups: ↓ 22 ↓ 23 Changed 2 years ago by annesley
i have checked:
usage: ~25,000 installs: https://www.drupal.org/project/usage/css_injector
issue queue: no security issues. https://www.drupal.org/project/issues/css_injector?categories=All
however, if we are using varnish bear in mind that a cache clear would be necessary to see the CSS Injector changes.
yes. sure, let's add it. i do not currently know that process so i can do it when i have understood, before next release, or someone can take it on now.
comment:22 in reply to: ↑ 21 Changed 2 years ago by chris
Replying to annesley:
if we are using varnish bear in mind that a cache clear would be necessary to see the CSS Injector changes.
We stopped using Varnish when we switched to BOA.
comment:23 in reply to: ↑ 21 Changed 2 years ago by ed
Replying to annesley:
i have checked:
usage: ~25,000 installs: https://www.drupal.org/project/usage/css_injector
issue queue: no security issues. https://www.drupal.org/project/issues/css_injector?categories=All
however, if we are using varnish bear in mind that a cache clear would be necessary to see the CSS Injector changes.
yes. sure, let's add it. i do not currently know that process so i can do it when i have understood, before next release, or someone can take it on now.
There isn't a process tbh; I suggest that you and Paul can think about this as part of your conversations around (module) updates
comment:24 in reply to: ↑ 19 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.5
- Total Hours changed from 2.375 to 2.875
Replying to ben:
Paul:
Basically I've made some changes to some sass/css files and have uploaded them to git.
what I want to do is pull them from git to the staging server to verify that they are ok, and then pull them onto the live server, and finally clear the css cache so that they get through onto the site.
the processs:
logging into puffin (fine I can do that)
navigating to the correct folder (I'm unclear as to which is the correct folder, there are now quite a few, in the past there was one transition-network-d6-pXX and one transition-network-d6-sXX, but now there are lots, I'm guessing its the most recent, but when that didn't work I tried others to see if they worked, but no joy)
Probably the quickest way forward is to use my stage site on *our stage platform*.
The way this should work is that you need to first *clone* the theme from github into my stage site (probably into the themes folder) A stage site will initially use the static version of the code that was requested from the makefile.
Here are the steps to try:
Move in tho the themes directory:
cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes
Clone *your fork* of the transition theme into the themes directory:
git clone git://github.com/paulbooker/transition_themes.git << replace paulbooker
Move into the themes directory:
cd transition_themes
Make your changes. When what you have on stage is working - commit your changes and push the changes to your github fork ..
git status
git diff
git commit -m "Do we have an agreed format for git messages; at the very least we should reference the issue ticket"
git push
.. and then send me a pull request to merge the changes
Notes:
https://wiki.transitionnetwork.org/BOA_Server/Development_workflow
Stage site url:
https://booker-stage-20140501.transitionnetwork.org/
Stage platform
/data/disk/tn/static/transition-network-d6-s012
Stage site url directory path:
/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org
then finally to pull my changes which I'd uploaded to git locally I'd normally type "git pull" and my changes to the sass/css would come down from git (this didn't work last time I tried, receiving the message "fatal: Not a git repository (or any of the parent directories): .git" which I don't fully understand)
The error is just complaining that your current directory isn't a git repository.
As I do these changes very infrequently what would be really handy is some documentation on this process that works I can follow.
Annesley:
Sounds good... I'll look into that module, sounds promising
comment:25 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 2.875 to 3.0
Annesely
That module sounds interesting.
I think for simple changes we could repeat the process directly on the production site: removing the static theme and cloning the theme directly from Github. This would seem to require a few minutes of downtime for maintenance.
comment:26 follow-up: ↓ 28 Changed 2 years ago by ben
Paul
https://github.com/transitionnetwork/transition2
this is the github repo I've been putting my changes into
so when you say gitclone your fork, what you mean is run this?
git clone https://github.com/transitionnetwork/transition2
am I right?
all my changes are already in there and work on my local site..
so as I understand (before I do it) I run the following:
cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes
git clone https://github.com/transitionnetwork/transition2
cd transition2
git status
git diff
git commit -m
git push
seems like a lot of git commands.. I'm used to just doing a git pull??
Ben
comment:27 Changed 2 years ago by ben
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 3.0 to 3.25
comment:28 in reply to: ↑ 26 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 3.25 to 3.5
Replying to ben:
Paul
https://github.com/transitionnetwork/transition2
this is the github repo I've been putting my changes into
so when you say gitclone your fork, what you mean is run this?
git clone https://github.com/transitionnetwork/transition2
am I right?
Yes.
If you don't need to fork anything - then all you need to do is to clone the code from transition2 on the new stage site (you will have to do a clone only when using a new stage site) , make your changes and then push your changes back to github. From what you said earlier it sounds as though your workflow would then be to repeat the process on the production site?
Notes from the makefile for my own reference:
; Current (2011-) www.transitionnetwork.org main theme.
projects[transition2][type] = "theme"
projects[transition2][download][type] = "git"
projects[transition2][download][url] = "git://github.com/transitionnetwork/transition2.git"
projects[transition2][download][branch] = "master"
all my changes are already in there and work on my local site..
so as I understand (before I do it) I run the following:
cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes
git clone https://github.com/transitionnetwork/transition2
cd transition2
git status
git diff
git commit -m
git push
seems like a lot of git commands.. I'm used to just doing a git pull??
You only have to clone once - each time you build a new stage site. With future commits you then:
Pull the latest code onto the stage server:
git pull
Make you changes and commit locally:
git commit -m "...."
Push the changes back to github:
git push
And probably just pull in the changes on the production server
git pull
Ben
comment:29 Changed 2 years ago by annesley
hi!
don't we need to git add some files (from diff) in to the local staging area before the local git commit? unless we use commit -a?
my git is a little rusty so please excuse any mistakes!
thanks, a
comment:30 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 3.5 to 3.625
You're right. If you have added new files then they will need to be added to the stage in order to be committed into your local github repository.
Either ..
git add .
.. this will add all files that are currently not being tracked ..
or ..
git /path/to/file/or/directory
.. to add specific files or directories.
comment:33 follow-up: ↓ 39 Changed 2 years ago by ben
Hi Sam or someone else.. err.. it's been a while since I've done a pull and maybe you can help I've generated a fix for ticket #727, and pushed changes to git, but a bit confused as to which folder to git pull into. had a look on puffin in /data/disk/tn/static and there are lots of directories it could be... build-d7-hub-national-panopoly.make transition-network-d6-p009 control transition-network-d6-p010-booker EMPTY.txt transition-network-d6-s008 iirs-d006 transition-network-d6-s009 iirs-d007 transition-network-d6-s011 scratch transition-network-d6-s012 sites transition-network-manual-d6-s021 tn.id_rsa.pub transitionnetwork.org-d6.make transition-network-d6-p005 trash I went to transition-network-d6-s012 because that looks like the most recent stg site to pull into as a test, but when I went to transition-network-d6-s012/sites/all/themes/transition2 and did a git pull but got the following error fatal: Not a git repository (or any of the parent directories): .git - do I need to delete the theme folder transition2 and reclone from git? git clone git://github.com/transitionnetwork/transition2.git - and which folder is the staging server connected to at the moment? - and while I'm at it which is the current production folder. On 10 June 2014 15:19, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: ben > Type: maintenance | Status: reopened > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 0.5 | > -----------------------------------+-------------------------------------- > Changes (by sam): > > * status: closed => reopened > * resolution: needs testing => > > > Comment: > > Hey Ben > > Thanks for doing this. It looks great on Firefox. However looking on > Chrome (Version 33 on Debian Linux) the borders are appearing in blue, > with the exception of 'Resourcing' which appears correctly. > > Screenshot attached. > > Any ideas? > > Thanks > > Sam > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:7> > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:34 Changed 2 years ago by ben
Hi Sam yep, that's the page... here's a screenshot showing the settings I was on about... if you don't see it maybe I have different roles to you??? I'm a developer/site administrator On 10 June 2014 17:40, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: ben > Type: maintenance | Status: reopened > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 1.75 | > -----------------------------------+-------------------------------------- > > Comment (by sam): > > Hi Ben > > Just looking at your comment again. > > "I added the class button block in the block class settings on the block > edit page." > > I don't see a block class setting on the edit page, I remember seeing it > on other Drupal projects, perhaps I don't have permissions to view/ change > this? > > Just to double check; We are talking about this page: > > https://www.transitionnetwork.org/admin/build/block/configure/block/97?destination=blogs > %2Frob-hopkins ? > > Thanks > > Sam > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:10 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
Changed 2 years ago by ben
- Attachment Screen Shot 2014-06-10 at 18.09.42-1.png added
Added by email2trac
comment:36 follow-up: ↓ 40 Changed 2 years ago by ben
Paul... I need your help with the publishing process... thats why I put your name on the ticket, sorry that that wasnt clear. Look further up... And surely sam should have that permission. Shall I give him developer role? On 10 Jun 2014 19:05, "Transiton Technology Trac" < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.125 | Billable?: 1 > Total Hours: 1.75 | > -----------------------------------+-------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.125 > * totalhours: 1.75 => 1.875 > > > Comment: > > The *administer block classes* permission is only available to use with > the developer role .. > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:14 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. >
comment:37 follow-up: ↓ 42 Changed 2 years ago by ben
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 3.625 to 3.875
ok
I have working css locally, with changes synced to git on june 10th.
I have run the following command on puffin:
cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/all/themes
*there was no transition2 theme in this folder*
then I cloned from git
git clone git://github.com/transitionnetwork/transition2.git
then I cleared the cache
I didn't find the changes that I made had stuck
what I'm looking for in the css is this code:
a.bigbutton.green:link, a.bigbutton.green:visited {
background-color: #98b757;
background-image: -moz-linear-gradient(center top , #98b757, #afc47a);
border: 2px solid #ffffff;
color: #ffffff;
}
but the changes aren't there.
so... then I did a little explore at what I did previously, and went back to
cd /data/disk/tn/static/transition-network-d6-s012/sites/all/themes
then I removed the transition2 folder
rm -r transition2
and cloned from git
git clone git://github.com/transitionnetwork/transition2.git
still no joy...
Ben
comment:38 Changed 2 years ago by paul
Ben,
I'll reply shortly.
comment:39 in reply to: ↑ 33 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 3.875 to 4.125
Replying to ben:
Hi Sam or someone else.. err.. it's been a while since I've done a pull and maybe you can help I've generated a fix for ticket #727, and pushed changes to git, but a bit confused as to which folder to git pull into. had a look on puffin in /data/disk/tn/static and there are lots of directories it could be... build-d7-hub-national-panopoly.make transition-network-d6-p009 control transition-network-d6-p010-booker EMPTY.txt transition-network-d6-s008 iirs-d006 transition-network-d6-s009 iirs-d007 transition-network-d6-s011 scratch transition-network-d6-s012 sites transition-network-manual-d6-s021 tn.id_rsa.pub transitionnetwork.org-d6.make transition-network-d6-p005 trash I went to transition-network-d6-s012 because that looks like the most recent stg site to pull into as a test, but when I went to transition-network-d6-s012/sites/all/themes/transition2 and did a git pull but got the following error fatal: Not a git repository (or any of the parent directories): .git - do I need to delete the theme folder transition2 and reclone from git? git clone git://github.com/transitionnetwork/transition2.git
That should work. The reason you couldn't "git pull" is the theme is a static version (does not know of any github repositories)
- and which folder is the staging server connected to at the moment?
I would guess that this is the theme defined at the level of the platform:
/data/disk/tn/static/transition-network-d6-s012/sites/all/themes
And this is the theme defined at the level of the stage site on the stage platform:
/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes/
The transition theme looks to already have been switched to a version from github:
/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes/transition2
- and while I'm at it which is the current production folder.
Production platform:
/data/disk/tn/static/transition-network-d6-p010-booker
The transition theme is defined at the level of the platform:
/data/disk/tn/static/transition-network-d6-p010-booker/sites/all/themes
On 10 June 2014 15:19, Transiton Technology Trac <
trac@…> wrote:
#727: Change background on block from orange to white
Reporter: sam | Owner: ben
Type: maintenance | Status: reopened
Priority: major | Milestone:
Component: Theme | Resolution:
Keywords: theme, css | Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 | Billable?: 1
Total Hours: 0.5 |
Changes (by sam):
- status: closed => reopened
- resolution: needs testing =>
Comment:
Hey Ben
Thanks for doing this. It looks great on Firefox. However looking on
Chrome (Version 33 on Debian Linux) the borders are appearing in blue,
with the exception of 'Resourcing' which appears correctly.
Screenshot attached.
Any ideas?
Thanks
Sam
--
Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:7>
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
--
emailme@…
benjarlett.co.uk <http://www.benjarlett.co.uk>
07734 970739
}}}
comment:40 in reply to: ↑ 36 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 4.125 to 4.25
Replying to ben:
Paul... I need your help with the publishing process... thats why I put your name on the ticket, sorry that that wasnt clear. Look further up...
I think I must have missed the trac email before the weekend. I normally try to respond quickly.
And surely sam should have that permission. Shall I give him developer role?
Please do. I think I would need to get clearance from Ed before changing role permissions on the site. Or is this a developer site? If you can, please make the change.
On 10 Jun 2014 19:05, "Transiton Technology Trac" <
trac@…> wrote:
#727: Change background on block from orange to white
Reporter: sam | Owner: paul
Type: maintenance | Status: assigned
Priority: major | Milestone:
Component: Theme | Resolution:
Keywords: theme, css | Estimated Number of Hours: 0.0
Add Hours to Ticket: 0.125 | Billable?: 1
Total Hours: 1.75 |
Changes (by paul):
- hours: 0.0 => 0.125
- totalhours: 1.75 => 1.875
Comment:
The *administer block classes* permission is only available to use with
the developer role ..
--
Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:14
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
}}}
comment:41 Changed 2 years ago by ben
so Paul.. you think what I did should have worked right? but it's not. if you visit https://stg.transitionnetwork.org/blogs/rob-hopkins you can see the block "Check out our previous monthly themes", and if you visit Austerity, and go back you can see that it's left with a blue outline and blue text. This doesn't happen since I made the changes on my local site that got pushed to git on the 10th of June, and this changes are definitely on git here: https://github.com/transitionnetwork/transition2/commit/3f1ab7686760131118e292c581e937ed144b4b3c but are not on the staging site despite me running the commands I said I did. So I think there must be something else going on?? could you do me a favour and clone the theme from git to prove this either way... On 30 June 2014 14:16, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.25 | Billable?: 1 > Total Hours: 3.875 | > -----------------------------------+-------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.25 > * totalhours: 3.875 => 4.125 > > > Comment: > > Replying to [comment:33 ben]: > > {{{ > > Hi Sam or someone else.. err.. it's been a while since I've done a pull > and > > maybe you can help > > > > I've generated a fix for ticket #727, and pushed changes to git, but a > bit > > confused as to which folder to git pull into. > > had a look on puffin in /data/disk/tn/static and there are lots of > > directories it could be... > > > > build-d7-hub-national-panopoly.make transition-network-d6-p009 > > > > control transition-network-d6-p010-booker > > > > EMPTY.txt transition-network-d6-s008 > > > > iirs-d006 transition-network-d6-s009 > > > > iirs-d007 transition-network-d6-s011 > > > > scratch transition-network-d6-s012 > > > > sites transition-network-manual-d6-s021 > > > > tn.id_rsa.pub transitionnetwork.org-d6.make > > > > transition-network-d6-p005 trash > > > > > > I went to transition-network-d6-s012 because that looks like the most > > recent stg site to pull into as a test, but when I went to > > transition-network-d6-s012/sites/all/themes/transition2 and did a git > pull but > > got the following error > > > > fatal: Not a git repository (or any of the parent directories): .git > > > > > > - do I need to delete the theme folder transition2 and reclone from > > git? git clone git://github.com/transitionnetwork/transition2.git > > > That should work. The reason you couldn't "git pull" is the theme is a > static version (does not know of any github repositories) > > > - and which folder is the staging server connected to at the moment? > > > I would guess that this is the theme defined at the level of the platform: > > /data/disk/tn/static/transition-network-d6-s012/sites/all/themes > > > And this is the theme defined at the level of the stage site on the stage > platform: > > /data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/themes/ > > > The transition theme looks to already have been switched to a version from > github: > > /data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/themes/transition2 > > > - and while I'm at it which is the current production folder. > > Production platform: > > /data/disk/tn/static/transition-network-d6-p010-booker > > > The transition theme is defined at the level of the platform: > > /data/disk/tn/static/transition-network-d6-p010-booker/sites/all/themes > > > > > > > > > On 10 June 2014 15:19, Transiton Technology Trac < > > trac@tech.transitionnetwork.org> wrote: > > > > > #727: Change background on block from orange to white > > > > -----------------------------------+-------------------------------------- > > > Reporter: sam | Owner: ben > > > Type: maintenance | Status: > reopened > > > Priority: major | Milestone: > > > Component: Theme | Resolution: > > > Keywords: theme, css | Estimated Number of Hours: 0.0 > > > Add Hours to Ticket: 0 | Billable?: 1 > > > Total Hours: 0.5 | > > > > -----------------------------------+-------------------------------------- > > > Changes (by sam): > > > > > > * status: closed => reopened > > > * resolution: needs testing => > > > > > > > > > Comment: > > > > > > Hey Ben > > > > > > Thanks for doing this. It looks great on Firefox. However looking on > > > Chrome (Version 33 on Debian Linux) the borders are appearing in > blue, > > > with the exception of 'Resourcing' which appears correctly. > > > > > > Screenshot attached. > > > > > > Any ideas? > > > > > > Thanks > > > > > > Sam > > > > > > -- > > > Ticket URL: > <https://tech.transitionnetwork.org/trac/ticket/727#comment:7> > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > > Support and issues tracking for the Transition Network Web Project. > > > > > > > > > > > -- > > > > > > ------------- > > emailme@benjarlett.co.uk > > benjarlett.co.uk <http://www.benjarlett.co.uk> > > 07734 970739 > > > > }}} > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:39 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:42 in reply to: ↑ 37 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 4.25 to 4.5
Replying to ben:
ok
I have working css locally, with changes synced to git on june 10th.
I have run the following command on puffin:
cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/all/themes
*there was no transition2 theme in this folder*
then I cloned from git
git clone git://github.com/transitionnetwork/transition2.git
then I cleared the cache
I didn't find the changes that I made had stuck
what I'm looking for in the css is this code:
a.bigbutton.green:link, a.bigbutton.green:visited {
background-color: #98b757;
background-image: -moz-linear-gradient(center top , #98b757, #afc47a);
border: 2px solid #ffffff;
color: #ffffff;
}
but the changes aren't there.
so... then I did a little explore at what I did previously, and went back to
cd /data/disk/tn/static/transition-network-d6-s012/sites/all/themes
then I removed the transition2 folder
rm -r transition2
and cloned from git
git clone git://github.com/transitionnetwork/transition2.git
still no joy...
Ben
I think you need to commit the compiled version of your SASS files? I'm not that knowledgable of SASS but I think that's right?
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes# grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" .
./transition2/sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited {
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes# nano ./transition2/sass/buttons.scss
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes# grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" .
./transition2/sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited {
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes# nano ./transition2/sass/buttons.scss
comment:43 Changed 2 years ago by ben
I don't think that's the issue... I've got a thing called compass that automatically compiles the scss files when I save them to create the relevant css files.. so when I make a change to the scss, new css files area created this has to have happened for me to see the changes locally in my browser...it must be something else.. On 30 June 2014 14:53, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.25 | Billable?: 1 > Total Hours: 4.25 | > -----------------------------------+-------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.25 > * totalhours: 4.25 => 4.5 > > > Comment: > > Replying to [comment:37 ben]: > > ok > > > > I have working css locally, with changes synced to git on june 10th. > > I have run the following command on puffin: > > > > cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/all/themes > > > > *there was no transition2 theme in this folder* > > then I cloned from git > > > > git clone git://github.com/transitionnetwork/transition2.git > > > > then I cleared the cache > > > > I didn't find the changes that I made had stuck > > > > what I'm looking for in the css is this code: > > a.bigbutton.green:link, a.bigbutton.green:visited { > > background-color: #98b757; > > background-image: -moz-linear-gradient(center top , #98b757, > #afc47a); > > border: 2px solid #ffffff; > > color: #ffffff; > > } > > > > but the changes aren't there. > > > > so... then I did a little explore at what I did previously, and went > back to > > cd /data/disk/tn/static/transition-network-d6-s012/sites/all/themes > > > > then I removed the transition2 folder > > rm -r transition2 > > > > and cloned from git > > git clone git://github.com/transitionnetwork/transition2.git > > > > still no joy... > > > > > > Ben > > > > > I think you need to commit the compiled version of your SASS files? I'm > not that knowledgable of SASS but I think that's right? > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/themes# grep -r > "a.bigbutton.green:link, a.bigbutton.green:visited" . > ./transition2/sass/buttons.scss:a.bigbutton.green:link, > a.bigbutton.green:visited { > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/themes# nano > ./transition2/sass/buttons.scss > > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes# > grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" . > ./transition2/sass/buttons.scss:a.bigbutton.green:link, > a.bigbutton.green:visited { > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes# > nano ./transition2/sass/buttons.scss > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:42 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:44 Changed 2 years ago by ben
http://compass.kkbox.com/ On 30 June 2014 15:16, ben jarlett <emailme@benjarlett.co.uk> wrote: > I don't think that's the issue... > > I've got a thing called compass that automatically compiles the scss files > when I save them to create the relevant css files.. > > so when I make a change to the scss, new css files area created > > this has to have happened for me to see the changes locally in my > browser...it must be something else.. > > > > On 30 June 2014 14:53, Transiton Technology Trac < > trac@tech.transitionnetwork.org> wrote: > >> #727: Change background on block from orange to white >> -----------------------------------+-------------------------------------- >> Reporter: sam | Owner: paul >> Type: maintenance | Status: assigned >> Priority: major | Milestone: >> Component: Theme | Resolution: >> Keywords: theme, css | Estimated Number of Hours: 0.0 >> Add Hours to Ticket: 0.25 | Billable?: 1 >> Total Hours: 4.25 | >> -----------------------------------+-------------------------------------- >> Changes (by paul): >> >> * hours: 0.0 => 0.25 >> * totalhours: 4.25 => 4.5 >> >> >> Comment: >> >> Replying to [comment:37 ben]: >> > ok >> > >> > I have working css locally, with changes synced to git on june 10th. >> > I have run the following command on puffin: >> > >> > cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- >> stage-20140501.transitionnetwork.org/all/themes >> > >> > *there was no transition2 theme in this folder* >> > then I cloned from git >> > >> > git clone git://github.com/transitionnetwork/transition2.git >> > >> > then I cleared the cache >> > >> > I didn't find the changes that I made had stuck >> > >> > what I'm looking for in the css is this code: >> > a.bigbutton.green:link, a.bigbutton.green:visited { >> > background-color: #98b757; >> > background-image: -moz-linear-gradient(center top , #98b757, >> #afc47a); >> > border: 2px solid #ffffff; >> > color: #ffffff; >> > } >> > >> > but the changes aren't there. >> > >> > so... then I did a little explore at what I did previously, and went >> back to >> > cd /data/disk/tn/static/transition-network-d6-s012/sites/all/themes >> > >> > then I removed the transition2 folder >> > rm -r transition2 >> > >> > and cloned from git >> > git clone git://github.com/transitionnetwork/transition2.git >> > >> > still no joy... >> > >> > >> > Ben >> > >> >> >> I think you need to commit the compiled version of your SASS files? I'm >> not that knowledgable of SASS but I think that's right? >> >> puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- >> stage-20140501.transitionnetwork.org/themes# grep -r >> "a.bigbutton.green:link, a.bigbutton.green:visited" . >> ./transition2/sass/buttons.scss:a.bigbutton.green:link, >> a.bigbutton.green:visited { >> puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- >> stage-20140501.transitionnetwork.org/themes# nano >> ./transition2/sass/buttons.scss >> >> >> puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes# >> grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" . >> ./transition2/sass/buttons.scss:a.bigbutton.green:link, >> a.bigbutton.green:visited { >> puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes# >> nano ./transition2/sass/buttons.scss >> >> -- >> Ticket URL: < >> https://tech.transitionnetwork.org/trac/ticket/727#comment:42> >> Transition Technology <https://tech.transitionnetwork.org/trac> >> Support and issues tracking for the Transition Network Web Project. >> > > > > -- > > > ------------- > emailme@benjarlett.co.uk > benjarlett.co.uk <http://www.benjarlett.co.uk> > 07734 970739 > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:45 Changed 2 years ago by paul
-- Best Paul Booker Drupal Developer & Systems Administrator Website: http://www.paulbooker.co.uk Tel: +44 01922 861636 On Monday, 30 June 2014 at 15:20, Transiton Technology Trac wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 4.5 | > -----------------------------------+-------------------------------------- > > Comment (by ben): > > {{{ > http://compass.kkbox.com/ > > > On 30 June 2014 15:16, ben jarlett <emailme@benjarlett.co.uk (mailto:emailme@benjarlett.co.uk)> wrote: > > > I don't think that's the issue... > > > > I've got a thing called compass that automatically compiles the scss > files > > when I save them to create the relevant css files.. > > > > so when I make a change to the scss, new css files area created > > The modified css file is not on the server only the modified scss file. > > > > this has to have happened for me to see the changes locally in my > > browser...it must be something else.. > > You know that compass has compiled your scss files on your local machine because you see the effects of the generated css files but you can’t conclude that after pushing your scss files to the server that the css files will be automatically generated on the server. You will need to stage the generated css files, commit them, and push them to github and then pull them on the puffin server and possibly clear the caches. > > > > > > > > On 30 June 2014 14:53, Transiton Technology Trac < > > trac@tech.transitionnetwork.org (mailto:trac@tech.transitionnetwork.org)> wrote: > > > >> #727: Change background on block from orange to white > >> > -----------------------------------+-------------------------------------- > >> Reporter: sam | Owner: paul > >> Type: maintenance | Status: > assigned > >> Priority: major | Milestone: > >> Component: Theme | Resolution: > >> Keywords: theme, css | Estimated Number of Hours: 0.0 > >> Add Hours to Ticket: 0.25 | Billable?: 1 > >> Total Hours: 4.25 | > >> > -----------------------------------+-------------------------------------- > >> Changes (by paul): > >> > >> * hours: 0.0 => 0.25 > >> * totalhours: 4.25 => 4.5 > >> > >> > >> Comment: > >> > >> Replying to [comment:37 ben]: > >> > ok > >> > > >> > I have working css locally, with changes synced to git on june 10th. > >> > I have run the following command on puffin: > >> > > >> > cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- > >> stage-20140501.transitionnetwork.org/all/themes (http://stage-20140501.transitionnetwork.org/all/themes) > >> > > >> > *there was no transition2 theme in this folder* > >> > then I cloned from git > >> > > >> > git clone git://github.com/transitionnetwork/transition2.git (http://github.com/transitionnetwork/transition2.git) > >> > > >> > then I cleared the cache > >> > > >> > I didn't find the changes that I made had stuck > >> > > >> > what I'm looking for in the css is this code: > >> > a.bigbutton.green:link, a.bigbutton.green:visited { > >> > background-color: #98b757; > >> > background-image: -moz-linear-gradient(center top , #98b757, > >> #afc47a); > >> > border: 2px solid #ffffff; > >> > color: #ffffff; > >> > } > >> > > >> > but the changes aren't there. > >> > > >> > so... then I did a little explore at what I did previously, and went > >> back to > >> > cd /data/disk/tn/static/transition-network-d6-s012/sites/all/themes > >> > > >> > then I removed the transition2 folder > >> > rm -r transition2 > >> > > >> > and cloned from git > >> > git clone git://github.com/transitionnetwork/transition2.git (http://github.com/transitionnetwork/transition2.git) > >> > > >> > still no joy... > >> > > >> > > >> > Ben > >> > > >> > >> > >> I think you need to commit the compiled version of your SASS files? > I'm > >> not that knowledgable of SASS but I think that's right? > >> > >> puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > >> stage-20140501.transitionnetwork.org/themes# (http://stage-20140501.transitionnetwork.org/themes#) grep -r > >> "a.bigbutton.green:link, a.bigbutton.green:visited" . > >> ./transition2/sass/buttons.scss:a.bigbutton.green:link, > >> a.bigbutton.green:visited { > >> puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > >> stage-20140501.transitionnetwork.org/themes# (http://stage-20140501.transitionnetwork.org/themes#) nano > >> ./transition2/sass/buttons.scss > >> > >> > >> puffin:/data/disk/tn/static/transition- > network-d6-s012/sites/all/themes# > >> grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" . > >> ./transition2/sass/buttons.scss:a.bigbutton.green:link, > >> a.bigbutton.green:visited { > >> puffin:/data/disk/tn/static/transition- > network-d6-s012/sites/all/themes# > >> nano ./transition2/sass/buttons.scss > >> > >> -- > >> Ticket URL: < > >> https://tech.transitionnetwork.org/trac/ticket/727#comment:42> > >> Transition Technology <https://tech.transitionnetwork.org/trac> > >> Support and issues tracking for the Transition Network Web Project. > >> > > > > > > > > -- > > > > > > ------------- > > emailme@benjarlett.co.uk (mailto:emailme@benjarlett.co.uk) > > benjarlett.co.uk <http://www.benjarlett.co.uk> > > 07734 970739 > > > > > > -- > > > ------------- > emailme@benjarlett.co.uk (mailto:emailme@benjarlett.co.uk) > benjarlett.co.uk <http://www.benjarlett.co.uk> > 07734 970739 > > }}} > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:44> > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > >
comment:46 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 4.5 to 4.625
Ben said (via email) ..
you can see that both went up here
https://github.com/transitionnetwork/transition2/commit/3f1ab7686760131118e292c581e937ed144b4b3c
My reply ..
Your css file contains errors ..
stylesheets/buttons.css
Please, always check what your committing.
comment:47 Changed 2 years ago by ben
that doesn't matter... those files aren't loaded by the site. screen.scss is compiled including buttons.scss (and colours.scss..) to create screen.css which is loaded by the site. It doesn't make sense to compile buttons.scss on it's own because it references variables found in colours.scss hence the error. On 30 June 2014 15:56, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.125 | Billable?: 1 > Total Hours: 4.5 | > -----------------------------------+-------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.125 > * totalhours: 4.5 => 4.625 > > > Comment: > > Ben said (via email) .. > > you can see that both went up here > > https://github.com/transitionnetwork/transition2/commit/3f1ab7686760131118e292c581e937ed144b4b3c > > My reply .. > > Your css file contains errors .. > stylesheets/buttons.css > > Please, always check what your committing. > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:46 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:48 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 4.625 to 4.875
I have updated the theme directories by running a "git pull" ..
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes/transition2# git pull
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 1), reused 2 (delta 1)
Unpacking objects: 100% (7/7), done.
From git://github.com/transitionnetwork/transition2
3f1ab76..0970b6f master -> origin/master
Updating 3f1ab76..0970b6f
Fast-forward
compass_app_log.txt | 34 ++++++++++++++++++++++++++++++++++
config.rb | 4 +++-
stylesheets/buttons.css | 38 ++++++++++++--------------------------
stylesheets/colours.css | 2 +-
4 files changed, 50 insertions(+), 28 deletions(-)
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes/transition2# git pull
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 1), reused 2 (delta 1)
Unpacking objects: 100% (7/7), done.
From git://github.com/transitionnetwork/transition2
3f1ab76..0970b6f master -> origin/master
Updating 3f1ab76..0970b6f
Fast-forward
compass_app_log.txt | 34 ++++++++++++++++++++++++++++++++++
config.rb | 4 +++-
stylesheets/buttons.css | 38 ++++++++++++--------------------------
stylesheets/colours.css | 2 +-
4 files changed, 50 insertions(+), 28 deletions(-)
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes/transition2# grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" .
./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited {
No screen.css file was updated, which I think is not correct?
The following return no records:
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes/transition2/stylesheets# grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" screen.css
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes/transition2/stylesheets# grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" screen.css
comment:49 Changed 2 years ago by paul
Chris, Annesley
Would you help Ben? I'm going offline now, and not available until Thursday.
Best, Paul
comment:50 Changed 2 years ago by ben
I think you're right... hopefully all this will get us to the bottom of this eventually... I've just done a sync to git after changing the compression settings (causing a force of changes to all scss as well as css files) but I can't git pull: tn.ftp:[transition2]$ git pull error: cannot open .git/FETCH_HEAD: Permission denied so i tried removing the transition2 folder in order to re clone it to try and fix it, but I'm getting permission denied (which I guess is why I couldn't pull). I'm guessing now that this is because you created it... I'm confused as to why it is working locally and not online. there must be some proper voodoo going on... On 30 June 2014 17:35, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.25 | Billable?: 1 > Total Hours: 4.625 | > -----------------------------------+-------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.25 > * totalhours: 4.625 => 4.875 > > > Comment: > > I have updated the theme directories by running a "git pull" .. > > puffin:/data/disk/tn/static/transition- > network-d6-s012/sites/all/themes/transition2# git pull > remote: Counting objects: 7, done. > remote: Compressing objects: 100% (6/6), done. > remote: Total 7 (delta 1), reused 2 (delta 1) > Unpacking objects: 100% (7/7), done. > From git://github.com/transitionnetwork/transition2 > 3f1ab76..0970b6f master -> origin/master > Updating 3f1ab76..0970b6f > Fast-forward > compass_app_log.txt | 34 ++++++++++++++++++++++++++++++++++ > config.rb | 4 +++- > stylesheets/buttons.css | 38 ++++++++++++-------------------------- > stylesheets/colours.css | 2 +- > 4 files changed, 50 insertions(+), 28 deletions(-) > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/themes/transition2# git pull > remote: Counting objects: 7, done. > remote: Compressing objects: 100% (6/6), done. > remote: Total 7 (delta 1), reused 2 (delta 1) > Unpacking objects: 100% (7/7), done. > From git://github.com/transitionnetwork/transition2 > 3f1ab76..0970b6f master -> origin/master > Updating 3f1ab76..0970b6f > Fast-forward > compass_app_log.txt | 34 ++++++++++++++++++++++++++++++++++ > config.rb | 4 +++- > stylesheets/buttons.css | 38 ++++++++++++-------------------------- > stylesheets/colours.css | 2 +- > 4 files changed, 50 insertions(+), 28 deletions(-) > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/themes/transition2# grep -r > "a.bigbutton.green:link, a.bigbutton.green:visited" . > ./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited { > > > No screen.css file was updated, which I think is not correct? > > > The following return no records: > > puffin:/data/disk/tn/static/transition- > network-d6-s012/sites/all/themes/transition2/stylesheets# grep -r > "a.bigbutton.green:link, a.bigbutton.green:visited" screen.css > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/themes/transition2/stylesheets# > > a.bigbutton.green:link, a.bigbutton.green:visited > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:48 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:51 follow-up: ↓ 53 Changed 2 years ago by ben
chris, annesley. This is a rather long email trail so I thought it was important to summarise.. I've made this change (ages ago now) which has synced to git here: https://github.com/transitionnetwork/transition2/commit/3f1ab7686760131118e292c581e937ed144b4b3c Initially I was lost as to where on the server I was supposed to pull to, then when I tried to pull I couldn't and paul said i needed to remove the folder and re clone it that's still not implementing the important css change on http://stg.transitionnetwork.org/ that I'm looking for a.bigbutton.green:link, a.bigbutton.green:visited { background-color: #98b757; background-image: -moz-linear-gradient(center top , #98b757, #afc47a); border: 2px solid #ffffff; color: #ffffff; } I do have this change working locally, and my local folder is synced to git so I'm confused as to why this isn't working. Right now I'm wanting to pull it to: puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- stage-20140501.transitionnetwork.org/themes/transition2 I don't appear to have access to do that. This is because when I did the clone before it didn't work, and paul said it would, so I asked him to do it (incase I was missing something important). - Paul initially thought it was because I hadn't compiled my scss files (but compass does that every time I save) - then he thought that it was because buttons.css was throwing an error (but that doesn't matter as it's not called... when screen.scss is compiled it includes button.scss and colours.scss to make screen.css which is called.. buttons.css is irrelevant), - then he thought it was because screen.css wasn't updated (but it was updated to git as you can see if you look). In an attempt to get to the bottom of this I've turned off compression locally and synced to git, but now I can't pull to STG. I think I don't have access because of how I'm logging into puffin maybe?? I just type into the terminal: ssh tn.ftp@puffin.webarch.net but earlier today chris noticed me logging in from somewhere odd (which I think is cos rupert murdoc bought my broadband provider.. theb**stard) and that I should ssh in from my other account (benj) and I'm not sure how to do that (i.e. what do I type into terminal??) please understand that if I have to do anything in terminal (other than changing directory or listing a directory..Ive got that now :) ) I need it spelling out to me. Ben On 30 June 2014 18:05, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 4.875 | > -----------------------------------+-------------------------------------- > > Comment (by ben): > > {{{ > I think you're right... hopefully all this will get us to the bottom of > this eventually... > > I've just done a sync to git after changing the compression settings > (causing a force of changes to all scss as well as css files) but I can't > git pull: > > tn.ftp:[transition2]$ git pull > > error: cannot open .git/FETCH_HEAD: Permission denied > > > so i tried removing the transition2 folder in order to re clone it to try > and fix it, but I'm getting permission denied (which I guess is why I > couldn't pull). I'm guessing now that this is because you created it... > > > I'm confused as to why it is working locally and not online. there must be > some proper voodoo going on... > > > > > > On 30 June 2014 17:35, Transiton Technology Trac < > trac@tech.transitionnetwork.org> wrote: > > > #727: Change background on block from orange to white > > > -----------------------------------+-------------------------------------- > > Reporter: sam | Owner: paul > > Type: maintenance | Status: > assigned > > Priority: major | Milestone: > > Component: Theme | Resolution: > > Keywords: theme, css | Estimated Number of Hours: 0.0 > > Add Hours to Ticket: 0.25 | Billable?: 1 > > Total Hours: 4.625 | > > > -----------------------------------+-------------------------------------- > > Changes (by paul): > > > > * hours: 0.0 => 0.25 > > * totalhours: 4.625 => 4.875 > > > > > > Comment: > > > > I have updated the theme directories by running a "git pull" .. > > > > puffin:/data/disk/tn/static/transition- > > network-d6-s012/sites/all/themes/transition2# git pull > > remote: Counting objects: 7, done. > > remote: Compressing objects: 100% (6/6), done. > > remote: Total 7 (delta 1), reused 2 (delta 1) > > Unpacking objects: 100% (7/7), done. > > From git://github.com/transitionnetwork/transition2 > > 3f1ab76..0970b6f master -> origin/master > > Updating 3f1ab76..0970b6f > > Fast-forward > > compass_app_log.txt | 34 ++++++++++++++++++++++++++++++++++ > > config.rb | 4 +++- > > stylesheets/buttons.css | 38 ++++++++++++-------------------------- > > stylesheets/colours.css | 2 +- > > 4 files changed, 50 insertions(+), 28 deletions(-) > > > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > > stage-20140501.transitionnetwork.org/themes/transition2# git pull > > remote: Counting objects: 7, done. > > remote: Compressing objects: 100% (6/6), done. > > remote: Total 7 (delta 1), reused 2 (delta 1) > > Unpacking objects: 100% (7/7), done. > > From git://github.com/transitionnetwork/transition2 > > 3f1ab76..0970b6f master -> origin/master > > Updating 3f1ab76..0970b6f > > Fast-forward > > compass_app_log.txt | 34 ++++++++++++++++++++++++++++++++++ > > config.rb | 4 +++- > > stylesheets/buttons.css | 38 ++++++++++++-------------------------- > > stylesheets/colours.css | 2 +- > > 4 files changed, 50 insertions(+), 28 deletions(-) > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > > stage-20140501.transitionnetwork.org/themes/transition2# grep -r > > "a.bigbutton.green:link, a.bigbutton.green:visited" . > > ./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited { > > > > > > No screen.css file was updated, which I think is not correct? > > > > > > The following return no records: > > > > puffin:/data/disk/tn/static/transition- > > network-d6-s012/sites/all/themes/transition2/stylesheets# grep -r > > "a.bigbutton.green:link, a.bigbutton.green:visited" screen.css > > > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > > stage-20140501.transitionnetwork.org/themes/transition2/stylesheets# > > > > a.bigbutton.green:link, a.bigbutton.green:visited > > > > -- > > Ticket URL: > <https://tech.transitionnetwork.org/trac/ticket/727#comment:48 > > > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > Support and issues tracking for the Transition Network Web Project. > > > > > > -- > > > ------------- > emailme@benjarlett.co.uk > benjarlett.co.uk <http://www.benjarlett.co.uk> > 07734 970739 > > }}} > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:50 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:52 Changed 2 years ago by ben
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 4.875 to 5.125
comment:53 in reply to: ↑ 51 Changed 2 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 5.125 to 5.375
Replying to ben:
Right now I'm wanting to pull it to:
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-
stage-20140501.transitionnetwork.org/themes/transition2
I don't appear to have access to do that.
I'm not sure if this is the "right" thing to do BOA wise but I have chowned the /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes directory:
cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org ls -lah total 708K drwxr-xr-x 7 tn users 4.0K Jun 12 16:33 ./ drwxr-x--x 7 tn users 4.0K Jun 12 16:44 ../ -r--r----- 1 tn users 436K Jun 12 16:42 drushrc.php drwxrwsr-x 976 tn www-data 236K May 1 16:18 files/ drwxrwsr-x 2 tn users 4.0K Feb 18 2013 libraries/ -r--r----- 1 tn www-data 224 Feb 18 2013 local.settings.php drwxrwsr-x 2 tn users 4.0K Jun 30 03:03 modules/ -rw-r--r-- 1 tn users 0 Oct 7 2013 nginx_cache_quarter.info drwxrwsr-x 5 tn www-data 4.0K Feb 18 2013 private/ -r--r----- 1 tn www-data 2.5K Jun 12 16:42 settings.php drwxrwsr-x 3 tn users 4.0K Jun 30 10:57 themes/ chown tn.ftp:users themes ls -lah total 708K drwxr-xr-x 7 tn users 4.0K Jun 12 16:33 ./ drwxr-x--x 7 tn users 4.0K Jun 12 16:44 ../ -r--r----- 1 tn users 436K Jun 12 16:42 drushrc.php drwxrwsr-x 976 tn www-data 236K May 1 16:18 files/ drwxrwsr-x 2 tn users 4.0K Feb 18 2013 libraries/ -r--r----- 1 tn www-data 224 Feb 18 2013 local.settings.php drwxrwsr-x 2 tn users 4.0K Jun 30 03:03 modules/ -rw-r--r-- 1 tn users 0 Oct 7 2013 nginx_cache_quarter.info drwxrwsr-x 5 tn www-data 4.0K Feb 18 2013 private/ -r--r----- 1 tn www-data 2.5K Jun 12 16:42 settings.php drwxrwsr-x 3 tn.ftp users 4.0K Jun 30 10:57 themes/
Can you try again?
earlier today chris noticed me logging in from somewhere odd (which I
think is cos rupert murdoc bought my broadband provider.. theb**stard)
and that I should ssh in from my other account (benj) and I'm not sure how
to do that (i.e. what do I type into terminal??)
please understand that if I have to do anything in terminal (other than
changing directory or listing a directory..Ive got that now :) ) I need it
spelling out to me.
If you are not confident doing things using the shell then it is probably best if you don't use sudo -- there is a greater potential to break things than with the restricted shell you are using.
comment:54 follow-up: ↓ 55 Changed 2 years ago by ben
I get tn.ftp:[themes]$ rm -r transition2 rm: descend into write-protected directory `transition2/.git/objects/57'? y rm: remove write-protected regular file `transition2/.git/objects/57/a81cb30a255054d8e9f4f8577ff5ec8dbc1e25'? y rm: cannot remove `transition2/.git/objects/57/a81cb30a255054d8e9f4f8577ff5ec8dbc1e25': Permission denied On 30 June 2014 19:08, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.25 | Billable?: 1 > Total Hours: 5.125 | > -----------------------------------+-------------------------------------- > Changes (by chris): > > * hours: 0.0 => 0.25 > * totalhours: 5.125 => 5.375 > > > Comment: > > Replying to [comment:51 ben]: > > > > Right now I'm wanting to pull it to: > > puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker- > > stage-20140501.transitionnetwork.org/themes/transition2 > > > > I don't appear to have access to do that. > > I'm not sure if this is the "right" thing to do BOA wise but I have > chowned the {{{/data/disk/tn/static/transition-network-d6-s012/sites > /booker-stage-20140501.transitionnetwork.org/themes}}} directory: > > {{{ > cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org > ls -lah > total 708K > drwxr-xr-x 7 tn users 4.0K Jun 12 16:33 ./ > drwxr-x--x 7 tn users 4.0K Jun 12 16:44 ../ > -r--r----- 1 tn users 436K Jun 12 16:42 drushrc.php > drwxrwsr-x 976 tn www-data 236K May 1 16:18 files/ > drwxrwsr-x 2 tn users 4.0K Feb 18 2013 libraries/ > -r--r----- 1 tn www-data 224 Feb 18 2013 local.settings.php > drwxrwsr-x 2 tn users 4.0K Jun 30 03:03 modules/ > -rw-r--r-- 1 tn users 0 Oct 7 2013 nginx_cache_quarter.info > drwxrwsr-x 5 tn www-data 4.0K Feb 18 2013 private/ > -r--r----- 1 tn www-data 2.5K Jun 12 16:42 settings.php > drwxrwsr-x 3 tn users 4.0K Jun 30 10:57 themes/ > chown tn.ftp:users themes > ls -lah > total 708K > drwxr-xr-x 7 tn users 4.0K Jun 12 16:33 ./ > drwxr-x--x 7 tn users 4.0K Jun 12 16:44 ../ > -r--r----- 1 tn users 436K Jun 12 16:42 drushrc.php > drwxrwsr-x 976 tn www-data 236K May 1 16:18 files/ > drwxrwsr-x 2 tn users 4.0K Feb 18 2013 libraries/ > -r--r----- 1 tn www-data 224 Feb 18 2013 local.settings.php > drwxrwsr-x 2 tn users 4.0K Jun 30 03:03 modules/ > -rw-r--r-- 1 tn users 0 Oct 7 2013 > nginx_cache_quarter.info > drwxrwsr-x 5 tn www-data 4.0K Feb 18 2013 private/ > -r--r----- 1 tn www-data 2.5K Jun 12 16:42 settings.php > drwxrwsr-x 3 tn.ftp users 4.0K Jun 30 10:57 themes/ > }}} > > Can you try again? > > > earlier today chris noticed me logging in from somewhere odd (which I > > think is cos rupert murdoc bought my broadband provider.. theb!**stard) > > and that I should ssh in from my other account (benj) and I'm not sure > how > > to do that (i.e. what do I type into terminal??) > > > > please understand that if I have to do anything in terminal (other than > > changing directory or listing a directory..Ive got that now :) ) I need > it > > spelling out to me. > > If you are not confident doing things using the shell then it is probably > best if you don't use sudo -- there is a greater potential to break things > then with the restricted shell you are using. > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:53 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:55 in reply to: ↑ 54 Changed 2 years ago by chris
Replying to ben:
I get
tn.ftp:[themes]$ rm -r transition2 rm: descend into write-protected directory `transition2/.git/objects/57'? y rm: remove write-protected regular file `transition2/.git/objects/57/a81cb30a255054d8e9f4f8577ff5ec8dbc1e25'? y rm: cannot remove `transition2/.git/objects/57/a81cb30a255054d8e9f4f8577ff5ec8dbc1e25': Permission denied
OK, I have done a recursive chown:
cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org chown -R tn.ftp:users themes/
Try again?
comment:56 follow-up: ↓ 57 Changed 2 years ago by ben
Thanks chris.. that worked.. clone appeared to go well ...but despite clearing cache twice and disabling advagg for my broser using the toggle here ( https://stg.transitionnetwork.org/admin/settings/advagg) my changes to screen.css aren't showing. Is there some other caching going on? On 30 June 2014 19:52, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 5.375 | > -----------------------------------+-------------------------------------- > > Comment (by chris): > > Replying to [comment:54 ben]: > > > > I get > > {{{ > > tn.ftp:[themes]$ rm -r transition2 > > > > rm: descend into write-protected directory > `transition2/.git/objects/57'? y > > > > rm: remove write-protected regular file > > `transition2/.git/objects/57/a81cb30a255054d8e9f4f8577ff5ec8dbc1e25'? y > > > > rm: cannot remove > > `transition2/.git/objects/57/a81cb30a255054d8e9f4f8577ff5ec8dbc1e25': > > Permission denied > > }}} > > OK, I have done a recursive chown: > > {{{ > cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org > chown -R tn.ftp:users themes/ > }}} > > Try again? > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:55 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:57 in reply to: ↑ 56 Changed 2 years ago by chris
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 5.375 to 5.625
Replying to ben:
Is there some other caching going on?
The Drupal cache?
I have cleared it like this:
su - tn.ftp -s /bin/bash cd /data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/ drush cc all 'all' cache was cleared [success] Missing Feeds plugin FeedsUserNotificationProcessor. Please contact your site administrator. [warning]
Has that done the trick?
comment:58 follow-up: ↓ 59 Changed 2 years ago by ben
no, I cleared that twice... I'm basically a bit lost with why fixing something locally and pushing changes to git, then cloning from git's not producing the same as I have here when I've done it loads of times before and it's all been fine... On 30 June 2014 21:31, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.25 | Billable?: 1 > Total Hours: 5.375 | > -----------------------------------+-------------------------------------- > Changes (by chris): > > * hours: 0.0 => 0.25 > * totalhours: 5.375 => 5.625 > > > Comment: > > Replying to [comment:56 ben]: > > Is there some other caching going on? > > The Drupal cache? > > I have cleared it like this: > > {{{ > su - tn.ftp -s /bin/bash > cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- > stage-20140501.transitionnetwork.org/ > drush cc all > > 'all' cache was cleared > [success] > Missing Feeds plugin FeedsUserNotificationProcessor. Please contact your > site administrator. [warning] > }}} > > Has that done the trick? > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:57 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:59 in reply to: ↑ 58 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 5.625 to 5.75
Replying to ben:
no, I cleared that twice... I'm basically a bit lost with why fixing something locally and pushing changes to git, then cloning from git's not producing the same as I have here when I've done it loads of times before and it's all been fine...
Ben,
Do you agree that the problem is that the file screen.css file should be updated in Git?
Try to pull your changes to the same site that you have used before. My guess is that you will have the same problem there.
On 30 June 2014 21:31, Transiton Technology Trac <
trac@…> wrote:
#727: Change background on block from orange to white
Reporter: sam | Owner: paul
Type: maintenance | Status: assigned
Priority: major | Milestone:
Component: Theme | Resolution:
Keywords: theme, css | Estimated Number of Hours: 0.0
Add Hours to Ticket: 0.25 | Billable?: 1
Total Hours: 5.375 |
Changes (by chris):
- hours: 0.0 => 0.25
- totalhours: 5.375 => 5.625
Comment:
Replying to ben:
Is there some other caching going on?
The Drupal cache?
I have cleared it like this:
su - tn.ftp -s /bin/bash cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- stage-20140501.transitionnetwork.org/ drush cc all 'all' cache was cleared [success] Missing Feeds plugin FeedsUserNotificationProcessor. Please contact your site administrator. [warning]Has that done the trick?
--
Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:57
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
--
emailme@…
benjarlett.co.uk <http://www.benjarlett.co.uk>
07734 970739
}}}
comment:60 follow-up: ↓ 61 Changed 2 years ago by ben
Hi again Paul no, I don't agree...from what I can work out - firstly screen.css *was* updated back on 10th june, you can see that it was when you look on the git website. - secondly I just updated screen.css and pushed to git again (by changing the compression settings as an attempt to debug, so now I can identify the line number 1353 which I can see on git and I just cloned to the staging server it feels crazy to be arguing that what I'm pulling from git isn't going into the staging server... but that's what I'm seeing. It's such a simple thing. It shouldn't be happening. I feel you doubting me, and I understand why, but I can't see what I'm missing. I'm not sure what pulling the changes to an older version of the staging servers gonna do cos I can't see that change... I can only assume that I've been pulling to the wrong place...or theres some other cache that isn't advagg or the main drupal cache. Ben On 30 June 2014 22:42, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0.125 | Billable?: 1 > Total Hours: 5.625 | > -----------------------------------+-------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.125 > * totalhours: 5.625 => 5.75 > > > Comment: > > Replying to [comment:58 ben]: > > {{{ > > no, I cleared that twice... I'm basically a bit lost with why fixing > > something locally and pushing changes to git, then cloning from git's > not > > producing the same as I have here when I've done it loads of times > before > > and it's all been fine... > > Ben, > > Do you agree that the problem is that the file screen.css file should be > updated in Git? > > Try to pull your changes to the same site that you have used before. My > guess is that you will have the same problem there. > > > > > > > On 30 June 2014 21:31, Transiton Technology Trac < > > trac@tech.transitionnetwork.org> wrote: > > > > > #727: Change background on block from orange to white > > > > -----------------------------------+-------------------------------------- > > > Reporter: sam | Owner: paul > > > Type: maintenance | Status: > assigned > > > Priority: major | Milestone: > > > Component: Theme | Resolution: > > > Keywords: theme, css | Estimated Number of Hours: 0.0 > > > Add Hours to Ticket: 0.25 | Billable?: 1 > > > Total Hours: 5.375 | > > > > -----------------------------------+-------------------------------------- > > > Changes (by chris): > > > > > > * hours: 0.0 => 0.25 > > > * totalhours: 5.375 => 5.625 > > > > > > > > > Comment: > > > > > > Replying to [comment:56 ben]: > > > > Is there some other caching going on? > > > > > > The Drupal cache? > > > > > > I have cleared it like this: > > > > > > {{{ > > > su - tn.ftp -s /bin/bash > > > cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- > > > stage-20140501.transitionnetwork.org/ > > > drush cc all > > > > > > 'all' cache was cleared > > > [success] > > > Missing Feeds plugin FeedsUserNotificationProcessor. Please contact > your > > > site administrator. [warning] > > > }}} > > > > > > Has that done the trick? > > > > > > -- > > > Ticket URL: > <https://tech.transitionnetwork.org/trac/ticket/727#comment:57 > > > > > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > > Support and issues tracking for the Transition Network Web Project. > > > > > > > > > > > -- > > > > > > ------------- > > emailme@benjarlett.co.uk > > benjarlett.co.uk <http://www.benjarlett.co.uk> > > 07734 970739 > > > > }}} > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:59 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:61 in reply to: ↑ 60 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 5.75 to 6.0
it feels crazy to be arguing that what I'm pulling from git isn't going
into the staging server... but that's what I'm seeing. It's such a simple
thing. It shouldn't be happening. I feel you doubting me, and I understand
why, but I can't see what I'm missing.
We're not arguing.
I'm not sure what pulling the changes to an older version of the staging
servers gonna do cos I can't see that change...
If you can pull your changes to the stage site - you normally pull to - and the changes still don't appear, then, to my mind that suggests strongly that the problem is likely to be with something that you did. Also at the start you said:
what I'm looking for in the css is this code:
a.bigbutton.green:link, a.bigbutton.green:visited {
background-color: #98b757;
background-image: -moz-linear-gradient(center top , #98b757, #afc47a);
border: 2px solid #ffffff;
color: #ffffff;
}
When you do a search on the server (as described above) for the line ..
a.bigbutton.green:link, a.bigbutton.green:visited {
.. in both theme directories, where you made your changes, only the scss file had been modified, not the css file.
The evidence seems to suggest that you haven't committed and pushed the css changes to the server.
Would you try the grep commands on your local machine
grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" .
Also try ..
git status
.. are there any changes that have not been staged to commit.
I can only assume that I've been pulling to the wrong place...or theres
some other cache that isn't advagg or the main drupal cache.
The problem were facing now, isn't a cache problem - the problem is that the code that were looking for is not on the server.
Let me know if you want me to search for anything else. I'll have a look later this evening.
Ben
On 30 June 2014 22:42, Transiton Technology Trac <
trac@…> wrote:
#727: Change background on block from orange to white
Reporter: sam | Owner: paul
Type: maintenance | Status: assigned
Priority: major | Milestone:
Component: Theme | Resolution:
Keywords: theme, css | Estimated Number of Hours: 0.0
Add Hours to Ticket: 0.125 | Billable?: 1
Total Hours: 5.625 |
Changes (by paul):
- hours: 0.0 => 0.125
- totalhours: 5.625 => 5.75
Comment:
Replying to ben:
no, I cleared that twice... I'm basically a bit lost with why fixing something locally and pushing changes to git, then cloning from git'snot
producing the same as I have here when I've done it loads of times
before
and it's all been fine...
Ben,
Do you agree that the problem is that the file screen.css file should be
updated in Git?
Try to pull your changes to the same site that you have used before. My
guess is that you will have the same problem there.
On 30 June 2014 21:31, Transiton Technology Trac <
trac@…> wrote:
#727: Change background on block from orange to white
-----------------------------------+--------------------------------------
Reporter: sam | Owner: paul
Type: maintenance | Status:
assigned
Priority: major | Milestone:
Component: Theme | Resolution:
Keywords: theme, css | Estimated Number of Hours: 0.0
Add Hours to Ticket: 0.25 | Billable?: 1
Total Hours: 5.375 |
-----------------------------------+--------------------------------------
Changes (by chris):
- hours: 0.0 => 0.25
- totalhours: 5.375 => 5.625
Comment:
Replying to ben:
Is there some other caching going on?
The Drupal cache?
I have cleared it like this:
su - tn.ftp -s /bin/bash cd /data/disk/tn/static/transition-network-d6-s012/sites/booker- stage-20140501.transitionnetwork.org/ drush cc all 'all' cache was cleared [success] Missing Feeds plugin FeedsUserNotificationProcessor. Please contactyour
site administrator. [warning]
}}}
Has that done the trick?
--
Ticket URL:
<https://tech.transitionnetwork.org/trac/ticket/727#comment:57
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
--
emailme@…
benjarlett.co.uk <http://www.benjarlett.co.uk>
07734 970739
}}}
--
Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:59
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
--
emailme@…
benjarlett.co.uk <http://www.benjarlett.co.uk>
07734 970739
}}}
comment:62 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 6.0 to 6.125
.. after deleting the static theme - do a refresh - if the site is then broke (clear the cache to be sure) then this the right place to pull from git.
Good luck Ben. I'll catch you later.
Best, Paul
comment:63 Changed 2 years ago by chris
Is there anything I can do on this ticket to help?
It would be great if we could resolve it before tomorrows meeting in Bristol?
comment:64 Changed 2 years ago by ed
it sounds like a skype to me a bit of p2p fiddling imo - unless paul is in bristol tomorrow - are you coming tomorrow paul?
comment:65 Changed 2 years ago by ben
yeah I agree, if we could do it tomorrow that'd be ace, if not over skype would be best. Ben On 1 July 2014 12:17, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -----------------------------------+-------------------------------------- > Reporter: sam | Owner: paul > Type: maintenance | Status: assigned > Priority: major | Milestone: > Component: Theme | Resolution: > Keywords: theme, css | Estimated Number of Hours: 0.0 > Add Hours to Ticket: 0 | Billable?: 1 > Total Hours: 6.125 | > -----------------------------------+-------------------------------------- > > Comment (by ed): > > it sounds like a skype to me a bit of p2p fiddling imo - unless paul is in > bristol tomorrow - are you coming tomorrow paul? > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:64 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:66 follow-up: ↓ 67 Changed 2 years ago by ben
On 1 July 2014 09:26, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" Gonzo:transition2 ben$ grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" grep: warning: recursive search of stdin ^C Gonzo:transition2 ben$ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:67 in reply to: ↑ 66 Changed 2 years ago by chris
Replying to ben:
Gonzo:transition2 ben$ grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" grep: warning: recursive search of stdin ^C
The reason that your recursive grep failed is that you didn't give grep anything to search for "a.bigbutton.green:link, a.bigbutton.green:visited" (it needs a file, list of files or some input from standard in) -- add a dot to the end of the command and it'll search the current directory and all sub-directories, eg:
grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" .
comment:68 Changed 2 years ago by ed
- Type changed from maintenance to enhancement
- Milestone set to Maintenance
adding to milestone: maintenance for monthly tally
comment:69 Changed 2 years ago by ben
Gonzo:transition2 ben$ grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" . Binary file ./.sass-cache/3be84a5492f3a9b5bd16c0be492bc0ad87e38009/buttons.scssc matches ./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited { ./stylesheets/screen.css:a.bigbutton.green:link, a.bigbutton.green:visited { Gonzo:transition2 ben$ so I guess this proves that it's on my machine, but I'm not sure how this helps cos I know that, and I also know it's on git from looking there.... the problem lies between git and stg.. the commands I'm putting in (that have all been documented in this thread)... or something else that hasn't yet been uncovered. On 1 July 2014 13:40, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -------------------------------------+------------------------------------- > Reporter: sam | Owner: paul > Type: enhancement | Status: > Priority: major | assigned > Component: Theme | Milestone: > Keywords: theme, css | Maintenance > Add Hours to Ticket: 0 | Resolution: > Total Hours: 6.125 | Estimated Number of Hours: 0.0 > | Billable?: 1 > -------------------------------------+------------------------------------- > Changes (by ed): > > * type: maintenance => enhancement > * milestone: => Maintenance > > > Comment: > > adding to milestone: maintenance for monthly tally > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:68 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:70 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 6.125 to 6.25
I just did a git pull under /data/disk/tn/static/transition-network-d6-s012/sites/all/themes/transition2 and I see the css file this time ..
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes/transition2# git pull
remote: Counting objects: 10, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 10 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (10/10), done.
From git://github.com/transitionnetwork/transition2
0970b6f..519f545 master -> origin/master
Updating 0970b6f..519f545
Fast-forward
compass_app_log.txt | 131 +++++++
config.rb | 7 +-
sass/buttons.scss | 1 +
stylesheets/buttons.css | 8 +-
stylesheets/colours.css | 2 +-
stylesheets/ie.css | 5 +
stylesheets/print.css | 3 +
stylesheets/retina.css | 3 +
stylesheets/screen.css | 1914 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
stylesheets/skipnav.css | 55 ++-
10 files changed, 2118 insertions(+), 11 deletions(-)
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/all/themes/transition2# grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" .
./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited {
./stylesheets/screen.css:a.bigbutton.green:link, a.bigbutton.green:visited {
I'll try the other theme directory ..
comment:71 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.125
- Total Hours changed from 6.25 to 6.375
This time I checked before doing the git pull ..
grep -r "a.bigbutton.green:link, a.bigbutton.green:visited" .
./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited {
./stylesheets/screen.css:a.bigbutton.green:link, a.bigbutton.green:visited {
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes/transition2#
puffin:/data/disk/tn/static/transition-network-d6-s012/sites/booker-stage-20140501.transitionnetwork.org/themes/transition2# git pull
Already up-to-date.
Are you good now Ben? Sorry I couldn't help out further this afternoon.
comment:72 Changed 2 years ago by ben
So i tried looking on https://stg.transitionnetwork.org/blogs/rob-hopkins, (after turning off advagg for my browser and claring the cache) and the css file's not changed as far as the themes concerned. On 1 July 2014 18:32, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -------------------------------------+------------------------------------- > Reporter: sam | Owner: paul > Type: enhancement | Status: > Priority: major | assigned > Component: Theme | Milestone: > Keywords: theme, css | Maintenance > Add Hours to Ticket: 0.125 | Resolution: > Total Hours: 6.125 | Estimated Number of Hours: 0.0 > | Billable?: 1 > -------------------------------------+------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.125 > * totalhours: 6.125 => 6.25 > > > Comment: > > I just did a git pull under /data/disk/tn/static/transition- > network-d6-s012/sites/all/themes/transition2 and I see the css file this > time .. > > > puffin:/data/disk/tn/static/transition- > network-d6-s012/sites/all/themes/transition2# git pull > remote: Counting objects: 10, done. > remote: Compressing objects: 100% (10/10), done. > remote: Total 10 (delta 0), reused 0 (delta 0) > Unpacking objects: 100% (10/10), done. > From git://github.com/transitionnetwork/transition2 > 0970b6f..519f545 master -> origin/master > Updating 0970b6f..519f545 > Fast-forward > compass_app_log.txt | 131 +++++++ > config.rb | 7 +- > sass/buttons.scss | 1 + > stylesheets/buttons.css | 8 +- > stylesheets/colours.css | 2 +- > stylesheets/ie.css | 5 + > stylesheets/print.css | 3 + > stylesheets/retina.css | 3 + > stylesheets/screen.css | 1914 > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > stylesheets/skipnav.css | 55 ++- > 10 files changed, 2118 insertions(+), 11 deletions(-) > puffin:/data/disk/tn/static/transition- > network-d6-s012/sites/all/themes/transition2# grep -r > "a.bigbutton.green:link, a.bigbutton.green:visited" . > ./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited { > ./stylesheets/screen.css:a.bigbutton.green:link, a.bigbutton.green:visited > { > > > I'll try the other theme directory .. > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:70 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:73 Changed 2 years ago by ben
I've got to go out at 7.15, but if you wanted to skype me before that I'm here... On 1 July 2014 18:38, ben jarlett <emailme@benjarlett.co.uk> wrote: > So i tried looking on https://stg.transitionnetwork.org/blogs/rob-hopkins, > (after turning off advagg for my browser and claring the cache) and the css > file's not changed as far as the themes concerned. > > > On 1 July 2014 18:32, Transiton Technology Trac < > trac@tech.transitionnetwork.org> wrote: > >> #727: Change background on block from orange to white >> >> -------------------------------------+------------------------------------- >> Reporter: sam | Owner: paul >> Type: enhancement | Status: >> Priority: major | assigned >> Component: Theme | Milestone: >> Keywords: theme, css | Maintenance >> Add Hours to Ticket: 0.125 | Resolution: >> Total Hours: 6.125 | Estimated Number of Hours: 0.0 >> | Billable?: 1 >> >> -------------------------------------+------------------------------------- >> Changes (by paul): >> >> * hours: 0.0 => 0.125 >> * totalhours: 6.125 => 6.25 >> >> >> Comment: >> >> I just did a git pull under /data/disk/tn/static/transition- >> network-d6-s012/sites/all/themes/transition2 and I see the css file this >> time .. >> >> >> puffin:/data/disk/tn/static/transition- >> network-d6-s012/sites/all/themes/transition2# git pull >> remote: Counting objects: 10, done. >> remote: Compressing objects: 100% (10/10), done. >> remote: Total 10 (delta 0), reused 0 (delta 0) >> Unpacking objects: 100% (10/10), done. >> From git://github.com/transitionnetwork/transition2 >> 0970b6f..519f545 master -> origin/master >> Updating 0970b6f..519f545 >> Fast-forward >> compass_app_log.txt | 131 +++++++ >> config.rb | 7 +- >> sass/buttons.scss | 1 + >> stylesheets/buttons.css | 8 +- >> stylesheets/colours.css | 2 +- >> stylesheets/ie.css | 5 + >> stylesheets/print.css | 3 + >> stylesheets/retina.css | 3 + >> stylesheets/screen.css | 1914 >> >> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- >> stylesheets/skipnav.css | 55 ++- >> 10 files changed, 2118 insertions(+), 11 deletions(-) >> puffin:/data/disk/tn/static/transition- >> network-d6-s012/sites/all/themes/transition2# grep -r >> "a.bigbutton.green:link, a.bigbutton.green:visited" . >> ./sass/buttons.scss:a.bigbutton.green:link, a.bigbutton.green:visited { >> ./stylesheets/screen.css:a.bigbutton.green:link, >> a.bigbutton.green:visited >> { >> >> >> I'll try the other theme directory .. >> >> -- >> Ticket URL: < >> https://tech.transitionnetwork.org/trac/ticket/727#comment:70> >> Transition Technology <https://tech.transitionnetwork.org/trac> >> Support and issues tracking for the Transition Network Web Project. >> > > > > -- > > > ------------- > emailme@benjarlett.co.uk > benjarlett.co.uk <http://www.benjarlett.co.uk> > 07734 970739 > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:74 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.25
- Total Hours changed from 6.375 to 6.625
I have rebuilt all aggregated files [*], hopefully that helped.
[*] https://booker-stage-20140501.transitionnetwork.org/admin/settings/advagg
comment:75 follow-up: ↓ 76 Changed 2 years ago by ben
nope... still the css file hasn't changed to the one uploaded as far as https://stg.transitionnetwork.org/blogs/rob-hopkins is concerned. (I'll be off to my mens group at 7.15) On 1 July 2014 18:53, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -------------------------------------+------------------------------------- > Reporter: sam | Owner: paul > Type: enhancement | Status: > Priority: major | assigned > Component: Theme | Milestone: > Keywords: theme, css | Maintenance > Add Hours to Ticket: 0.25 | Resolution: > Total Hours: 6.375 | Estimated Number of Hours: 0.0 > | Billable?: 1 > -------------------------------------+------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.25 > * totalhours: 6.375 => 6.625 > > > Comment: > > I have rebuilt all aggregated files [*], hopefully that helped. > > [*] https://booker- > stage-20140501.transitionnetwork.org/admin/settings/advagg > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:74 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:76 in reply to: ↑ 75 Changed 2 years ago by paul
Replying to ben:
nope... still the css file hasn't changed to the one uploaded as far as https://stg.transitionnetwork.org/blogs/rob-hopkins is concerned. (I'll be off to my mens group at 7.15)
What about the site we have been looking at? booker-stage-20140501.transitionnetwork.org/
https://stg.transitionnetwork.org/blogs/rob-hopkins
On 1 July 2014 18:53, Transiton Technology Trac <
trac@…> wrote:
#727: Change background on block from orange to white
Reporter: sam | Owner: paul
Type: enhancement | Status:
Priority: major | assigned
Component: Theme | Milestone:
Keywords: theme, css | Maintenance
Add Hours to Ticket: 0.25 | Resolution:
Total Hours: 6.375 | Estimated Number of Hours: 0.0
| Billable?: 1
Changes (by paul):
- hours: 0.0 => 0.25
- totalhours: 6.375 => 6.625
Comment:
I have rebuilt all aggregated files [*], hopefully that helped.
[*] https://booker-
stage-20140501.transitionnetwork.org/admin/settings/advagg
--
Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:74
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
--
emailme@…
benjarlett.co.uk <http://www.benjarlett.co.uk>
07734 970739
}}}
comment:77 follow-up: ↓ 80 Changed 2 years ago by ben
Ok.. we're there... https://booker-stage-20140501.transitionnetwork.org/blogs/rob-hopkins now works as expected. I was expecting the change to appear here: https://stg.transitionnetwork.org/blogs/rob-hopkins and it's not there... We just now need to pull from git to production, clear the cache and all is well. I've got to go out now though. On 1 July 2014 19:04, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -------------------------------------+------------------------------------- > Reporter: sam | Owner: paul > Type: enhancement | Status: > Priority: major | assigned > Component: Theme | Milestone: > Keywords: theme, css | Maintenance > Add Hours to Ticket: 0 | Resolution: > Total Hours: 6.625 | Estimated Number of Hours: 0.0 > | Billable?: 1 > -------------------------------------+------------------------------------- > > Comment (by paul): > > Replying to [comment:75 ben]: > > {{{ > > nope... still the css file hasn't changed to the one uploaded as far as > > https://stg.transitionnetwork.org/blogs/rob-hopkins is concerned. > > (I'll be off to my mens group at 7.15) > > > > What about the site we have been looking at? booker- > stage-20140501.transitionnetwork.org/ > > https://stg.transitionnetwork.org/blogs/rob-hopkins > > > > > > On 1 July 2014 18:53, Transiton Technology Trac < > > trac@tech.transitionnetwork.org> wrote: > > > > > #727: Change background on block from orange to white > > > > > -------------------------------------+------------------------------------- > > > Reporter: sam | Owner: > paul > > > Type: enhancement | Status: > > > Priority: major | assigned > > > Component: Theme | Milestone: > > > Keywords: theme, css | Maintenance > > > Add Hours to Ticket: 0.25 | Resolution: > > > Total Hours: 6.375 | Estimated Number of Hours: > 0.0 > > > | Billable?: 1 > > > > > -------------------------------------+------------------------------------- > > > Changes (by paul): > > > > > > * hours: 0.0 => 0.25 > > > * totalhours: 6.375 => 6.625 > > > > > > > > > Comment: > > > > > > I have rebuilt all aggregated files [*], hopefully that helped. > > > > > > [*] https://booker- > > > stage-20140501.transitionnetwork.org/admin/settings/advagg > > > > > > -- > > > Ticket URL: > <https://tech.transitionnetwork.org/trac/ticket/727#comment:74 > > > > > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > > Support and issues tracking for the Transition Network Web Project. > > > > > > > > > > > -- > > > > > > ------------- > > emailme@benjarlett.co.uk > > benjarlett.co.uk <http://www.benjarlett.co.uk> > > 07734 970739 > > > > }}} > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:76 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:78 Changed 2 years ago by ben
actually before pushing to prod, I just thought I need to set compass to compressed and push to git (now that we're no longer debugging) On 1 July 2014 19:12, ben jarlett <emailme@benjarlett.co.uk> wrote: > Ok.. we're there... > > https://booker-stage-20140501.transitionnetwork.org/blogs/rob-hopkins > now works as expected. > > I was expecting the change to appear here: > https://stg.transitionnetwork.org/blogs/rob-hopkins > and it's not there... > > We just now need to pull from git to production, clear the cache and all > is well. > I've got to go out now though. > > > On 1 July 2014 19:04, Transiton Technology Trac < > trac@tech.transitionnetwork.org> wrote: > >> #727: Change background on block from orange to white >> >> -------------------------------------+------------------------------------- >> Reporter: sam | Owner: paul >> Type: enhancement | Status: >> Priority: major | assigned >> Component: Theme | Milestone: >> Keywords: theme, css | Maintenance >> Add Hours to Ticket: 0 | Resolution: >> Total Hours: 6.625 | Estimated Number of Hours: 0.0 >> | Billable?: 1 >> >> -------------------------------------+------------------------------------- >> >> Comment (by paul): >> >> Replying to [comment:75 ben]: >> > {{{ >> > nope... still the css file hasn't changed to the one uploaded as far as >> > https://stg.transitionnetwork.org/blogs/rob-hopkins is concerned. >> > (I'll be off to my mens group at 7.15) >> > >> >> What about the site we have been looking at? booker- >> stage-20140501.transitionnetwork.org/ >> >> https://stg.transitionnetwork.org/blogs/rob-hopkins >> >> >> > >> > On 1 July 2014 18:53, Transiton Technology Trac < >> > trac@tech.transitionnetwork.org> wrote: >> > >> > > #727: Change background on block from orange to white >> > > >> >> -------------------------------------+------------------------------------- >> > > Reporter: sam | Owner: >> paul >> > > Type: enhancement | Status: >> > > Priority: major | assigned >> > > Component: Theme | Milestone: >> > > Keywords: theme, css | Maintenance >> > > Add Hours to Ticket: 0.25 | Resolution: >> > > Total Hours: 6.375 | Estimated Number of Hours: >> 0.0 >> > > | Billable?: 1 >> > > >> >> -------------------------------------+------------------------------------- >> > > Changes (by paul): >> > > >> > > * hours: 0.0 => 0.25 >> > > * totalhours: 6.375 => 6.625 >> > > >> > > >> > > Comment: >> > > >> > > I have rebuilt all aggregated files [*], hopefully that helped. >> > > >> > > [*] https://booker- >> > > stage-20140501.transitionnetwork.org/admin/settings/advagg >> > > >> > > -- >> > > Ticket URL: >> <https://tech.transitionnetwork.org/trac/ticket/727#comment:74 >> > > > >> > > Transition Technology <https://tech.transitionnetwork.org/trac> >> > > Support and issues tracking for the Transition Network Web Project. >> > > >> > >> > >> > >> > -- >> > >> > >> > ------------- >> > emailme@benjarlett.co.uk >> > benjarlett.co.uk <http://www.benjarlett.co.uk> >> > 07734 970739 >> > >> > }}} >> >> -- >> Ticket URL: < >> https://tech.transitionnetwork.org/trac/ticket/727#comment:76> >> Transition Technology <https://tech.transitionnetwork.org/trac> >> Support and issues tracking for the Transition Network Web Project. >> > > > > -- > > > ------------- > emailme@benjarlett.co.uk > benjarlett.co.uk <http://www.benjarlett.co.uk> > 07734 970739 > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:79 Changed 2 years ago by ben
ok push of compressed css done to git. will pull from git to /data/disk/tn/static/transition-network-d6-p010-booker/sites/all/themes/transition2 when I get home later. On 1 July 2014 19:15, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -------------------------------------+------------------------------------- > Reporter: sam | Owner: paul > Type: enhancement | Status: > Priority: major | assigned > Component: Theme | Milestone: > Keywords: theme, css | Maintenance > Add Hours to Ticket: 0 | Resolution: > Total Hours: 6.625 | Estimated Number of Hours: 0.0 > | Billable?: 1 > -------------------------------------+------------------------------------- > > Comment (by ben): > > {{{ > Ok.. we're there... > > https://booker-stage-20140501.transitionnetwork.org/blogs/rob-hopkins > now works as expected. > > I was expecting the change to appear here: > https://stg.transitionnetwork.org/blogs/rob-hopkins > and it's not there... > > We just now need to pull from git to production, clear the cache and all > is > well. > I've got to go out now though. > > > On 1 July 2014 19:04, Transiton Technology Trac < > trac@tech.transitionnetwork.org> wrote: > > > #727: Change background on block from orange to white > > > > -------------------------------------+------------------------------------- > > Reporter: sam | Owner: paul > > Type: enhancement | Status: > > Priority: major | assigned > > Component: Theme | Milestone: > > Keywords: theme, css | Maintenance > > Add Hours to Ticket: 0 | Resolution: > > Total Hours: 6.625 | Estimated Number of Hours: 0.0 > > | Billable?: 1 > > > > -------------------------------------+------------------------------------- > > > > Comment (by paul): > > > > Replying to [comment:75 ben]: > > > {{{ > > > nope... still the css file hasn't changed to the one uploaded as far > as > > > https://stg.transitionnetwork.org/blogs/rob-hopkins is concerned. > > > (I'll be off to my mens group at 7.15) > > > > > > > What about the site we have been looking at? booker- > > stage-20140501.transitionnetwork.org/ > > > > https://stg.transitionnetwork.org/blogs/rob-hopkins > > > > > > > > > > On 1 July 2014 18:53, Transiton Technology Trac < > > > trac@tech.transitionnetwork.org> wrote: > > > > > > > #727: Change background on block from orange to white > > > > > > > > > > -------------------------------------+------------------------------------- > > > > Reporter: sam | Owner: > > paul > > > > Type: enhancement | Status: > > > > Priority: major | assigned > > > > Component: Theme | Milestone: > > > > Keywords: theme, css | Maintenance > > > > Add Hours to Ticket: 0.25 | Resolution: > > > > Total Hours: 6.375 | Estimated Number of Hours: > > 0.0 > > > > | Billable?: > 1 > > > > > > > > > > -------------------------------------+------------------------------------- > > > > Changes (by paul): > > > > > > > > * hours: 0.0 => 0.25 > > > > * totalhours: 6.375 => 6.625 > > > > > > > > > > > > Comment: > > > > > > > > I have rebuilt all aggregated files [*], hopefully that helped. > > > > > > > > [*] https://booker- > > > > stage-20140501.transitionnetwork.org/admin/settings/advagg > > > > > > > > -- > > > > Ticket URL: > > <https://tech.transitionnetwork.org/trac/ticket/727#comment:74 > > > > > > > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > > > Support and issues tracking for the Transition Network Web Project. > > > > > > > > > > > > > > > > -- > > > > > > > > > ------------- > > > emailme@benjarlett.co.uk > > > benjarlett.co.uk <http://www.benjarlett.co.uk> > > > 07734 970739 > > > > > > }}} > > > > -- > > Ticket URL: > <https://tech.transitionnetwork.org/trac/ticket/727#comment:76 > > > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > Support and issues tracking for the Transition Network Web Project. > > > > > > -- > > > ------------- > emailme@benjarlett.co.uk > benjarlett.co.uk <http://www.benjarlett.co.uk> > 07734 970739 > > }}} > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:77 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:80 in reply to: ↑ 77 Changed 2 years ago by paul
Replying to ben:
Ok.. we're there... https://booker-stage-20140501.transitionnetwork.org/blogs/rob-hopkins now works as expected.
Brilliant! Well done Ben.
I was expecting the change to appear here:
and it's not there...
We just now need to pull from git to production, clear the cache and all is
well.
I've got to go out now though.
On 1 July 2014 19:04, Transiton Technology Trac <
trac@…> wrote:
#727: Change background on block from orange to white
Reporter: sam | Owner: paul
Type: enhancement | Status:
Priority: major | assigned
Component: Theme | Milestone:
Keywords: theme, css | Maintenance
Add Hours to Ticket: 0 | Resolution:
Total Hours: 6.625 | Estimated Number of Hours: 0.0
| Billable?: 1
Comment (by paul):
Replying to ben:
nope... still the css file hasn't changed to the one uploaded as far as https://stg.transitionnetwork.org/blogs/rob-hopkins is concerned. (I'll be off to my mens group at 7.15)What about the site we have been looking at? booker-
stage-20140501.transitionnetwork.org/
On 1 July 2014 18:53, Transiton Technology Trac <
trac@…> wrote:
#727: Change background on block from orange to white
-------------------------------------+-------------------------------------
Reporter: sam | Owner:
paul
Type: enhancement | Status:
Priority: major | assigned
Component: Theme | Milestone:
Keywords: theme, css | Maintenance
Add Hours to Ticket: 0.25 | Resolution:
Total Hours: 6.375 | Estimated Number of Hours:
0.0
| Billable?: 1
-------------------------------------+-------------------------------------
Changes (by paul):
- hours: 0.0 => 0.25
- totalhours: 6.375 => 6.625
Comment:
I have rebuilt all aggregated files [*], hopefully that helped.
[*] https://booker-
stage-20140501.transitionnetwork.org/admin/settings/advagg
--
Ticket URL:
<https://tech.transitionnetwork.org/trac/ticket/727#comment:74
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
--
emailme@…
benjarlett.co.uk <http://www.benjarlett.co.uk>
07734 970739
}}}
--
Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:76
Transition Technology <https://tech.transitionnetwork.org/trac>
Support and issues tracking for the Transition Network Web Project.
--
emailme@…
benjarlett.co.uk <http://www.benjarlett.co.uk>
07734 970739
}}}
comment:81 Changed 2 years ago by ben
HI Paul. Annesley suggested yesterday that now that I've sorted out that the css change is functioning on the staging server that you should be the one to do the publishing of that code. So could you pull the code? When it's published let me know so I can go in and check. Ben On 1 July 2014 19:40, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -------------------------------------+------------------------------------- > Reporter: sam | Owner: paul > Type: enhancement | Status: > Priority: major | assigned > Component: Theme | Milestone: > Keywords: theme, css | Maintenance > Add Hours to Ticket: 0 | Resolution: > Total Hours: 6.625 | Estimated Number of Hours: 0.0 > | Billable?: 1 > -------------------------------------+------------------------------------- > > Comment (by paul): > > Replying to [comment:77 ben]: > > {{{ > > Ok.. we're there... > > > > https://booker-stage-20140501.transitionnetwork.org/blogs/rob-hopkins > > now works as expected. > > > Brilliant! Well done Ben. > > > > > I was expecting the change to appear here: > > https://stg.transitionnetwork.org/blogs/rob-hopkins > > and it's not there... > > > > We just now need to pull from git to production, clear the cache and all > is > > well. > > I've got to go out now though. > > > > > > On 1 July 2014 19:04, Transiton Technology Trac < > > trac@tech.transitionnetwork.org> wrote: > > > > > #727: Change background on block from orange to white > > > > > -------------------------------------+------------------------------------- > > > Reporter: sam | Owner: > paul > > > Type: enhancement | Status: > > > Priority: major | assigned > > > Component: Theme | Milestone: > > > Keywords: theme, css | Maintenance > > > Add Hours to Ticket: 0 | Resolution: > > > Total Hours: 6.625 | Estimated Number of Hours: > 0.0 > > > | Billable?: 1 > > > > > -------------------------------------+------------------------------------- > > > > > > Comment (by paul): > > > > > > Replying to [comment:75 ben]: > > > > {{{ > > > > nope... still the css file hasn't changed to the one uploaded as > far as > > > > https://stg.transitionnetwork.org/blogs/rob-hopkins is concerned. > > > > (I'll be off to my mens group at 7.15) > > > > > > > > > > What about the site we have been looking at? booker- > > > stage-20140501.transitionnetwork.org/ > > > > > > https://stg.transitionnetwork.org/blogs/rob-hopkins > > > > > > > > > > > > > > On 1 July 2014 18:53, Transiton Technology Trac < > > > > trac@tech.transitionnetwork.org> wrote: > > > > > > > > > #727: Change background on block from orange to white > > > > > > > > > > > > > -------------------------------------+------------------------------------- > > > > > Reporter: sam | > Owner: > > > paul > > > > > Type: enhancement | > Status: > > > > > Priority: major | assigned > > > > > Component: Theme | > Milestone: > > > > > Keywords: theme, css | Maintenance > > > > > Add Hours to Ticket: 0.25 | > Resolution: > > > > > Total Hours: 6.375 | Estimated Number of > Hours: > > > 0.0 > > > > > | > Billable?: 1 > > > > > > > > > > > > > -------------------------------------+------------------------------------- > > > > > Changes (by paul): > > > > > > > > > > * hours: 0.0 => 0.25 > > > > > * totalhours: 6.375 => 6.625 > > > > > > > > > > > > > > > Comment: > > > > > > > > > > I have rebuilt all aggregated files [*], hopefully that helped. > > > > > > > > > > [*] https://booker- > > > > > stage-20140501.transitionnetwork.org/admin/settings/advagg > > > > > > > > > > -- > > > > > Ticket URL: > > > <https://tech.transitionnetwork.org/trac/ticket/727#comment:74 > > > > > > > > > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > > > > Support and issues tracking for the Transition Network Web > Project. > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > ------------- > > > > emailme@benjarlett.co.uk > > > > benjarlett.co.uk <http://www.benjarlett.co.uk> > > > > 07734 970739 > > > > > > > > }}} > > > > > > -- > > > Ticket URL: > <https://tech.transitionnetwork.org/trac/ticket/727#comment:76 > > > > > > > Transition Technology <https://tech.transitionnetwork.org/trac> > > > Support and issues tracking for the Transition Network Web Project. > > > > > > > > > > > -- > > > > > > ------------- > > emailme@benjarlett.co.uk > > benjarlett.co.uk <http://www.benjarlett.co.uk> > > 07734 970739 > > > > }}} > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:80 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:82 Changed 2 years ago by paul
- Add Hours to Ticket changed from 0.0 to 0.5
- Total Hours changed from 6.625 to 7.125
Ben,
I have updated the theme on the production server:
puffin:/data/disk/tn/static/scratch# git clone https://github.com/transitionnetwork/transition2.git
cp -R transition2/ /data/disk/tn/static/scratch/transition2_backup
rm -R transition2; mv /data/disk/tn/static/scratch/transition2/ .
I also followed up with a smart cache *flush* :
https://www.transitionnetwork.org/admin/settings/advagg
Advanced CSS/JS Aggregation cache scanned and out of date bundles have been marked.
Old Files:
sites/all/themes/transition2/stylesheets/screen.css
Marked Bundles Count: 213
Not sure but I think these aggregated files are not regenerated immediately. If you can't see your changes (after an hour or so) try *rebuilding* the cache.
Best, Paul
comment:83 Changed 2 years ago by ben
all looks good thanks Paul. Happy to close this now Sam? On 4 July 2014 11:53, Transiton Technology Trac < trac@tech.transitionnetwork.org> wrote: > #727: Change background on block from orange to white > -------------------------------------+------------------------------------- > Reporter: sam | Owner: paul > Type: enhancement | Status: > Priority: major | assigned > Component: Theme | Milestone: > Keywords: theme, css | Maintenance > Add Hours to Ticket: 0.50 | Resolution: > Total Hours: 6.625 | Estimated Number of Hours: 0.0 > | Billable?: 1 > -------------------------------------+------------------------------------- > Changes (by paul): > > * hours: 0.0 => 0.5 > * totalhours: 6.625 => 7.125 > > > Comment: > > Ben, > > I have updated the theme on the production server: > > puffin:/data/disk/tn/static/scratch# git clone > https://github.com/transitionnetwork/transition2.git > > cp -R transition2/ /data/disk/tn/static/scratch/transition2_backup > rm -R transition2; mv /data/disk/tn/static/scratch/transition2/ . > > I also followed up with a smart cache *flush* : > > > https://www.transitionnetwork.org/admin/settings/advagg > > Advanced CSS/JS Aggregation cache scanned and out of date bundles have > been marked. > Old Files: > sites/all/themes/transition2/stylesheets/screen.css > Marked Bundles Count: 213 > > > Not sure but I think these aggregated files are not regenerated > immediately. If you can't see your changes (after an hour or so) try > *rebuilding* the cache. > > Best, Paul > > -- > Ticket URL: <https://tech.transitionnetwork.org/trac/ticket/727#comment:82 > > > Transition Technology <https://tech.transitionnetwork.org/trac> > Support and issues tracking for the Transition Network Web Project. > -- ------------- emailme@benjarlett.co.uk benjarlett.co.uk <http://www.benjarlett.co.uk> 07734 970739
comment:84 Changed 2 years ago by ben
- Add Hours to Ticket changed from 0.0 to 1.0
- Total Hours changed from 7.125 to 8.125
Adding an hour to cover a bunch of quick tickets. I shall endeavor to be better at tracking my timing.
comment:85 Changed 2 years ago by paul
@Sam I think we're ok to close this ticket.
please don't add css in this way! did you check Ben's design cheatsheet:
http://www.thepoke.co.uk/2013/09/19/20-hilarious-anatomy-infographics/the-anatomy-of-a-cat/