Merge pull request #746 from ArthurHoaro/hotfix/delete-button
Fix delete button in editlink
This commit is contained in:
commit
5fbab3edb3
2 changed files with 16 additions and 4 deletions
|
@ -42,7 +42,7 @@ strong {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
.bigbutton {
|
.bigbutton, #pageheader a.bigbutton {
|
||||||
background-color: #c0c0c0;
|
background-color: #c0c0c0;
|
||||||
background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent;
|
background: -moz-linear-gradient(#c0c0c0, #ffffff) repeat scroll 0 0 transparent;
|
||||||
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff));
|
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#c0c0c0), to(#ffffff));
|
||||||
|
@ -54,11 +54,17 @@ strong {
|
||||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin-left: 5px;
|
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
|
margin: 5px 5px 0 0;
|
||||||
color: #606060;
|
color: #606060;
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.bigbutton, #pageheader a.bigbutton {
|
||||||
|
height: 22px;
|
||||||
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.smallbutton {
|
.smallbutton {
|
||||||
|
@ -1009,7 +1015,7 @@ div.dailyNoEntry {
|
||||||
display: inline !important;
|
display: inline !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tagfilter input.bigbutton, .searchform input.bigbutton, .addform input.bigbutton {
|
.tagfilter input.bigbutton, .searchform input.bigbutton, .addform input.bigbutton, a.bigbutton {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,13 @@
|
||||||
{/if}
|
{/if}
|
||||||
<input type="submit" value="Save" name="save_edit" class="bigbutton">
|
<input type="submit" value="Save" name="save_edit" class="bigbutton">
|
||||||
<input type="submit" value="Cancel" name="cancel_edit" class="bigbutton">
|
<input type="submit" value="Cancel" name="cancel_edit" class="bigbutton">
|
||||||
{if="!$link_is_new"}<input type="submit" value="Delete" name="delete_link" class="bigbutton delete" onClick="return confirmDeleteLink();">{/if}
|
{if="!$link_is_new && isset($link.id)"}
|
||||||
|
<a href="?delete_link&lf_linkdate={$link.id}&token={$token}"
|
||||||
|
name="delete_link" class="bigbutton"
|
||||||
|
onClick="return confirmDeleteLink();">
|
||||||
|
{'Delete'|t}
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
<input type="hidden" name="token" value="{$token}">
|
<input type="hidden" name="token" value="{$token}">
|
||||||
{if="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer}">{/if}
|
{if="$http_referer"}<input type="hidden" name="returnurl" value="{$http_referer}">{/if}
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue