Apply style to buttons in EditPage
Project: http://git-wip-us.apache.org/repos/asf/roller/repo Commit: http://git-wip-us.apache.org/repos/asf/roller/commit/122eac41 Tree: http://git-wip-us.apache.org/repos/asf/roller/tree/122eac41 Diff: http://git-wip-us.apache.org/repos/asf/roller/diff/122eac41 Branch: refs/heads/bootstrap-ui Commit: 122eac419b3d3a7a33e70083eaeb305893a10fea Parents: 8042fd7 Author: Kohei Nozaki <[email protected]> Authored: Wed Jan 6 14:05:45 2016 +0900 Committer: Kohei Nozaki <[email protected]> Committed: Wed Jan 6 14:06:49 2016 +0900 ---------------------------------------------------------------------- app/src/main/webapp/WEB-INF/jsps/editor/EntryEdit.jsp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/roller/blob/122eac41/app/src/main/webapp/WEB-INF/jsps/editor/EntryEdit.jsp ---------------------------------------------------------------------- diff --git a/app/src/main/webapp/WEB-INF/jsps/editor/EntryEdit.jsp b/app/src/main/webapp/WEB-INF/jsps/editor/EntryEdit.jsp index b5ba20b..16cd5c2 100644 --- a/app/src/main/webapp/WEB-INF/jsps/editor/EntryEdit.jsp +++ b/app/src/main/webapp/WEB-INF/jsps/editor/EntryEdit.jsp @@ -297,7 +297,7 @@ <%-- The button box --%> <%-- save draft --%> - <s:submit cssClass="btn btn-default" + <s:submit cssClass="btn btn-warning" value="%{getText('weblogEdit.save')}" action="%{#mainAction}!saveDraft"/> @@ -311,14 +311,14 @@ <s:if test="userAnAuthor"> <%-- publish --%> - <s:submit cssClass="btn btn-default" + <s:submit cssClass="btn btn-success" value="%{getText('weblogEdit.post')}" action="%{#mainAction}!publish"/> </s:if> <s:else> <%-- submit for review --%> - <s:submit cssClass="btn btn-default" + <s:submit cssClass="btn btn-info" value="%{getText('weblogEdit.submitForReview')}" action="%{#mainAction}!publish" /> </s:else> @@ -330,7 +330,7 @@ <s:param name="weblog" value="actionWeblog.handle"/> <s:param name="removeId" value="%{entry.id}"/> </s:url> - <input class="btn btn-default" type="button" + <input class="btn btn-danger" type="button" value="<s:text name='weblogEdit.deleteEntry'/>" onclick="window.location='<s:property value="removeUrl" escape="false"/>'"/> </span>
