Project

General

Profile

Bug #9127

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

Added by Rathnadhar K V over 1 year ago. Updated over 1 year ago.

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

0%

Estimated time:
0.50 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

#1

Updated by Rathnadhar K V over 1 year 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

#2

Updated by Roel Standaert over 1 year 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.

Also available in: Atom PDF