mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding contact information to main page.
This commit is contained in:
parent
121849c190
commit
f9ed77d021
2 changed files with 75 additions and 29 deletions
|
@ -971,6 +971,33 @@ form.opml_import_form input {
|
|||
background: transparent url('../img/reader/newsblur_splash_image.png') no-repeat 0 0;
|
||||
}
|
||||
|
||||
#NB-splash .NB-splash-links {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
bottom: 0;
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-shadow: 1px 1px 0 #F0F0F0;
|
||||
}
|
||||
|
||||
#NB-splash .NB-splash-links a {
|
||||
color: #405BA8;
|
||||
font-size: 12px;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#NB-splash .NB-splash-links a:hover {
|
||||
color: #A85B40;
|
||||
}
|
||||
|
||||
#NB-splash .NB-splash-info {
|
||||
margin-left: 244px;
|
||||
}
|
||||
|
||||
/* ============== */
|
||||
/* = Classifier = */
|
||||
/* ============== */
|
||||
|
@ -1237,6 +1264,7 @@ form.opml_import_form input {
|
|||
|
||||
.NB-manage .NB-manage-rename {
|
||||
margin: 0 0 12px 12px;
|
||||
display: none; /* Sorry, but this is not v1.0. Maybe next tuesday. No, next, next tuesday. */
|
||||
}
|
||||
|
||||
.NB-manage .NB-manage-rename label {
|
||||
|
|
|
@ -67,37 +67,55 @@
|
|||
</div>
|
||||
|
||||
<div id="NB-splash">
|
||||
{% if user.is_authenticated %}
|
||||
<div class="NB-user">
|
||||
Welcome, {{ user.username}}.
|
||||
(<a href="{% url logout %}?next=/">Logout</a>)
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if not user.is_authenticated %}
|
||||
<div class="NB-login">
|
||||
{% if form.errors %}
|
||||
<p>{{ form.errors }}</p>
|
||||
{% endif %}
|
||||
<div class="NB-login-label">Want an account?</div>
|
||||
<div class="NB-login-text">Talk to <a href="http://twitter.com/samuelclay">@samuelclay</a>.</div>
|
||||
|
||||
<form method="post" action="{% url login %}">
|
||||
<div>
|
||||
{{ form.username.label_tag }}
|
||||
{{ form.username }}
|
||||
</div>
|
||||
<div>
|
||||
{{ form.password.label_tag }}
|
||||
{{ form.password }}
|
||||
</div>
|
||||
|
||||
<input type="submit" value="login" />
|
||||
<input type="hidden" name="next" value="/" />
|
||||
</form>
|
||||
<div class="NB-splash-info">
|
||||
{% if user.is_authenticated %}
|
||||
<div class="NB-user">
|
||||
Welcome, {{ user.username}}.
|
||||
(<a href="{% url logout %}?next=/">Logout</a>)
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if not user.is_authenticated %}
|
||||
<div class="NB-login">
|
||||
{% if form.errors %}
|
||||
<p>{{ form.errors }}</p>
|
||||
{% endif %}
|
||||
<!--
|
||||
<div class="NB-login-label">Want an account?</div>
|
||||
<div class="NB-login-text">Talk to <a href="http://twitter.com/samuelclay">@samuelclay</a>.</div>
|
||||
-->
|
||||
|
||||
<form method="post" action="{% url login %}">
|
||||
<div>
|
||||
{{ form.username.label_tag }}
|
||||
{{ form.username }}
|
||||
</div>
|
||||
<div>
|
||||
{{ form.password.label_tag }}
|
||||
{{ form.password }}
|
||||
</div>
|
||||
|
||||
<input type="submit" value="login" />
|
||||
<input type="hidden" name="next" value="/" />
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{# <div class="NB-splash-image"></div> #}
|
||||
<div class="NB-splash-title"></div>
|
||||
|
||||
<div class="NB-splash-info NB-splash-info-about">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="NB-splash-links">
|
||||
By <a href="http://www.samuelclay.com">Samuel Clay</a>.
|
||||
Contact: <a href="mailto:samuel@ofbrooklyn.com">samuel@ofbrooklyn.com</a>.
|
||||
Twitter: <a href="http://twitter.com/samuelclay">@samuelclay</a>.
|
||||
</div>
|
||||
|
||||
{# <div class="NB-splash-image"></div> #}
|
||||
<div class="NB-splash-title"></div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue