-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a1f160
commit 0992023
Showing
9 changed files
with
113 additions
and
92 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 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 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,12 @@ | ||
<?php | ||
require "header.php"; | ||
?> | ||
<h1 class="setupH1 setup">Your Blog Dashboard</h1> | ||
<div style="text-align: center;"> | ||
<a href="<?php echo $router->generate('write'); ?>" class="btn">Write A Blog Post</a> | ||
<a href="<?php echo $router->generate('settings'); ?>" class="btn">Edit The Site Settings</a> | ||
<a href="<?php echo $router->generate('logout'); ?>" class="btn">Log Out</a> | ||
</div> | ||
<?php | ||
require "footer.php"; | ||
?> |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
</div> | ||
</body> | ||
|
||
</html> |
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 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 |
---|---|---|
@@ -1,19 +1,14 @@ | ||
<?php | ||
require "header.php"; | ||
?> | ||
<div class="setup"> | ||
<div class="setupHeader"> | ||
<a href="https://github.com/johnroper100/dropplets"><span class="headerLogo"></span><span class="droppletsName">Dropplets</span></a> | ||
</div> | ||
<h1 class="setupH1 setup">Log Into Your Blog</h1> | ||
<form method="post" action="<?php echo $router->generate('login'); ?>"> | ||
<fieldset> | ||
<legend>Type your password to update your blog:</legend> | ||
<input type="password" name="blogPassword" placeholder="Management password" required /> | ||
</fieldset> | ||
<input class="btn" type="submit" value="Log In" /> | ||
</form> | ||
</div> | ||
<h1 class="setupH1 setup">Log Into Your Blog</h1> | ||
<form method="post" action="<?php echo $router->generate('login'); ?>"> | ||
<fieldset> | ||
<legend>Type your password to update your blog:</legend> | ||
<input type="password" name="blogPassword" placeholder="Management password" required /> | ||
</fieldset> | ||
<input class="btn" type="submit" value="Log In" /> | ||
</form> | ||
<?php | ||
require "footer.php"; | ||
?> |
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,47 @@ | ||
<?php | ||
require "header.php"; | ||
?> | ||
<?php if ($siteConfig['name'] == "") { ?> | ||
<h1 class="setupH1 setup">Let's create your blog</h1> | ||
<?php } else { ?> | ||
<h1 class="setupH1 setup">Edit your blog's settings</h1> | ||
<?php } ?> | ||
<form method="post" action="<?php echo $router->generate('settings'); ?>"> | ||
<fieldset> | ||
<legend>First, some details:</legend> | ||
<label>Blog Name:</label> | ||
<input type="text" name="blogName" placeholder="Enter your blog's name" required value="<?php echo $siteConfig['name']; ?>" /> | ||
<label>Blog Info:</label> | ||
<input type="text" name="blogInfo" placeholder="Enter an optional info message" value="<?php echo $siteConfig['info']; ?>" /> | ||
<label>Footer Message:</label> | ||
<input type="text" name="blogFooter" placeholder="Enter an optional footer message" value="<?php echo $siteConfig['footer']; ?>" /> | ||
<label>Site Template Name:</label> | ||
<input type="text" name="blogTemplate" placeholder="Enter the name of a template" required value="<?php echo $siteConfig['template']; ?>" /> | ||
<label>Post Timezone:</label> | ||
<input type="text" name="blogTimezone" placeholder="Enter a timezone" required value="<?php echo $siteConfig['timezone']; ?>" /> | ||
<label>Site Base Path:</label> | ||
<input type="text" name="blogBase" placeholder="Enter the base path" value="<?php echo $siteConfig['basePath']; ?>" /> | ||
</fieldset> | ||
<?php if (!isset($_SESSION['isAuthenticated'])) { ?> | ||
<fieldset> | ||
<?php if ($siteConfig['name'] == "") { ?> | ||
<legend>Last but not least, the password:</legend> | ||
<input type="password" name="blogPassword" placeholder="Choose a good password" required /> | ||
<?php } else { ?> | ||
<legend>Type your password to update your blog:</legend> | ||
<input type="password" name="blogPassword" placeholder="Management password" required /> | ||
<?php } ?> | ||
</fieldset> | ||
<?php } | ||
if ($siteConfig['name'] == "") { ?> | ||
<input class="btn" type="submit" value="Create Your Blog" /> | ||
<?php } else { ?> | ||
<input class="btn" type="submit" value="Update Your Blog" /> | ||
<?php } ?> | ||
</form> | ||
<div style="text-align: center; padding-top: 25px;"> | ||
<a href="<?php echo $router->generate('dashboard'); ?>" class="btn btn-sm">Return To Dashboard</a> | ||
</div> | ||
<?php | ||
require "footer.php"; | ||
?> |
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