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

Side by Side Diff: appengine/config_service/ui/src/config-ui/front-page.html

Issue 2962703003: config_service: Add authentication to the UI. (Closed)
Patch Set: Added TODO to handlers.py and confirmed versions in bower.json Created 3 years, 5 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
1 <!-- 1 <!--
2 Copyright 2017 The LUCI Authors. All rights reserved. 2 Copyright 2017 The LUCI Authors. All rights reserved.
3 Use of this source code is governed under the Apache License, Version 2.0 3 Use of this source code is governed under the Apache License, Version 2.0
4 that can be found in the LICENSE file. 4 that can be found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="../../bower_components/app-layout/app-layout.html"> 7 <link rel="import" href="../../bower_components/app-layout/app-layout.html">
8 <link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html"> 8 <link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html">
9 <link rel="import" href="../../bower_components/paper-button/paper-button.html"> 9 <link rel="import" href="../../bower_components/paper-button/paper-button.html">
10 <link rel="import" href="../../bower_components/paper-search/paper-search-bar.ht ml"> 10 <link rel="import" href="../../bower_components/paper-search/paper-search-bar.ht ml">
(...skipping 22 matching lines...) Expand all
33 height: 100%; 33 height: 100%;
34 margin: auto; 34 margin: auto;
35 } 35 }
36 </style> 36 </style>
37 37
38 <iron-ajax 38 <iron-ajax
39 auto 39 auto
40 id="requestConfigs" 40 id="requestConfigs"
41 url="/_ah/api/config/v1/config-sets" 41 url="/_ah/api/config/v1/config-sets"
42 handle-as="json" 42 handle-as="json"
43 on-response="_onGotConfigSets"> 43 on-response="_onGotConfigSets"
44 headers="[[auth_headers]]">
44 </iron-ajax> 45 </iron-ajax>
45 46
46 <div class="search-bar"> 47 <div class="search-bar">
47 <paper-search-bar query="{{query}}"></paper-search-bar> 48 <paper-search-bar query="{{query}}"></paper-search-bar>
48 </div> 49 </div>
49 50
50 <div class="config-list"> 51 <div class="config-list">
51 <template is="dom-if" if="[[isLoading]]"> 52 <template is="dom-if" if="[[isLoading]]">
52 <div class="center">Fetching config sets...</div> 53 <div class="center">Fetching config sets...</div>
53 </template> 54 </template>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 this.searchResults = this.configSetList.filter(e => e.config_set.include s(this.query)); 109 this.searchResults = this.configSetList.filter(e => e.config_set.include s(this.query));
109 }, 110 },
110 111
111 _handleClick: function(event) { 112 _handleClick: function(event) {
112 window.location = window.location.href + event.model.config.config_set; 113 window.location = window.location.href + event.model.config.config_set;
113 }, 114 },
114 115
115 }); 116 });
116 </script> 117 </script>
117 </dom-module> 118 </dom-module>
OLDNEW
« no previous file with comments | « appengine/config_service/ui/src/config-ui/config-ui.html ('k') | appengine/config_service/ui/static/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698