View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10137Bug reportsErgonomypublic2016-01-08 15:35
Reporterc_schmitz Assigned ToLouisGac 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Summary10137: Make 'Surveys' link in the upper right a split dropdown button
Description

Split buttons: http://getbootstrap.com/components/#btn-dropdowns-split

When you click on the main section you should get to the survey list.
the drop down icon gives you the Create/Import/copy functions.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)latest_git_version
I will donate to the project if issue is resolvedNo
Browser
Database type & version.
Server OS (if known).
Webserver software & version (if known).
PHP Version.

Relationships

related to 10158 closedLouisGac Menu should drop down automatically 

Users monitoring this issue

There are no users monitoring this issue.

Activities

LouisGac

LouisGac

2015-12-22 13:49

developer   ~34086

Fix committed to 2.5 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=16696

LouisGac

LouisGac

2015-12-22 13:50

developer   ~34087

Bootstrap is not really done to use split buttons in menu bar...
So the result is not perfect.

DenisChenu

DenisChenu

2016-01-05 08:33

developer   ~34143

Hi LouisGac, i don't understand : there are a lot of bootstrap website based with dropdowns button in menu bar. Why you say it's not done for this ?

The best exemple is https://bootswatch.com/ and Themes Dropdow.

LouisGac

LouisGac

2016-01-05 09:46

developer   ~34145

@denis : splited

DenisChenu

DenisChenu

2016-01-05 11:01

developer   ~34146

Just a lack of "style" difference between "splieted" and "not splited" but it's the bootswatch theme maybe ?

Maybe you can put a "pure" bootstrap theme during dev phase to do some test ? (no admin.css in theme).

Then we can seperate "global" needed css : ui-datepicker maybe for example and specific css form-control[disabled] for example.

LouisGac

LouisGac

2016-01-05 11:07

developer   ~34147

well I've added the split button for the survey button in main menu. I was just saying that I don't like it so much.

I'm using a pure bootstrap theme : the original one you can download from the website. I've removed 100% of all color specification (hard and long work) so we can generate the colors through our own scss file (sass & co).

So admin.css only contains the colors specification for the regular bootstrap theme, and the needed code to display the interface.

To make easier the generation of the color theme, I'm putting right now most of the css in a single file. But in the future, we could have a specific file for colors, and then different css file for each component.

DenisChenu

DenisChenu

2016-01-05 19:18

developer   ~34150

You mean you remove all style from bootstrap-min ?

Strange , i like to have "based style" and add/update color in theme.

It's the css system : Cascading style sheet .

Why leave bootsrap then ? Why not make a bootstrap fork , and rename it .

DenisChenu

DenisChenu

2016-01-05 19:21

developer   ~34151

Oh,

I better understand why is more difficult to use bootstrap in LS actually then ....

I tested some class="btn" and never have what i want (and what bootstrap say i have).

Why you make this more difficult to other dev ????

LouisGac

LouisGac

2016-01-06 09:49

developer   ~34153

http://getbootstrap.com/css/#buttons
need btn and btn-default (and btn-xs or btn-lg).
Let me know when you experienced some difficulties.

I'm making it much more easy for dev and normal users denis.
The scss file give the possibility to change all the colors of a theme just changing one base color.

c_schmitz

c_schmitz

2016-01-08 15:35

administrator   ~34188

Version 2.5RC6 released

Related Changesets

LimeSurvey: 2.5 d6e81d47

2015-12-22 12:49:36

LouisGac

Details Diff
Fixed issue 10137: added split buttons for survey menu Affected Issues
10137
mod - application/views/admin/super/adminmenu.php Diff File
mod - index.php Diff File

Issue History

Date Modified Username Field Change
2015-12-11 15:42 c_schmitz New Issue
2015-12-11 15:42 c_schmitz Status new => assigned
2015-12-11 15:42 c_schmitz Assigned To => c_schmitz
2015-12-11 15:42 c_schmitz Assigned To c_schmitz => LouisGac
2015-12-22 13:49 LouisGac Changeset attached => LimeSurvey 2.5 d6e81d47
2015-12-22 13:49 LouisGac Note Added: 34086
2015-12-22 13:49 LouisGac Resolution open => fixed
2015-12-22 13:50 LouisGac Note Added: 34087
2015-12-22 13:50 LouisGac Status assigned => resolved
2015-12-23 12:18 c_schmitz Relationship added related to 10158
2016-01-05 08:33 DenisChenu Note Added: 34143
2016-01-05 09:46 LouisGac Note Added: 34145
2016-01-05 11:01 DenisChenu Note Added: 34146
2016-01-05 11:07 LouisGac Note Added: 34147
2016-01-05 19:18 DenisChenu Note Added: 34150
2016-01-05 19:21 DenisChenu Note Added: 34151
2016-01-06 09:49 LouisGac Note Added: 34153
2016-01-08 15:35 c_schmitz Note Added: 34188
2016-01-08 15:35 c_schmitz Status resolved => closed