aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-06-03 20:02:00 +0200
committerArthurHoaro <arthur@hoa.ro>2016-08-07 12:17:36 +0200
commit09d6e7e0503535f64f374f570037b0dbff09be7b (patch)
tree18a839d68c3e74e68ce2d8570625a486c13c0062 /tpl/default
parentf26d4d56f99e2be9fa2ad4598a7b55ce0e9dcfdf (diff)
downloadShaarli-09d6e7e0503535f64f374f570037b0dbff09be7b.tar.gz
Shaarli-09d6e7e0503535f64f374f570037b0dbff09be7b.tar.zst
Shaarli-09d6e7e0503535f64f374f570037b0dbff09be7b.zip
addlink template
Diffstat (limited to 'tpl/default')
-rw-r--r--tpl/default/addlink.html27
-rw-r--r--tpl/default/css/shaarli.css14
-rw-r--r--tpl/default/loginform.html2
3 files changed, 35 insertions, 8 deletions
diff --git a/tpl/default/addlink.html b/tpl/default/addlink.html
new file mode 100644
index 00000000..13adeb49
--- /dev/null
+++ b/tpl/default/addlink.html
@@ -0,0 +1,27 @@
1<!DOCTYPE html>
2<html>
3<head>
4 {include="includes"}
5</head>
6<body>
7{include="page.header"}
8<div class="pure-g">
9 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
10 <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4">
11 <h2>Shaare a new link</h2>
12 <form method="GET" action="" name="addform" class="addform">
13 <div>
14 <input type="text" name="post">
15 </div>
16 <div>
17 <input type="submit" value="Add link">
18 </div>
19 </form>
20 </div>
21</div>
22{include="page.footer"}
23<script>
24 document.getElementsByName('post')[0].focus();
25</script>
26</body>
27</html>
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css
index 14fddc4b..89d72608 100644
--- a/tpl/default/css/shaarli.css
+++ b/tpl/default/css/shaarli.css
@@ -590,14 +590,14 @@ pre {
590/** 590/**
591 * Login page 591 * Login page
592 */ 592 */
593#login-form { 593.page-form {
594 margin: 20px 0 0 0; 594 margin: 20px 0 0 0;
595 background: url(../img/noise.png) #1fa67a; 595 background: url(../img/noise.png) #1fa67a;
596 border-radius: 5px; 596 border-radius: 5px;
597 box-shadow: 1px 1px 2px #797979; 597 box-shadow: 1px 1px 2px #797979;
598} 598}
599 599
600#login-form h2 { 600.page-form h2 {
601 margin: 0 0 10px 0; 601 margin: 0 0 10px 0;
602 padding: 10px 0; 602 padding: 10px 0;
603 width: 100%; 603 width: 100%;
@@ -608,12 +608,12 @@ pre {
608 border-bottom: 1px solid #797979; 608 border-bottom: 1px solid #797979;
609} 609}
610 610
611#login-form div { 611.page-form div {
612 width: 100%; 612 width: 100%;
613 text-align: center; 613 text-align: center;
614} 614}
615 615
616#login-form input[type="text"], #login-form input[type="password"] { 616.page-form input[type="text"], .page-form input[type="password"] {
617 margin: 10px 0; 617 margin: 10px 0;
618 padding: 5px 5px 3px 15px; 618 padding: 5px 5px 3px 15px;
619 height: 30px; 619 height: 30px;
@@ -626,8 +626,8 @@ pre {
626} 626}
627 627
628/* because chrome */ 628/* because chrome */
629#login-form input[type="text"]::-webkit-input-placeholder, 629.page-form input[type="text"]::-webkit-input-placeholder,
630#login-form input[type="password"]::-webkit-input-placeholder { 630.page-form input[type="password"]::-webkit-input-placeholder {
631 color: #b0ddce; 631 color: #b0ddce;
632} 632}
633 633
@@ -637,7 +637,7 @@ pre {
637 font-weight: bold; 637 font-weight: bold;
638} 638}
639 639
640#login-form input[type="submit"] { 640.page-form input[type="submit"] {
641 margin: 10px 0; 641 margin: 10px 0;
642 height: 35px; 642 height: 35px;
643 width: 150px; 643 width: 150px;
diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html
index 0ee96153..e6d7dea5 100644
--- a/tpl/default/loginform.html
+++ b/tpl/default/loginform.html
@@ -18,7 +18,7 @@
18{else} 18{else}
19 <div class="pure-g"> 19 <div class="pure-g">
20 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 20 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
21 <div id="login-form" class="pure-u-lg-1-3 pure-u-3-4"> 21 <div id="login-form" class="page-form pure-u-lg-1-3 pure-u-3-4">
22 <form method="post" name="loginform"> 22 <form method="post" name="loginform">
23 <h2>Login</h2> 23 <h2>Login</h2>
24 <div> 24 <div>