up
This commit is contained in:
parent
2ba9bf7ebc
commit
74c8a857e4
@ -164,6 +164,7 @@ void GeneralBuilder::Body(Document &file, string cPath, Sites site, Col color, P
|
||||
|
||||
void GeneralBuilder::WriteToFile(Document doc, string p)
|
||||
{
|
||||
//cout << doc.ToString(Readability::MULTILINE) << endl;
|
||||
path PathToCheck = path(p);
|
||||
if (exists(PathToCheck))
|
||||
{
|
||||
|
@ -16,7 +16,7 @@ using namespace CTML;
|
||||
int main()
|
||||
{
|
||||
GeneralBuilder dev;
|
||||
dev.BuildThePraSite(Utilities::ART);
|
||||
dev.BuildThePraSite(Utilities::DEV);
|
||||
cout << "DONE";
|
||||
getchar();
|
||||
return 0;
|
||||
|
@ -155,7 +155,7 @@ inline list<Node> ThePraDev::SingleMainContent(Levels level, string cPath, DeskO
|
||||
{
|
||||
ThePraDev a;
|
||||
string whichLevel = ChooseLevel(level);
|
||||
Node mainC = Node("div#main");
|
||||
Node mainC = Node("div.main");
|
||||
Node mainMC = mainC;
|
||||
string STRING;
|
||||
string contentDesktop = "";
|
||||
@ -195,11 +195,8 @@ inline Node ThePraDev::Player(Levels level)
|
||||
.AppendChild(Node("audio")
|
||||
.SetAttribute("controls", "controls")
|
||||
.SetAttribute("preload", "auto")
|
||||
.SetContent("Your browser does not support the audio element.")
|
||||
.AppendChild(Node("source")
|
||||
.SetAttribute(a.src, whichLevel + "videoplayback.ogg")
|
||||
.SetAttribute("type", "audio/ogg")
|
||||
.UseClosingTag(false)));
|
||||
.SetContent("Your browser does not support the <code>audio</code> element."));
|
||||
return player;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user