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