dialog black theme cannot be changed
You might not have found that the dialog theme cannot even be changed, which is by default black.
The dialog header, content and footer can be changed to any other theme, but dialog page itself is fixed to be black.
Is black better for a dialog? or can it be set somewhere I don't know?
- <div data-role="page" data-theme="c" id="newword">
- <div data-role="header" data-theme="b">
- <h1>{% trans "search a word" %}</h1>
- </div>
- <div data-role="content" data-theme="c">
- <h1>{% trans "Search it, then Save it" %}</h1>
- <form action="/m/search" method="get">
- <div data-role="fieldcontain">
- <label>
- <input type="text" name="query_word" value=""/>
- </label>
- </div>
- </form>
- </div>
- </div>
The dialog data theme c can not be applied? something wrong with my code?