~ubuntu-branches/ubuntu/trusty/tomahawk/trusty-proposed

« back to all changes in this revision

Viewing changes to data/www/auth.html

  • Committer: Package Import Robot
  • Author(s): Harald Sitter
  • Date: 2013-03-07 21:50:13 UTC
  • Revision ID: package-import@ubuntu.com-20130307215013-6gdjkdds7i9uenvs
Tags: upstream-0.6.0+dfsg
ImportĀ upstreamĀ versionĀ 0.6.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML>
 
2
<html>
 
3
<head>
 
4
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
5
    <title>Allow Tomahawk Access</title>
 
6
    <style>
 
7
    body {
 
8
        margin: 0;
 
9
        padding: 0;
 
10
        font: normal 12px 'Verdana', sans-serif;
 
11
    }
 
12
    a img,
 
13
    img {
 
14
        border: 0;
 
15
    }
 
16
    a {
 
17
        color: #598d0c;
 
18
    }
 
19
    a#head {
 
20
        display: block;
 
21
        width: 100%;
 
22
        height: 68px;
 
23
        background: #cbdab1;
 
24
    }
 
25
    div#content {
 
26
        margin: 30px;
 
27
        text-align: center;
 
28
    }
 
29
    div#content p {
 
30
        margin: 0 0 25px 0;
 
31
    }
 
32
    input.button {
 
33
        border: 1px solid #999;
 
34
        padding: 4px 10px;
 
35
        border-color: #999 #555 #555 #999;
 
36
        background: #ddd;
 
37
    }
 
38
    input.confirm {
 
39
        background: #81bd0e;
 
40
        color: #fff;
 
41
        border-color: #6ba318 #426c0b #426c0b #6ba318;
 
42
    }
 
43
    </style>
 
44
</head>
 
45
<body>
 
46
    <a href="http://www.tomahawk-player.org" title="Tomahawk - Powered by Playdar" id="head">
 
47
        <img alt="Tomahawk - Powered by Playdar" src="/staticdata/tomahawk_auth_logo.png" width="200" height="30">
 
48
    </a>
 
49
    
 
50
    <div id="content">
 
51
        <form method="post" action="/auth_2/" id="auth">
 
52
            <p>Allow access to Tomahawk from <a href="<%WEBSITE%>"><%NAME%></a></p>
 
53
            <p class="buttons">
 
54
                <input type="button" value="Deny" class="button" onclick="window.close();" />
 
55
                <input type="submit" value="Allow" class="confirm button" />
 
56
            </p>
 
57
            <input type="hidden" name="formtoken" value="<%FORMTOKEN%>" />
 
58
            <input type="hidden" name="receiverurl" value="<%URL%>" />
 
59
            <input type="hidden" name="website" value="<%WEBSITE%>" />
 
60
            <input type="hidden" name="name" value="<%NAME%>" />
 
61
        </form>
 
62
    </div>
 
63
</body>
 
64
</html>