Browse Source

Merge pull request #300 from Hutchy68/fixes-2-0

Fixes 2 0, merging all individually in case I have to back out a specific one.
Tom Hutchison 8 years ago
parent
commit
19d1b5cb14
3 changed files with 513 additions and 476 deletions
  1. 2 2
      Foreground.skin.php
  2. 1 0
      assets/scripts/foreground.js
  3. 510 474
      assets/stylesheets/foreground.css

+ 2 - 2
Foreground.skin.php

@@ -104,14 +104,14 @@ class foregroundTemplate extends BaseTemplate {
 		<nav class="top-bar" data-topbar role="navigation" data-options="back_text: <?php echo wfMessage( 'foreground-menunavback' )->text(); ?>">
 			<ul class="title-area">
 				<li class="name">
-					<span class="title-name">
+					<div class="title-name">
 					<a href="<?php echo $this->data['nav_urls']['mainpage']['href']; ?>">
 					<?php if ($wgForegroundFeatures['navbarIcon'] != '0') { ?>
 						<img alt="<?php echo $this->text('sitename'); ?>" class="top-bar-logo" src="<?php echo $this->text('logopath') ?>">
 					<?php } ?>					
 					<div class="title-name" style="display: inline-block;"><?php echo $wgForegroundFeatures['wikiName']; ?></div>
 					</a>
-					</span>
+					</div>
 				</li>
 				<li class="toggle-topbar menu-icon">
 					<a href="#"><span><?php echo wfMessage( 'foreground-menutitle' )->text(); ?></span></a>

+ 1 - 0
assets/scripts/foreground.js

@@ -19,6 +19,7 @@ jQuery(document).ready(function() {
   jQuery('[id^=ca-nstab] a').prepend('<div class="drop-icon"><i class="fa fa-file fa-fw"></i></div>')
   jQuery('li#ca-talk a').prepend('<div class="drop-icon"><i class="fa fa-comments-o fa-fw"></i></div>')
   jQuery('li#ca-form_edit a').prepend('<div class="drop-icon"><i class="fa fa-pencil-square fa-fw"></i></div>')
+  jQuery('li#ca-formedit a').prepend('<div class="drop-icon"><i class="fa fa-pencil-square fa-fw"></i></div>')
   jQuery('li#ca-history a').prepend('<div class="drop-icon"><i class="fa fa-history fa-fw"></i></div>')
   jQuery('li#ca-delete a').prepend('<div class="drop-icon"><i class="fa fa-trash-o fa-fw"></i></div>')
   jQuery('li#ca-move a').prepend('<div class="drop-icon"><i class="fa fa-truck fa-fw"></i></div>')

File diff suppressed because it is too large
+ 510 - 474
assets/stylesheets/foreground.css


Some files were not shown because too many files changed in this diff