Use a lot more <p> and a lot less <div>.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Oct 2010 20:40:00 +0000 (22:40 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 23 Oct 2010 20:40:00 +0000 (22:40 +0200)
12 files changed:
src/main/resources/templates/addSone.html
src/main/resources/templates/createPost.html
src/main/resources/templates/createReply.html
src/main/resources/templates/createSone.html
src/main/resources/templates/deletePost.html
src/main/resources/templates/deleteReply.html
src/main/resources/templates/deleteSone.html
src/main/resources/templates/editProfile.html
src/main/resources/templates/knownSones.html
src/main/resources/templates/login.html
src/main/resources/templates/noPermission.html
src/main/resources/templates/viewSone.html

index 0d5680a..a9766a8 100644 (file)
@@ -2,11 +2,11 @@
 
        <h1><%= Page.AddSone.Page.Title|l10n|html></h1>
 
-       <div><%= Page.AddSone.Text.SoneLoading|l10n|html|replace needle="{link}" replacement='<a href="knownSones.html">'|replace needle="{/link}" replacement='</a>'></div>
+       <p><%= Page.AddSone.Text.SoneLoading|l10n|html|replace needle="{link}" replacement='<a href="knownSones.html">'|replace needle="{/link}" replacement='</a>'></p>
 
-       <div><%= Page.AddSone.Text.ReturnToIndex|l10n|html|replace needle="{link}" replacement='<a href="index.html">'|replace needle="{/link}" replacement='</a>'></div>
+       <p><%= Page.AddSone.Text.ReturnToIndex|l10n|html|replace needle="{link}" replacement='<a href="index.html">'|replace needle="{/link}" replacement='</a>'></p>
 
-       <div><%= Page.AddSone.Text.AddAnotherSone|l10n|html></div>
+       <p><%= Page.AddSone.Text.AddAnotherSone|l10n|html></p>
 
        <form method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
index ca9171b..e1571be 100644 (file)
@@ -3,7 +3,7 @@
        <h1><%= Page.CreatePost.Page.Title|l10n|html></h1>
 
        <%if errorTextEmpty>
-               <div><%= Page.CreatePost.Error.EmptyText|l10n|html></div>
+               <p><%= Page.CreatePost.Error.EmptyText|l10n|html></p>
        <%/if>
 
        <form method="post">
index 642fdc0..fc68a03 100644 (file)
@@ -3,7 +3,7 @@
        <h1><%= Page.CreateReply.Page.Title|l10n|html></h1>
 
        <%if errorTextEmpty>
-               <div><%= Page.CreateReply.Error.EmptyText|l10n|html></div>
+               <p><%= Page.CreateReply.Error.EmptyText|l10n|html></p>
        <%/if>
 
        <form method="post">
index eb92652..ae1acaa 100644 (file)
@@ -1,7 +1,7 @@
 <%include include/head.html>
 
        <h1><%= Page.Login.CreateSone.Title|l10n|html></h1>
-       <div><%= Page.Login.CreateSone.Description|l10n|html></div>
+       <p><%= Page.Login.CreateSone.Description|l10n|html></p>
 
        <%include include/createSone.html>
 
index 087cb49..f6c57c8 100644 (file)
@@ -2,7 +2,7 @@
 
        <h1><%= Page.DeletePost.Page.Title|l10n|html></h1>
 
-       <div><%= Page.DeletePost.Text.PostWillBeGone|l10n|html></div>
+       <p><%= Page.DeletePost.Text.PostWillBeGone|l10n|html></p>
 
        <form method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
index ed72c7d..1c0cf4e 100644 (file)
@@ -2,7 +2,7 @@
 
        <h1><%= Page.DeleteReply.Page.Title|l10n|html></h1>
 
-       <div><%= Page.DeleteReply.Text.PostWillBeGone|l10n|html></div>
+       <p><%= Page.DeleteReply.Text.PostWillBeGone|l10n|html></p>
 
        <form method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
index d3d7b15..ccb14f0 100644 (file)
@@ -2,7 +2,7 @@
 
        <h1><%= Page.DeleteSone.Page.Title|l10n|replace needle="{zone}" replacementKey=currentSone.name|html></h1>
 
-       <div><%= Page.DeleteSone.Page.Description|l10n|html></div>
+       <p><%= Page.DeleteSone.Page.Description|l10n|html></p>
 
        <form method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
index 75d5da8..7b3eb18 100644 (file)
 
        <h1><%= Page.EditProfile.Page.Title|l10n|html></h1>
 
-       <div><%= Page.EditProfile.Page.Description|l10n|html></div>
-       <div><%= Page.EditProfile.Page.Hint.Optionality|l10n|html></div>
+       <p><%= Page.EditProfile.Page.Description|l10n|html></p>
+       <p><%= Page.EditProfile.Page.Hint.Optionality|l10n|html></p>
 
        <%if changed>
-               <div><%= Page.EditProfile.Page.Status.Changed|l10n|html></div>
+               <p><%= Page.EditProfile.Page.Status.Changed|l10n|html></p>
        <%/if>
 
        <form id="edit-profile" method="post">
@@ -46,9 +46,9 @@
 
        <h1><%= Page.EditProfile.Keys.Title|l10n|html></h1>
 
-       <div><%= Page.EditProfile.Keys.Description.RequestKey|l10n|html></div>
-       <div><%= Page.EditProfile.Keys.Description.InsertKey|l10n|html></div>
-       <div><%= Page.EditProfile.Keys.Description.Summary|l10n|html></div>
+       <p><%= Page.EditProfile.Keys.Description.RequestKey|l10n|html></p>
+       <p><%= Page.EditProfile.Keys.Description.InsertKey|l10n|html></p>
+       <p><%= Page.EditProfile.Keys.Description.Summary|l10n|html></p>
 
        <div>
                <label><%= Page.EditProfile.Label.RequestKey|l10n|html></label>
@@ -61,7 +61,7 @@
 
        <h1><%= Page.EditProfile.Backup.Title|l10n|html></h1>
 
-       <div><%= Page.EditProfile.Backup.Description|l10n|html></div>
+       <p><%= Page.EditProfile.Backup.Description|l10n|html></p>
 
        <form action="backupProfile.html" method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
index b443e82..57a89af 100644 (file)
@@ -8,7 +8,7 @@
 
        <h1><%= Page.Index.AddSone.Title|l10n|html></h1>
 
-       <div><%= Page.Index.AddSone.Description|l10n|html></div>
+       <p><%= Page.Index.AddSone.Description|l10n|html></p>
 
        <form id="add-sone" action="addSone.html" method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
index ff858be..1f8c1a2 100644 (file)
        <%/if>
 
        <h1><%= Page.Login.LoadSone.Title|l10n|html></h1>
-       <div><%= Page.Login.LoadSone.Description|l10n|html></div>
+       <p><%= Page.Login.LoadSone.Description|l10n|html></p>
        <%include include/loadSone.html>
 
        <h1><%= Page.Login.CreateSone.Title|l10n|html></h1>
-       <div><%= Page.Login.CreateSone.Description|l10n|html></div>
+       <p><%= Page.Login.CreateSone.Description|l10n|html></p>
        <%include include/createSone.html>
 
 <%include include/tail.html>
index 50c78e1..bdf0725 100644 (file)
@@ -2,6 +2,6 @@
 
        <h1><%= Page.NoPermission.Page.Title|l10n|html></h1>
 
-       <div><%= Page.NoPermission.Text.NoPermission|l10n|html></div>
+       <p><%= Page.NoPermission.Text.NoPermission|l10n|html></p>
 
 <%include include/tail.html>
index 38ab779..61ff39d 100644 (file)
@@ -4,7 +4,7 @@
 
                <h1><%= Page.ViewSone.Page.TitleWithoutSone|l10n|html></h1>
 
-               <div><%= Page.ViewSone.UnknownSone.Description|l10n|html></div>
+               <p><%= Page.ViewSone.UnknownSone.Description|l10n|html></p>
 
        <%else>