Updated alerts to bootstrap v3

This commit is contained in:
Weslly Honorato
2013-09-08 16:27:26 -03:00
parent 2a3fbf0d66
commit 71d099af83
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<?php get_template_part('templates/page', 'header'); ?>
<div class="alert">
<div class="alert alert-warning">
<?php _e('Sorry, but the page you were trying to view does not exist.', 'roots'); ?>
</div>

View File

@@ -1,7 +1,7 @@
<?php get_template_part('templates/head'); ?>
<body <?php body_class(); ?>>
<!--[if lt IE 7]><div class="alert"><?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots'); ?></div><![endif]-->
<!--[if lt IE 7]><div class="alert alert-warning"><?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots'); ?></div><![endif]-->
<?php
do_action('get_header');

View File

@@ -1,7 +1,7 @@
<?php get_template_part('templates/page', 'header'); ?>
<?php if (!have_posts()) : ?>
<div class="alert">
<div class="alert alert-warning">
<?php _e('Sorry, no results were found.', 'roots'); ?>
</div>
<?php get_search_form(); ?>

View File

@@ -5,7 +5,7 @@
<?php edit_comment_link(__('(Edit)', 'roots'), '', ''); ?>
<?php if ($comment->comment_approved == '0') : ?>
<div class="alert">
<div class="alert alert-info">
<?php _e('Your comment is awaiting moderation.', 'roots'); ?>
</div>
<?php endif; ?>

View File

@@ -25,7 +25,7 @@
<?php endif; ?>
<?php if (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
<div class="alert">
<div class="alert alert-warning">
<?php _e('Comments are closed.', 'roots'); ?>
</div>
<?php endif; ?>
@@ -34,7 +34,7 @@
<?php if (!have_comments() && !comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
<section id="comments">
<div class="alert">
<div class="alert alert-warning">
<?php _e('Comments are closed.', 'roots'); ?>
</div>
</section><!-- /#comments -->