This is the login form where i see bootstrap all over the place.

<div class="container">
    <div class="row">
        <div id="web2py_user_form" class="col-lg-6">
        <form action="#" class="form-horizontal"
enctype="multipart/form-data" method="post"><div class="form-group"
id="auth_user_first_name__row"><label class="control-label col-sm-3"
for="auth_user_first_name" id="auth_user_first_name__label">First
name</label><div class="col-sm-9"><input class="form-control string"
id="auth_user_first_name" name="first_name" type="text" value=""><span
class="help-block"></span></div></div><div class="form-group"
id="auth_user_last_name__row"><label class="control-label col-sm-3"
for="auth_user_last_name" id="auth_user_last_name__label">Last
name</label><div class="col-sm-9"><input class="form-control string"
id="auth_user_last_name" name="last_name" type="text" value=""><span
class="help-block"></span></div></div><div class="form-group"
id="auth_user_email__row"><label class="control-label col-sm-3"
for="auth_user_email" id="auth_user_email__label">E-mail</label><div
class="col-sm-9"><input class="form-control string" id="auth_user_email"
name="email" type="text" value=""><span
class="help-block"></span></div></div><div class="form-group"
id="auth_user_password__row"><label class="control-label col-sm-3"
for="auth_user_password"
id="auth_user_password__label">Password</label><div class="col-sm-9"><input
class="form-control password" id="auth_user_password" name="password"
type="password" value=""><span class="help-block"></span></div></div><div
class="form-group" id="auth_user_password_two__row"><label
class="control-label col-sm-3" for="auth_user_password_two"
id="auth_user_password_two__label">Confirm Password</label><div
class="col-sm-9"><input class="form-control password"
id="auth_user_password_two" name="password_two" type="password"
value=""><span class="help-block"></span></div></div><div
class="form-group" id="submit_record__row"><div class="col-sm-9
col-sm-offset-3"><input class="btn btn-primary" type="submit" value="Sign
Up"></div></div><div style="display:none;"><input name="_next"
type="hidden" value="/spa1/default/index"><input name="_formkey"
type="hidden" value="7eddc18e-5318-4f39-932d-104b10a296ea"><input
name="_formname" type="hidden" value="register"></div></form>
        </div>
    </div>
</div>



If i want to use semantic instead i not only have to change layout but also
have to look for all of the forms. and remove css classes.

I might need more time than i took to learn python.



I think web2py is very above average in an overall review but this issue
cracks my head completely. why ? and why not completely agnostic ?

Web2py is not itself a mainstream framework but decided to glue itself on a
apparently mainstrean css framework that may not be the best choice forever
and may suffer from that apart the issue of python 2 vs python 3 ?

in this aspect i think weppy is in a more clever path.

Just thinking ....

will we have one day

web2py create app1
web2py remove bootstrap
web2py add semantic-ui

Regards
António






2015-10-14 4:49 GMT+01:00 Anthony <abasta...@gmail.com>:

> On Tuesday, October 13, 2015 at 12:35:31 PM UTC-4, Ramos wrote:
>>
>> I like semantic a lot better than bootstrap.
>>
>>
>> Why the hell did you glue bootstrap with web2py ?
>>
>
> I wouldn't say Bootstrap is "glued" with web2py. web2py comes with an
> optional scaffolding application that includes a front end, and that front
> end happens to be based on Bootstrap. The front end has to be based on
> *something* -- if we choose Semantic, then folks will ask why not
> Bootstrap? Given the popularity and prevalence of Bootstrap, it isn't a bad
> choice.
>
> More generally, I would argue that the choice of front end framework for
> the scaffolding app is not *that *important. The fact is, if you want to
> make any significant customizations to the look and feel of the UI, it
> isn't much harder to start completely from scratch with some template based
> on another framework than it is to try to alter the existing app (most of
> the work is in customizing layout.html and developing form and grid
> styles). On the other hand, if you don't want any significant
> customization, then it shouldn't much matter what framework is used, as
> long as the end result looks decent and is usable.
>
> Anthony
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to