Comments (12)
I'd second bootstrap support. I suppose this would work through a generator which could optionally specify a framework for generating the appropriate view files? When specifying nothing, I would prefer a very basic css which doesn't have rounded corners and purple and green.
Also I found I had to open devtools and add this to get the add question form to fill the modal container:
iframe.cboxIframe {
width: 100%;
height: 99%;
}
from surveyor_gui.
It's a good idea.
Doing some work on a Zurb version.
On Thu, Jul 3, 2014 at 12:08 PM, Alessandro Lepore <[email protected]
wrote:
just putting the idea here...
would be super nice to rewrite the admin interface to use a css framework
like bootstrap or zurb foundation.
that would provide a solid, coherent and easy to customize gui and allow
to remove ~600 custom CSS LOC.
simple_form has out-of-the-box support.—
Reply to this email directly or view it on GitHub
#21.
from surveyor_gui.
Started working on a zurb branch, but haven't had time to pursue it. Have
not seen a problem with the add question form before. Can you provide a
bit more detail on your setup?
On Mon, Dec 22, 2014 at 7:56 PM, Josh [email protected] wrote:
I'd second bootstrap support. I suppose this would work through a
generator which could optionally specify a framework for generating the
appropriate view files? When specifying nothing, I would prefer a very
basic css which doesn't have rounded corners and purple and green.Also I found I had to open devtools and add this to get the add question
form to fill the modal container:iframe.cboxIframe {
width: 100%;
height: 99%;
}—
Reply to this email directly or view it on GitHub
#21 (comment).
from surveyor_gui.
It's actually anything that appears in the modal within an iframe. Here's a screenshot.
The only css file is surveyor_gui_all-xxxxx.css
produced by /home/joshua/.rvm/gems/ruby-2.1.1/gems/surveyor_gui-0.1.2/lib/assets/stylesheets/surveyor_gui/surveyor_gui.sass
. Looks the same in Chrome and FF. There appears to be no iframe of .cboxIframe style in the resulting css. I'm guessing the width of the iframe is dependant on it's content, and since I'm using a responsive layout (with bootstrap), it opens at minimum width.
from surveyor_gui.
Hey @archonic , i run into the same problems here as you. How did you solve this issue?
from surveyor_gui.
I actually ended up not using surveyor_gui and just went with the surveyor parse functionality.
from surveyor_gui.
I'm also having this issue. If not for this extremely small detail which I simply can't seem to resolve, I would definitely use this gem. I just need to be able to see all the content. Adding something like bootstrap would definitely be icing on the cake, but if you can just make it work as intended I will be very happy indeed.
from surveyor_gui.
@royzheng0410 @archonic I'm seeing now that if I use Rails 4.1, the iframe view issues go away.
Now I'm very into the idea of using a css framework. I vote for bootstrap, but honestly, I really will be happy with anything. This gem is actually really fantastic, I just would love to see the styling upgraded, and it will be perfect.
from surveyor_gui.
@kjayma Sorry, not trying to blow up this thread, but if you give me a little direction I'd be happy to contribute to adding a css framework in my spare time. I'm sure I could spend some time dissecting the app and figure it out, but if you give me a head start I'll be much more productive.
from surveyor_gui.
@ogoldberg - I'd be happy to work with you on this. I started a zurb branch which you can fork to see where I left off. Made some progress but was slogging through the the survey creation view when I had to break off. I'm fine with Booststrap too. If you look at the Zurb branch and do a compare with master, you'll get some idea of how the structure and .css files need to change.
Several people have noted the 4.2 issue. I'm curious about that so I'm going to fork a branch and see if I can get to the bottom of it.
from surveyor_gui.
Thanks, @kjayma !
sorry if this is off-topic, but I'm trying to add a new question type, and I'm having a hard time. Can you advise me what files I'll need to touch in order to do this?
from surveyor_gui.
Thats a big can of worms. I'd do a grep on 'upload' to see how I added the file upload field.
from surveyor_gui.
Related Issues (20)
- Slider becomes dropdown after a logic dependency is added HOT 3
- Status of mandatory question feature HOT 1
- Feature: Dependencies to support sum of integer responses HOT 1
- Surveyor gui not available at /surveyforms like readme says HOT 1
- Documentation needed for layout files regarding #surveyor_gui_mount_point
- Support for HTML in answers HOT 1
- Asset precompile fails with undefined method `column_attributes' HOT 6
- Questions that are mandatory and dependent on another question do not display HOT 2
- Report generation doesn't scale HOT 14
- Testbed app raising Forbidden Attributes Error HOT 6
- Override suveyor partial inside surveyor_gui HOT 8
- Unable to perform rails g surveyor_gui:install HOT 6
- override surveyor layout HOT 2
- missing migration for QuestionType model? HOT 1
- SurveyorController Pundit authorization HOT 1
- Unable to execute the command "rails g surveyor_gui:install" HOT 1
- Help Required HOT 2
- Install process causing "PermittedParameters" error HOT 1
- Custom templates HOT 3
- Rails 6 surveyor_gui not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surveyor_gui.