Giter Site home page Giter Site logo

edx-bootstrap-theme's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

edx-bootstrap-theme's Issues

Cannot install it on Lilac using tutor

Hi,
The command, "paver update_assets lms" does not work in the Lilac installation with Tutor. It says "Unknown assets". Is there a way to install it with Tutor?

Does work with hawthorn.

I try to install in Hawthorn but I'm getting an error when Assets.

Captured Task Output:

---> pavelib.assets.compile_sass
mkdir_p path('/edx/app/edxapp/edx-platform/themes/edx-bootstrap-theme/lms/static/css')
rtlcss /edx/app/edxapp/edx-platform/themes/edx-bootstrap-theme/lms/static/css/bootstrap/lms-main.css /edx/app/edxapp/edx-platform/themes/edx-bootstrap-theme/lms/static/css/bootstrap/lms-main-rtl.css
rtlcss /edx/app/edxapp/edx-platform/themes/edx-bootstrap-theme/lms/static/css/discussion/lms-discussion-bootstrap.css /edx/app/edxapp/edx-platform/themes/edx-bootstrap-theme/lms/static/css/discussion/lms-discussion-bootstrap-rtl.css
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 201, in _run_task
return do_task()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 198, in do_task
return func(**kw)
File "/edx/app/edxapp/edx-platform/pavelib/utils/timer.py", line 39, in timed
return wrapped(*args, **kwargs)
File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 464, in compile_sass
timing_info=timing_info
File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 548, in _compile_sass
output_style=output_style,
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/sass.py", line 644, in compile
raise CompileError(v)
CompileError: Error: Incompatible units: 'rem' and 'px'.
on line 367 of node_modules/bootstrap/scss/_variables.scss

