Project

General

Profile

Actions

Bug #9127

closed

The source directory of wt.css and wt.less breaks the setCssTheme() folder path requirement

Added by Rathnadhar K V over 2 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/01/2021
Due date:
% Done:

0%

Estimated time:
0:30 h

Description

Namaskara,

void Wt::WApplication::setCssTheme(const std::string &  name)

requires the css file to be placed in

resources/themes/name/

As per the official documentation

https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WApplication.html#a1d8462456e7d70aa991bd05dd8b646f4

However the following css files:

  1. wt.css
  2. wt.less

are found in /resources/boostrap/2 and resources/bootstrap/3 (duplicated!).

that breaks the official css source folder requirement.

If I use wt..then as per the documentation the directory should be

/resource/wt/

If the official documentation requirement is to be adhered then the wt.css and wt.less must be moved out of bootstrap folder, into a separate folder /resources/wt

Regards
Rathnadhar KV

Actions #1

Updated by Rathnadhar K V over 2 years ago

If I use wt..then as per the documentation the directory should be

/resources/themes/wt/

sorry for the earlier typo...

Regards
Rathnadhar KV

Actions #2

Updated by Roel Standaert over 2 years ago

  • Status changed from New to Rejected
  • Assignee deleted (Koen Deforche)

The Bootstrap themes are not CSS themes, so they adhere to a different convention.

Actions

Also available in: Atom PDF