File: service_metadata.html

package info (click to toggle)
qgis 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 374,696 kB
  • ctags: 66,263
  • sloc: cpp: 396,139; ansic: 241,070; python: 130,609; xml: 14,884; perl: 1,290; sh: 1,287; sql: 500; yacc: 268; lex: 242; makefile: 168
file content (123 lines) | stat: -rw-r--r-- 4,677 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>
<html lang="{{ language }}">
    <head>
        <meta charset="utf-8"/>
        <title>{{ gettext('Service Metadata') }}</title>
        <style type="text/css">
            body,h3, h4 {
                background-color: #ffffff;
                font-family: arial, verdana, sans-serif;
                text-align: left;
                float: left;
            }
            header {
                display: inline-block;
            }
        </style>
    </head>
    <body>
        <header>
            <h3>{{ gettext('Service Metadata') }}</h3>
        </header>
        <section id="service-metadata">
            <h4>{{ gettext('Service Identification') }}</h4>
            <table>
                <tr>
                    <td>{{ gettext('Title') }}</td>
                    <td>{{ obj.identification.title }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Abstract') }}</td>
                    <td>{{ obj.identification.abstract }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Keywords') }}</td>
                    <td>{{ obj.identification.keywords|join(',') }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Type') }}</td>
                    <td>{{ obj.identification.type }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Version') }}</td>
                    <td>{{ obj.identification.version }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Fees') }}</td>
                    <td>{{ obj.identification.fees }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Access Constraints') }}</td>
                    <td>{{ obj.identification.accessconstraints }}</td>
                </tr>
            </table>
        </section>
        <section id="service-provider">
            <h4>{{ gettext('Service URL') }}</h4>
            <p><a href="{{ obj.url }}">{{ obj.url}}</a></p>
        </section>
        <section id="service-provider">
            <h4>{{ gettext('Service Provider') }}</h4>
             <table>
                <tr>
                    <td>{{ gettext('Name') }}</td>
                    <td>{{ obj.provider.name }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Site') }}</td>
                    <td><a href="{{ obj.provider.url }}">{{ obj.provider.url }}</a></td>
                </tr>
            </table>
        </section>
        <section id="service-contact">
            <h4>{{ gettext('Service Contact') }}</h4>
            <table>
                <tr>
                    <td>{{ gettext('Name') }}</td>
                    <td>{{ obj.provider.contact.name }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Position') }}</td>
                    <td>{{ obj.provider.contact.position}}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Role') }}</td>
                    <td>{{ obj.provider.contact.role }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Address') }}</td>
                    <td>
                        {{ obj.provider.contact.address }}<br/>
                        {{ obj.provider.contact.city }}, {{ obj.provider.contact.region }}<br/>
                        {{ obj.provider.contact.postcode }}<br/>
                        {{ obj.provider.contact.country }}
                    </td>
                </tr>
                <tr>
                    <td>{{ gettext('Email') }}</td>
                    <td><a href="mailto:{{ obj.provider.contact.email  }}">{{ obj.provider.contact.email }}</a></td>
                </tr>
                <tr>
                    <td>{{ gettext('Phone') }}</td>
                    <td>{{ obj.provider.contact.phone }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Fax') }}</td>
                    <td>{{ obj.provider.contact.fax }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Url') }}</td>
                    <td><a href="{{ obj.provider.contact.url }}">{{ obj.provider.contact.url }}</a></td>
                </tr>
                <tr>
                    <td>{{ gettext('Hours of Service') }}</td>
                    <td>{{ obj.provider.contact.hours }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Contact Instructions') }}</td>
                    <td>{{ obj.provider.contact.instructions }}</td>
                </tr>
             </table>
        </section>
    </body>
</html>