$input-height-inner: ($font-size-base * $input-btn-line-hei
-----------------------------------------^

compile error

Hi

It is looks good. I tried to enable in my edx installation but got error in compiling after paver update_assets lms --settings=aws command.
Thanks for help

CompileError: Error: File to import not found or unreadable: lms/static/sass/lms-main-rtl
Parent style sheet: /edx/app/edxapp/edx-platform/themes/edx-bootstrap-theme/lms/static/sass/lms-main-rtl.scss
on line 5 of themes/edx-bootstrap-theme/lms/static/sass/lms-main-rtl.scss

@import 'lms/static/sass/lms-main-rtl';
^

Do I need to install bootstrap ??

Hello Friend, that is a great effort and people like me are to consume without efforts.
I tried applying your theme and followed the instructions.

I got a "No CSS"??? look. Means I need to download bootstrap ??
If it is the case can you guide me how to use that downloaded bootstrap.

CompileError: Error: Incompatible units: 'rem' and 'px'.

---> pavelib.assets.compile_sass
mkdir_p path('/home/ubuntu/edx.custom-theme/themes/custom-theme/lms/static/css')
rtlcss /home/ubuntu/edx.custom-theme/themes/custom-theme/lms/static/css/bootstrap/lms-main.css /home/ubuntu/edx.custom-theme/themes/custom-theme/lms/static/css/bootstrap/lms-main-rtl.css
rtlcss /home/ubuntu/edx.custom-theme/themes/custom-theme/lms/static/css/discussion/lms-discussion-bootstrap.css /home/ubuntu/edx.custom-theme/themes/custom-theme/lms/static/css/discussion/lms-discussion-bootstrap-rtl.css
mkdir_p path('/home/ubuntu/edx.custom-theme/themes/edx-bootstrap-theme-master/lms/static/css')
rtlcss /home/ubuntu/edx.custom-theme/themes/edx-bootstrap-theme-master/lms/static/css/bootstrap/lms-main.css /home/ubuntu/edx.custom-theme/themes/edx-bootstrap-theme-master/lms/static/css/bootstrap/lms-main-rtl.css
rtlcss /home/ubuntu/edx.custom-theme/themes/edx-bootstrap-theme-master/lms/static/css/discussion/lms-discussion-bootstrap.css /home/ubuntu/edx.custom-theme/themes/edx-bootstrap-theme-master/lms/static/css/discussion/lms-discussion-bootstrap-rtl.css
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 201, in _run_task
return do_task()
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 198, in do_task
return func(**kw)
File "/edx/app/edxapp/edx-platform/pavelib/utils/timer.py", line 39, in timed
return wrapped(*args, **kwargs)
File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 464, in compile_sass
timing_info=timing_info
File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 548, in _compile_sass
output_style=output_style,
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/sass.py", line 644, in compile
raise CompileError(v)
CompileError: Error: Incompatible units: 'rem' and 'px'.
on line 367 of node_modules/bootstrap/scss/_variables.scss

$input-height-inner: ($font-size-base * $input-btn-line-hei
-----------------------------------------^

Error while sass compiling

First of all, greate work!, I am having some problems compiling sass, can you help out:

Captured Task Output:
---------------------

---> pavelib.assets.compile_sass
mkdir_p path('/edx/app/edxapp/themes/edx-platform/indiax2/lms/static/css')
mkdir_p path('/edx/app/edxapp/themes/edx-platform/indiax/lms/static/css')
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 196, in _run_task
    return do_task()
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/paver/tasks.py", line 193, in do_task
    return func(**kw)
  File "/edx/app/edxapp/edx-platform/pavelib/utils/timer.py", line 38, in timed
    return wrapped(*args, **kwargs)
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 499, in compile_sass
    timing_info=timing_info
  File "/edx/app/edxapp/edx-platform/pavelib/assets.py", line 583, in _compile_sass
    output_style=output_style,
  File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/sass.py", line 644, in compile
    raise CompileError(v)
CompileError: Error: Undefined variable: "$static-path".
        on line 6 of lms/static/sass/base/_font_face.scss
>> }
   ------------^

Several problems trying to use your great theme with Eucalyptus

I am trying to set your theme in an Edx Eucalyptus fullstack instance but I have severel problems. When I execute "paver update_assets lms --settings=aws --debug" I get an error telling me that "static.get_themed_template_path" doesn't exist. This code is in
lms/templates/header.html and it is:
<%include file="${static.get_themed_template_path(relative_path='theme-header.html', default_path='theme-header.html')}" args="online_help_token=online_help_token" />

Trying to continue I modified it removing "themed_" and then I get a similar error with this files and code:
lms/templates/themable-footer.html
lms/templates/theme-header.html (same code in this file):

from microsite_configuration.templatetags.microsite import platform_name

I commented that line and it worked but the resultant theme is not responsive and show error 500 instead of courses with this log at /edx/var/log/supervisor/lms-stderr.log

File "/tmp/mako_lms/a2b0dda4fba8f36dc7c8a2e63893049c/edx-bootstrap-theme/lms/templates/dashboard.html.py", line 192, in render_body
course_program_info = course_programs.get(unicode(enrollment.course_id))
AttributeError: 'Undefined' object has no attribute 'get'

It's not valid for Eucalyptus? Could you help?

There has been a 500 error

Thanks for your effort at the 1st and please i need to know why i get this error after i apply the theme and in the lms error log i got this

File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 829, in _render
**kwargs_for_callable(callable, data))
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 864, in _render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 890, in exec_template
callable
(context, *args, **kwargs)
File "/tmp/mako_lms/b2153bd0b7ba514602455e292b961b2f/ah/lms/templates/theme-main.html.py", line 293, in render_body
runtime._include_file(context, (static.get_template_path('header.html')), _template_uri, online_help_token=online_help_token)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 752, in include_file
callable
(ctx, **kwargs_for_include(callable, context._data, **kwargs))
File "/tmp/mako_lms/b2153bd0b7ba514602455e292b961b2f/ah/lms/templates/header.html.py", line 34, in render_body
runtime._include_file(context, (static.get_themed_template_path(relative_path='theme-header.html', default_path='theme-header.html')), _template_uri, online_help_token=online_help_token)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", line 625, in getattr
(self.name, key))
AttributeError: Namespace 'static' has no member 'get_themed_template_path'

License?

Hi @dadasoz,

This theme looks really nice. Could you please add a file to explain what license it uses?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.