Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Poduptime
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diasporg
Poduptime
Commits
e379fb38
Commit
e379fb38
authored
Jan 16, 2017
by
noplanman
Committed by
David Morley
Jan 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing </a> tags. (#78)
Remove alt properties from div.
parent
454e5556
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
show.php
show.php
+4
-4
showfull.php
showfull.php
+9
-9
showmap.php
showmap.php
+4
-4
No files found.
show.php
View file @
e379fb38
...
...
@@ -52,10 +52,10 @@ $numrows = pg_num_rows($result);
echo
'<td data-toggle="tooltip" data-placement="bottom" title="City: '
.
(
$row
[
'city'
]
??
'n/a'
)
.
' State: '
.
(
$row
[
'state'
]
??
'n/a'
)
.
'">'
.
$row
[
'country'
]
.
'</td>'
;
}
echo
'<td>'
;
$row
[
'service_facebook'
]
===
't'
&&
print
'<div class="smlogo smlogo-facebook" title="Publish to Facebook"
alt="Publish to Facebook"
></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
print
'<div class="smlogo smlogo-twitter" title="Publish to Twitter"
alt="Publish to Twitter"
></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
print
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr"
alt="Publish to Tumblr"
></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress" title="Publish to WordPress"
alt="Publish to WordPress"
></div>'
;
$row
[
'service_facebook'
]
===
't'
&&
print
'<div class="smlogo smlogo-facebook" title="Publish to Facebook"></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
print
'<div class="smlogo smlogo-twitter" title="Publish to Twitter"></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
print
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress" title="Publish to WordPress"></div>'
;
$row
[
'service_xmpp'
]
===
't'
&&
print
'<div class="smlogo smlogo-xmpp"><img src="/images/icon-xmpp.png" width="16" height="16" title="XMPP chat server" alt="XMPP chat server"></div>'
;
echo
'</td></tr>'
;
}
...
...
showfull.php
View file @
e379fb38
...
...
@@ -25,9 +25,9 @@ $numrows = pg_num_rows($result);
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Version of software this pod runs"
>
Version
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Type of software this pod runs"
>
Software
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Percent of the time the pod is online."
>
Uptime
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Does this pod offer ipv6 connection."
>
IPv6
</th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Average response time in ms."
>
Response Time
</th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Does this pod allow new users."
>
Signups
</th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Does this pod offer ipv6 connection."
>
IPv6
</
a></
th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Average response time in ms."
>
Response Time
</
a></
th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Does this pod allow new users."
>
Signups
</
a></
th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Number of total users on this pod."
>
Users
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Number of users active last 6 months on this pod."
>
Active 6m
</a></th>
<th><a
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"Number of users active last 1 month on this pod."
>
Active 1m
</a></th>
...
...
@@ -86,15 +86,15 @@ $numrows = pg_num_rows($result);
echo
'<td>'
.
$row
[
'score'
]
.
'</td>'
;
echo
'<td>'
.
(
$row
[
'dnssec'
]
===
't'
?
'✓'
:
''
)
.
'</td>'
;
if
(
$country_code
===
$row
[
'country'
])
{
echo
'<td class="text-success" data-toggle="tooltip" data-placement="bottom" title="City: '
.
(
$row
[
'city'
]
??
'n/a'
)
.
' State: '
.
(
$row
[
'state'
]
??
'n/a'
)
.
'"><b>'
.
$row
[
'country'
]
.
'</b></td>'
;
echo
'<td class="text-success" data-toggle="tooltip" data-placement="bottom" title="City: '
.
(
$row
[
'city'
]
??
'n/a'
)
.
' State: '
.
(
$row
[
'state'
]
??
'n/a'
)
.
'"><b>'
.
$row
[
'country'
]
.
'</b></td>'
;
}
else
{
echo
'<td data-toggle="tooltip" data-placement="bottom" title="City: '
.
(
$row
[
'city'
]
??
'n/a'
)
.
' State: '
.
(
$row
[
'state'
]
??
'n/a'
)
.
'">'
.
$row
[
'country'
]
.
'</td>'
;
echo
'<td data-toggle="tooltip" data-placement="bottom" title="City: '
.
(
$row
[
'city'
]
??
'n/a'
)
.
' State: '
.
(
$row
[
'state'
]
??
'n/a'
)
.
'">'
.
$row
[
'country'
]
.
'</td>'
;
}
echo
'<td>'
;
$row
[
'service_facebook'
]
===
't'
&&
print
'<div class="smlogo smlogo-facebook" title="Publish to Facebook"
alt="Publish to Facebook"
></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
print
'<div class="smlogo smlogo-twitter" title="Publish to Twitter"
alt="Publish to Twitter"
></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
print
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr"
alt="Publish to Tumblr"
></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress"
title="Publish to WordPress" alt
="Publish to WordPress"></div>'
;
$row
[
'service_facebook'
]
===
't'
&&
print
'<div class="smlogo smlogo-facebook" title="Publish to Facebook"></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
print
'<div class="smlogo smlogo-twitter" title="Publish to Twitter"></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
print
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
print
'<div class="smlogo smlogo-wordpress"
title
="Publish to WordPress"></div>'
;
$row
[
'service_xmpp'
]
===
't'
&&
print
'<div class="smlogo smlogo-xmpp"><img src="/images/icon-xmpp.png" width="16" height="16" title="XMPP chat server" alt="XMPP chat server"></div>'
;
echo
'</td>'
;
echo
'<td><a href="https://'
.
$row
[
'domain'
]
.
$row
[
'terms'
]
.
'">🔗</a></td></tr>'
;
...
...
showmap.php
View file @
e379fb38
...
...
@@ -40,10 +40,10 @@ foreach ($csv as $cords) {
$i
++
>
0
&&
print
','
;
$feat
=
''
;
$row
[
'service_facebook'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-facebook" title="Publish to Facebook"
alt="Publish to Facebook"
></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-twitter" title="Publish to Twitter"
alt="Publish to Twitter"
></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr"
alt="Publish to Tumblr"
></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-wordpress" title="Publish to WordPress"
alt="Publish to WordPress"
></div>'
;
$row
[
'service_facebook'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-facebook" title="Publish to Facebook"></div>'
;
$row
[
'service_twitter'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-twitter" title="Publish to Twitter"></div>'
;
$row
[
'service_tumblr'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-tumblr" title="Publish to Tumblr"></div>'
;
$row
[
'service_wordpress'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-wordpress" title="Publish to WordPress"></div>'
;
$row
[
'service_xmpp'
]
===
't'
&&
$feat
.=
'<div class="smlogo smlogo-xmpp"><img src="/images/icon-xmpp.png" width="16" height="16" title="XMPP chat server" alt="XMPP chat server"></div>'
;
$pod_name
=
htmlentities
(
$row
[
'name'
],
ENT_QUOTES
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment