edit sitekey button in sitekey list table

This commit is contained in:
realaravinth 2021-07-16 17:50:38 +05:30
parent ea8264054a
commit 102ef5b4a1
No known key found for this signature in database
GPG Key ID: AD9F0F08E855ED88
4 changed files with 16 additions and 1 deletions

View File

@ -109,7 +109,7 @@ mod test {
use crate::*; use crate::*;
#[actix_rt::test] #[actix_rt::test]
async fn view_sitekey_work() { async fn edit_sitekey_work() {
const NAME: &str = "editsitekeyuser"; const NAME: &str = "editsitekeyuser";
const PASSWORD: &str = "longpassworddomain"; const PASSWORD: &str = "longpassworddomain";
const EMAIL: &str = "editsitekeyuser@a.com"; const EMAIL: &str = "editsitekeyuser@a.com";

View File

@ -51,6 +51,11 @@ include!("./navbar/index.html"); .>
</a> </a>
</div> </div>
</td> </td>
<td class="sitekey-list__key">
<div class="sitekey-list__edit">
<. include!("./sitekey/view/__edit-sitekey-icon.html"); .>
</div>
</td>
</tr> </tr>
<. } .> <. } .>
</tbody> </tbody>

View File

@ -102,3 +102,8 @@
.sitekey__widget-link:visited { .sitekey__widget-link:visited {
color: $blue-link; color: $blue-link;
} }
.sitekey-list__edit {
padding: 10px;
margin: auto;
}

View File

@ -42,6 +42,11 @@ include!("../../navbar/index.html"); .>
</a> </a>
</div> </div>
</td> </td>
<td class="sitekey-list__key">
<div class="sitekey-list__edit">
<. include!("../view/__edit-sitekey-icon.html"); .>
</div>
</td>
</tr> </tr>
<. } .> <. } .>
</tbody> </tbody>