Skip to content

Instantly share code, notes, and snippets.

@bluedeck
Created August 24, 2017 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bluedeck/32142f98206e617264aaf4519036ee81 to your computer and use it in GitHub Desktop.
Save bluedeck/32142f98206e617264aaf4519036ee81 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="${lookitup('html tag lang code')}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="${lookitup('meta description tag content')}" />
<title>${lookitup('Open Ticket System')}</title>
<script>
var server_served_view = window.server_serves_view || false;
function navigation_navigate(to_uri)
{
history.pushState(null, '', to_uri);
server_served_view = false;
navigation_load_view(to_uri);
}
function navigation_load_view()
{
}
</script>
<style>
body {
margin: 0;
font-family: sans-serif;
}
button {
border: #ccc solid 0.05em;
background: #fff;
border-radius: 0.3em;
font-size: 0.6em;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
box-sizing: border-box;
}
button:active {
border: #ccc solid 0.05em;
background: #39f;
border-radius: 0.3em;
font-size: 0.6em;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
box-sizing: border-box;
}
.ver_lim{max-width: 1000px; margin: auto;}
@media screen and (max-width: 550px) {.ver_lim{width: 90%;} }
@media screen and (min-width: 550px) and (max-width: 800px) {.ver_lim{width: 83%;} }
@media screen and (min-width: 800px) and (max-width: 1200px) {.ver_lim{width: 77%;} }
@media screen and (min-width: 1200px) {.ver_lim{width: 1000px;}}
div.top_bar{
background: linear-gradient(0deg,rgba(52,118,239,0.94) 0%, rgba(44,88,204,0.94) 60%);
height: 46px;
width: 100%;
/*position: absolute;*/
color: #fff;
line-height: 46px;
}
div.foot_bar{
background: linear-gradient(40deg, rgba(57,108,219,0.94) 0%, rgba(44,88,204,0.94) 50%, rgba(51,153,255,1) 50%, rgba(77,190,255,1) 70%, rgba(51,221,255,1) 70%, rgba(45,211,255,1) 100%);
padding: 2em 0;
margin-top: 5em;
clear: both;
}
.light_style_button
{
border-radius: 0.5em;
margin-top: 0.5em;
padding: 0.5em 0;
text-align: center;
border: solid 0.1em;
cursor: pointer;
}
.light_style_button:after
{
display: inline-block;
float: right;
height: 1.1em;
width: 1.1em;
margin-right: 0.3em;
content: "→";
}
.light_style_button:before
{
opacity: 0;
display: inline-block;
float: left;
height: 1.1em;
width: 1.1em;
margin-left: 0.3em;
content: "→";
}
.light_style_button.blue
{
border-color:rgba(57,110,225,1);
color: rgba(57,110,225,1);
}
.light_style_button.blue:active
{
/*border-color:rgba(50,100,175,1);*/
background-color: rgba(57,110,225,1);
color: rgba(255,255,255,1);
}
.light_style_button.red
{
border-color: rgba(200,40,0,1);
color: rgba(200,40,0,1);
}
.light_style_button.red:active
{
/*border-color: rgba(160,30,0,1);*/
background-color: rgba(200,40,0,1);
color: rgba(255,255,255,1);
}
.light_style_button.grey
{
border-color:rgba(160,160,160,1);
color: rgba(160,160,160,1);
cursor: not-allowed;
}
</style>
</head>
<body style="font-size: 62.5%; display: flex; flex-direction: column; min-height: 100vh;">
<div class="top_bar" style="font-size:1.6em;">
<div class="ver_lim">
<span style="float:left;">
<span style="line-height: normal; display: inline-block; font-family: 'Times', 'Times New Roman', serif; font-size: 1.1em; font-weight: bold; padding: 0.1em 0.4em; border: solid #fff 0.1em; box-sizing: border-box; margin-bottom: 10px;">Unblock-zh</span>
<img style="display: inline-block; height: 1em; margin-left: 0.5em;" src="../../resources/images_ui/loading-general-reverse.svg" />
</span>
<span style="float:right;">
<span>Visitor</span>
</span>
</div>
</div>
<div class="ver_lim" style="max-width: 40em; font-size: 1.6em;">
<div id="view">
<h2 style="margin: 1em 0; padding: 0; color: rgb(51,102,204); font-size: 2.3em;">Unblock-zh ticket system</h2>
<div class="light_style_button blue" onclick="navigation_navigate('/unblock-zh/open-a-ticket');">Open a ticket</div>
<div style="height: 0.2em;"></div>
<div class="light_style_button blue" onclick="navigation_navigate('/unblock-zh/search-for-ticket');">Track a ticket</div>
<div style="height: 0.2em;"></div>
<div class="light_style_button blue" onclick="navigation_navigate('/unblock-zh/all-tickets');">List all tickets</div>
<div style="height: 2em;"></div>
</div>
</div>
<div style="flex:1; clear:both;"></div>
<div class="foot_bar" style="">
<div class="ver_lim">
<div style="margin-top: 5px; margin-bottom: 5px; opacity: 0.8; color: rgba(255,255,255,1);"><span style="display: inline-block; font-family: 'Times', 'Times New Roman', serif; font-size: 3em; font-weight: bold; padding: 0.1em 0.4em; border: solid #fff 0.1em; box-sizing: border-box; margin-bottom: 10px;">Unblock-zh</span></div>
<div style="margin-top: 5px; margin-bottom: 5px; opacity: 0.6; color: rgba(255,255,255,1);">Unblock-zh ticketing system is an independent service based on free software and volunteer work. It is not affiliated with WMF or its projects. Do not upload your Wikipedia password to this site. Users of all languages are welcomed. That said, communicate in Chinese where possible.</div>
<div style="margin-top: 5px; margin-bottom: 5px; opacity: 0.6; color: rgba(255,255,255,1);"><span style="cursor: pointer;" onclick="this.nextElementSibling.style.display='inline'; this.remove();">Content available under CC-BY-SA 3.0 unless otherwise indicated. Click for more copyright-related information.</span><span style="display: none;">To maintain interoperability, all visible contents on this site are published under the same licence as the one used in Chinese Wikipedia, i.e. CC-BY-SA 3.0, unless otherwise declared. You may specify the licence under which you wish to publish your content at the time of submission. If not specified, the licence defaults to CC-BY-SA 3.0. A licence cannot be changed once your content has been viewed by someone other than yourself.</span></div>
<div style="margin-top: 5px; margin-bottom: 5px; opacity: 0.6; color: rgba(255,255,255,1);"><span style="cursor: pointer;" onclick="this.nextElementSibling.style.display='inline'; this.remove();">This site makes use of cookie to identify individual users. Click for more privacy information. </span><span style="display: none;">This site protects your privacy with plenty precaution and technologies. Cookies that does not contain real-world identifiable information are used to identify individual users. Your IP address and user agent information are not being actively tracked or used for any purpose except for flood mitigation. In which case these information are heavily diluted with additional entropy, scrambled with SHA-2 algorithm and are only stored in memory for no longer than 24 hours, after which they're explicitly ordered to be destroyed. They are never written to the hard disk, never logged and never served to any client. For those interested in the inner mechanics of the site, source code is available.</span></div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment