Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: appengine/monorail/templates/sitewide/hosting-home-page.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 [define show_search_metadata]True[end]
2 [define robots_no_index]true[end]
3 [define category_css]css/ph_list.css[end]
4
5 [include "../framework/master-header.ezt" "hidesearch"]
6
7 [define prod_hosting_base_url]/hosting/[end]
8
9 <div style="padding-top:30px;">
10 <div style="margin-top:3em; text-align:center;">
11 [# TODO: Provide an text alternative to the logo.]
12 <p style="font-size:large;">Monorail, Monorail, Monorail!</p>
13
14 <div style="text-align:center;margin:1em">
15 [if-any read_only][else]
16 [if-any can_create_project]
17 <img src="/static/images/new-24.gif" style="vertical-align:top; width:16px ;">
18 <a href="/hosting/createProject">Create a new project</a>
19 [end]
20 [end]
21
22 [if-any learn_more_link]
23 <img src="/static/images/question-16.gif" style="vertical-align:top;padding- left:30px">
24 <a href="[learn_more_link]">Learn more about [site_name]</a>
25 [end]
26 </div>
27
28 <p style="text-align:center;padding:0; margin:2em">
29 <div id="controls">
30 [include "../sitewide/project-list-controls.ezt" arg1]
31 </div>
32
33 <div style="margin:2em">
34 [if-any projects]
35 <table class="resultstable striped" width="100%" border="0" cellspacing="0 " cellpadding="10px" style="margin:auto;">
36 [for projects]
37 <tr>
38 [include "project-list-row.ezt"]
39 </tr>
40 [end]
41 </table>
42 [else]
43 <p>There were no visible projects found.</p>
44 [end]
45 </div>
46
47 </p>
48 </div>
49
50 </div>
51
52 <script type="text/javascript" nonce="[nonce]">
53 runOnLoad(function() {
54 var stars = document.getElementsByClassName("star");
55 for (var i = 0; i < stars.length; ++i) {
56 var star = stars[[]i];
57 star.addEventListener("click", function (event) {
58 var projectName = event.target.getAttribute("data-project-name");
59 _TKR_toggleStar(event.target, projectName);
60 });
61 }
62 });
63 </script>
64
65 [include "../framework/master-footer.ezt"]
OLDNEW
« no previous file with comments | « appengine/monorail/templates/sitewide/group-list-page.ezt ('k') | appengine/monorail/templates/sitewide/moved-page.ezt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698