Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
c36b1ed5
Commit
c36b1ed5
authored
Sep 29, 2018
by
Ozzie Isaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added additional ids and classes for easier testing
parent
cd0fc917
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
config_view_edit.html
cps/templates/config_view_edit.html
+1
-1
layout.html
cps/templates/layout.html
+2
-2
user_edit.html
cps/templates/user_edit.html
+2
-2
No files found.
cps/templates/config_view_edit.html
View file @
c36b1ed5
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
</div>
</div>
</div>
</div>
<div
class=
"col-sm-12"
>
<div
class=
"col-sm-12"
>
<button
type=
"submit"
class=
"btn btn-default"
>
{{_('Submit')}}
</button>
<button
type=
"submit"
name=
"submit"
class=
"btn btn-default"
>
{{_('Submit')}}
</button>
<a
href=
"{{ url_for('admin') }}"
class=
"btn btn-default"
>
{{_('Back')}}
</a>
<a
href=
"{{ url_for('admin') }}"
class=
"btn btn-default"
>
{{_('Back')}}
</a>
</div>
</div>
</form>
</form>
...
...
cps/templates/layout.html
View file @
c36b1ed5
...
@@ -165,11 +165,11 @@
...
@@ -165,11 +165,11 @@
{% if g.user.is_authenticated or g.user.is_anonymous %}
{% if g.user.is_authenticated or g.user.is_anonymous %}
<li
class=
"nav-head hidden-xs"
>
{{_('Public Shelves')}}
</li>
<li
class=
"nav-head hidden-xs"
>
{{_('Public Shelves')}}
</li>
{% for shelf in g.public_shelfes %}
{% for shelf in g.public_shelfes %}
<li><a
href=
"{{url_for('show_shelf', shelf_id=shelf.id)}}"
><span
class=
"glyphicon glyphicon-list
"
></span>
{{shelf.name
}}
</a></li>
<li><a
href=
"{{url_for('show_shelf', shelf_id=shelf.id)}}"
><span
class=
"glyphicon glyphicon-list
public_shelf"
></span>
{{shelf.name|shortentitle(40)
}}
</a></li>
{% endfor %}
{% endfor %}
<li
class=
"nav-head hidden-xs"
>
{{_('Your Shelves')}}
</li>
<li
class=
"nav-head hidden-xs"
>
{{_('Your Shelves')}}
</li>
{% for shelf in g.user.shelf %}
{% for shelf in g.user.shelf %}
<li><a
href=
"{{url_for('show_shelf', shelf_id=shelf.id)}}"
><span
class=
"glyphicon glyphicon-list
"
></span>
{{shelf.name
}}
</a></li>
<li><a
href=
"{{url_for('show_shelf', shelf_id=shelf.id)}}"
><span
class=
"glyphicon glyphicon-list
private_shelf"
></span>
{{shelf.name|shortentitle(40)
}}
</a></li>
{% endfor %}
{% endfor %}
{% if not g.user.is_anonymous %}
{% if not g.user.is_anonymous %}
<li
id=
"nav_createshelf"
class=
"create-shelf"
><a
href=
"{{url_for('create_shelf')}}"
>
{{_('Create a Shelf')}}
</a></li>
<li
id=
"nav_createshelf"
class=
"create-shelf"
><a
href=
"{{url_for('create_shelf')}}"
>
{{_('Create a Shelf')}}
</a></li>
...
...
cps/templates/user_edit.html
View file @
c36b1ed5
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
{% if g.user and g.user.role_admin() and not profile and not new_user and not content.role_anonymous() %}
{% if g.user and g.user.role_admin() and not profile and not new_user and not content.role_anonymous() %}
<div
class=
"checkbox"
>
<div
class=
"checkbox"
>
<label>
<label>
<input
type=
"checkbox"
name=
"delete"
>
{{_('Delete this user')}}
<input
type=
"checkbox"
id=
"delete"
name=
"delete"
>
{{_('Delete this user')}}
</label>
</label>
</div>
</div>
{% endif %}
{% endif %}
...
@@ -149,8 +149,8 @@
...
@@ -149,8 +149,8 @@
<button
type=
"submit"
id=
"submit"
class=
"btn btn-default"
>
{{_('Submit')}}
</button>
<button
type=
"submit"
id=
"submit"
class=
"btn btn-default"
>
{{_('Submit')}}
</button>
{% if not profile %}
{% if not profile %}
<a
href=
"{{ url_for('admin') }}"
id=
"back"
class=
"btn btn-default"
>
{{_('Back')}}
</a>
<a
href=
"{{ url_for('admin') }}"
id=
"back"
class=
"btn btn-default"
>
{{_('Back')}}
</a>
</div>
{% endif %}
{% endif %}
</div>
</form>
</form>
{% if downloads %}
{% if downloads %}
...
...
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