-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from derula/html-css-cleanup
HTML/CSS cleanup
- Loading branch information
Showing
35 changed files
with
187 additions
and
357 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
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
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
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,6 +1,6 @@ | ||
<dialog id="openLink" title="You clicked a link!"> | ||
You have clicked on the following link:<br /> | ||
<input type="text" class="ui-widget-content ui-corner-all" /><br /> | ||
<input type="text" /><br /> | ||
It is recommended that you copy the link and open it in an external browser.<br /> | ||
If you are sure you want to open it in this window instead, please click <a>here</a>. | ||
</dialog> |
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,11 +1,5 @@ | ||
<div id="container" class="single_column"> | ||
<div class="wrapper"> | ||
<div class="column_one"> | ||
<div class="column_text"> | ||
<h2>An Error Occurred</h2> | ||
<p>We aren't sure what happened. Try whatever you were doing again.</p> | ||
<p>If it still doesn't work, please submit a bug report with as many details as you can!</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<section> | ||
<h2>An Error Occurred</h2> | ||
<p>We aren't sure what happened. Try whatever you were doing again.</p> | ||
<p>If it still doesn't work, please submit a bug report with as many details as you can!</p> | ||
</section> |
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,12 +1,5 @@ | ||
<div id="container" class="single_column"> | ||
<div class="wrapper"> | ||
<div class="column_one"> | ||
<div class="column_text"> | ||
<h2>File Not Found!</h2> | ||
<p>This mod tried to load something that doesn't exist. Please close and re-open your profile window to try again.</p> | ||
<p>If this problem persists, please log a bug report!</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<section> | ||
<h2>File Not Found!</h2> | ||
<p>This mod tried to load something that doesn't exist. Please close and re-open your profile window to try again.</p> | ||
<p>If this problem persists, please log a bug report!</p> | ||
</section> |
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,16 +1,10 @@ | ||
<div id="container" class="single_column"> | ||
<div class="wrapper"> | ||
<div class="column_one"> | ||
<div class="column_text"> | ||
<h2>Please Log In to Edit</h2> | ||
<form action="?" method="POST"> | ||
<label>Password: <input name="password" type="password" class="ui-widget-content ui-corner-all" /></label><br /> | ||
<section> | ||
<h2>Please Log In to Edit</h2> | ||
<form action="?" method="POST"> | ||
<label>Password: <input name="password" type="password" /></label><br /> | ||
<? foreach ($names as $key => $value): ?> | ||
<input type="hidden" name="<?=$key?>" value="<?=$value?>" /> | ||
<input type="hidden" name="<?=$key?>" value="<?=$value?>" /> | ||
<? endforeach ?> | ||
<input type="submit" value="Log in" /> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<input type="submit" value="Log in" /> | ||
</form> | ||
</section> |
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,7 @@ | ||
<div id="container" class="no_profile"> | ||
<div class="wrapper"> | ||
<div class="column_one"> | ||
<div class="column_text"> | ||
<h2><?=$name?></h2> | ||
<p><?=$name?> doesn't have a profile yet!</p> | ||
<p>Let them know this mod exists!</p> | ||
<p>/tell <?=$name?> (( Hey! If you're a roleplayer, have you seen the SWLRP Roleplay Profile Add-On? <?=$serverUrl?> ))</p> | ||
</div> | ||
</div> | ||
<div class="column_two"> | ||
<div class="column_text"> | ||
<div class="headshot"> | ||
<img src="/assets/images/image_noprofile.png" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<aside><img src="/assets/images/image_noprofile.png" /></aside> | ||
<section> | ||
<h2><?=$name?></h2> | ||
<p><?=$name?> doesn't have a profile yet!</p> | ||
<p>Let them know this mod exists!</p> | ||
<p>/tell <?=$name?> (( Hey! If you're a roleplayer, have you seen the SWLRP Roleplay Profile Add-On? <?=$serverUrl?> ))</p> | ||
</section> |
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,14 +1,6 @@ | ||
<div id="container" class="single_column"> | ||
<div class="wrapper"> | ||
<div class="column_one"> | ||
<div class="column_text"> | ||
<h2>Not Logged In</h2> | ||
<p>You have attempted to perform an action that is only possible when logged in.</p> | ||
<p>Please close and re-open your profile window to try again.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<section> | ||
<h2>Not Logged In</h2> | ||
<p>You have attempted to perform an action that is only possible when logged in.</p> | ||
<p>Please close and re-open your profile window to try again.</p> | ||
</section> |
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,41 +1,30 @@ | ||
<div id="container" <? if (static::EDIT_MODE_ENABLED === $this->getEditMode()): ?>class="editmode"<? endif ?>> | ||
<div id="tabs" class="tabs"> | ||
<ul> | ||
<nav class="tabs"> | ||
<ul> | ||
<? foreach ($structure as $section): ?> | ||
<li><a href="#tabs-<?=$section['name']?>"><?=$section['title']?></a></li> | ||
<li><a href="#tab-<?=$section['name']?>"><?=$section['title']?></a></li> | ||
<? endforeach ?> | ||
</ul> | ||
</ul> | ||
</nav> | ||
<? foreach ($structure as $section): ?> | ||
<div id="tabs-<?=$section['name']?>" class="wrapper"> | ||
<div class="column_one"> | ||
<div class="column_text"> | ||
<? foreach ($section['texts'] as $prop): ?> | ||
<div> | ||
<h3><?=$prop['title']?></h3> | ||
<article><?=$this->decorate($prop, 'text')?></article> | ||
</div> | ||
<? endforeach ?> | ||
</div> | ||
</div> | ||
<div class="column_two"> | ||
<div class="column_text"> | ||
<div class="headshot"> | ||
<img class="portrait" src="<?=$portrait ?: '/assets/images/image_default.png'?>" /> | ||
</div> | ||
<div id="tab-<?=$section['name']?>" <? if (static::EDIT_MODE_DISABLED !== $this->getEditMode()): ?>class="editmode"<? endif ?>> | ||
<? if (!empty($section['properties'])): ?> | ||
<aside> | ||
<img class="portrait" src="<?=$portrait ?: '/assets/images/image_default.png'?>" /> | ||
<? foreach ($section['properties'] as $prop): ?> | ||
<div class="field_title <?=$prop['name']?>"><?=$prop['title']?></div> | ||
<div class="field_content"><?=$this->decorate($prop, 'property')?></div> | ||
<?=$this->decorate($prop, 'property')?> | ||
<? endforeach ?> | ||
</div> | ||
</div> | ||
</div> | ||
</aside> | ||
<? endif ?> | ||
<section> | ||
<? foreach ($section['texts'] as $prop): ?> | ||
<h3><?=$prop['title']?></h3> | ||
<article><?=$this->decorate($prop, 'text')?></article> | ||
<? endforeach ?> | ||
</section> | ||
</div> | ||
<? endforeach ?> | ||
</div> | ||
<div id="editbuttons"> | ||
<? if (static::EDIT_MODE_ENABLED === $this->getEditMode()): ?> | ||
<button id="edit"></button> | ||
<button id="edit"></button> | ||
<? elseif (static::EDIT_MODE_REQUESTED === $this->getEditMode()): ?> | ||
<button class="link" data-href="/front/<?=htmlspecialchars($this->getRequestString())?>">Log in</a> | ||
<button id="edit" class="link" data-href="/front/<?=htmlspecialchars($this->getRequestString())?>">Log in</a> | ||
<? endif ?> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,16 @@ | ||
<div id="container" class="single_column"> | ||
<div class="wrapper"> | ||
<div class="column_one"> | ||
<div class="column_text"> | ||
<h2>Register Your Password</h2> | ||
<form action="?" method="POST"> | ||
<p> | ||
Please choose a password to secure your profile.<br /> | ||
You can leave this empty, but it is not recommended.<br /> | ||
If you decide not to enter a password, anyone can edit your profile! | ||
</p> | ||
<label>Password: <input name="password" type="password" class="ui-widget-content ui-corner-all" /></label><br /> | ||
<label>Repeat password: <input name="password" type="password" class="ui-widget-content ui-corner-all" /></label><br /> | ||
<section> | ||
<h2>Register Your Password</h2> | ||
<form action="?" method="POST"> | ||
<p> | ||
Please choose a password to secure your profile.<br /> | ||
You can leave this empty, but it is not recommended.<br /> | ||
If you decide not to enter a password, anyone can edit your profile! | ||
</p> | ||
<label>Password: <input name="password" type="password" /></label><br /> | ||
<label>Repeat password: <input name="password" type="password" /></label><br /> | ||
<? foreach ($names as $key => $value): ?> | ||
<input type="hidden" name="<?=$key?>" value="<?=$value?>" /> | ||
<input type="hidden" name="<?=$key?>" value="<?=$value?>" /> | ||
<? endforeach ?> | ||
<input type="submit" value="Set password" /> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<input type="submit" value="Set password" /> | ||
</form> | ||
</section> |