Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Responses View tab Borders

  • mutandon
  • mutandon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #135596 by mutandon
Responses View tab Borders was created by mutandon
Hi to all and thanks for this great Platform.
I use Limesurvey 2.50 and i am very satisfied with it.
It cover all my needs, it is simple and very professional.
I only need one thing:
How can i modify the source to have the tab borders to be shown in the Response view?
I necessary need a grid view with black borders.
Can someone please point me to the php, css files i need to look at / modify?
It can be done?
I use the SeaGreen Administrative template.
Thanks in advance.
Sorry if this is not the correct topic for my question ...
Have a good day.
The topic has been locked.
  • mutandon
  • mutandon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #135646 by mutandon
Replied by mutandon on topic Responses View tab Borders
Sorry for my bad english, I want to ask help about Table Borders, not tab borders ... :blush:
I attach a sample image.
Thanks.
The topic has been locked.
  • mutandon
  • mutandon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #135666 by mutandon
Replied by mutandon on topic Responses View tab Borders
Ok, i found it myself.
If anyone needs:

Add:
border: 1px solid black;

In the file:

/Styles/Sea_Green/css/lime-admin-commons.css

line 450:

.ui-jqgrid tr.ui-row-ltr td {
[strike]border: none;[/strike]
border: 1px solid black;
}

line 1231:

.ui-widget-content {
[strike]border: none;[/strike]
background: none;
color: #404040;
border: 1px solid black;
}

Now I have to center the element in the cell ... if anyone have a clue ...
Thanks.

Have a good day.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • mutandon
  • mutandon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #135667 by mutandon
Replied by mutandon on topic Responses View tab Borders
Sorry,
only the modification at line 450 is necessary.
:whistle:
The topic has been locked.
More
7 years 10 months ago - 7 years 10 months ago #135670 by Ben_V
Replied by Ben_V on topic Responses View tab Borders

mutandon wrote: Now I have to center the element in the cell .


You can try something like:
Code:
.ui-jqgrid tr.ui-row-ltr td {
text-align:center !important;
}

or
Code:
tr.ui-row-ltr td * {
text-align: center !important;
}

BTW, do something to save your changes against updates ;)

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Last edit: 7 years 10 months ago by Ben_V.
The following user(s) said Thank You: mutandon
The topic has been locked.
  • mutandon
  • mutandon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #135673 by mutandon
Replied by mutandon on topic Responses View tab Borders
I try with:
Code:
.ui-jqgrid tr.ui-row-ltr td {
text-align:center !important;
}
And it works like a charm :woohoo:

I will also save the changes to keep the modification on every update, thanks for the tip ;)

Thank you very much Ben_V !!!
Have a good day.
The topic has been locked.
More
7 years 10 months ago #135680 by Ben_V
Replied by Ben_V on topic Responses View tab Borders

mutandon wrote: I will also save the changes to keep the modification on every update


If only CSS concerns, you can maybe write all your custom code into a non-limesurvey CSS file and call those rules using @import syntax ... Just place at the end of your LS admin stylesheet something like:
Code:
@import url("mycustomrules.css")

In case of update overwriting, it will be OK only adding this line again.

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: mutandon
The topic has been locked.
  • mutandon
  • mutandon's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #135694 by mutandon
Replied by mutandon on topic Responses View tab Borders
Thanks again Ben_V, very kind :)
I will try it for sure when the next Update will be released. In this way the update will be much more easy to do !!!
Have a good weekend. :woohoo:
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #135701 by DenisChenu
Replied by DenisChenu on topic Responses View tab Borders
Maybe idea here framagit.org/SondagePro-LimeSurvey-plugin/hideUpdateAdmin
With new beforeControllerAction event

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #135702 by tpartner
Replied by tpartner on topic Responses View tab Borders
Denis, can't we create custom admin themes in 2.5?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #135704 by DenisChenu
Replied by DenisChenu on topic Responses View tab Borders
Yes, surely. But if adminHtml was updated, it can be more easy with a little css for all template. I have some other idea for browse

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 10 months ago #135708 by tpartner
Replied by tpartner on topic Responses View tab Borders
Denis, Can you please explain how to create a new admin template in 2.5? Or point me to documentation?

Here's what I have tried...
  • Created a copy of Apple Blossom and modified the template config.xml file with a new name
  • When I place the new template in /styles, I can see and select it it the admin Default template dropdown but after that all styles appear to come from Sea Green, not the new template
  • When I place the new template in /upload/admintheme, I cannot see it it the admin Default template dropdown

Debug is set to 1.

Am I missing something?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose