aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css10
-rw-r--r--view/tpl/removeaccount.tpl38
-rwxr-xr-xview/tpl/removeme.tpl38
3 files changed, 46 insertions, 40 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 87e12a9b3..e00fee521 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1941,6 +1941,16 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
border-radius: $radiuspx;
text-align: center;
}
+
+.section-content-danger-wrapper {
+ padding: 21px 10px;
+ color: #a94442;
+ background-color: #f2dede;
+ margin-bottom: 3px;
+ border-radius: $radiuspx;
+ text-align: center;
+}
+
.section-content-wrapper {
padding: 7px 10px;
background-color: $comment_item_colour;
diff --git a/view/tpl/removeaccount.tpl b/view/tpl/removeaccount.tpl
index b7378806b..aefcd51a8 100644
--- a/view/tpl/removeaccount.tpl
+++ b/view/tpl/removeaccount.tpl
@@ -1,22 +1,20 @@
-<h1>{{$title}}</h1>
-
-<div id="remove-account-wrapper">
-
-<div id="remove-account-desc">{{$desc}}</div>
-
-<form action="{{$basedir}}/removeaccount" autocomplete="off" method="post" >
-<input type="hidden" name="verify" value="{{$hash}}" />
-
-<div id="remove-account-pass-wrapper">
-<label id="remove-account-pass-label" for="remove-account-pass">{{$passwd}}</label>
-<input type="password" id="remove-account-pass" name="qxz_password" />
-</div>
-<div id="remove-account-pass-end"></div>
-
-{{include file="field_checkbox.tpl" field=$global}}
-
-<input type="submit" name="submit" value="{{$submit}}" />
-
-</form>
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <h2>{{$title}}</h2>
+ </div>
+ <div class="section-content-danger-wrapper" id="remove-account-desc">
+ <strong>{{$desc.0}}</strong>{{$desc.1}}<strong>{{$desc.2}}</strong>
+ </div>
+ <div class="section-content-tools-wrapper">
+ <form action="{{$basedir}}/removeaccount" autocomplete="off" method="post" >
+ <input type="hidden" name="verify" value="{{$hash}}" />
+ <div class="form-group" id="remove-account-pass-wrapper">
+ <label id="remove-account-pass-label" for="remove-account-pass">{{$passwd}}</label>
+ <input class="form-control" type="password" id="remove-account-pass" name="qxz_password" />
+ </div>
+ {{include file="field_checkbox.tpl" field=$global}}
+ <button type="submit" name="submit" class="btn btn-danger">{{$submit}}</button>
+ </form>
+ </div>
</div>
diff --git a/view/tpl/removeme.tpl b/view/tpl/removeme.tpl
index c42eaf0e1..5b329dd6d 100755
--- a/view/tpl/removeme.tpl
+++ b/view/tpl/removeme.tpl
@@ -1,22 +1,20 @@
-<h1>{{$title}}</h1>
-
-<div id="remove-account-wrapper">
-
-<div id="remove-account-desc">{{$desc}}</div>
-
-<form action="{{$basedir}}/removeme" autocomplete="off" method="post" >
-<input type="hidden" name="verify" value="{{$hash}}" />
-
-<div id="remove-account-pass-wrapper">
-<label id="remove-account-pass-label" for="remove-account-pass">{{$passwd}}</label>
-<input type="password" id="remove-account-pass" name="qxz_password" />
-</div>
-<div id="remove-account-pass-end"></div>
-
-{{include file="field_checkbox.tpl" field=$global}}
-
-<input type="submit" name="submit" value="{{$submit}}" />
-
-</form>
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <h2>{{$title}}</h2>
+ </div>
+ <div class="section-content-danger-wrapper" id="remove-account-desc">
+ <strong>{{$desc.0}}</strong>{{$desc.1}}<strong>{{$desc.2}}</strong>
+ </div>
+ <div class="section-content-tools-wrapper">
+ <form action="{{$basedir}}/removeme" autocomplete="off" method="post" >
+ <input type="hidden" name="verify" value="{{$hash}}" />
+ <div class="form-group" id="remove-account-pass-wrapper">
+ <label id="remove-account-pass-label" for="remove-account-pass">{{$passwd}}</label>
+ <input class="form-control" type="password" id="remove-account-pass" name="qxz_password" />
+ </div>
+ {{include file="field_checkbox.tpl" field=$global}}
+ <button type="submit" name="submit" class="btn btn-danger">{{$submit}}</button>
+ </form>
+ </div>
</div>