-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert Twig because of multiple regressions, work still needed, and l…
…ack of testing (#179) * Revert "Small improvements to help themers" commit 19179f0 * Revert "Refactor twig files" commit 7442a1e * Revert "Convert layout to twig" commit 089dc48 * Revert "Switch menu to twig" commit e0f43c5 * Revert "Switch templates to Twig" commit dda0a10 * Revert "Extract layout from index.php" commit 65ed39f * Revert "Simplify and prepare templates for a template engine" commit c8bc71a * Revert "Verticalize templates code" commit c341e5c * Revert "Split pages into processing scripts + templates" commit 0201360 * Revert "Move processing outside html pages" commit 59cc6e5
- Loading branch information
Showing
24 changed files
with
814 additions
and
752 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<div class="navbar-wrapper"> | ||
|
||
<div class="navbar navbar-default navbar-static-top" role="navigation"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="index.php"><i class="fa fa-fw fa-home"></i> <?php echo $messages["title"]; ?></a> | ||
</div> | ||
<div class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
<?php if ( $use_questions ) { ?> | ||
<li class="<?php if ( $action === "resetbyquestions" or $action === "setquestions" ) { echo "active"; } ?>"> | ||
<a href="?action=resetbyquestions" | ||
data-toggle="menu-popover" | ||
data-content="<?php echo htmlentities(strip_tags($messages["changehelpquestions"])); ?>" | ||
><i class="fa fa-fw fa-question-circle"></i> <?php echo $messages["menuquestions"]; ?></a> | ||
</li> | ||
<?php } ?> | ||
<?php if ( $use_tokens ) { ?> | ||
<li class="<?php if ( ( $action === "resetbytoken" and $source !== "sms" ) or $action === "sendtoken" ) { echo "active"; } ?>"> | ||
<a href="?action=sendtoken" | ||
data-toggle="menu-popover" | ||
data-content="<?php echo htmlentities(strip_tags($messages["changehelptoken"])); ?>" | ||
><i class="fa fa-fw fa-envelope"></i> <?php echo $messages["menutoken"]; ?></a> | ||
</li> | ||
<?php } ?> | ||
<?php if ( $use_sms ) { ?> | ||
<li class="<?php if ( ( $action === "resetbytoken" and $source === "sms" ) or $action === "sendsms" ) { echo "active"; } ?>"> | ||
<a href="?action=sendsms" | ||
data-toggle="menu-popover" | ||
data-content="<?php echo htmlentities(strip_tags($messages["changehelpsms"])); ?>" | ||
><i class="fa fa-fw fa-mobile"></i> <?php echo $messages["menusms"]; ?></a> | ||
</li> | ||
<?php } ?> | ||
<?php if ( $change_sshkey ) { ?> | ||
<li class="<?php if ( $action === "changesshkey" ) { echo "active"; } ?>"> | ||
<a href="?action=changesshkey" | ||
data-toggle="menu-popover" | ||
data-content="<?php echo htmlentities(strip_tags($messages["changehelpsshkey"])); ?>" | ||
><i class="fa fa-fw fa-terminal"></i> <?php echo $messages["menusshkey"]; ?></a> | ||
</li> | ||
<?php } ?> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.